@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Great+Vibes&family=Inter:wght@300;400;500;600&display=swap');

/* ══════════════════════════════════════════════════════════
   PREMIUM MARWADI WEDDING RSVP TEMPLATE
   ══════════════════════════════════════════════════════════ */

:root {
  --bg-dark: #310811; /* Distinct Rich Maroon, definitely not black */
  --bg-darker: #24050b;
  --ivory: #450c18; /* Lighter maroon for cards */
  --cream: #591020;
  --maroon: #D4AF37; /* Using Gold for previous maroon accents */
  --maroon-light: #F3E5AB;
  --gold: #D4AF37; /* Bright Champagne Gold */
  --gold-light: #F3E5AB;
  --gold-dark: #AA8C2C;
  --text: #FDFBF7; /* Pure white/alabaster */
  --text-light: #D0C6B8; /* Warm light grey/gold for subtitles */
  --text-muted: rgba(212,175,55,0.5); /* Muted gold for hints and labels */
  --border: #333333;
  --border-gold: rgba(212,175,55,0.4);
  
  --font-display: 'Cinzel', serif;
  --font-primary: 'Cinzel', serif;
  --font-secondary: 'Inter', sans-serif;
  --font-body: 'Cormorant Garamond', serif;
  --font-cursive: 'Great Vibes', cursive;
  
  --radius: 8px; /* Slightly rounded, smooth */
  --radius-lg: 16px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  --shadow-hover: 0 15px 50px rgba(212,175,55,0.1);
  --nav-height: 80px;
}

/* Premium Gold Foil Effect with Shimmer */
.gold-foil-text {
  background: linear-gradient(
    90deg, 
    #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  animation: goldShimmer 4s ease-in-out infinite;
}

@keyframes goldShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

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

/* Anchor offset for sticky nav */
[id] { scroll-margin-top: 90px; }

html { 
  font-size: 16px; 
  scroll-behavior: smooth; 
  /* Natural scroll — no snap */
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  background-image: none;
}



.container { max-width: 720px; margin: 0 auto; padding: 0 32px; }
.section { 
  padding: 90px 0 120px; 
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
}

/* Tall sections — extra bottom padding so river never covers content */
.rsvp,
.events-section {
  padding-bottom: 160px;
  justify-content: flex-start;
  padding-top: 90px;
}

/* Alternating section backgrounds for depth */
.venue-section {
  background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}
.events-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}
.reach-section {
  background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}
.rsvp {
  position: relative;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 50%, var(--bg-dark) 100%);
}
.map-section {
  background: var(--bg-darker);
}

/* Gold ornament divider between sections */
.section::after {
  content: '✦';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: 1rem;
  opacity: 0.4;
  z-index: 10;
  letter-spacing: 8px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--gold);
  text-align: center;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: 2px;
}

/* ══════════════════════════════════════════════════════════
   SIDE DECORATIONS (AARTI)
   ══════════════════════════════════════════════════════════ */
.side-decor {
  position: fixed;
  bottom: 105px;
  width: 150px;
  height: 250px;
  z-index: 105;
  pointer-events: none;
  opacity: 1;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.25));
}
.left-decor { left: 4vw; }
.right-decor { right: 4vw; transform: scaleX(-1); }

@media (max-width: 1100px) {
  .side-decor { opacity: 0.2; }
}
@media (max-width: 800px) {
  .side-decor { display: none; }
}
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 48px;
  font-style: italic;
  font-family: var(--font-display);
}

/* Scroll Reveal (Cinematic ease with stagger support) */
.reveal { 
  opacity: 0; 
  transform: translateY(40px); 
  transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1); 
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Staggered children */
.reveal:nth-child(2) { transition-delay: 0.15s; }
.reveal:nth-child(3) { transition-delay: 0.3s; }
.reveal:nth-child(4) { transition-delay: 0.45s; }
.reveal:nth-child(5) { transition-delay: 0.6s; }
.reveal:nth-child(6) { transition-delay: 0.75s; }

/* ══════════════════════════════════════════════════════════
   NAVIGATION MENU
   ══════════════════════════════════════════════════════════ */
.top-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(49, 8, 17, 0.85); /* Distinct Maroon transparent */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212,175,55,0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s;
}
.top-nav.scrolled {
  background: rgba(49, 8, 17, 0.98);
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-family: var(--font-cursive);
  font-size: 1.8rem;
  color: var(--gold);
  letter-spacing: 2px;
}
.nav-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

/* Nav icon action buttons (Share + Save Date) */
.nav-link--cal,
.nav-link--share {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--gold-dark) !important;
  opacity: 0.85;
  transition: opacity 0.3s, color 0.3s;
}
.nav-link--cal:hover,
.nav-link--share:hover { opacity: 1; color: var(--gold) !important; }
.nav-cal-label,
.nav-share-label { font-size: 0.75rem; }

@media (max-width: 600px) {
  .nav-cal-label, .nav-share-label { display: none; }
  .nav-link--cal, .nav-link--share { padding: 8px 4px; }
}

@media (max-width: 400px) {
  /* Very small phones — hide Explore from nav, accessible via footer */
  .nav-link--explore-hide { display: none; }
}

.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-link {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
}
.nav-link:hover { color: var(--gold-dark); }
.nav-link--primary {
  background: var(--maroon);
  color: var(--ivory);
  padding: 8px 16px;
  border-radius: 4px;
}
.nav-link--primary:hover {
  background: var(--maroon-light);
  color: var(--ivory);
}

@media (max-width: 600px) {
  .top-nav {
    top: 0;
    bottom: auto;
    height: 56px;
    padding-top: env(safe-area-inset-top);
  }
  .nav-logo { display: block; font-size: 1.3rem; }
  .nav-logo img { height: 32px; }
  .nav-links {
    gap: 4px;
  }
  .nav-link { font-size: 0.6rem; padding: 8px 2px; letter-spacing: 0.5px; }
  .nav-link--primary { padding: 6px 8px; font-size: 0.6rem; }
}


/* ══════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════ */
.hero {
  text-align: center;
  padding: 70px 24px 60px;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: radial-gradient(ellipse at center top, rgba(212,175,55,0.06) 0%, transparent 60%);
}

.hero-monogram {
  line-height: 1;
  margin-bottom: 32px;
}
.hero-monogram img {
  height: 160px;
  width: auto;
  object-fit: contain;
  animation: monogramPulse 3s ease-in-out infinite;
}

@keyframes monogramPulse {
  0%, 100% { filter: drop-shadow(0 0 30px rgba(212,175,55,0.3)); }
  50% { filter: drop-shadow(0 0 50px rgba(212,175,55,0.5)); }
}

.hero-illustration {
  width: 100%;
  max-width: 300px;
  margin: 0 auto 24px;
  position: relative;
}
.hero-illustration img {
  width: 100%;
  height: auto;
  border-radius: 200px 200px 0 0; /* Arch shape */
  border: 1px solid var(--border-gold);
  padding: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(212,175,55,0.08);
  background: var(--bg-darker);
}

.hero-subtitle {
  font-size: 0.8rem;
  color: var(--text-light);
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-names {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.hero-name { font-size: 3.6rem; letter-spacing: 2px; }
.hero-ampersand {
  font-size: 2.5rem;
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
}

.hero-invite {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-light);
  font-style: italic;
  max-width: 400px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 12px;
}
.hero-date {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold-light);
  letter-spacing: 2px;
  margin-bottom: 4px;
}
.hero-day {
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 16px;
}

/* Elegant Countdown */
.countdown {
  display: flex;
  gap: 24px;
  justify-content: center;
}
.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.countdown-circle {
  width: 52px;
  height: 52px;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
  background: rgba(212,175,55,0.03);
}
.countdown-label {
  font-size: 0.7rem;
  color: var(--text-light);
  letter-spacing: 2px;
}

@media (min-width: 600px) {
  .hero-name { font-size: 5rem; }
  .hero-monogram { font-size: 8rem; }
  .countdown-circle { width: 80px; height: 80px; font-size: 1.8rem; }
  .countdown { gap: 40px; }
}


/* ══════════════════════════════════════════════════════════
   PREMIUM CARDS (Venue & Reach)
   ══════════════════════════════════════════════════════════ */
.premium-card {
  background: rgba(69, 12, 24, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  margin-bottom: 80px;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.8s;
  border: 1px solid rgba(212,175,55,0.2);
  padding: 16px;
}
.premium-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 30px rgba(212,175,55,0.08);
}
.premium-card__image {
  width: 100%;
  height: 260px;
  background-size: cover;
  background-position: center;
  border-bottom: 4px solid var(--gold);
  border-radius: 200px 200px 0 0;
  margin-top: 16px;
}
.premium-card__content {
  padding: 32px 24px;
  text-align: center;
}
.card-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--maroon);
  margin-bottom: 12px;
  font-weight: 500;
}
.card-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .premium-card {
    display: flex;
    align-items: center;
  }
  .premium-card--reverse { flex-direction: row-reverse; }
  .premium-card__image { width: 50%; height: 350px; border-bottom: none; }
  .premium-card--reverse .premium-card__image { border-left: 4px solid var(--gold); }
  .premium-card:not(.premium-card--reverse) .premium-card__image { border-right: 4px solid var(--gold); }
  .premium-card__content { width: 50%; padding: 48px; text-align: left; }
}


/* ══════════════════════════════════════════════════════════
   WEDDING ITINERARY (Timeline)
   ══════════════════════════════════════════════════════════ */
.timeline {
  position: relative;
  padding: 20px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 24px;
  width: 1px;
  background: var(--border-gold);
}

.timeline-event {
  position: relative;
  padding-left: 60px;
  margin-bottom: 48px;
}
.timeline-event:last-child { margin-bottom: 0; }

.timeline-event__icon {
  position: absolute;
  left: 4px; top: 0;
  width: 40px; height: 40px;
  background: var(--bg-dark);
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  z-index: 2;
  box-shadow: 0 0 15px rgba(212,175,55,0.3), 0 0 30px rgba(212,175,55,0.1);
}

.timeline-event__content {
  background: rgba(69, 12, 24, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 36px;
  border-radius: 20px;
  border: 1px solid rgba(212,175,55,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
  cursor: pointer;
}
.timeline-event__content:hover { transform: scale(1.04) translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 30px rgba(212,175,55,0.15); }

.event-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--maroon);
  margin-bottom: 4px;
  font-weight: 500;
}
.event-time {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.event-desc {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0;
  line-height: 1.5;
}

.event-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
  border-top: 1px solid rgba(212,175,55,0.2);
  padding-top: 12px;
}
.event-detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-light);
}
.event-detail-item:last-child { margin-bottom: 0; }
.event-detail-icon { color: var(--gold); font-size: 0.95rem; }

.timeline-date-badge {
  text-align: center;
  margin: 48px auto 32px;
  position: relative;
  z-index: 3;
}
.timeline-date-badge span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-darker);
  color: var(--gold);
  border: 1px solid var(--border-gold);
  padding: 8px 28px;
  border-radius: 30px;
  font-family: var(--font-primary);
  font-size: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0,0,0,0.6), 0 0 15px rgba(212,175,55,0.12);
}
.timeline-date-badge span::before,
.timeline-date-badge span::after {
  content: '✦';
  font-size: 0.65rem;
  color: var(--gold);
  opacity: 0.7;
}

.itinerary-closing {
  text-align: center;
  font-family: var(--font-cursive);
  font-size: 2.2rem;
  color: var(--gold);
  margin-top: 48px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
.event-meta {
  background: var(--cream);
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  border-left: 3px solid var(--gold);
}
.theme-label { font-weight: 600; color: var(--maroon); margin-right: 4px; }

@media (min-width: 600px) {
  .timeline::before { left: 50%; }
  .timeline-event { padding-left: 0; width: 50%; }
  .timeline-event:nth-child(odd) { padding-right: 40px; text-align: right; }
  .timeline-event:nth-child(odd) .timeline-event__icon { left: auto; right: -16px; }
  
  .timeline-event:nth-child(even) { margin-left: 50%; padding-left: 40px; }
  .timeline-event:nth-child(even) .timeline-event__icon { left: -16px; }
  
  .timeline-event:nth-child(odd) .event-meta { border-left: none; border-right: 3px solid var(--gold); }
  .timeline-event:nth-child(odd) .event-detail-item { justify-content: flex-end; }
}

.notice-box {
  margin-top: 48px;
  background: rgba(212,175,55,0.05);
  border: 1px dashed var(--border-gold);
  border-radius: var(--radius);
  padding: 20px;
  display: flex; gap: 16px; align-items: flex-start;
  font-size: 0.9rem; color: var(--text-light);
}
.notice-box__icon { font-size: 1.4rem; }


/* ══════════════════════════════════════════════════════════
   TRAVEL GRID
   ══════════════════════════════════════════════════════════ */
.travel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.travel-card {
  background: rgba(69, 12, 24, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 40px 32px;
  border-radius: 20px;
  border: 1px solid rgba(212,175,55,0.2);
  text-align: center;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.6s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

.travel-card-front {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 170px;
}

.travel-icon-svg {
  margin-bottom: 20px;
  padding: 16px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.travel-card__title { font-family: var(--font-display); font-size: 1.4rem; color: var(--maroon); margin-bottom: 8px; }
.travel-card__desc { font-size: 0.95rem; color: var(--gold-dark); text-transform: uppercase; letter-spacing: 2px; }

.travel-card-details {
  max-height: 0;
  opacity: 0;
  transition: max-height 0.6s ease, opacity 0.6s ease, margin-top 0.6s ease;
  overflow: hidden;
  text-align: left;
  font-size: 0.9rem;
}

.travel-card-details ul {
  list-style: none;
  padding: 0; margin: 0;
}

.travel-card-details li {
  margin-bottom: 12px;
  color: var(--text-light);
  line-height: 1.6;
  border-bottom: 1px solid rgba(212,175,55,0.15);
  padding-bottom: 12px;
}
.travel-card-details li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.travel-card-details li strong {
  color: var(--gold);
  display: block;
  font-family: var(--font-primary);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.travel-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 20px rgba(212,175,55,0.06);
}

.travel-card:hover .travel-card-details {
  max-height: 400px;
  opacity: 1;
  margin-top: 24px;
}

@media (min-width: 600px) {
  .travel-grid { grid-template-columns: repeat(3, 1fr); align-items: start; }
}


/* ══════════════════════════════════════════════════════════
   RSVP FORM & NEW UI ELEMENTS
   ══════════════════════════════════════════════════════════ */

.btn-whatsapp {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--gold); color: var(--gold);
  padding: 14px 28px; border-radius: 30px; text-decoration: none;
  font-weight: 600; font-size: 1rem; margin-top: 12px; margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(212,175,55,0.15); transition: all 0.3s ease;
}
.btn-whatsapp:hover { background: var(--gold); color: var(--bg-dark); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(212,175,55,0.3); }

.rsvp {
  position: relative;
  background-color: var(--bg-darker);
  /* override: RSVP is tall, justify from top not center */
  justify-content: flex-start;
}

.rsvp-form {
  background: rgba(69, 12, 24, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 48px 40px;
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  border: 1px solid rgba(212,175,55,0.2);
  position: relative;
}
.rsvp-form::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  border-radius: 24px 24px 0 0;
}

.form-group { margin-bottom: 36px; position: relative; }
.form-row { display: flex; flex-direction: column; gap: 28px; }
.form-group--half { flex: 1; }

.form-label { display: block; font-size: 0.8rem; font-weight: 500; color: var(--gold); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1.5px; }
.req { color: #ff4d4d; }
.form-hint { font-size: 0.85rem; color: var(--text-light); margin-top: 8px; }

.form-input {
  width: 100%; padding: 14px 0 10px 0;
  border: none; border-bottom: 1px solid rgba(212,175,55,0.3);
  border-radius: 0;
  font-size: 1.2rem; font-family: var(--font-body);
  color: var(--text); background: transparent;
  transition: all 0.4s ease;
  appearance: none; -webkit-appearance: none;
}
.form-input:focus { outline: none; border-bottom-color: var(--gold); box-shadow: 0 2px 8px rgba(212,175,55,0.15); }
.form-input.error { border-bottom-color: #ff4d4d; }

.form-input::placeholder { color: rgba(253, 251, 247, 0.2); }
.form-input option { background: var(--bg-dark); color: var(--text); }

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23C9A84C' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 48px; cursor: pointer;
}

.file-upload {
  position: relative; border: 1px dashed var(--border-gold); border-radius: var(--radius-lg);
  padding: 32px; text-align: center; cursor: pointer;
  background: rgba(212,175,55,0.03);
  transition: all 0.3s;
}
.file-upload:hover { border-color: var(--gold); background: rgba(212,175,55,0.08); }
.file-upload.has-file { border-color: var(--gold); border-style: solid; background: rgba(212,175,55,0.1); }
.file-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file-upload__icon { font-size: 1.6rem; margin-bottom: 8px; display: block; }
.file-upload__text { font-size: 0.95rem; color: var(--text); font-weight: 500; display: block; margin-bottom: 4px; }
.file-upload__hint { font-size: 0.8rem; color: var(--text-muted); }

.btn-submit {
  width: 100%; padding: 20px;
  background: var(--gold);
  color: var(--bg-dark); border: none; border-radius: 4px;
  font-size: 1.1rem; font-weight: 700; font-family: var(--font-body);
  letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  margin-top: 24px;
  box-shadow: 0 4px 15px rgba(212,175,55,0.3);
}
.btn-submit:hover { background: var(--gold-light); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(212,175,55,0.5); }

.spinner {
  display: inline-block; width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.3); border-top-color: white;
  border-radius: 50%; animation: spin 0.6s linear infinite;
  vertical-align: middle; margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-message { margin-top: 16px; padding: 14px; border-radius: 4px; font-size: 0.9rem; text-align: center; }
.form-message--error { background: rgba(92,10,10,0.08); color: #ff6b6b; border: 1px solid rgba(255,80,80,0.25); }

@media (min-width: 600px) {
  .form-row { flex-direction: row; gap: 24px; }
}

@media (max-width: 599px) {
  .rsvp-form { padding: 32px 20px; border-radius: 16px; }
  .form-group { margin-bottom: 24px; }
  .form-row { gap: 20px; }
  .rsvp .container { padding: 0 16px; }
  .btn-whatsapp { padding: 12px 20px; font-size: 0.9rem; }
}

/* Success Message */
.success-message {
  text-align: center; padding: 60px 32px;
  background: rgba(69, 12, 24, 0.5); border: 1px solid rgba(212,175,55,0.2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 24px; box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.success-message__title { font-family: var(--font-display); font-size: 3rem; color: var(--gold); margin-bottom: 8px; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.success-message__subtitle { font-size: 1.2rem; color: var(--gold-light); margin-bottom: 24px; font-weight: 500; }
.success-message__text { font-size: 1.05rem; color: var(--text); line-height: 1.6; }
.success-message__footer { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(212,175,55,0.2); font-family: var(--font-display); font-size: 1.5rem; color: var(--gold); font-style: italic; }


/* ══════════════════════════════════════════════════════════
   MAP SECTION
   ══════════════════════════════════════════════════════════ */
.map-card { text-align: center; }
.map-wrapper { 
  border-radius: var(--radius-lg); 
  overflow: hidden; 
  box-shadow: var(--shadow); 
  border: 1px solid var(--border); 
  margin: 0 auto 24px;
}
.map-wrapper iframe { display: block; }
.map-btn {
  display: inline-block; 
  padding: 12px 32px;
  background: transparent; 
  border: 1px solid var(--gold); 
  border-radius: 30px;
  color: var(--gold); 
  font-weight: 600; 
  font-size: 0.9rem; 
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.3s;
}
.map-btn:hover { background: var(--gold); color: var(--bg-dark); }


/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.footer {
  text-align: center; padding: 60px 24px 180px;
  background: var(--bg-darker);
  border-top: 1px solid var(--border-gold);
  position: relative;
  margin-bottom: 0;
}
.footer-ornament { font-size: 3rem; margin-bottom: 24px; opacity: 0.8; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); }
.footer-text { font-size: 1.5rem; color: var(--gold); font-style: italic; font-family: var(--font-display); margin-bottom: 12px; opacity: 0.9; }
.footer-names { font-family: var(--font-display); font-size: 3.5rem; color: var(--gold); margin-bottom: 24px; text-shadow: 0 4px 15px rgba(0,0,0,0.6); line-height: 1.2; }
.footer-tagline { font-family: var(--font-primary); font-size: 1.1rem; color: var(--gold-light); letter-spacing: 6px; text-transform: uppercase; }

/* ══════════════════════════════════════════════════════════
   PREMIUM GANGA RIVER (Sticky Bottom River)
   ══════════════════════════════════════════════════════════ */
.premium-ganga {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  z-index: 95;
  pointer-events: none;
  overflow: hidden;
}

.premium-ganga__wave {
  position: absolute;
  bottom: 0; left: -100%; width: 300%;
}
.premium-ganga__wave--1 {
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C100,20 200,0 300,15 C400,30 500,5 600,15 C700,25 800,0 900,15 C1000,30 1100,5 1200,15 L1200,120 L0,120Z' fill='%2364B5F6'/%3E%3C/svg%3E") repeat-x;
  background-size: 600px 100%;
  animation: smoothWaveFlow 40s linear infinite;
}
.premium-ganga__wave--2 {
  height: 80%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 90' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C100,18 200,0 300,12 C400,24 500,2 600,12 C700,22 800,0 900,12 C1000,24 1100,2 1200,12 L1200,90 L0,90Z' fill='%2342A5F5'/%3E%3C/svg%3E") repeat-x;
  background-size: 600px 100%;
  animation: smoothWaveFlow 25s linear infinite;
}
.premium-ganga__wave--3 {
  height: 55%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C80,12 160,0 240,8 C320,16 400,0 480,8 C560,16 640,0 720,8 C800,16 880,0 960,8 C1040,16 1120,0 1200,8 L1200,60 L0,60Z' fill='%231976D2'/%3E%3C/svg%3E") repeat-x;
  background-size: 480px 100%;
  animation: smoothWaveFlow 18s linear infinite reverse;
}

@keyframes smoothWaveFlow {
  0% { transform: translateX(0); }
  100% { transform: translateX(33.33%); }
}

.premium-ganga__surface {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 5;
}

/* Premium Gold SVG Boats and Glowing Diyas (No Emojis) */
.ganga-boat, .ganga-diya {
  position: absolute;
  top: 15px;
  animation: premiumFloat 35s linear infinite;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.ganga-diya {
  width: 14px; height: 6px;
  background: var(--gold-dark);
  border-radius: 0 0 14px 14px;
}
.ganga-diya::before {
  content: ''; position: absolute;
  top: -8px; left: 5px; width: 4px; height: 8px;
  background: #FFC107;
  border-radius: 50% 50% 2px 2px;
  box-shadow: 0 0 8px 3px rgba(255,152,0,0.6);
  animation: flicker 2s infinite alternate;
}
@keyframes flicker {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(1.1); opacity: 1; }
}

.ganga-diya--1 { animation-duration: 32s; animation-delay: 0s; top: 35px; transform: scale(1.2); }
.ganga-boat--1 { animation-duration: 45s; animation-delay: -10s; top: 40px; transform: scale(1.3); }
.ganga-diya--2 { animation-duration: 38s; animation-delay: -15s; top: 25px; transform: scale(0.9); }
.ganga-boat--2 { animation-duration: 50s; animation-delay: -25s; top: 55px; transform: scale(0.8); }
.ganga-diya--3 { animation-duration: 28s; animation-delay: -30s; top: 45px; transform: scale(1.1); }
.ganga-diya--4 { animation-duration: 42s; animation-delay: -40s; top: 20px; transform: scale(0.8); }

@keyframes premiumFloat {
  0% { left: -10%; opacity: 0; }
  5% { opacity: 1; }
  95% { opacity: 1; }
  100% { left: 110%; opacity: 0; }
}

@media (max-width: 600px) {
  .premium-ganga {
    bottom: 0;
    height: 55px;
    z-index: 95;
  }
}

/* ═══════════════ ENVELOPE REVEAL (PREMIUM 3D) ═══════════════ */
.envelope-locked {
  overflow: hidden;
  height: 100vh;
}

.envelope-wrapper {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: radial-gradient(circle at center, #2a0404 0%, #110000 100%);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  perspective: 2000px;
}

/* Ambient Effects Above Envelope */
.ambient-dust {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(201,168,76, 0.4) 1px, transparent 1px),
    radial-gradient(circle at 85% 40%, rgba(201,168,76, 0.5) 1px, transparent 1px),
    radial-gradient(circle at 50% 80%, rgba(201,168,76, 0.3) 1.5px, transparent 1.5px),
    radial-gradient(circle at 20% 70%, rgba(201,168,76, 0.6) 2px, transparent 2px),
    radial-gradient(circle at 75% 15%, rgba(201,168,76, 0.5) 1.5px, transparent 1.5px),
    radial-gradient(circle at 45% 30%, rgba(201,168,76, 0.7) 1px, transparent 1px);
  background-size: 150vw 150vh;
  animation: driftAmbientDust 40s linear infinite;
  opacity: 0.7;
}

.ambient-glow {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 1;
  filter: blur(80px); opacity: 0.4;
  animation: floatOrb 15s ease-in-out infinite alternate;
}
.orb-1 {
  width: 400px; height: 400px; background: rgba(201,168,76,0.15);
  top: -100px; left: -100px;
}
.orb-2 {
  width: 500px; height: 500px; background: rgba(201,168,76,0.1);
  bottom: -200px; right: -150px;
  animation-delay: -5s;
}

@keyframes driftAmbientDust {
  0% { transform: translateY(0) translateX(0); }
  100% { transform: translateY(-100px) translateX(50px); }
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 50px) scale(1.1); }
}

.envelope-wrapper.fade-out {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.05);
}

.envelope-container {
  position: relative;
  width: 90vw; max-width: 600px;
  height: 60vh; max-height: 400px;
  background: #2b0505;
  box-shadow: 0 40px 100px rgba(0,0,0,0.8);
  border-radius: 4px;
  transform-style: preserve-3d;
  transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.envelope-wrapper.is-opening .envelope-container {
  transform: translateY(30px) scale(0.95);
}

.envelope-back {
  position: absolute; inset: 0;
  background: #380808;
  border-radius: 4px;
  box-shadow: inset 0 0 50px rgba(0,0,0,0.8);
  z-index: 1;
}

.envelope-inner-card {
  position: absolute; bottom: 0; left: 4%; width: 92%; height: 96%;
  background: #FDF9F1; /* Beautiful ivory/cream paper color */
  color: #310811; /* Dark maroon text */
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
  border: 4px solid var(--gold);
  border-radius: 8px 8px 0 0;
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 1.5s, z-index 0s 0s;
  transform: translateY(0);
  box-shadow: 0 -5px 15px rgba(0,0,0,0.4);
}

/* Diagonal seams using Clip Path and Artwork */
.envelope-left, .envelope-right, .envelope-bottom {
  position: absolute; inset: 0;
  z-index: 3;
  pointer-events: none;
  background-color: #450c18;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23D4AF37' stroke-width='1.5' fill='none' opacity='0.2'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z' /%3E%3Cpath d='M30 15 L45 30 L30 45 L15 30 Z' /%3E%3Ccircle cx='30' cy='30' r='4' fill='%23D4AF37'/%3E%3Ccircle cx='30' cy='15' r='2' fill='%23D4AF37'/%3E%3Ccircle cx='30' cy='45' r='2' fill='%23D4AF37'/%3E%3Ccircle cx='15' cy='30' r='2' fill='%23D4AF37'/%3E%3Ccircle cx='45' cy='30' r='2' fill='%23D4AF37'/%3E%3Cpath d='M0 0 L15 15 M60 0 L45 15 M0 60 L15 45 M60 60 L45 45' /%3E%3C/g%3E%3C/svg%3E");
  background-size: 60px 60px;
  background-position: center;
}

.envelope-left {
  -webkit-clip-path: polygon(0 0, 50% 50%, 0 100%);
  clip-path: polygon(0 0, 50% 50%, 0 100%);
  filter: drop-shadow(5px 0 10px rgba(0,0,0,0.4));
}
.envelope-right {
  -webkit-clip-path: polygon(100% 0, 50% 50%, 100% 100%);
  clip-path: polygon(100% 0, 50% 50%, 100% 100%);
  filter: drop-shadow(-5px 0 10px rgba(0,0,0,0.4));
}
.envelope-bottom {
  background-color: var(--maroon);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23D4AF37' stroke-width='1.5' fill='none' opacity='0.3'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z' /%3E%3Cpath d='M30 15 L45 30 L30 45 L15 30 Z' /%3E%3Ccircle cx='30' cy='30' r='4' fill='%23D4AF37'/%3E%3Ccircle cx='30' cy='15' r='2' fill='%23D4AF37'/%3E%3Ccircle cx='30' cy='45' r='2' fill='%23D4AF37'/%3E%3Ccircle cx='15' cy='30' r='2' fill='%23D4AF37'/%3E%3Ccircle cx='45' cy='30' r='2' fill='%23D4AF37'/%3E%3Cpath d='M0 0 L15 15 M60 0 L45 15 M0 60 L15 45 M60 60 L45 45' /%3E%3C/g%3E%3C/svg%3E");
  -webkit-clip-path: polygon(0 100%, 50% 50%, 100% 100%);
  clip-path: polygon(0 100%, 50% 50%, 100% 100%);
  filter: drop-shadow(0 -5px 15px rgba(0,0,0,0.5));
}

/* True 3D Top Flap */
.envelope-flap {
  position: absolute; top: 0; left: 0; width: 100%; height: 55%;
  z-index: 4;
  transform-origin: top;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1);
  transform: rotateX(0deg);
}

.flap-outside, .flap-inside {
  position: absolute; inset: 0;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  -webkit-clip-path: polygon(0 0, 100% 0, 50% 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.flap-outside {
  background-color: var(--maroon);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23450c18' stroke-width='1.5' fill='none' opacity='0.3'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z' /%3E%3Cpath d='M30 15 L45 30 L30 45 L15 30 Z' /%3E%3Ccircle cx='30' cy='30' r='4' fill='%23450c18'/%3E%3Ccircle cx='30' cy='15' r='2' fill='%23450c18'/%3E%3Ccircle cx='30' cy='45' r='2' fill='%23450c18'/%3E%3Ccircle cx='15' cy='30' r='2' fill='%23450c18'/%3E%3Ccircle cx='45' cy='30' r='2' fill='%23450c18'/%3E%3Cpath d='M0 0 L15 15 M60 0 L45 15 M0 60 L15 45 M60 60 L45 45' /%3E%3C/g%3E%3C/svg%3E");
  background-size: 60px 60px;
  background-position: center;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.2);
}
.flap-inside {
  background: #4a0909;
  transform: rotateX(180deg);
  box-shadow: inset 0 0 50px rgba(0,0,0,0.6);
}

.wax-seal {
  position: absolute; bottom: -45px; left: 50%;
  transform: translateX(-50%) translateZ(2px);
  width: 90px; height: 90px;
  background: radial-gradient(circle, #f3c242 0%, #a4760a 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.6), inset 0 3px 8px rgba(255,255,255,0.7), inset 0 -4px 6px rgba(0,0,0,0.4);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backface-visibility: hidden;
}
.wax-seal::after { content: ''; position: absolute; inset: 6px; border: 1px solid rgba(255,255,255,0.3); border-radius: 50%; }
.wax-seal:hover { transform: translateX(-50%) translateZ(5px) scale(1.1); box-shadow: 0 15px 25px rgba(0,0,0,0.8), inset 0 3px 8px rgba(255,255,255,0.7); }

.wax-seal-inner {
  font-family: var(--font-primary); color: #4a0909;
  font-weight: 700; font-size: 2rem; 
  text-shadow: 1px 1px 0px rgba(255,255,255,0.4), -1px -1px 0px rgba(0,0,0,0.2);
}

.tap-to-open {
  position: absolute;
  /* Sit above the envelope flap, centered */
  top: -72px; width: 100%; text-align: center;
  color: var(--gold); font-family: var(--font-primary); font-size: 0.75rem;
  letter-spacing: 4px; text-transform: uppercase;
  animation: pulse 2s infinite;
  text-shadow: 0 2px 8px rgba(0,0,0,0.9);
  pointer-events: none;
}

/* Particles */
.particles-container { position: absolute; top: 50%; left: 50%; width: 0; height: 0; z-index: 10; pointer-events: none; }
.particle {
  position: absolute; width: 6px; height: 6px; background: var(--gold);
  border-radius: 50%; box-shadow: 0 0 10px var(--gold-light), 0 0 20px var(--gold);
  opacity: 0;
}

@keyframes particleExplode {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(var(--tx), var(--ty)) scale(0); opacity: 0; }
}

.sparkle-float {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #FFF;
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold-light), 0 0 15px var(--gold);
  pointer-events: none;
  opacity: 0;
  bottom: -60px; /* start below seal */
}

@keyframes floatUp {
  0% { transform: translateY(0) scale(0); opacity: 0; }
  20% { transform: translateY(-30px) scale(1); opacity: 1; }
  80% { transform: translateY(-120px) scale(0.8); opacity: 0.8; }
  100% { transform: translateY(-160px) scale(0); opacity: 0; }
}

/* ── Opening Animations ── */
.envelope-wrapper.is-opening .envelope-flap {
  transform: rotateX(180deg) translateZ(-5px);
  z-index: 1;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1), z-index 0s 0.3s;
}

.envelope-wrapper.is-opening .wax-seal { 
  transform: translateX(-50%) translateZ(10px) scale(1.4);
  opacity: 0; filter: brightness(2) blur(4px);
}

.envelope-wrapper.is-opening .envelope-inner-card {
  transform: translateY(-60%) translateZ(20px) scale(1.05);
  box-shadow: 0 20px 60px rgba(0,0,0,0.9);
  z-index: 10;
  transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1) 0.3s, box-shadow 1s 0.3s, z-index 0s 0.3s;
}

.envelope-wrapper.is-opening .tap-to-open { opacity: 0; transition: opacity 0.3s; }
