/* ============================================
   SoLuna Sacred Sound — Celestial Theme
   ============================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Nunito:wght@300;400;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --deep-indigo: #0a0e1a;
  --rich-purple: #0d1b2a;
  --mystic-violet: #1b3a5c;
  --gold: #d4a843;
  --gold-light: #e8c96a;
  --soft-white: #e8f4f8;
  --warm-cream: #fdf6e3;
  --text-light: #c8dce8;
  --text-dark: #1a2a3d;
  --cyan-glow: #4fc3f7;
  --teal: #2d8eb4;
  --teal-deep: #1b4965;
  --glass-bg: rgba(13, 27, 42, 0.4);
  --glass-border: rgba(79, 195, 247, 0.15);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 4px 20px rgba(79, 195, 247, 0.12);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Nunito', 'Segoe UI', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-light);
  background: var(--deep-indigo);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--gold);
  transition: color var(--transition);
}

a:hover {
  color: var(--gold-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* --- Utility Classes --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--soft-white);
}

.section-subtitle {
  text-align: center;
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.gold-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan-glow), transparent);
  margin: 1rem auto 2rem;
  position: relative;
}

/* Tiny sacred geometry dot at center of divider lines */
.gold-line::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  opacity: 0.25;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='8' fill='none' stroke='%234fc3f7' stroke-width='0.5'/%3E%3Ccircle cx='20' cy='12' r='4' fill='none' stroke='%234fc3f7' stroke-width='0.4'/%3E%3Ccircle cx='20' cy='28' r='4' fill='none' stroke='%234fc3f7' stroke-width='0.4'/%3E%3Ccircle cx='13' cy='16' r='4' fill='none' stroke='%234fc3f7' stroke-width='0.4'/%3E%3Ccircle cx='27' cy='16' r='4' fill='none' stroke='%234fc3f7' stroke-width='0.4'/%3E%3Ccircle cx='13' cy='24' r='4' fill='none' stroke='%234fc3f7' stroke-width='0.4'/%3E%3Ccircle cx='27' cy='24' r='4' fill='none' stroke='%234fc3f7' stroke-width='0.4'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Alternating sections get a faint geometry watermark */
.section:nth-child(even)::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  pointer-events: none;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpolygon points='100,10 190,50 190,150 100,190 10,150 10,50' fill='none' stroke='%234fc3f7' stroke-width='0.5'/%3E%3Cpolygon points='100,40 160,65 160,135 100,160 40,135 40,65' fill='none' stroke='%234fc3f7' stroke-width='0.4'/%3E%3Cpolygon points='100,70 130,82 130,118 100,130 70,118 70,82' fill='none' stroke='%234fc3f7' stroke-width='0.3'/%3E%3Ccircle cx='100' cy='100' r='85' fill='none' stroke='%234fc3f7' stroke-width='0.3'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* --- Starfield & Sacred Geometry Background --- */
.starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1px 1px at 10% 20%, rgba(79,195,247,0.3), transparent),
    radial-gradient(1px 1px at 30% 60%, rgba(79,195,247,0.2), transparent),
    radial-gradient(1.5px 1.5px at 50% 10%, rgba(79,195,247,0.4), transparent),
    radial-gradient(1px 1px at 70% 40%, rgba(79,195,247,0.2), transparent),
    radial-gradient(1px 1px at 90% 80%, rgba(79,195,247,0.3), transparent),
    radial-gradient(1.5px 1.5px at 15% 85%, rgba(212,168,67,0.2), transparent),
    radial-gradient(1px 1px at 55% 75%, rgba(79,195,247,0.3), transparent),
    radial-gradient(1px 1px at 80% 15%, rgba(212,168,67,0.15), transparent),
    radial-gradient(1.5px 1.5px at 45% 45%, rgba(79,195,247,0.15), transparent),
    radial-gradient(1px 1px at 25% 35%, rgba(79,195,247,0.2), transparent);
}

/* Sacred Geometry SVG overlay — Flower of Life pattern (subtle tiled) */
.sacred-geometry {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='174'%3E%3Cdefs%3E%3Cstyle%3Ecircle%7Bfill:none;stroke:%234fc3f7;stroke-width:0.5%7D%3C/style%3E%3C/defs%3E%3Ccircle cx='50' cy='87' r='43'/%3E%3Ccircle cx='100' cy='87' r='43'/%3E%3Ccircle cx='150' cy='87' r='43'/%3E%3Ccircle cx='75' cy='43.7' r='43'/%3E%3Ccircle cx='125' cy='43.7' r='43'/%3E%3Ccircle cx='75' cy='130.3' r='43'/%3E%3Ccircle cx='125' cy='130.3' r='43'/%3E%3C/svg%3E");
  background-size: 220px 191px;
}

/* Floating sacred geometry accents — positioned subtly around the viewport */
.sacred-geometry::before {
  content: '';
  position: fixed;
  top: 15%;
  right: -80px;
  width: 400px;
  height: 400px;
  pointer-events: none;
  opacity: 0.15;
  /* Vesica Piscis — two overlapping circles with connecting arcs */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Cdefs%3E%3Cstyle%3Ecircle,ellipse,line%7Bfill:none;stroke:%234fc3f7;stroke-width:0.5%7D%3C/style%3E%3C/defs%3E%3Ccircle cx='155' cy='200' r='120'/%3E%3Ccircle cx='245' cy='200' r='120'/%3E%3Ccircle cx='200' cy='200' r='170'/%3E%3Cellipse cx='200' cy='200' rx='45' ry='104'/%3E%3Cline x1='200' y1='80' x2='200' y2='320' stroke-dasharray='4,4'/%3E%3Ccircle cx='200' cy='200' r='30'/%3E%3Ccircle cx='200' cy='200' r='60'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  animation: floatGeometry1 80s ease-in-out infinite;
}

.sacred-geometry::after {
  content: '';
  position: fixed;
  bottom: 10%;
  left: -60px;
  width: 350px;
  height: 350px;
  pointer-events: none;
  opacity: 0.12;
  /* Seed of Life — seven overlapping circles */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300'%3E%3Cdefs%3E%3Cstyle%3Ecircle%7Bfill:none;stroke:%234fc3f7;stroke-width:0.5%7D%3C/style%3E%3C/defs%3E%3Ccircle cx='150' cy='150' r='50'/%3E%3Ccircle cx='150' cy='100' r='50'/%3E%3Ccircle cx='150' cy='200' r='50'/%3E%3Ccircle cx='193.3' cy='125' r='50'/%3E%3Ccircle cx='106.7' cy='125' r='50'/%3E%3Ccircle cx='193.3' cy='175' r='50'/%3E%3Ccircle cx='106.7' cy='175' r='50'/%3E%3Ccircle cx='150' cy='150' r='100'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  animation: floatGeometry2 100s ease-in-out infinite;
}

@keyframes floatGeometry1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-20px) rotate(5deg); }
  50% { transform: translateY(10px) rotate(-3deg); }
  75% { transform: translateY(-10px) rotate(8deg); }
}

@keyframes floatGeometry2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(15px) rotate(-6deg); }
  66% { transform: translateY(-15px) rotate(4deg); }
}

/* Sacred geometry decorative element for sections */
.sacred-divider {
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cdefs%3E%3Cstyle%3Ecircle%7Bfill:none;stroke:%234fc3f7;stroke-width:0.8%7D%3C/style%3E%3C/defs%3E%3Ccircle cx='100' cy='100' r='90'/%3E%3Ccircle cx='100' cy='100' r='60'/%3E%3Ccircle cx='100' cy='100' r='30'/%3E%3Ccircle cx='100' cy='40' r='30'/%3E%3Ccircle cx='100' cy='160' r='30'/%3E%3Ccircle cx='48' cy='70' r='30'/%3E%3Ccircle cx='152' cy='70' r='30'/%3E%3Ccircle cx='48' cy='130' r='30'/%3E%3Ccircle cx='152' cy='130' r='30'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  padding: 0.5rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 400;
  position: relative;
  padding: 0.25rem 0;
  letter-spacing: 0.5px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cyan-glow);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cyan-glow);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:focus-visible,
.nav-toggle:focus-visible,
.btn:focus-visible,
.contact-item:focus-visible {
  outline: 2px solid var(--cyan-glow);
  outline-offset: 4px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
  position: absolute;
  right: 2rem;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  appearance: none;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--soft-white);
  transition: all var(--transition);
  display: block;
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: radial-gradient(ellipse at 50% 30%, var(--rich-purple), var(--deep-indigo) 70%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 195, 247, 0.06) 0%, transparent 70%);
  animation: moonGlow 6s ease-in-out infinite;
}

/* Sacred geometry hero decoration */
.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Cdefs%3E%3Cstyle%3Ecircle%7Bfill:none;stroke:%234fc3f7;stroke-width:0.5%7D%3C/style%3E%3C/defs%3E%3Ccircle cx='200' cy='200' r='190'/%3E%3Ccircle cx='200' cy='200' r='130'/%3E%3Ccircle cx='200' cy='200' r='70'/%3E%3Ccircle cx='200' cy='70' r='65'/%3E%3Ccircle cx='200' cy='330' r='65'/%3E%3Ccircle cx='87' cy='135' r='65'/%3E%3Ccircle cx='313' cy='135' r='65'/%3E%3Ccircle cx='87' cy='265' r='65'/%3E%3Ccircle cx='313' cy='265' r='65'/%3E%3Ccircle cx='135' cy='87' r='45'/%3E%3Ccircle cx='265' cy='87' r='45'/%3E%3Ccircle cx='135' cy='313' r='45'/%3E%3Ccircle cx='265' cy='313' r='45'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  animation: slowSpin 120s linear infinite;
}

@keyframes moonGlow {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

@keyframes slowSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-moon {
  width: auto;
  height: 384px;
  margin-bottom: 1.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: brightness(1.2);
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--soft-white);
  margin-bottom: 0.5rem;
  letter-spacing: 4px;
}

.hero h1 span {
  color: var(--gold);
}

.hero-tagline {
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 300;
  margin-bottom: 2rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--deep-indigo);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(212, 168, 67, 0.3);
  color: var(--deep-indigo);
}

.btn-outline {
  background: transparent;
  color: var(--cyan-glow);
  border: 1.5px solid var(--cyan-glow);
}

.btn-outline:hover {
  background: var(--cyan-glow);
  color: var(--deep-indigo);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Glass Cards --- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2.5rem;
  transition: all var(--transition);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 25px rgba(79, 195, 247, 0.12);
  border-color: rgba(79, 195, 247, 0.3);
}

/* --- About Page --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--rich-purple), var(--mystic-violet));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  border: 1px solid var(--glass-border);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--soft-white);
}

.about-text p {
  margin-bottom: 1rem;
  opacity: 0.9;
  font-size: 1.05rem;
}

/* Poster variant for square images */
.about-grid--poster {
  align-items: start;
}

.about-image--poster {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(79,195,247,0.15);
  position: sticky;
  top: 6rem;
}

.guide-role {
  color: var(--gold);
  font-style: italic;
}

.section-cta {
  margin-top: 1.5rem;
}

/* --- Events Page --- */
.events-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.event-card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.event-date {
  min-width: 80px;
  text-align: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--deep-indigo);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  font-weight: 700;
}

.event-date .month {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-date .day {
  font-size: 1.8rem;
  line-height: 1;
  font-family: var(--font-heading);
}

.event-info h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--soft-white);
  margin-bottom: 0.3rem;
}

.event-info .event-meta {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.event-info p {
  opacity: 0.85;
  font-size: 0.95rem;
}

.event-info p + p {
  margin-top: 0.75rem;
}

.event-logo {
  width: 220px;
  margin-bottom: 1rem;
}

.event-link {
  margin-top: 1rem;
  padding: 0.6rem 1.5rem;
}

.events-message {
  padding: 2rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--glass-bg);
  color: var(--text-light);
  text-align: center;
}

.events-message.error {
  color: #ffb3b3;
}

.private-booking {
  text-align: center;
}

.private-booking > p {
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0.85;
}

/* --- Gallery Page --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--rich-purple), var(--mystic-violet));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 25px rgba(79, 195, 247, 0.15);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 26, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--cyan-glow);
}

.gallery-item:hover .overlay {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: min(80vw, calc(100vw - 8rem));
  max-height: 80vh;
  border-radius: var(--radius);
  display: block;
  object-fit: contain;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 1rem;
  border: none;
  background: none;
  color: var(--soft-white);
  font-size: 3rem;
  cursor: pointer;
  transition: color var(--transition), transform var(--transition);
}

.lightbox-nav:hover {
  color: var(--gold);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2rem;
  color: var(--soft-white);
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--transition);
}

.lightbox-close:hover {
  color: var(--gold);
}

.gallery-cta-section {
  padding-top: 0;
}

.gallery-cta {
  text-align: center;
}

.gallery-cta p {
  opacity: 0.6;
  font-style: italic;
}

/* --- Newsletter Section --- */
.home-newsletter-section {
  padding-top: 5rem;
  padding-bottom: 6rem;
}

.home-newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 4rem;
  align-items: center;
  padding: 3.5rem 4rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 0% 50%, rgba(79, 195, 247, 0.1), transparent 38%),
    rgba(13, 27, 42, 0.82);
  box-shadow: var(--shadow);
  max-width: 1080px;
  margin: 0 auto;
}

.home-newsletter h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--soft-white);
}

.home-newsletter-copy > p {
  max-width: 520px;
  margin-bottom: 1.75rem;
  color: var(--text-light);
  opacity: 0.88;
}

.home-newsletter-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  color: var(--gold);
  font-size: 0.875rem;
}

.home-newsletter-benefits i {
  margin-right: 0.35rem;
}

.home-newsletter-form {
  width: 100%;
  max-width: 360px;
  margin-left: auto;
}

/* --- Contact Page --- */
.contact-page-header p {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.contact-section {
  padding-top: 5rem;
  padding-bottom: 6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 2rem;
  align-items: start;
}

.contact-card {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: rgba(13, 27, 42, 0.82);
  box-shadow: var(--shadow);
}

.contact-message-card,
.contact-subscribe-card {
  padding: 2.75rem;
}

.contact-card h2 {
  margin-bottom: 0.75rem;
  color: var(--soft-white);
  font-family: var(--font-heading);
  font-size: 2.25rem;
  line-height: 1.15;
}

.contact-eyebrow {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-intro {
  max-width: 570px;
  margin-bottom: 2rem;
  color: var(--text-light);
  opacity: 0.85;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-family: "Trebuchet MS", Arial, sans-serif;
}

.form-honeypot {
  display: none !important;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  text-align: center;
}

.form-status.success {
  color: var(--cyan-glow);
}

.form-status.error {
  color: #ff9e9e;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--soft-white);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(232, 244, 248, 0.45);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--cyan-glow);
  box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-group select option {
  background: var(--deep-indigo);
  color: var(--soft-white);
}

.contact-submit {
  width: 100%;
  margin-top: 0.25rem;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
  font-family: "Trebuchet MS", Arial, sans-serif;
}

.contact-sidebar {
  display: grid;
  gap: 2rem;
}

.contact-subscribe-card {
  padding-bottom: 2.25rem;
}

.sender-form-wrap {
  width: 100%;
  max-width: 360px;
  min-height: 76px;
  margin: 0.25rem auto 0;
}

.sender-form-field,
.sender-form-field iframe {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
}

.sender-form-field:empty::before {
  content: 'Loading signup form...';
  display: block;
  padding: 1rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: rgba(232, 244, 248, 0.55);
  background: rgba(255, 255, 255, 0.06);
  text-align: center;
}

.contact-details-card {
  padding: 1.75rem 2rem;
}

.contact-details-card h3 {
  margin-bottom: 1rem;
  color: var(--soft-white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  text-align: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.contact-item {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--text-light);
  transition: background var(--transition), transform var(--transition);
}

.contact-item:hover {
  color: var(--soft-white);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.contact-item .icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--gold);
  background: var(--glass-bg);
  text-align: center;
}

.contact-item strong,
.contact-item small {
  display: block;
}

.contact-item strong {
  color: var(--gold);
  font-size: 0.9rem;
}

.contact-item small {
  color: var(--text-light);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

/* --- Page Header (for inner pages) --- */
.page-header {
  padding: 10rem 0 4rem;
  text-align: center;
  background: radial-gradient(ellipse at 50% 30%, var(--rich-purple), var(--deep-indigo) 70%);
  position: relative;
  overflow: hidden;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--soft-white);
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 2px;
}

/* --- Footer --- */
.footer {
  background: rgba(10, 14, 26, 0.92);
  padding: 3rem 0 1.5rem;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--glass-border);
}

.footer-simple {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-logo img {
  width: auto;
  height: 100px;
}

.footer-contact {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-contact a {
  color: var(--text-light);
  opacity: 0.8;
  font-size: 0.95rem;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact a:hover {
  opacity: 1;
  color: var(--gold);
}

.footer-social a {
  color: var(--gold);
  font-size: 1.1rem;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-social a:hover {
  color: var(--gold-light);
}

.footer-social a i {
  font-size: 1.4rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  opacity: 0.5;
  font-size: 0.85rem;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-image--poster {
    position: static;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-container {
    position: relative;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-moon {
    height: 280px !important;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    transition: right var(--transition);
    gap: 1.5rem;
    border-left: 1px solid var(--glass-border);
  }

  .nav-links.open {
    right: 0;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .page-header h1 {
    font-size: 2.5rem;
  }

  .about-image--poster {
    max-width: 100%;
  }

  .about-text {
    text-align: left;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-message-card,
  .contact-subscribe-card,
  .contact-details-card {
    padding: 2rem 1.5rem;
  }

  .home-newsletter {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 1.5rem;
  }

  .home-newsletter h2 {
    font-size: 2.2rem;
  }

  .home-newsletter-form {
    margin: 0 auto;
  }

  .event-card {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-contact {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn-group {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding-top: 3.5rem;
    padding-bottom: 4rem;
  }

  .contact-card h2 {
    font-size: 1.9rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-moon {
    height: 200px !important;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3rem 0;
  }
}
