/* ─────────────────────────────────────────────────────────────────
   PARIT & JYOTI WEDDING WEBSITE — style.css
   Theme: Tropical Indian Ocean Luxury
   ──────────────────────────────────────────────────────────────── */

/* ── TOKENS ──────────────────────────────────────────────────── */
/* Reusable design variables (colors, shadows, radius, timing) used across the site. */
:root {
  --ocean-deep:   #0d4a5c;
  --ocean-mid:    #1a6b7b;
  --ocean-light:  #2d9bb5;
  --gold:         #c9a750;
  --gold-light:   #e8d5a3;
  --gold-pale:    #f5edd6;
  --coral:        #e07a5f;
  --cream:        #fef6ec;
  --warm-white:   #fffbf5;
  --charcoal:     #2c2c2c;
  --text-body:    #4a4a4a;
  --text-light:   #777;
  --shadow-sm:    0 2px 12px rgba(13,74,92,0.08);
  --shadow-md:    0 8px 32px rgba(13,74,92,0.14);
  --shadow-lg:    0 20px 60px rgba(13,74,92,0.2);
  --radius:       12px;
  --radius-lg:    20px;
  --transition:   0.35s ease;
}

/* ── RESET & BASE ─────────────────────────────────────────────── */
/* Normalize default browser styles, then set global body/text behavior. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Jost', sans-serif;
  color: var(--charcoal);
  background: var(--warm-white);
  overflow-x: hidden;
  line-height: 1.7;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── TYPOGRAPHY ───────────────────────────────────────────────── */
/* Shared text styles used in section headings and decorative title ornaments. */
.section-sub {
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ocean-mid);
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 500;
  color: var(--ocean-deep);
  line-height: 1.1;
}
.section-desc {
  max-width: 520px;
  margin: 1rem auto 0;
  color: var(--text-body);
  font-size: 1.05rem;
}

.title-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.8rem;
  color: var(--gold);
  font-size: 0.85rem;
}
.title-ornament span {
  width: 60px;
  height: 1px;
  background: var(--gold);
  display: block;
}
.title-ornament.light { color: var(--gold-light); }
.title-ornament.light span { background: var(--gold-light); }

/* ── LAYOUT ───────────────────────────────────────────────────── */
/* Generic spacing containers used by most sections. */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section-pad { padding: 6rem 0; }
.section-heading {
  text-align: center;
  margin-bottom: 3.5rem;
}

/* ── BUTTONS ──────────────────────────────────────────────────── */
/* Base button style plus theme variants like primary, outline, and gold. */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 4px 20px rgba(201,167,80,0.4);
}
.btn-primary:hover { background: #b8933d; box-shadow: 0 8px 28px rgba(201,167,80,0.5); }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

.btn-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-gold:hover { background: var(--gold); color: #fff; }

.btn-large { padding: 1.1rem 3rem; font-size: 0.95rem; }

/* ── SCROLL REVEAL ────────────────────────────────────────────── */
/* Elements start hidden and animate in when JS adds the .visible class. */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.fade-in { animation: fadeIn 1.2s ease forwards; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* ── NAVBAR ───────────────────────────────────────────────────── */
/* Fixed header, desktop links, and hamburger toggle behavior styles. */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 1.2rem 0;
}
#navbar.scrolled {
  background: rgba(13,74,92,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.25);
  padding: 0.8rem 0;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.05em;
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links .nav-cta {
  background: var(--gold);
  color: #fff;
  padding: 0.5rem 1.4rem;
  border-radius: 50px;
  box-shadow: 0 2px 12px rgba(201,167,80,0.35);
  transition: background var(--transition), box-shadow var(--transition);
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { background: #b8933d; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ─────────────────────────────────────────────────────── */
/* Full-screen intro area with background image, overlay, and key event info. */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: url('https://images.unsplash.com/photo-1516026672322-bc52d61a55d5?w=1920&auto=format&fit=crop&q=85') center/cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    160deg,
    rgba(8,35,46,0.75) 0%,
    rgba(13,74,92,0.65) 40%,
    rgba(8,25,30,0.72) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem 1.5rem;
  max-width: 820px;
}
.hero-pretext {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
}
.line-ornament {
  width: 40px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.hero-names {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  font-weight: 300;
  color: #fff;
  line-height: 1;
  letter-spacing: 0.03em;
  margin-bottom: 0.6rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.hero-names .amp {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}
.hero-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: 0.15em;
  margin-bottom: 0.6rem;
}
.hero-venue {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.08em;
  margin-bottom: 2.5rem;
}
.hero-venue i { color: var(--gold); margin-right: 0.3rem; }

/* Countdown timer display blocks shown in the hero section. */
.countdown {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 1.2rem 2.5rem;
  margin-bottom: 2.5rem;
}
.countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
}
.count-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  color: #fff;
  line-height: 1;
}
.count-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 0.25rem;
}
.countdown-sep {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  align-self: flex-start;
  margin-top: 0.1rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Animated "Scroll" indicator near the bottom of hero. */
.hero-scroll-hint {
  position: absolute;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
  z-index: 2;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* Decorative SVG wave transition from hero into the next section. */
.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 80px;
  z-index: 2;
}
.hero-wave svg { width: 100%; height: 100%; }

/* Small floating particles for subtle motion in the hero background. */
.hero-particles {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(201,167,80,0.5);
  animation: floatParticle linear infinite;
}
@keyframes floatParticle {
  from { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.6; }
  to   { transform: translateY(-10vh) scale(1.5); opacity: 0; }
}

/* ── QUOTE BANNER ─────────────────────────────────────────────── */
/* Full-width quote section layered over an image with dark gradient overlay. */
.quote-banner {
  position: relative;
  padding: 6rem 0;
  text-align: center;
  overflow: hidden;
}
.quote-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1559827291-b39db0046bba?w=1920&auto=format&fit=crop&q=80') center/cover no-repeat;
}
.quote-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,35,46,0.84) 0%, rgba(13,74,92,0.78) 50%, rgba(7,25,35,0.86) 100%);
}
.quote-banner .container { position: relative; z-index: 1; }
.quote-banner blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-style: italic;
  font-weight: 400;
  color: #fff;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1.5rem;
  line-height: 1.5;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.quote-banner blockquote::before { content: '\201C'; color: var(--gold); }
.quote-banner blockquote::after  { content: '\201D'; color: var(--gold); }

/* ── OUR STORY ────────────────────────────────────────────────── */
/* Timeline layout with alternating cards and centered milestone dots. */
.story {
  position: relative;
  background: var(--warm-white);
}
.story::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1519225421980-715cb0215aed?w=1920&auto=format&fit=crop&q=80') center/cover no-repeat;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}
.story .container { position: relative; z-index: 1; }
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--gold) 5%, var(--gold) 95%, transparent);
  transform: translateX(-50%);
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3.5rem;
  position: relative;
}
.timeline-item[data-side="left"] { flex-direction: row-reverse; }
.timeline-item[data-side="left"] .timeline-card { text-align: right; }

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 52px; height: 52px;
  background: var(--ocean-deep);
  border: 3px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--warm-white);
}
.timeline-card {
  width: calc(50% - 50px);
  background: #fff;
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(201,167,80,0.15);
  transition: box-shadow var(--transition), transform var(--transition);
}
.timeline-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.timeline-year {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.4rem;
}
.timeline-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ocean-deep);
  margin-bottom: 0.6rem;
}
.timeline-card p { color: var(--text-body); font-size: 0.95rem; line-height: 1.75; }

/* ── EVENTS ───────────────────────────────────────────────────── */
/* Two-day event cards with schedule rows and icon-accented details. */
.events {
  position: relative;
  background: var(--cream);
}
.events::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1530023367847-a683933f4172?w=1920&auto=format&fit=crop&q=80') center/cover no-repeat;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}
.events .container { position: relative; z-index: 1; }
.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.event-day {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(201,167,80,0.12);
}
.event-day-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: linear-gradient(135deg, var(--ocean-deep), var(--ocean-mid));
  padding: 1.6rem 2rem;
  color: #fff;
}
.event-day-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: rgba(255,255,255,0.3);
  line-height: 1;
  min-width: 60px;
}
.event-day-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.2rem;
}
.event-day-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: #fff;
}
.event-list { padding: 1.8rem 2rem; }
.event-item {
  display: flex;
  gap: 1.2rem;
  padding-bottom: 1.8rem;
  margin-bottom: 1.8rem;
  border-bottom: 1px solid var(--gold-pale);
}
.event-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.event-icon {
  width: 44px; height: 44px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.event-details h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ocean-deep);
  margin-bottom: 0.2rem;
}
.event-time {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.event-details p { color: var(--text-body); font-size: 0.92rem; line-height: 1.65; }
.events-note {
  text-align: center;
  margin-top: 2.5rem;
  color: var(--text-body);
  font-size: 0.92rem;
  padding: 1rem 2rem;
  background: #fff;
  border-radius: 50px;
  display: inline-block;
  width: 100%;
  box-shadow: var(--shadow-sm);
}
.events-note i { color: var(--ocean-mid); margin-right: 0.4rem; }

/* ── VENUE ────────────────────────────────────────────────────── */
/* Venue highlight section with frosted glass card and map side-by-side. */
.venue {
  position: relative;
  overflow: hidden;
  padding: 7rem 0;
}
.venue-bg-img {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1561731216-c3a4d99437d5?w=1920&auto=format&fit=crop&q=80') center/cover no-repeat;
}
.venue-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(8,35,46,0.88) 0%, rgba(13,74,92,0.80) 100%);
}
.venue-inner { position: relative; z-index: 1; }
.venue-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.venue-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  color: #fff;
}
.venue-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}
.venue-tagline {
  color: var(--gold-light);
  font-size: 0.9rem;
  margin-bottom: 1.8rem;
  letter-spacing: 0.05em;
}
.venue-details-list { margin-bottom: 1.8rem; }
.venue-details-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.venue-details-list li i { color: var(--gold); margin-top: 0.2rem; flex-shrink: 0; }
.venue-details-list a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.venue-desc { color: rgba(255,255,255,0.75); font-size: 0.95rem; line-height: 1.75; margin-bottom: 2rem; }

/* ── GALLERY ──────────────────────────────────────────────────── */
/* Responsive image grid with hover overlay and zoom effect. */
.gallery-section {
  position: relative;
  background: var(--warm-white);
}
.gallery-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1526047932273-341f2a7631f9?w=1920&auto=format&fit=crop&q=80') center/cover no-repeat;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}
.gallery-section .container { position: relative; z-index: 1; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  transition-delay: var(--delay, 0s);
}
.gallery-item.tall  { grid-row: span 2; }
.gallery-item.wide  { grid-column: span 2; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(13,74,92,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  color: #fff;
  font-size: 1.4rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Full-screen image viewer opened from gallery clicks. */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(8,20,25,0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.lightbox-nav:hover { background: rgba(201,167,80,0.5); }
.lightbox-nav.prev { left: 1.5rem; }
.lightbox-nav.next { right: 1.5rem; }

/* ── TRAVEL ───────────────────────────────────────────────────── */
/* Informational cards for flights, hotels, transport, visa, weather, and travel tips. */
.travel {
  position: relative;
  background: var(--cream);
}
.travel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1547471080-7cc2caa01a7e?w=1920&auto=format&fit=crop&q=80') center/cover no-repeat;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}
.travel .container { position: relative; z-index: 1; }
.travel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.travel-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(201,167,80,0.12);
  transition: box-shadow var(--transition), transform var(--transition);
}
.travel-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.travel-icon {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, var(--ocean-deep), var(--ocean-mid));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}
.travel-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ocean-deep);
  margin-bottom: 0.7rem;
}
.travel-card p { color: var(--text-body); font-size: 0.92rem; line-height: 1.7; margin-bottom: 0.8rem; }
.travel-tip {
  background: var(--gold-pale);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.85rem !important;
  color: var(--text-body) !important;
  margin-bottom: 0 !important;
}
.travel-tip i { color: var(--gold); margin-right: 0.4rem; }
.travel-tip a { color: var(--ocean-mid); text-decoration: underline; }

/* ── PARALLAX DIVIDER ─────────────────────────────────────────── */
/* Scenic fixed-background divider used as a visual break between sections. */
.parallax-divider {
  position: relative;
  height: 400px;
  overflow: hidden;
  background: url('https://images.unsplash.com/photo-1545131561-9a4bad5e491b?w=1920&auto=format&fit=crop&q=85') center 40%/cover no-repeat;
  background-attachment: fixed;
}
.parallax-divider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,74,92,0.35) 0%,
    rgba(8,35,46,0.6) 100%
  );
}
.parallax-divider-content {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
  width: 100%;
  padding: 0 1.5rem;
}
.parallax-divider-content .divider-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.parallax-divider-content .divider-label span {
  width: 40px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.parallax-divider-content .divider-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 4px 24px rgba(0,0,0,0.4);
  letter-spacing: 0.04em;
}

/* ── RSVP ─────────────────────────────────────────────────────── */
/* Styled RSVP form area with translucent panel over a photo background. */
.rsvp {
  position: relative;
  overflow: hidden;
}
.rsvp-bg {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1920&auto=format&fit=crop&q=85') center/cover no-repeat;
}
.rsvp-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(8,35,46,0.92) 0%, rgba(7,30,39,0.90) 100%);
}
.rsvp .container { position: relative; z-index: 1; }
.rsvp .section-sub { color: var(--gold-light); }
.rsvp .section-title { color: #fff; }

.rsvp-wrapper {
  max-width: 780px;
  margin: 0 auto;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 3rem;
}
.rsvp-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.45rem; }
.form-group.full { margin-bottom: 1.2rem; }
.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.form-group label span { color: var(--coral); }
.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: 8px;
  padding: 0.85rem 1rem;
  color: #fff;
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.35); }
.form-group select option { background: var(--ocean-deep); color: #fff; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group input.invalid { border-color: var(--coral); }

/* Custom checkbox visuals used for attendance options. */
.checkbox-group { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 0.2rem; }
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
}
.checkbox-label input[type="checkbox"] { display: none; }
.checkbox-custom {
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  flex-shrink: 0;
  position: relative;
  transition: border-color var(--transition), background var(--transition);
}
.checkbox-label input:checked + .checkbox-custom {
  background: var(--gold);
  border-color: var(--gold);
}
.checkbox-label input:checked + .checkbox-custom::after {
  content: '';
  position: absolute;
  top: 2px; left: 5px;
  width: 6px; height: 10px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.form-submit { text-align: center; margin-top: 1.8rem; }

/* Confirmation state shown after successful form submission. */
.rsvp-success {
  text-align: center;
  padding: 3rem 2rem;
  color: #fff;
}
.success-icon {
  font-size: 3.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
  animation: successPop 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}
@keyframes successPop {
  0% { transform: scale(0.5); opacity: 0; }
  80% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}
.rsvp-success h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
}
.rsvp-success p { color: rgba(255,255,255,0.75); font-size: 1rem; max-width: 400px; margin: 0 auto; }

/* ── FOOTER ───────────────────────────────────────────────────── */
/* Final page block with names, date, venue, and decorative wave. */
.footer {
  background: var(--ocean-deep);
  color: rgba(255,255,255,0.7);
  position: relative;
}
.footer-wave {
  height: 60px;
  overflow: hidden;
  margin-top: -2px;
}
.footer-wave svg { width: 100%; height: 100%; display: block; }
.footer-inner {
  padding: 2.5rem 1.5rem 3rem;
  text-align: center;
}
.footer-monogram {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
  margin-bottom: 0.2rem;
}
.footer-monogram span { color: var(--gold); }
.footer-names {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 0.3rem;
}
.footer-date {
  color: var(--gold-light);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}
.footer-venue { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer-venue i { color: var(--gold); margin-right: 0.3rem; }
.footer-divider {
  width: 60px; height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 1.5rem auto;
}
.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
}

/* ── RESPONSIVE ───────────────────────────────────────────────── */
/* Breakpoints that adapt layout and navigation for tablet and phone screens. */
@media (max-width: 1024px) {
  .events-grid { grid-template-columns: 1fr; }
  .venue-content { grid-template-columns: 1fr; }
  .travel-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .timeline-item,
  .timeline-item[data-side="left"] { flex-direction: column; }
  .timeline-dot { position: static; transform: none; margin-left: 0; }
  .timeline-card,
  .timeline-item[data-side="left"] .timeline-card { width: 100%; text-align: left; }
}

@media (max-width: 768px) {
  .section-pad { padding: 4rem 0; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(8,35,46,0.98); padding: 6rem 2rem 2rem; gap: 1.5rem; z-index: 999; justify-content: flex-start; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.1rem; color: rgba(255,255,255,0.85); }
  .nav-links .nav-cta { display: inline-block; text-align: center; }
  .nav-toggle { display: flex; z-index: 1000; }
  .countdown { flex-wrap: wrap; padding: 1rem 1.5rem; gap: 0.3rem; }
  .countdown-block { min-width: 52px; }
  .countdown-sep { display: none; }
  .hero-actions { flex-direction: column; align-items: center; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery-item.wide { grid-column: span 2; }
  .travel-grid { grid-template-columns: 1fr; }
  .rsvp-wrapper { padding: 2rem 1.5rem; }
  .rsvp-form .form-row { grid-template-columns: 1fr; }
  .checkbox-group { flex-direction: column; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.wide,
  .gallery-item.tall { grid-column: span 1; grid-row: span 1; }
  .hero-names { font-size: 3rem; }
  .countdown { padding: 0.8rem 1rem; }
}

/* ── UTILITY ──────────────────────────────────────────────────── */
/* Accessibility helper: keeps text available to screen readers but visually hidden. */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
