/* ==========================================================================
   A LOVE WRITTEN IN THE STARS — CINEMATIC CELESTIAL WEDDING WEBSITE
   Design System & Modern CSS Architecture
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. COLOR PALETTE & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Theme Colors */
  --bg-deep: #050814;
  --bg-navy: #0a0e28;
  --bg-indigo: #0f153a;
  --bg-purple: #171236;
  
  /* Glassmorphism Surfaces */
  --glass-bg: rgba(13, 19, 45, 0.65);
  --glass-bg-hover: rgba(20, 29, 65, 0.75);
  --glass-border: rgba(229, 193, 88, 0.25);
  --glass-border-glow: rgba(229, 193, 88, 0.5);
  --glass-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  
  /* Gold Accents & Foil Gradients */
  --gold-primary: #e5c158;
  --gold-light: #f7e6ad;
  --gold-dark: #b58d27;
  --gold-copper: #d48e46;
  --gold-gradient: linear-gradient(135deg, #ffffff 0%, #f7e6ad 30%, #e5c158 70%, #b58d27 100%);
  --gold-gradient-soft: linear-gradient(135deg, rgba(247, 230, 173, 0.8) 0%, rgba(229, 193, 88, 0.8) 50%, rgba(181, 141, 39, 0.8) 100%);
  
  /* Romantic Soft Accents */
  --accent-blush: #ebc3b7;
  --accent-peach: #f4d3c3;
  --accent-emerald: #3d6e5f;
  
  /* Typography Colors */
  --text-main: #fbf8f3;
  --text-muted: #cdcfdb;
  --text-dim: #9095ad;
  --text-gold: #e5c158;
  
  /* Typography Families */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-display: 'Cinzel Decorative', 'Cinzel', serif;
  --font-script: 'Pinyon Script', 'Alex Brush', cursive;
  --font-sans: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  
  /* Layout Spacing & Transitions */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(23, 18, 54, 0.8) 0%, transparent 70%),
    radial-gradient(circle at 80% 50%, rgba(15, 21, 58, 0.5) 0%, transparent 60%);
  background-attachment: fixed;
  overflow-x: hidden;
  position: relative;
  line-height: 1.7;
}

/* Background Canvas Starfield */
#starfield-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

/* Base Link & Button resets */
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  touch-action: manipulation;
}

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

::selection {
  background: var(--gold-primary);
  color: var(--bg-deep);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: rgba(229, 193, 88, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

/* --------------------------------------------------------------------------
   3. ENHANCED TYPOGRAPHY & SMOOTH TRANSITION ANIMATIONS (NO PDF FEEL)
   -------------------------------------------------------------------------- */
.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.font-script {
  font-family: var(--font-script);
  color: var(--gold-light);
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.1;
}

.font-serif {
  font-family: var(--font-serif);
}

.font-display {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
}

.section-tagline {
  font-family: var(--font-script);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--gold-light);
  margin-bottom: 0.25rem;
  display: block;
  text-shadow: 0 2px 10px rgba(229, 193, 88, 0.2);
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-main);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtext {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
  font-weight: 300;
  line-height: 1.7;
}

/* Smooth Entrance & Reveal Transitions for Text */
.section-tagline,
.section-heading,
.section-subtext,
.story-title,
.story-desc,
.event-title,
.glass-panel,
.story-card,
.event-card {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  filter: blur(5px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), 
              filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.animated .section-tagline,
.animated .section-heading,
.animated .section-subtext,
.animated .story-title,
.animated .story-desc,
.animated .event-title,
.animated.glass-panel,
.animated.story-card,
.animated.event-card,
.animated .glass-panel,
.animated .story-card,
.animated .event-card {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

/* Staggered Delay for Rich Dynamic Entrance */
.animated .section-tagline { transition-delay: 0.1s; }
.animated .section-heading { transition-delay: 0.25s; }
.animated .gold-divider   { transition-delay: 0.35s; }
.animated .section-subtext { transition-delay: 0.45s; }

/* Gold Divider Filigree */
.gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.25rem auto 2.25rem auto;
}

.gold-divider::before,
.gold-divider::after {
  content: '';
  height: 1px;
  width: 70px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.gold-divider .star-icon {
  color: var(--gold-primary);
  font-size: 1rem;
  animation: pulse-glow 3s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.25); }
}

/* --------------------------------------------------------------------------
   4. GLASSMORPHISM CARDS & CONTAINERS
   -------------------------------------------------------------------------- */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247, 230, 173, 0.4), transparent);
}

.glass-panel:hover {
  border-color: var(--glass-border-glow);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(229, 193, 88, 0.15);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  background: var(--gold-gradient);
  color: #080b18;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 8px 25px rgba(229, 193, 88, 0.35);
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.btn-gold::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.btn-gold:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 35px rgba(229, 193, 88, 0.5);
}

.btn-gold:hover::after {
  opacity: 1;
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  background: rgba(229, 193, 88, 0.08);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
}

.btn-glass:hover {
  background: var(--gold-gradient);
  color: var(--bg-deep);
  box-shadow: 0 10px 25px rgba(229, 193, 88, 0.3);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   5. SECTION 1 — CINEMATIC OPENING (SPLASH SCREEN)
   -------------------------------------------------------------------------- */
#splash-screen {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, #0d1338 0%, #050814 80%);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  transition: opacity 1.2s cubic-bezier(0.65, 0, 0.35, 1), visibility 1.2s ease;
}

#splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-content {
  max-width: 540px;
  width: 100%;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.splash-moon-wrap {
  width: min(220px, 50vw);
  height: min(220px, 50vw);
  margin-bottom: 2rem;
  position: relative;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, rgba(247, 230, 173, 0.6), transparent 70%);
  box-shadow: 0 0 50px rgba(229, 193, 88, 0.25);
  animation: moon-glow 4s ease-in-out infinite alternate;
}

@keyframes moon-glow {
  0% { box-shadow: 0 0 30px rgba(229, 193, 88, 0.2); }
  100% { box-shadow: 0 0 60px rgba(247, 230, 173, 0.45); }
}

.splash-moon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: brightness(1.05) contrast(1.08);
}

.splash-subtitle {
  font-family: var(--font-script);
  color: var(--gold-light);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(15px);
  animation: fade-up 1s ease forwards 0.4s;
}

.splash-title {
  font-family: 'Cinzel Decorative', var(--font-serif);
  font-size: clamp(2.8rem, 9vw, 5.2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #ffffff 0%, #f7e6ad 40%, #e5c158 80%, #b58d27 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(15px);
  animation: fade-up 1s ease forwards 0.7s;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.7));
}

.splash-date {
  font-family: var(--font-display);
  color: var(--gold-primary);
  font-size: clamp(0.9rem, 3vw, 1.15rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(15px);
  animation: fade-up 1s ease forwards 1s;
}

.splash-tagline {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-weight: 300;
  opacity: 0;
  transform: translateY(15px);
  animation: fade-up 1s ease forwards 1.2s;
}

.splash-btn {
  opacity: 0;
  transform: translateY(15px);
  animation: fade-up 1s ease forwards 1.5s;
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   6. MAIN LAYOUT & HERO SECTION (INCREASED COUPLE NAME SIZE)
   -------------------------------------------------------------------------- */
.main-wrapper {
  position: relative;
  z-index: 1;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem 1.5rem;
  overflow: hidden;
}

.hero-bg-container {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.65) contrast(1.1);
  transform: scale(1.05);
  transition: transform 10s ease-out;
}

.hero-section:hover .hero-bg-img {
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 50% 40%, rgba(5, 8, 20, 0.3) 0%, rgba(5, 8, 20, 0.85) 90%),
    linear-gradient(180deg, rgba(5, 8, 20, 0.7) 0%, transparent 30%, transparent 70%, #050814 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 950px;
  width: 100%;
}

/* GRAND INCREASED COUPLE NAME IN HERO SECTION */
.hero-names {
  font-family: 'Cinzel Decorative', var(--font-serif);
  font-size: clamp(4rem, 13vw, 7.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #ffffff 0%, #f7e6ad 30%, #e5c158 70%, #b58d27 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.8));
  animation: heroTitleFloat 6s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes heroTitleFloat {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-8px) scale(1.01); }
}

.hero-names span {
  font-family: var(--font-script);
  font-size: 0.75em;
  color: var(--gold-light);
  -webkit-text-fill-color: var(--gold-light);
  display: inline-block;
  margin: 0 0.25em;
  transform: translateY(-0.05em);
  text-shadow: 0 4px 15px rgba(229, 193, 88, 0.4);
}

.hero-subtext {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: clamp(0.9rem, 2.8vw, 1.25rem);
  color: var(--gold-light);
  margin-bottom: 1rem;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.hero-date-badge {
  display: inline-block;
  padding: 0.5rem 1.8rem;
  border-radius: var(--radius-full);
  background: rgba(229, 193, 88, 0.15);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  font-family: var(--font-display);
  letter-spacing: 0.35em;
  font-size: clamp(0.9rem, 2.5vw, 1.15rem);
  margin-bottom: 3.5rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

/* Countdown Timer Bar */
.countdown-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  max-width: 620px;
  margin: 0 auto;
  width: 100%;
}

.countdown-box {
  padding: 1.3rem 0.5rem;
  text-align: center;
  background: rgba(9, 13, 33, 0.75);
  border: 1px solid rgba(229, 193, 88, 0.35);
  border-radius: var(--radius-md);
  backdrop-filter: blur(14px);
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.countdown-box:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
}

.countdown-num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 7vw, 3.4rem);
  font-weight: 600;
  line-height: 1;
  color: var(--gold-light);
  margin-bottom: 0.3rem;
}

.countdown-label {
  font-size: clamp(0.7rem, 2vw, 0.85rem);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.countdown-zero {
  grid-column: span 4;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--gold-light);
  padding: 1.5rem;
}

/* --------------------------------------------------------------------------
   7. FLOATING & TOP NAVIGATION
   -------------------------------------------------------------------------- */
.nav-header {
  position: fixed;
  top: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(92%, 1100px);
  z-index: 1000;
  padding: 0.75rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
}

.nav-logo {
  font-family: 'Cinzel Decorative', var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-light);
}

.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-links-desktop a {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding: 0.2rem 0;
  font-weight: 500;
}

.nav-links-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-primary);
  transition: width 0.3s ease;
}

.nav-links-desktop a:hover {
  color: var(--gold-light);
}

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

/* Mobile Floating Hamburger Button */
.mobile-nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(13, 19, 45, 0.85);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  z-index: 1001;
}

.mobile-nav-toggle svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, #0d1435 0%, #050814 90%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-menu {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.mobile-nav-menu a {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--text-main);
  letter-spacing: 0.08em;
  transition: var(--transition-smooth);
}

.mobile-nav-menu a:hover {
  color: var(--gold-primary);
}

.mobile-nav-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   8. SECTION — OUR STORY ("A Chapter Written by Fate")
   -------------------------------------------------------------------------- */
.story-section {
  padding: 6rem 1.5rem;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  margin-top: 3rem;
}

.story-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.story-img-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  border: 1px solid var(--glass-border);
  aspect-ratio: 4 / 3;
}

.story-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.story-img-wrap:hover .story-img {
  transform: scale(1.05);
}

.story-content {
  padding: 1.5rem;
}

.story-chapter {
  font-family: var(--font-display);
  color: var(--gold-primary);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.story-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--text-main);
  margin-bottom: 1rem;
}

.story-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   9. SECTION — "OUR UNIVERSE" VISUAL SECTION
   -------------------------------------------------------------------------- */
.universe-section {
  position: relative;
  padding: 8rem 1.5rem;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(23, 18, 54, 0.9) 0%, var(--bg-deep) 80%);
}

.universe-bg {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  mix-blend-mode: screen;
}

.universe-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.universe-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0 auto;
}

.floating-words-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 4rem;
}

.floating-word {
  display: inline-block;
  padding: 0.8rem 2.2rem;
  border-radius: var(--radius-full);
  background: rgba(13, 19, 45, 0.7);
  border: 1px solid var(--glass-border);
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  letter-spacing: 0.08em;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  animation: float-drift 6s ease-in-out infinite alternate;
}

.floating-word:nth-child(2) { animation-delay: -1.5s; }
.floating-word:nth-child(3) { animation-delay: -3s; }
.floating-word:nth-child(4) { animation-delay: -4.5s; }

@keyframes float-drift {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
  100% { transform: translateY(6px) rotate(-1deg); }
}

/* --------------------------------------------------------------------------
   10. SECTION — EVENTS ("Three Days. A Thousand Memories.")
   -------------------------------------------------------------------------- */
.events-section {
  padding: 6rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.events-timeline {
  position: relative;
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.events-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--gold-primary) 15%, var(--gold-primary) 85%, transparent);
}

.event-card-wrapper {
  position: relative;
  padding-left: 55px;
}

.event-dot {
  position: absolute;
  left: 11px;
  top: 24px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--gold-primary);
  box-shadow: 0 0 15px var(--gold-primary);
  z-index: 2;
}

.event-card {
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.event-image-wrap {
  width: 100%;
  height: 220px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.event-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.event-card:hover .event-image-wrap img {
  transform: scale(1.05);
}

.event-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.event-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.event-details {
  list-style: none;
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.event-details li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.event-details svg {
  width: 16px;
  height: 16px;
  fill: var(--gold-primary);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   11. GALLERY & LIGHTBOX
   -------------------------------------------------------------------------- */
.gallery-section {
  padding: 6rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  aspect-ratio: 4 / 5;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 8, 20, 0.85) 0%, transparent 60%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  transition: opacity 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

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

.gallery-item-title {
  font-family: var(--font-serif);
  color: var(--gold-light);
  font-size: 1.25rem;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 15, 0.95);
  backdrop-filter: blur(20px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  padding: 2rem;
}

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

.lightbox-content-wrap {
  position: relative;
  max-width: 900px;
  max-height: 85vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
  border: 1px solid var(--glass-border);
}

.lightbox-caption {
  font-family: var(--font-serif);
  color: var(--gold-light);
  margin-top: 1rem;
  font-size: 1.1rem;
  text-align: center;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(13, 19, 45, 0.8);
  border: 1px solid var(--glass-border);
  color: var(--gold-light);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lightbox-close { top: -60px; right: 0; }
.lightbox-prev { left: -60px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: -60px; top: 50%; transform: translateY(-50%); }

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: var(--gold-primary);
  color: var(--bg-deep);
}

/* --------------------------------------------------------------------------
   12. SECTION — GOOGLE MAPS ("Find Your Way To Us")
   -------------------------------------------------------------------------- */
.map-section {
  padding: 6rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.map-container {
  margin-top: 3rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  height: 420px;
  position: relative;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

/* --------------------------------------------------------------------------
   13. SECTION — RSVP & WHATSAPP
   -------------------------------------------------------------------------- */
.rsvp-section {
  padding: 6rem 1.5rem;
  max-width: 750px;
  margin: 0 auto;
  position: relative;
}

.rsvp-card {
  padding: 3rem 2rem;
  text-align: center;
}

.rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
  margin-top: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.95rem 1.2rem;
  border-radius: var(--radius-sm);
  background: rgba(5, 8, 20, 0.6);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  transition: var(--transition-smooth);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(229, 193, 88, 0.2);
}

.events-checkboxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
}

.checkbox-label input {
  accent-color: var(--gold-primary);
  width: 18px;
  height: 18px;
}

.whatsapp-opt {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

/* --------------------------------------------------------------------------
   14. GUESTBOOK ("Words That Stay Forever")
   -------------------------------------------------------------------------- */
.guestbook-section {
  padding: 6rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.guestbook-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.guestbook-card {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.guest-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.guest-author {
  font-size: 0.85rem;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   15. FLOATING AUDIO CONTROL
   -------------------------------------------------------------------------- */
.audio-control-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(13, 19, 45, 0.85);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  z-index: 999;
  transition: var(--transition-smooth);
}

.audio-control-btn:hover {
  transform: scale(1.1);
  background: var(--gold-primary);
  color: var(--bg-deep);
}

.audio-control-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   16. FOOTER & FINAL CTA
   -------------------------------------------------------------------------- */
.footer-cta {
  padding: 8rem 1.5rem 6rem 1.5rem;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at 50% 100%, #151c42 0%, var(--bg-deep) 70%);
}

.footer-bottom {
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--glass-border);
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   17. RESPONSIVE BREAKPOINTS & SMOOTH PERFORMANCE
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .nav-links-desktop {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

@media (min-width: 769px) {
  .story-card:nth-child(even) {
    grid-template-columns: 1fr 1fr;
  }
  .story-card:nth-child(odd) {
    grid-template-columns: 1fr 1fr;
  }
  .story-card:nth-child(even) .story-img-wrap {
    order: 2;
  }
  .event-card {
    grid-template-columns: 240px 1fr;
  }
  .event-image-wrap {
    height: 100%;
  }
  .events-timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
  .event-card-wrapper {
    width: 50%;
    padding-left: 0;
  }
  .event-card-wrapper:nth-child(odd) {
    align-self: flex-start;
    padding-right: 40px;
  }
  .event-card-wrapper:nth-child(even) {
    margin-left: auto;
    padding-left: 40px;
  }
  .event-card-wrapper:nth-child(odd) .event-dot {
    right: -10px;
    left: auto;
  }
  .event-card-wrapper:nth-child(even) .event-dot {
    left: -10px;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
