/* ============================================================
   Wedding Website Styles
   Palette: Midnight Blue · Sage Green · Gold · Dark Plum · Cream
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --cream:        #f5f0e8;
  --white:        #ffffff;
  --navy:         #1b2a6b;
  --navy-dark:    #111a45;
  --navy-light:   #2d3e8a;
  --sage:         #8a9b8e;
  --sage-light:   #d4e0da;
  --gold:         #c9a65e;
  --gold-light:   #e8d5a3;
  --gold-dark:    #a07d3a;
  --plum:         #4a1942;
  --plum-dark:    #320f2d;
  --plum-mid:     #6e2c64;
  --text:         #1a1f3d;
  --text-light:   #5a607a;
  --border:       #dcd6ca;

  /* Map old names used throughout so nothing breaks */
  --ivory:        var(--cream);
  --rose-gold:    var(--gold);
  --rose-dark:    var(--gold-dark);
  --mauve:        var(--plum-mid);
  --mauve-dark:   var(--navy);
  --sage-light:   #d4e0da;
  --gold-light:   #e8d5a3;

  --font-script:  'Great Vibes', cursive;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Lato', sans-serif;

  --nav-height:   72px;
  --transition:   0.3s ease;
  --shadow-sm:    0 2px 12px rgba(17, 26, 69, 0.10);
  --shadow-md:    0 6px 24px rgba(17, 26, 69, 0.14);
  --shadow-lg:    0 12px 40px rgba(17, 26, 69, 0.18);
}

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

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

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.25;
}

/* ---------- Utility ---------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section-alt { background: var(--white); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header-light .section-eyebrow,
.section-header-light .section-title { color: var(--white); }

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-script);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--navy);
  margin-bottom: 20px;
}

.section-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 24px;
}
.section-divider-light { background: rgba(255,255,255,0.5); }

.section-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 32px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-sm { padding: 9px 22px; font-size: 0.72rem; }
.btn-lg { padding: 16px 48px; font-size: 0.85rem; }

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.8);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-light:hover {
  background: var(--cream);
  color: var(--navy);
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Placeholder photos */
.placeholder-photo {
  background: linear-gradient(135deg, var(--sage-light) 0%, var(--gold-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.placeholder-photo.round { border-radius: 50%; }
.placeholder-photo-inner {
  text-align: center;
  color: var(--navy);
}
.placeholder-icon { font-size: 2rem; display: block; margin-bottom: 6px; }
.placeholder-photo-inner p { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.6; }


/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(245, 240, 232, 0.97);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-monogram {
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: var(--white);
  transition: color var(--transition);
}
#navbar.scrolled .nav-monogram { color: var(--navy); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding: 6px 10px;
  border-radius: 2px;
  transition: color var(--transition), background var(--transition);
}
#navbar.scrolled .nav-links a { color: var(--text-light); }
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.12); }
#navbar.scrolled .nav-links a:hover { color: var(--navy); background: var(--border); }

.nav-rsvp {
  border: 2px solid rgba(255,255,255,0.6) !important;
  padding: 6px 14px !important;
}
.nav-rsvp:hover { border-color: var(--white) !important; }
#navbar.scrolled .nav-rsvp { border-color: var(--gold-dark) !important; color: var(--gold-dark) !important; }
#navbar.scrolled .nav-rsvp:hover { background: var(--navy) !important; border-color: var(--navy) !important; color: var(--white) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--white);
  cursor: pointer;
  padding: 8px;
}
#navbar.scrolled .nav-toggle { color: var(--navy); }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(
      to bottom,
      rgba(17, 26, 69, 0.65) 0%,
      rgba(17, 26, 69, 0.45) 50%,
      rgba(74, 25, 66, 0.65) 100%
    ),
    linear-gradient(160deg, #111a45 0%, #1b2a6b 40%, #2d3e8a 65%, #4a1942 100%);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* Starry night scatter overlay */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(201,166,94,0.9) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 28% 9%,  rgba(255,255,255,0.8) 0%, transparent 100%),
    radial-gradient(1px 1px at 44% 22%,  rgba(201,166,94,0.7) 0%, transparent 100%),
    radial-gradient(2px 2px at 63% 7%,   rgba(255,255,255,0.9) 0%, transparent 100%),
    radial-gradient(1px 1px at 79% 15%,  rgba(201,166,94,0.8) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 91% 25%, rgba(255,255,255,0.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 8%  42%,  rgba(201,166,94,0.6) 0%, transparent 100%),
    radial-gradient(2px 2px at 35% 55%,  rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 38%,  rgba(201,166,94,0.7) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 72% 48%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 88% 60%,  rgba(201,166,94,0.8) 0%, transparent 100%),
    radial-gradient(2px 2px at 18% 72%,  rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 48% 80%,  rgba(201,166,94,0.5) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 83% 85%, rgba(255,255,255,0.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 95% 92%,  rgba(201,166,94,0.6) 0%, transparent 100%),
    /* Gold glow corners */
    radial-gradient(ellipse 200px 150px at 5% 5%,   rgba(201,166,94,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 180px 200px at 96% 10%, rgba(201,166,94,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 160px 160px at 90% 90%, rgba(74,25,66,0.4)    0%, transparent 70%),
    radial-gradient(ellipse 140px 100px at 5%  90%, rgba(74,25,66,0.3)    0%, transparent 70%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 24px 80px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.hero-names {
  font-family: var(--font-script);
  font-size: clamp(4rem, 12vw, 8rem);
  color: var(--white);
  font-weight: 400;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(61,43,48,0.4);
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}
.hero-divider-line {
  width: 80px;
  height: 1px;
  background: rgba(255,255,255,0.4);
}
.hero-divider-icon { color: var(--gold-light); font-size: 0.8rem; }

.hero-date {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: rgba(255,255,255,0.95);
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.hero-location {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.08em;
  margin-bottom: 40px;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.55);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: fadeInUp 1s ease 1.5s both;
}
.hero-scroll-arrow {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.4);
  position: relative;
  overflow: hidden;
}
.hero-scroll-arrow::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.8);
  animation: scrollLine 1.8s ease infinite;
}

@keyframes scrollLine {
  0%   { top: -100%; }
  100% { top: 100%; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ============================================================
   COUNTDOWN BAR
   ============================================================ */
.countdown-bar {
  background: var(--navy);
  padding: 36px 0;
  text-align: center;
}
.countdown-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.countdown-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
  padding: 0 16px;
}
.countdown-value {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.countdown-name {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.countdown-sep {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: rgba(255,255,255,0.25);
  line-height: 1;
  padding-bottom: 22px;
}


/* ============================================================
   VENUE HIGHLIGHT
   ============================================================ */
.section-venue {
  background: var(--navy);
  padding: 96px 0;
}

.venue-inner {
  max-width: 680px;
  margin: 0 auto;
}

.venue-text .section-eyebrow { color: var(--gold-light); }

.venue-title {
  font-family: var(--font-script);
  font-size: clamp(2.6rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 4px;
}

.venue-subtitle {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.venue-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 20px;
}

.venue-address {
  font-size: 0.88rem;
  color: var(--sage-light);
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}

.venue-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.venue-detail-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 24px 20px;
  transition: background var(--transition), border-color var(--transition);
}
.venue-detail-card:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(201, 166, 94, 0.4);
}

.venue-detail-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.venue-detail-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.venue-detail-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
}

/* ============================================================
   OUR STORY / NARRATIVE
   ============================================================ */

/* Top photo grid: large left + two stacked right */
.story-photos-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto 56px;
  border-radius: 8px;
  overflow: hidden;
}
.story-photos-top-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.story-photos-top-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.story-photos-top-side img {
  width: 100%;
  flex: 1;
  object-fit: cover;
  display: block;
}

/* Narrative text column */
.story-narrative {
  max-width: 700px;
  margin: 0 auto 48px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
}
.story-narrative p {
  margin-bottom: 1.4em;
}
.story-narrative p:last-child {
  margin-bottom: 0;
}

/* Pull quote — stand-alone emphasis line */
.story-pull {
  font-family: var(--font-heading);
  font-size: 1.25rem !important;
  font-style: italic;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  margin: 2em 0 !important;
  padding: 0 16px;
}

/* Aside — quiet italic line */
.story-aside {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  font-size: 1.1rem !important;
  color: var(--text-light);
  text-align: center;
  margin: 1.6em 0 !important;
}

/* Contrast lines — paired short statements */
.story-contrast-lines {
  text-align: center;
  margin: 2em 0;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.story-contrast-lines p {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--navy);
  margin: 0.3em 0 !important;
}

/* Single emphasis line */
.story-emphasis {
  font-family: var(--font-heading);
  font-size: 1.2rem !important;
  font-style: italic;
  font-weight: 600;
  color: var(--plum);
  text-align: center;
  margin: 2em 0 !important;
}

/* Block quote for dialogue */
.story-quote {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--plum);
  text-align: center;
  border: none;
  margin: 2em auto;
  padding: 24px 32px;
  max-width: 560px;
  position: relative;
}
.story-quote::before,
.story-quote::after {
  content: '';
  display: block;
  height: 1px;
  background: var(--gold);
  width: 60px;
  margin: 0 auto;
}
.story-quote::before { margin-bottom: 20px; }
.story-quote::after  { margin-top: 20px; }

/* Proposal photo */
.story-proposal-photo {
  max-width: 560px;
  margin: 0 auto 56px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(17, 26, 69, 0.2);
}
.story-proposal-photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* Closing paragraph */
.story-narrative-closing {
  text-align: center;
  margin-bottom: 56px;
}
.story-narrative-closing p {
  color: var(--text-light);
}

/* Video */
.story-video-wrap {
  max-width: 760px;
  margin: 0 auto 56px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(17, 26, 69, 0.25);
}
.story-video-wrap video {
  width: 100%;
  height: auto;
  display: block;
}

.story-intro {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 64px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-light);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--border);
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 72px;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border: 3px solid var(--cream);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.section-alt .timeline-item::before { border-color: var(--white); }

.timeline-item.right .timeline-content { order: -1; text-align: right; }
.timeline-item.right .timeline-photo  { order: 1; }

.timeline-date {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
}
.timeline-content h3 {
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.timeline-content p { font-size: 0.95rem; color: var(--text-light); }

.timeline-photo {
  width: 100%;
  border-radius: 4px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.timeline-photo img {
  width: 100%;
  height: auto;
  display: block;
}
.timeline-photo.placeholder-photo {
  aspect-ratio: 4/3;
}
.timeline-photo-multi {
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: none;
  overflow: visible;
}
.timeline-photo-multi img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: var(--shadow-md);
}
.timeline-photo .placeholder-photo-inner { padding: 20px; }


/* ============================================================
   SAVE THE DATE
   ============================================================ */
.event-cards {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 56px;
}

.event-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.event-card-icon { font-size: 2rem; margin-bottom: 16px; }
.event-card h3 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.event-time {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 8px;
}
.event-name { font-weight: 700; margin-bottom: 4px; }
.event-address { font-size: 0.88rem; color: var(--text-light); margin-bottom: 24px; }
.event-shuttle-note {
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.5;
}
.event-dress {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 16px;
}

.event-card-featured {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: scaleY(1.04);
  box-shadow: var(--shadow-lg);
}
.event-card-featured h3 { color: var(--white); }
.event-card-featured p { color: rgba(255,255,255,0.8); }
.event-card-featured .event-dress { color: var(--gold-light); }

.event-card-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}
.event-month {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.event-day {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
}
.event-year {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.65);
}

.event-extras {
  display: flex;
  gap: 24px;
  justify-content: center;
}
.event-extra {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px 32px;
  flex: 1;
  max-width: 420px;
  box-shadow: var(--shadow-sm);
}
.event-extra-icon { font-size: 1.8rem; flex-shrink: 0; }
.event-extra h4 { font-size: 1.1rem; color: var(--mauve-dark); margin-bottom: 6px; }
.event-extra p { font-size: 0.88rem; color: var(--text-light); }


/* ============================================================
   WEDDING PARTY
   ============================================================ */
.party-group { margin-bottom: 72px; }
.party-group:last-child { margin-bottom: 0; }

.party-group-title {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 36px;
}

.party-row {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.couple-row { gap: 48px; }

.party-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 280px;
}
.couple-row .party-card { max-width: 340px; }

.party-photo {
  width: 140px;
  height: 140px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
}
.couple-row .party-photo { width: 180px; height: 180px; }

.party-role {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 6px;
  display: block;
}
.party-card h4 { font-size: 1.3rem; color: var(--navy); margin-bottom: 8px; }
.party-card p { font-size: 0.88rem; color: var(--text-light); }

.party-card-sm .party-photo { width: 110px; height: 110px; }
.party-card-sm h4 { font-size: 1.1rem; }
.party-card-sm { max-width: 200px; }

.party-info { padding: 0 8px; }
.couple-row .party-card .party-info p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-light);
}


/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 12px;
  margin-bottom: 40px;
}
.gallery-item { overflow: hidden; border-radius: 4px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--transition); }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item-photo { grid-row: span 2; background: var(--navy-dark); }
.gallery-item-photo img { object-fit: contain; object-position: center; }
.gallery-item-tall { grid-row: span 2; }
.gallery-item-wide { grid-column: span 2; }

.gallery-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--sage-light) 0%, var(--gold-light) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--navy);
  transition: transform var(--transition);
}
.gallery-item:hover .gallery-placeholder { transform: scale(1.03); }
.gallery-placeholder .placeholder-icon { font-size: 2.2rem; }
.gallery-placeholder p { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; }

.gallery-note {
  text-align: center;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-light);
}
.gallery-note strong { color: var(--gold-dark); }


/* ============================================================
   MUSIC
   ============================================================ */
.music-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.music-intro {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 0.5em;
}
.music-sign {
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: var(--gold-dark);
  margin-bottom: 2em;
}
.music-embed {
  border-radius: 12px;
  overflow: hidden;
}

/* ============================================================
   REGISTRY
   ============================================================ */
.registry-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.registry-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.registry-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.registry-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  width: 100%;
  text-align: center;
}
.registry-card p { font-size: 0.9rem; color: var(--text-light); flex: 1; }

.registry-honeyfund {
  background: linear-gradient(135deg, var(--plum) 0%, var(--navy-dark) 100%);
  border-radius: 4px;
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
}
.honeyfund-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 700px;
  margin: 0 auto;
}
.honeyfund-icon { font-size: 3.5rem; flex-shrink: 0; }
.honeyfund-text h3 { font-size: 1.8rem; color: var(--white); margin-bottom: 10px; }
.honeyfund-text p { color: rgba(255,255,255,0.8); margin-bottom: 24px; font-size: 0.95rem; }


/* ============================================================
   TRAVEL
   ============================================================ */
.travel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.travel-hotels h3,
.travel-info h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.travel-intro {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 28px;
}

.hotel-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.hotel-badge {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 12px;
}
.hotel-badge-alt { background: var(--sage); }
.hotel-card h4 { font-size: 1.15rem; color: var(--navy); margin-bottom: 6px; }
.hotel-address { font-size: 0.85rem; color: var(--text-light); margin-bottom: 6px; }
.hotel-distance { font-size: 0.82rem; color: var(--text-light); margin-bottom: 6px; }
.hotel-rate { font-size: 0.85rem; color: var(--text); margin-bottom: 16px; }
.hotel-phone { font-size: 0.85rem; color: var(--text-light); margin-bottom: 8px; }
.hotel-shuttle { font-size: 0.82rem; margin-bottom: 16px; }
.hotel-shuttle-yes { color: var(--sage); }
.hotel-shuttle-no  { color: #b05050; }

.travel-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.travel-card:last-child { border-bottom: none; }
.travel-icon { font-size: 1.6rem; flex-shrink: 0; padding-top: 2px; }
.travel-card h4 { font-size: 1.05rem; color: var(--navy); margin-bottom: 6px; }
.travel-card p { font-size: 0.88rem; color: var(--text-light); }
.travel-card a { color: var(--gold-dark); }


/* ============================================================
   FAQ
   ============================================================ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 920px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
}
.faq-item h4 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.faq-item p { font-size: 0.9rem; color: var(--text-light); }
.faq-item a { color: var(--gold-dark); }


/* ============================================================
   RSVP
   ============================================================ */
.section-rsvp {
  position: relative;
  background:
    linear-gradient(
      to bottom right,
      rgba(17, 26, 69, 0.92),
      rgba(74, 25, 66, 0.88)
    ),
    linear-gradient(135deg, #111a45 0%, #1b2a6b 45%, #4a1942 100%);
  padding: 96px 0;
}
.rsvp-overlay {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 30px,
    rgba(255,255,255,0.015) 30px,
    rgba(255,255,255,0.015) 31px
  );
  pointer-events: none;
}
.section-rsvp .section-title { color: var(--white); }
.section-rsvp .section-eyebrow { color: var(--gold-light); }
.section-rsvp .section-subtitle { color: rgba(255,255,255,0.75); }
.section-rsvp .section-subtitle strong { color: var(--gold-light); }

.rsvp-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: var(--white);
  margin-bottom: 8px;
}
.rsvp-tagline-sub {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--gold-light);
  margin-bottom: 20px;
}

.attendance-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold-light);
  text-align: center;
  padding: 10px 16px;
  border-left: 2px solid var(--gold);
  margin: 0;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.attendance-quote.visible {
  opacity: 1;
  transform: translateY(0);
}

.rsvp-form {
  max-width: 680px;
  margin: 0 auto;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 48px;
  backdrop-filter: blur(8px);
}
.rsvp-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group-full { grid-column: span 2; }

.form-group label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--white);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.35); }
.form-group select option { background: var(--mauve-dark); color: var(--white); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-light);
  background: rgba(255,255,255,0.12);
}
.form-group textarea { resize: vertical; min-height: 90px; }

.form-submit { text-align: center; }

.form-success {
  display: none;
  text-align: center;
  margin-top: 28px;
  color: var(--white);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.2rem;
}
.form-success.show { display: flex; align-items: center; justify-content: center; gap: 12px; }
.form-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--gold-light);
  border-radius: 50%;
  font-size: 0.9rem;
  color: var(--gold-light);
  flex-shrink: 0;
}

.form-guest-error {
  display: none;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 100, 80, 0.12);
  border: 1px solid rgba(255, 100, 80, 0.35);
  border-radius: 4px;
  padding: 14px 18px;
  margin-bottom: 20px;
  color: var(--white);
  font-size: 0.9rem;
  line-height: 1.6;
}
.form-guest-error.show { display: flex; }
.form-guest-error-icon { font-size: 1.1rem; flex-shrink: 0; padding-top: 1px; }
.form-guest-error a { color: var(--gold-light); text-decoration: underline; }


/* ============================================================
   LIGHTBOX
   ============================================================ */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 10, 20, 0.92);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
#lightbox.open { display: flex; }

#lightboxImg {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 16px 64px rgba(0,0,0,0.6);
  display: block;
}

#lightboxClose {
  position: fixed;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
  z-index: 2001;
}
#lightboxClose:hover { opacity: 1; }

#lightboxPrev,
#lightboxNext {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 1.8rem;
  padding: 16px 18px;
  cursor: pointer;
  border-radius: 2px;
  opacity: 0.7;
  transition: opacity 0.2s, background 0.2s;
  z-index: 2001;
}
#lightboxPrev { left: 16px; }
#lightboxNext { right: 16px; }
#lightboxPrev:hover,
#lightboxNext:hover { opacity: 1; background: rgba(255,255,255,0.22); }

.gallery-item img, .party-photo img { cursor: zoom-in; }

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--navy-dark);
  padding: 64px 0 48px;
  text-align: center;
}
.footer-monogram {
  font-family: var(--font-script);
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-date {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 28px;
}
.footer-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}
.footer-divider span:not(.footer-icon) {
  flex: 0 0 60px;
  height: 1px;
  background: rgba(255,255,255,0.2);
}
.footer-icon { color: var(--gold-light); font-size: 0.8rem; }
.footer-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.8;
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .event-cards { grid-template-columns: 1fr; }
  .event-card-featured { transform: none; order: -1; }
  .event-extras { flex-direction: column; align-items: center; }

  .timeline::before { left: 24px; }
  .timeline-item { grid-template-columns: 1fr; gap: 20px; }
  .timeline-item::before { left: 24px; top: 0; }
  .timeline-item.right .timeline-content { order: 0; text-align: left; }
  .timeline-item.right .timeline-photo  { order: 0; }
  .timeline-photo { max-width: 400px; }

  .travel-grid { grid-template-columns: 1fr; gap: 48px; }
  .registry-cards { grid-template-columns: 1fr; }
  .honeyfund-inner { flex-direction: column; text-align: center; }

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

  .rsvp-form { padding: 32px 24px; }
  .rsvp-form-grid { grid-template-columns: 1fr; }
  .form-group-full { grid-column: span 1; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(245, 240, 232, 0.98);
    padding: 16px 24px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(8px);
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--text-light) !important; padding: 10px 4px; width: 100%; }
  .nav-rsvp { border-color: var(--gold-dark) !important; color: var(--gold-dark) !important; }
  .nav-toggle { display: block; }

  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .gallery-item-tall { grid-row: span 1; }
  .gallery-item-wide { grid-column: span 2; }

  .party-row { gap: 24px; }
  .couple-row { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .section { padding: 64px 0; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gallery-item-wide { grid-column: span 1; }
  .countdown-timer { gap: 0; }
  .countdown-unit { min-width: 60px; padding: 0 8px; }
  .countdown-sep { font-size: 2rem; padding-bottom: 18px; }
  .story-photos-top { grid-template-columns: 1fr; }
  .story-photos-top-side { flex-direction: row; }
  .story-narrative { font-size: 1rem; }
  .story-pull { font-size: 1.1rem !important; }
  .story-quote { font-size: 1.15rem; padding: 20px 16px; }
}
