/* ============================================================
   CSS VARIABLES & RESET
============================================================ */
:root {
  --navy:   #1e2f5e;
  --gold:   #c49a3c;
  --cream:  #f9f6f0;
  --slate:  #5a6a8a;
  --blue:   #7ba7c4;
  --gold-light: #e0c06b;
  --navy-dark: #141f40;
  --shadow: 0 4px 24px rgba(30,47,94,0.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: auto; } /* Lenis handles smooth scroll */

body {
  background: var(--cream);
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 480px;
  margin: 0 auto;
  overflow-x: hidden;
}

img { display: block; width: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   TYPOGRAPHY HELPERS
============================================================ */
.font-playfair   { font-family: 'Playfair Display', serif; }
.font-cormorant  { font-family: 'Cormorant Garamond', serif; }
.font-montserrat { font-family: 'Montserrat', sans-serif; }

.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}

/* ============================================================
   STICKY NAV
============================================================ */
#nav {
  position: fixed;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 1000;
  background: rgba(30,47,94,0.95);
  backdrop-filter: blur(8px);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 2px;
}

.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--navy-dark);
  display: none;
  flex-direction: column;
  padding: 8px 0 16px;
  border-top: 1px solid rgba(196,154,60,0.3);
}
.nav-dropdown.open { display: flex; }

.nav-dropdown a {
  padding: 12px 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cream);
  transition: color 0.2s;
}
.nav-dropdown a:hover { color: var(--gold); }

/* ============================================================
   HERO SECTION
============================================================ */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 32px 60px;
  background: var(--navy);
  overflow: hidden;
}

#particles-js {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-botanical-tl,
.hero-botanical-br {
  position: absolute;
  z-index: 1;
  opacity: 0.55;
}
.hero-botanical-tl { top: 0; left: 0; width: 160px; }
.hero-botanical-br { bottom: 0; right: 0; width: 160px; transform: rotate(180deg); }

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero-monogram {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 10px;
  color: var(--gold);
  margin-bottom: 18px;
  opacity: 0;
}

.hero-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  opacity: 0;
}

.hero-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 10vw, 52px);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.1;
  display: block;
  overflow: hidden;
}

.hero-ampersand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin: 4px 0;
  opacity: 0;
}

.hero-divider {
  margin: 20px auto;
  opacity: 0;
}

.hero-date-line {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 300;
  color: rgba(249,246,240,0.85);
  letter-spacing: 2px;
  margin-bottom: 4px;
  opacity: 0;
}

.hero-location-line {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 32px;
  opacity: 0;
}

.hero-cta {
  display: inline-block;
  padding: 14px 36px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
  opacity: 0;
  margin-bottom: 40px;
}
.hero-cta:hover { background: var(--gold); color: var(--navy); }

.hero-icon-nav {
  display: flex;
  gap: 0;
  width: 100%;
  border-top: 1px solid rgba(196,154,60,0.25);
  opacity: 0;
}
.hero-icon-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(249,246,240,0.7);
  border-right: 1px solid rgba(196,154,60,0.15);
  transition: color 0.2s;
}
.hero-icon-nav a:last-child { border-right: none; }
.hero-icon-nav a:hover { color: var(--gold); }
.hero-icon-nav svg { width: 18px; height: 18px; }

/* ============================================================
   SHARED SECTION STYLES
============================================================ */
.section {
  padding: 72px 28px;
}
.section-inner {
  max-width: 420px;
  margin: 0 auto;
}
.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}
.section-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--slate);
  margin-bottom: 16px;
}
.section-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 20px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1.5;
  border-left: 2px solid var(--gold);
  padding-left: 16px;
  margin: 24px 0;
}

/* ============================================================
   INTRO / WELCOME
============================================================ */
#intro {
  background: var(--cream);
  text-align: center;
}
.intro-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--gold);
  margin: 0 auto 28px;
}

/* ============================================================
   OUR STORY
============================================================ */
#story {
  background: #f3efe8;
  overflow: hidden;
}
.story-photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  margin-bottom: 28px;
}
.story-botanical {
  float: right;
  width: 80px;
  margin: 0 0 12px 16px;
  opacity: 0.4;
}

/* ============================================================
   COUNTDOWN
============================================================ */
#countdown {
  background: var(--navy);
  text-align: center;
  padding: 72px 20px;
}
#countdown .section-label { color: var(--gold-light); }
#countdown .section-heading { color: var(--cream); margin-bottom: 40px; }

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 400px;
  margin: 0 auto;
}
.countdown-card {
  border: 1.5px solid var(--gold);
  padding: 16px 6px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.countdown-number {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.countdown-unit {
  font-family: 'Montserrat', sans-serif;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(249,246,240,0.6);
}

/* ============================================================
   VIDEO
============================================================ */
#video-section {
  background: var(--navy-dark);
  text-align: center;
  padding: 72px 24px;
}
#video-section .section-label { color: var(--gold); }
#video-section .section-heading { color: var(--cream); margin-bottom: 28px; }

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #0a1020;
}
.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================================
   GALLERY
============================================================ */
#gallery {
  background: var(--cream);
  padding: 72px 0 56px;
  text-align: center;
}
#gallery .section-label,
#gallery .section-heading { padding: 0 28px; }
#gallery .section-heading { margin-bottom: 28px; }

.swiper-container-wrap {
  width: 100%;
  padding: 0 0 40px;
}
.swiper { width: 100%; overflow: hidden; }
.swiper-slide {
  width: 75%;
  height: 280px;
}
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}
.swiper-pagination-bullet { background: var(--navy); opacity: 0.3; }
.swiper-pagination-bullet-active { background: var(--gold); opacity: 1; }

.gallery-btn {
  display: inline-block;
  margin: 12px 28px 0;
  padding: 12px 28px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
}
.gallery-btn:hover { background: var(--gold); color: var(--navy); }

/* ============================================================
   SAVE THE DATE BANNER
============================================================ */
#save-date {
  background: var(--navy);
  text-align: center;
  padding: 72px 28px;
}
#save-date .section-label { color: var(--gold); margin-bottom: 20px; }

.save-date-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(56px, 18vw, 90px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.save-date-month {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 6px;
  color: var(--cream);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.save-date-year {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 6px;
  color: rgba(249,246,240,0.55);
  margin-bottom: 36px;
}

.gcal-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
}
.gcal-btn:hover { background: var(--gold); color: var(--navy); }

/* ============================================================
   WHEN & WHERE
============================================================ */
#where {
  background: var(--cream);
  padding: 72px 24px;
}

.venue-card {
  background: #fff;
  border: 1px solid rgba(196,154,60,0.25);
  margin-bottom: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.venue-card-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.venue-card-body { padding: 28px 24px 24px; }
.venue-card-date-num {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.venue-card-month {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 16px;
  display: block;
}
.venue-card-heading {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 12px;
}
.venue-card-detail {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: var(--slate);
  margin-bottom: 5px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.venue-card-detail svg { flex-shrink: 0; margin-top: 2px; }

.venue-map {
  width: 100%;
  height: 200px;
  border: none;
  display: block;
}
.venue-directions-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: var(--navy);
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: background 0.2s;
}
.venue-directions-btn:hover { background: var(--navy-dark); }

/* ============================================================
   DRESS CODE
============================================================ */
#dress-code {
  background: #f3efe8;
  padding: 72px 24px;
  text-align: center;
}
.dresscode-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
.dresscode-photo {
  height: 220px;
  object-fit: cover;
}
.color-swatches {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 24px 0;
  flex-wrap: wrap;
}
.swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(30,47,94,0.12);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.dresscode-note {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 300;
  color: var(--slate);
  line-height: 1.65;
  margin-bottom: 8px;
}

/* ============================================================
   MUSIC REQUEST
============================================================ */
#music {
  background: var(--cream);
  padding: 72px 24px;
  text-align: center;
}
.spotify-card {
  background: #191414;
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}
.spotify-card svg { width: 40px; height: 40px; }
.spotify-card p {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}
.spotify-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #1DB954;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 40px;
  transition: opacity 0.2s;
}
.spotify-btn:hover { opacity: 0.85; }

/* ============================================================
   RSVP
============================================================ */
#rsvp {
  background: var(--navy);
  padding: 72px 24px;
  text-align: center;
}
#rsvp .section-label { color: var(--gold); }
#rsvp .section-heading { color: var(--cream); }

.rsvp-message {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-weight: 300;
  color: rgba(249,246,240,0.8);
  margin: 16px 0 32px;
  line-height: 1.65;
}
.rsvp-message strong {
  color: var(--gold);
  font-weight: 600;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: #25D366;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: opacity 0.2s;
  margin-bottom: 24px;
}
.whatsapp-btn:hover { opacity: 0.9; }
.whatsapp-btn svg { width: 20px; height: 20px; }

.rsvp-deadline {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  color: rgba(249,246,240,0.45);
  text-transform: uppercase;
}
.rsvp-deadline span { color: var(--gold); }

/* ============================================================
   GIFTS
============================================================ */
#gifts {
  background: var(--cream);
  padding: 72px 24px;
  text-align: center;
}
.gifts-intro {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-weight: 300;
  color: var(--slate);
  line-height: 1.7;
  margin: 16px 0 36px;
}
.gift-card {
  background: #fff;
  border: 1px solid rgba(196,154,60,0.3);
  padding: 28px 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  text-align: left;
}
.gift-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.gift-card-title svg { color: var(--gold); }
.gift-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 14px;
}
.gift-field-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--slate);
}
.gift-field-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 1px;
}
.copy-btn {
  width: 100%;
  padding: 11px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
  margin-top: 4px;
}
.copy-btn:hover { background: var(--gold); color: var(--navy); }

.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--navy);
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 12px 24px;
  border: 1px solid var(--gold);
  transition: transform 0.3s, opacity 0.3s;
  opacity: 0;
  z-index: 9999;
  pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ============================================================
   CHILDREN POLICY
============================================================ */
#children {
  background: #f3efe8;
  padding: 56px 24px;
}
.children-card {
  background: var(--cream);
  border: 1px solid rgba(196,154,60,0.25);
  padding: 36px 28px;
  text-align: center;
}
.children-icon { font-size: 36px; margin-bottom: 20px; display: block; }
.children-heading {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 14px;
}
.children-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 300;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 20px;
}
.children-sign {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--gold);
}

/* ============================================================
   FOOTER
============================================================ */
#footer {
  background: var(--navy-dark);
  text-align: center;
  padding: 56px 24px 40px;
}
.footer-monogram {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 6px;
  display: block;
  margin-bottom: 16px;
}
.footer-date {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(249,246,240,0.45);
  margin-bottom: 6px;
}
.footer-venue {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 300;
  color: rgba(249,246,240,0.35);
  margin-bottom: 32px;
}
.footer-botanical { margin: 0 auto; opacity: 0.2; width: 160px; }

/* ============================================================
   UTILITIES
============================================================ */
.gold-divider-svg { margin: 0 auto; }
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }

/* Scroll animation initial states (set by JS) */
.gsap-hidden { opacity: 0; transform: translateY(40px); }
