/* ============================================
   ASHUTOSH ♥ DEEPTI — MODERN WEDDING INVITE
   Design System: Modern Indian Traditional
   ============================================ */

/* ---------- CSS Variables / Design Tokens ---------- */
:root {
  /* Colors */
  --maroon: #7a1a2b;
  --maroon-dark: #3d0c16;
  --maroon-deep: #4a0f1a;
  --saffron: #f4a027;
  --saffron-dark: #c97b12;
  --gold: #d4af37;
  --gold-light: #f0d98c;
  --gold-pale: #faf3dd;
  --emerald: #1d6f42;
  --emerald-dark: #0f3d24;
  --rose: #b3273c;
  --ivory: #fdf6e3;
  --cream: #faf6ee;
  --ink: #2b1a1e;
  --text-muted: #8a7a6a;

/* Fonts */
  --font-date-scratch: 'Libre Baskerville', Georgia, serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-cursive: 'Great Vibes', cursive;
  --font-script: 'Dancing Script', cursive;
  --font-display: 'Playfair Display', 'Cormorant Garamond', serif;
  --font-heading: 'Playfair Display', 'Cormorant Garamond', serif;
  --font-name: 'Playfair Display', Georgia, serif;
  --font-hashtag: 'Montserrat', 'Playfair Display', serif;
  --font-hindi: 'Tiro Devanagari Hindi', 'Kalam', sans-serif;
  --font-body: 'Poppins', sans-serif;

  /* Effects */
  --shadow-soft: 0 10px 40px rgba(58, 18, 28, 0.12);
  --shadow-gold: 0 8px 30px rgba(212, 175, 55, 0.35);
  --radius: 18px;
  --transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --gold-gradient: linear-gradient(135deg, #f0d98c 0%, #d4af37 50%, #f0d98c 100%);
}

/* ---------- Base ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.no-scroll {
  overflow: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--gold), var(--maroon)); border-radius: 10px; }

::selection { background: var(--gold); color: var(--maroon-dark); }

/* ---------- Utility ---------- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}

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

.text-gold { color: var(--gold); }

/* Section heading */
.section-heading {
  text-align: center;
  margin-bottom: 70px;
}

.section-heading .eyebrow {
  font-family: var(--font-script);
  color: var(--saffron-dark);
  font-size: 1.5rem;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 6px;
}

.section-heading h2 {
  font-family: var(--font-cursive);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  color: var(--maroon);
  font-weight: 500;
  letter-spacing: 1px;
}

.section-heading .hindi-sub {
  font-family: var(--font-hindi);
  color: var(--text-muted);
  font-size: 1.25rem;
  margin-top: 4px;
}

.section-heading .divider {
  width: 90px;
  height: 2px;
  background: var(--gold-gradient);
  margin: 18px auto 0;
  border-radius: 2px;
  position: relative;
}

.section-heading .divider::before {
  content: "❋";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--cream);
  padding: 0 12px;
  color: var(--gold);
  font-size: 1rem;
}

/* ============================================
   ENVELOPE ENTRANCE
   ============================================ */
.envelope-wrap {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(244,160,39,0.12), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(212,175,55,0.12), transparent 40%),
    linear-gradient(160deg, #2b0a12 0%, var(--maroon-deep) 50%, #1a050a 100%);
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

.envelope-wrap.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.envelope-inner {
  text-align: center;
  padding: 20px;
}

.envelope-inner .om {
  width: 90px;
  margin-bottom: 18px;
  animation: floatY 3s ease-in-out infinite;
}

.envelope-inner .envelope-title {
  font-family: var(--font-cursive);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--gold-light);
  margin-bottom: 8px;
}

.envelope-inner .envelope-sub {
  color: rgba(253, 246, 227, 0.75);
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 40px;
}

/* 3D Envelope */
.envelope {
  width: min(420px, 88vw);
  height: 270px;
  position: relative;
  margin: 0 auto 40px;
  cursor: pointer;
  perspective: 1200px;
  filter: drop-shadow(0 25px 35px rgba(0,0,0,0.45));
}

.envelope .env-back {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--maroon) 0%, var(--maroon-deep) 100%);
  border-radius: 8px 8px 12px 12px;
  z-index: 1;
}

.envelope .env-back::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(240, 217, 140, 0.3);
  border-radius: 6px;
}

.envelope .env-letter {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 8px;
  height: 240px;
  background: linear-gradient(180deg, #fffdf5 0%, var(--gold-pale) 100%);
  border-radius: 6px;
  z-index: 2;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.15);
  transition: transform 1.1s cubic-bezier(0.6, -0.05, 0.35, 1.4);
  transform: translateY(0);
}

.envelope .env-letter .letter-inner {
  text-align: center;
  padding: 20px;
}

.envelope .env-letter .letter-inner .heart-seal {
  width: 54px;
  margin: 0 auto 10px;
}

.envelope .env-letter .letter-inner h3 {
  font-family: var(--font-cursive);
  font-size: 1.7rem;
  color: var(--maroon);
}

.envelope .env-letter .letter-inner p {
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Envelope side & bottom panels */
.envelope .env-side {
  position: absolute;
  bottom: 0;
  height: 64%;
  width: 50%;
  z-index: 3;
}
.envelope .env-side.left {
  left: 0;
  background: linear-gradient(130deg, #8e2236 0%, var(--maroon) 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  border-radius: 0 0 0 12px;
}
.envelope .env-side.right {
  right: 0;
  background: linear-gradient(230deg, #8e2236 0%, var(--maroon) 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  border-radius: 0 0 12px 0;
}
.envelope .env-bottom {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 58%;
  background: linear-gradient(180deg, var(--maroon) 0%, var(--maroon-deep) 100%);
  z-index: 4;
  border-radius: 0 0 12px 12px;
}

/* Flap */
.envelope .env-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 62%;
  background: linear-gradient(200deg, #9e2b3e 0%, var(--maroon) 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  z-index: 6;
  transform-origin: top;
  transition: transform 0.9s cubic-bezier(0.7, 0, 0.3, 1);
}

.envelope .env-wax {
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  z-index: 7;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: opacity 0.4s ease;
}
.envelope .env-wax img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

/* Open state */
.envelope.open .env-flap {
  transform: rotateX(180deg);
  z-index: 1;
}
.envelope.open .env-letter {
  transform: translateY(-42%);
  z-index: 5;
}
.envelope.open .env-wax {
  opacity: 0;
}

/* Click hint */
.envelope-hint {
  color: rgba(253, 246, 227, 0.6);
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: pulse-soft 2s ease-in-out infinite;
  cursor: pointer;
}

/* Skip button */
.skip-invite {
  display: block;
  margin: 24px auto 0;
  background: none;
  border: 1px solid rgba(240, 217, 140, 0.4);
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
}
.skip-invite:hover {
  background: var(--gold);
  color: var(--maroon-dark);
  border-color: var(--gold);
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse-soft {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(253, 246, 227, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(58, 18, 28, 0.1);
  padding: 10px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .brand {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--maroon);
  letter-spacing: 1px;
}

.navbar .brand .heart {
  color: var(--saffron);
  display: inline-block;
  animation: heartbeat 1.6s ease-in-out infinite;
}

.navbar .nav-links {
  display: flex;
  gap: 28px;
}

.navbar .nav-links a {
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--maroon);
  opacity: 0.85;
  position: relative;
  transition: var(--transition);
}

.navbar .nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.navbar .nav-links a:hover {
  opacity: 1;
}
.navbar .nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 34px;
  height: 24px;
  position: relative;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--maroon);
  margin: 5px 0;
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.15); }
  40% { transform: scale(1); }
  60% { transform: scale(1.15); }
}

/* ============================================
   HERO (Section 1)
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background:
    linear-gradient(rgba(61, 12, 22, 0.55), rgba(61, 12, 22, 0.6)),
    url("../img/section1/slide.jpg") center/cover no-repeat fixed;
  overflow: hidden;
}

.hero .petals-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.hero .hero-content {
  text-align: center;
  position: relative;
  z-index: 3;
  padding: 20px;
}

.hero .hero-ornament {
  width: 86px;
  margin: 0 auto 16px;
  opacity: 0.9;
}

/* Round #SumPan brand logo in hero — floating wax-seal badge */
.hero .hero-hashtag {
  width: clamp(132px, 22vw, 158px);
  height: clamp(132px, 22vw, 158px);
  margin: 0 auto 18px;
  border-radius: 50%;
  padding: 0px;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.4), transparent 60%),
    linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-light) 100%);
  box-shadow: 0 0 0 1px rgba(253, 246, 227, 0.35), 0 0 0 2px rgba(212, 175, 55, 0.25),
    0 12px 30px rgba(0, 0, 0, 0.35);
  display: block;
  animation: floatY 4s ease-in-out infinite;
  line-height: 0;
}

.hero .hero-hashtag img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.hero .hero-invite-line {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.hero .hero-names {
  font-family: var(--font-cursive);
  font-size: clamp(3.5rem, 11vw, 7.5rem);
  color: #fff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  line-height: 1.15;
}

.hero .hero-names .amp {
  font-family: var(--font-script);
  color: var(--gold);
  font-size: 0.6em;
  display: inline-block;
  padding: 0 10px;
}

.hero .hero-date {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #fff;
  border-top: 1px solid rgba(240, 217, 140, 0.5);
  border-bottom: 1px solid rgba(240, 217, 140, 0.5);
  padding: 10px 30px;
}

.hero .hero-date .diamond {
  color: var(--gold);
}

.hero .scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--gold-light);
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-align: center;
  animation: pulse-soft 2.4s ease-in-out infinite;
}

.hero .scroll-cue .chevron {
  display: block;
  font-size: 1.4rem;
  margin-top: 4px;
}

/* Floating petals */
.petal {
  position: absolute;
  top: -8%;
  border-radius: 60% 40% 55% 45%;
  opacity: 0.95;
  pointer-events: none;
  animation: petalFall linear infinite;
  z-index: 5;
  box-shadow: 0 0 14px rgba(244, 160, 39, 0.25);
}

.petal::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 4px;
  background: inherit;
  border-radius: 50%;
  opacity: 0.6;
}

@keyframes petalFall {
  0% {
    transform: translateY(-8vh) rotate(0deg) translateX(0);
    opacity: 0.9;
  }
  25% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(112vh) rotate(720deg) translateX(80px);
    opacity: 0.2;
  }
}

/* Full-page petals layer (body-level, fixed — subtle shower across entire invite) */
.petals-layer {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

/* ============================================
   STORY SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: var(--gold-gradient);
  z-index: 1400;
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.6);
  border-radius: 0 4px 4px 0;
}

/* ============================================
   WAVE DIVIDER
   ============================================ */
.wave-divider {
  position: relative;
  height: 90px;
  margin-top: -90px;
  z-index: 4;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath fill='%23fdf6e3' d='M0,64L60,58.7C120,53,240,43,360,48C480,53,600,75,720,80C840,85,960,75,1080,64C1200,53,1320,43,1380,37L1440,32L1440,90L0,90Z'/%3E%3C/svg%3E");
}

/* ============================================
   COUPLE (Section 2)
   ============================================ */
.couple {
  background:
    radial-gradient(circle at 15% 20%, rgba(244,160,39,0.08), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(212,175,55,0.1), transparent 40%),
    var(--cream);
}

.couple-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.couple-card {
  text-align: center;
  padding: 30px 20px;
  position: relative;
}

.couple-card .frame {
  position: relative;
  width: min(320px, 78vw);
  margin: 0 auto;
  padding: 14px;
  border-radius: 50% 50% 46% 46%;
  background: var(--gold-gradient);
  box-shadow: var(--shadow-gold);
}

.couple-card .frame .frame-inner {
  border-radius: 50% 50% 46% 46%;
  overflow: hidden;
  border: 4px solid #fff;
  position: relative;
  aspect-ratio: 4/5;
}

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

.couple-card .frame:hover img {
  transform: scale(1.06);
}

.couple-card .name {
  font-family: var(--font-cursive);
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  font-weight: 500;
  margin-top: 28px;
  letter-spacing: 1px;
  background: var(--gold-gradient);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  position: relative;
  display: inline-block;
  line-height: 1.3;
}

.couple-card .name-hindi {
  display: block;
  font-family: var(--font-hindi);
  font-size: 1.35rem;
  color: var(--saffron-dark);
  margin-top: 8px;
  letter-spacing: 2px;
}

.couple-card .name::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: var(--gold-gradient);
  margin: 6px auto 0;
  border-radius: 3px;
}

.couple-card .relation {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 14px;
  margin-top: 10px;
  opacity: 0.92;
}

.couple-card .parents {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  max-width: 340px;
  margin: 0 auto;
  line-height: 1.9;
  letter-spacing: 0.5px;
  font-style: italic;
  opacity: 0.85;
}

.couple-card .badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-deep) 100%);
  color: #fff;
  font-family: var(--font-hindi);
  font-size: 1.1rem;
  padding: 6px 24px;
  border-radius: 30px;
  margin-top: 16px;
  letter-spacing: 2px;
  box-shadow: 0 4px 12px rgba(122, 26, 43, 0.3);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.couple-mid {
  grid-column: 1 / -1;
  text-align: center;
}

.couple-mid .mid-icon {
  width: 90px;
  margin: 0 auto;
  animation: floatY 4s ease-in-out infinite;
}

/* ============================================
   COUNTDOWN (Section 3)
   ============================================ */
.countdown-section {
  background:
    linear-gradient(rgba(61, 12, 22, 0.82), rgba(61, 12, 22, 0.85)),
    url("../img/section3/countdown-bg0.jpg") center/cover no-repeat fixed;
  color: #fff;
  text-align: center;
}

.countdown-section .section-heading h2 {
  color: #fff;
}
.countdown-section .section-heading .eyebrow { color: var(--gold-light); }
.countdown-section .section-heading .hindi-sub { color: rgba(253, 246, 227, 0.7); }
.countdown-section .section-heading .divider::before { background: transparent; }

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.count-box {
  min-width: 130px;
  padding: 26px 14px;
  background: rgba(253, 246, 227, 0.08);
  border: 1px solid rgba(240, 217, 140, 0.25);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.count-box:hover {
  background: rgba(253, 246, 227, 0.14);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.count-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-gradient);
}

.count-box .num {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.count-box .label {
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(253, 246, 227, 0.75);
  margin-top: 10px;
}

/* ============================================
   STORY TIMELINE (Section 4)
   ============================================ */
.story {
  background: var(--cream);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--gold-light), var(--gold), var(--gold-light));
  border-radius: 3px;
}

.timeline-progress {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--gold-light), var(--gold), var(--saffron));
  border-radius: 3px;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.45);
  z-index: 2;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 50px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-item .dot {
  position: absolute;
  top: 42px;
  width: 18px;
  height: 18px;
  background: var(--gold-gradient);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.2);
}

.timeline-item:nth-child(odd) .dot { right: -9px; }
.timeline-item:nth-child(even) .dot { left: -9px; }

.timeline-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(212, 175, 55, 0.15);
  transition: var(--transition);
}

.timeline-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(58, 18, 28, 0.15);
}

.timeline-card .t-img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.timeline-card .t-body {
  padding: 26px;
}

.timeline-card .t-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #fff;
  background: var(--maroon);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.timeline-card:nth-child(even) .t-tag {
  background: var(--emerald);
}

.timeline-card h3 {
  font-family: var(--font-script);
  font-size: 1.7rem;
  color: var(--maroon);
  margin-bottom: 6px;
}

.timeline-card .t-date {
  color: var(--saffron-dark);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.timeline-card .t-text {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ============================================
   EVENTS (Section 5)
   ============================================ */
.events {
  background:
    radial-gradient(circle at 90% 10%, rgba(179,39,60,0.06), transparent 40%),
    var(--ivory);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.event-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(212, 175, 55, 0.18);
  position: relative;
  transition: var(--transition);
}

.event-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 50px rgba(58, 18, 28, 0.18);
}

.event-card .e-img-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.event-card .e-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s ease;
}

.event-card:hover .e-img {
  transform: scale(1.08);
}

.event-card .e-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gold-gradient);
  color: var(--maroon-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.event-card .e-body {
  padding: 26px 24px;
  text-align: center;
}

.event-card .e-body h3 {
  font-family: var(--font-script);
  font-size: 1.9rem;
  color: var(--maroon);
  margin-bottom: 6px;
}

.event-card .e-hashtag {
  display: inline-block;
  font-family: var(--font-hashtag);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--maroon-dark);
  background: var(--gold-gradient);
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 12px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.event-card .e-mantra {
  font-family: var(--font-hindi);
  font-size: 0.95rem;
  color: var(--emerald);
  background: rgba(29, 111, 66, 0.06);
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 12px;
  line-height: 1.8;
  border-left: 3px solid var(--emerald);
}

.event-card .e-translation {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.8;
}

.event-card .e-details {
  background: linear-gradient(135deg, rgba(244,160,39,0.1), rgba(179,39,60,0.08));
  border-radius: 12px;
  padding: 16px;
}

.event-card .e-details li {
  font-size: 0.88rem;
  color: var(--ink);
  padding: 4px 0;
}

.event-card .e-details li strong {
  color: var(--maroon);
}

.event-card .e-details li .e-icon {
  color: var(--saffron-dark);
  margin-right: 6px;
}

/* ============================================
   VENUE / MAP (Section 6)
   ============================================ */
.venue {
  background: var(--cream);
}

.venue .map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 4px solid #fff;
  margin-top: 10px;
}

.venue .map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
  filter: saturate(0.9);
}

.venue .venue-info {
  text-align: center;
  margin-top: 30px;
  padding: 26px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: var(--shadow-soft);
}

.venue .venue-info h3 {
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: var(--maroon);
  margin-bottom: 8px;
}

.venue .venue-info p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.venue .venue-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   GALLERY (Section 7)
   ============================================ */
.gallery {
  background: var(--ivory);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 1/1;
}

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

.gallery-item:hover img {
  transform: scale(1.1) rotate(1deg);
}

.gallery-item::after {
  content: "🔍";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(61, 12, 22, 0.55);
  color: #fff;
  font-size: 2rem;
  opacity: 0;
  transition: var(--transition);
}

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

/* ============================================
   RSVP / WISH (Section 8)
   ============================================ */
.wish-section {
  background:
    radial-gradient(circle at 20% 30%, rgba(244,160,39,0.1), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(179,39,60,0.08), transparent 40%),
    linear-gradient(160deg, var(--maroon) 0%, var(--maroon-deep) 100%);
  color: #fff;
  text-align: center;
}

.wish-section .section-heading h2 { color: #fff; }
.wish-section .section-heading .eyebrow { color: var(--gold-light); }
.wish-section .section-heading .hindi-sub { color: rgba(253, 246, 227, 0.75); }

.wish-card {
  max-width: 560px;
  margin: 0 auto;
  background: rgba(253, 246, 227, 0.07);
  border: 1px solid rgba(240, 217, 140, 0.25);
  border-radius: 22px;
  padding: 40px 30px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.wish-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}

.wish-card .wish-couple-wrapper,
.wish-card .wish-ring {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 22px;
  width: auto;
  height: auto;
  border-radius: 0;
  border: none;
  box-shadow: none;
  overflow: visible;
  background: none;
}

.wish-card .wish-couple-wrapper::after,
.wish-card .wish-ring::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 230px;
  height: 230px;
  background: radial-gradient(circle, rgba(240, 217, 140, 0.22) 0%, rgba(212, 175, 55, 0.06) 55%, transparent 72%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.wish-card .wish-couple-wrapper img,
.wish-card .wish-ring img {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 290px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 16px rgba(240, 217, 140, 0.22));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.wish-card:hover .wish-couple-wrapper img,
.wish-card:hover .wish-ring img {
  transform: translateY(-4px) scale(1.02);
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 22px rgba(240, 217, 140, 0.35));
}

.wish-card h3 {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.wish-card p {
  color: rgba(253, 246, 227, 0.85);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

/* ============================================
   THANK YOU / FOOTER (Section 9)
   ============================================ */
.thanks {
  background:
    linear-gradient(rgba(61, 12, 22, 0.8), rgba(61, 12, 22, 0.85)),
    url("../img/footer/footer-bg2.jpg") center/cover no-repeat fixed;
  color: #fff;
  text-align: center;
  padding: 110px 0 60px;
}

.thanks .thanks-title {
  font-family: var(--font-cursive);
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--gold-light);
  margin-bottom: 20px;
}

.thanks .thanks-hindi {
  font-family: var(--font-hindi);
  font-size: 1.2rem;
  color: rgba(253, 246, 227, 0.85);
  max-width: 720px;
  margin: 0 auto 14px;
  line-height: 2;
}

.thanks .thanks-en {
  color: rgba(253, 246, 227, 0.75);
  font-size: 0.95rem;
  margin-bottom: 25px;
}

/* Animated Couple Illustrations in Thank You section */
.thanks-illustration-showcase {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: 290px;
  margin: 10px auto 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thanks-aura {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 240px;
  height: 240px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(240, 217, 140, 0.28) 0%, rgba(212, 175, 55, 0.12) 45%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(8px);
  animation: thanksAuraPulse 4s ease-in-out infinite alternate;
}

@keyframes thanksAuraPulse {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.thanks-illustrations-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thanks-illus-img {
  position: absolute;
  bottom: 0;
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transform: translateY(12px) scale(0.95);
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1), transform 0.85s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 16px rgba(240, 217, 140, 0.25));
  pointer-events: none;
}

.thanks-illus-img.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

@media (max-width: 576px) {
  .thanks-illustration-showcase {
    height: 220px;
    max-width: 300px;
    margin: 5px auto 28px;
  }

  .thanks-aura {
    width: 180px;
    height: 180px;
  }
}

.thanks .save-date {
  display: inline-block;
  padding: 22px 48px;
  border: 1px solid rgba(240, 217, 140, 0.4);
  border-radius: 14px;
  margin-bottom: 40px;
  background: rgba(253, 246, 227, 0.06);
}

.thanks .save-date .sd-label {
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-light);
  display: block;
  margin-bottom: 6px;
}

.thanks .save-date .sd-date {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  letter-spacing: 3px;
}

.thanks .save-date .sd-hindi {
  font-family: var(--font-hindi);
  font-size: 1rem;
  color: rgba(253, 246, 227, 0.7);
}

.thanks .thanks-divider {
  width: 70%;
  margin: 0 auto 26px;
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 217, 140, 0.5), transparent);
}

.thanks .footer-credit {
  color: rgba(253, 246, 227, 0.6);
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.thanks .footer-credit .heart {
  color: var(--rose);
  display: inline-block;
  animation: heartbeat 1.6s ease-in-out infinite;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-gold {
  background: var(--gold-gradient);
  color: var(--maroon-dark);
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.35);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.5);
}

.btn-outline-light {
  background: transparent;
  border: 1.5px solid rgba(253, 246, 227, 0.5);
  color: #fff;
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--maroon);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 992px) {
  .section {
    padding: 80px 0;
  }

  .couple-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .events-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline::before {
    left: 28px;
  }

  .timeline-progress {
    left: 28px;
    transform: none;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 20px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    left: 0;
    text-align: left;
  }

  .timeline-item:nth-child(odd) .dot,
  .timeline-item:nth-child(even) .dot {
    left: 19px;
    right: auto;
  }

  .nav-links,
  .nav-links.open {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .envelope {
    width: min(380px, 92vw);
    height: 240px;
  }
}

/* Mobile */
@media (max-width: 576px) {

  .hero {
    background:
      linear-gradient(rgba(61, 12, 22, 0.55), rgba(61, 12, 22, 0.6)),
      url("../img/section1/hero-mobile.jpg") center/cover no-repeat;
  }

  .section {
    padding: 60px 0;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .section-heading h2 {
    font-size: 2.2rem;
  }

  .events-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .gallery-item {
    aspect-ratio: 1/1;
  }

  .hero .hero-names {
    font-size: clamp(2.8rem, 12vw, 4rem);
  }

  .hero .hero-date {
    font-size: 0.8rem;
    padding: 8px 16px;
    gap: 10px;
  }

  .count-box {
    min-width: 80px;
    padding: 18px 10px;
  }

  .count-box .num {
    font-size: 2.2rem;
  }

  .envelope {
    width: min(340px, 94vw);
    height: 210px;
  }

  .envelope .env-letter .letter-inner h3 {
    font-size: 1.3rem;
  }

  .navbar .brand {
    font-size: 1.2rem;
  }

  .timeline-card .t-img {
    height: 180px;
  }

  .timeline-item {
    padding-left: 50px;
    padding-right: 10px;
  }

  .venue .map-wrap iframe {
    height: 300px;
  }

  .wish-card {
    padding: 28px 18px;
  }

  .wish-card .wish-couple-wrapper img,
  .wish-card .wish-ring img {
    max-height: 220px;
  }

  .wish-card .wish-couple-wrapper::after,
  .wish-card .wish-ring::after {
    width: 170px;
    height: 170px;
  }

  .thanks .save-date {
    padding: 16px 24px;
  }

  /* Mobile: new component tweaks */
  .music-toggle {
    bottom: 18px;
    right: 18px;
    width: 50px;
    height: 50px;
    font-size: 1.15rem;
  }

  .invite-card-inner {
    padding: 36px 20px;
  }

  /* Mobile: scratch card */
  .scratch-under {
    padding: 34px 18px;
    min-height: 180px;
  }

  .scratch-under .scratch-date {
    font-size: 2.1rem;
  }

  .scratch-hint {
    font-size: 0.7rem;
    letter-spacing: 2px;
  }

  .invite-names {
    font-size: 2.2rem;
  }

  .invite-divider::before,
  .invite-divider::after {
    width: 40px;
  }

  .hashtag-card {
    padding: 32px 18px;
  }

  .share-btn {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }

  .nav-drawer {
    width: min(320px, 88vw);
  }

  /* Mobile: slider */
  .slide img {
    height: auto;
    min-height: 220px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  .slider-btn {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
    opacity: 1;
  }

  .slider-btn.prev { left: 8px; }
  .slider-btn.next { right: 8px; }

  .slider-dots {
    bottom: 72px;
  }

  .slide .slide-caption h3 {
    font-size: 1.5rem;
  }

/* Mobile: envelope fix */
  .envelope {
    overflow: visible;
    height: 240px;
    margin-bottom: 50px;
  }
  .envelope .env-letter {
    overflow: visible;
    border-radius: 6px;
    height: 200px;
    top: 12px;
    left: 4%;
    right: 4%;
  }

  .envelope.open .env-letter {
    transform: translateY(-50%);
  }

  .envelope .env-wax {
    bottom: 10%;
    width: 90px;
    height: 90px;
  }

  .envelope .env-side {
    height: 55%;
  }

  .envelope .env-bottom {
    height: 50%;
  }

  .envelope .env-flap {
    height: 55%;
  }

  .envelope-inner {
    overflow: visible;
    padding: 20px 10px;
  }

  .envelope-wrap {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}


/* ============================================
   FLOATING MUSIC TOGGLE
   ============================================ */
.music-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--gold-gradient);
  color: var(--maroon-dark);
  font-size: 1.3rem;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.45);
  transition: var(--transition);
}

.music-toggle:hover {
  transform: scale(1.1);
}

.music-toggle .music-wave {
  display: none;
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  gap: 2px;
  align-items: flex-end;
  height: 10px;
}

.music-toggle .music-wave i {
  width: 3px;
  background: var(--maroon-dark);
  border-radius: 2px;
  animation: wave 1s ease-in-out infinite;
}

.music-toggle .music-wave i:nth-child(2) { animation-delay: 0.2s; }
.music-toggle .music-wave i:nth-child(3) { animation-delay: 0.4s; }

.music-toggle.playing .music-wave {
  display: flex;
}

.music-toggle.playing i.fa-music {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

@keyframes wave {
  0%, 100% { height: 4px; }
  50% { height: 10px; }
}

/* ============================================
   MOBILE NAV DRAWER
   ============================================ */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(30, 8, 14, 0.55);
  backdrop-filter: blur(3px);
  z-index: 1099;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: linear-gradient(180deg, #fff 0%, var(--gold-pale) 100%);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(30, 8, 14, 0.25);
}

.nav-drawer.open {
  transform: translateX(0);
}

.nav-drawer .drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 20px 16px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.nav-drawer .drawer-brand {
  font-family: var(--font-script);
  font-size: 1.3rem;
  color: var(--maroon);
}

.nav-drawer .drawer-brand i {
  color: var(--saffron);
  font-size: 0.9rem;
}

.nav-drawer .drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: #fff;
  color: var(--maroon);
  font-size: 1.1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: var(--transition);
}

.nav-drawer .drawer-close:hover {
  background: var(--maroon);
  color: #fff;
  transform: rotate(90deg);
}

.nav-drawer .drawer-links {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-drawer .drawer-links a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 12px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.4px;
  transition: var(--transition);
}

.nav-drawer .drawer-links a i {
  width: 22px;
  text-align: center;
  color: var(--maroon);
  font-size: 1.05rem;
}

.nav-drawer .drawer-links a:hover {
  background: linear-gradient(135deg, rgba(244,160,39,0.15), rgba(179,39,60,0.1));
  color: var(--maroon);
  transform: translateX(4px);
}

.nav-drawer .drawer-foot {
  padding: 18px 20px;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  text-align: center;
}

.nav-drawer .drawer-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ============================================
   INVITATION CARD (Section 1.5)
   ============================================ */
.invitation {
  background:
    radial-gradient(circle at 15% 15%, rgba(244,160,39,0.1), transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(212,175,55,0.12), transparent 40%),
    var(--ivory);
}

.invite-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 12px;
  background: var(--gold-gradient);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(58, 18, 28, 0.2);
}

.invite-card-inner {
  background:
    radial-gradient(circle at 50% 0%, rgba(244,160,39,0.12), transparent 50%),
    #fff;
  border-radius: 16px;
  padding: 50px 40px;
  text-align: center;
  border: 1px solid rgba(240, 217, 140, 0.5);
  position: relative;
}

.invite-card-inner::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(212, 175, 55, 0.4);
  border-radius: 10px;
  pointer-events: none;
}

.invite-ganesha {
  width: 96px;
  margin: 0 auto 12px;
}

.invite-shloka {
  font-family: var(--font-hindi);
  color: var(--saffron-dark);
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.invite-line {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 14px;
}

.invite-names {
  font-family: var(--font-cursive);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  color: var(--maroon);
  margin-bottom: 16px;
}

.invite-families {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--ink);
  line-height: 2;
  margin-bottom: 16px;
}

.invite-amp {
  color: var(--rose);
  font-size: 0.8rem;
  display: inline-block;
  margin: 4px 0;
}

.invite-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 18px 0;
}

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

.invite-divider::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.invite-diamond {
  color: var(--gold);
  font-size: 0.7rem;
}

.invite-when {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--maroon);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.invite-venue {
  color: var(--emerald);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 4px;
}

.invite-time {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 22px;
}

.invite-subh {
  width: 130px;
  margin: 0 auto 10px;
}

.invite-blessing {
  font-family: var(--font-hindi);
  color: var(--saffron-dark);
  font-size: 1rem;
}

/* ============================================
   SAVE THE DATE — SCRATCH TO REVEAL (Section 1.5)
   ============================================ */
.save-the-date {
  background:
    radial-gradient(circle at 15% 15%, rgba(244,160,39,0.1), transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(212,175,55,0.12), transparent 40%),
    var(--cream);
}

.scratch-wrap {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.scratch-card {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  padding: 10px;
  border-radius: 22px;
  background: var(--gold-gradient);
  box-shadow: 0 20px 60px rgba(58, 18, 28, 0.2);
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.scratch-under {
  position: relative;
  background:
    radial-gradient(circle at 50% 0%, rgba(244,160,39,0.12), transparent 55%),
    #fff;
  border-radius: 14px;
  padding: 44px 30px;
  text-align: center;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.scratch-under .scratch-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scratch-under .scratch-date {
  font-family: var(--font-date-scratch);
  font-size: clamp(2.1rem, 7vw, 3.4rem);
  font-weight: 700;
  color: var(--maroon);
  letter-spacing: 3px;
  line-height: 1.1;
}

.scratch-under .scratch-full {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--emerald);
  letter-spacing: 1px;
}

.scratch-under .scratch-full::before,
.scratch-under .scratch-full::after {
  content: " \274B ";
  color: var(--gold);
}

.scratch-canvas {
  position: absolute;
  top: 10px;
  left: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border-radius: 14px;
  cursor: grabbing;
  touch-action: none;
  transition: opacity 0.7s ease;
  display: block;
}

.scratch-canvas.revealed {
  opacity: 0;
  pointer-events: none;
}

.scratch-hint {
  margin-top: 22px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--saffron-dark);
  animation: pulse-soft 2s ease-in-out infinite;
  transition: opacity 0.5s ease;
}

.scratch-hint.hidden {
  opacity: 0;
}

.scratch-card.scratch-done {
  animation: scratchGlow 0.9s ease;
}

@keyframes scratchGlow {
  0% { box-shadow: 0 20px 60px rgba(58, 18, 28, 0.2); }
  50% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0.18), 0 20px 60px rgba(58, 18, 28, 0.28); }
  100% { box-shadow: 0 20px 60px rgba(58, 18, 28, 0.2); }
}

/* Celebration state — hint morphs into a reveal message */
.scratch-hint.celebrate {
  color: var(--maroon);
  font-weight: 600;
  letter-spacing: 2px;
  animation: celebrationPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes celebrationPop {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Celebration confetti */
.confetti-piece {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1500;
  pointer-events: none;
  will-change: transform, opacity;
}

/* Golden expanding ring */
.scratch-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.6);
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  z-index: 1499;
  opacity: 0;
}

.scratch-ring.burst {
  animation: ringBurst 0.9s ease-out forwards;
}

@keyframes ringBurst {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(0.4); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(22); }
}

/* ============================================
   MOMENTS SLIDER (Section 7)
   ============================================ */
.moments {
  background:
    radial-gradient(circle at 20% 20%, rgba(244,160,39,0.08), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(179,39,60,0.06), transparent 40%),
    var(--cream);
  overflow: hidden;
}

.moments-slider {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(58, 18, 28, 0.2);
  border: 4px solid #fff;
  background: #fff;
}

.slider-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.slide {
  min-width: 100%;
  position: relative;
  flex-shrink: 0;
}

.slide-zoom-link {
  display: block;
  position: relative;
  width: 100%;
  cursor: zoom-in;
  overflow: hidden;
  text-decoration: none;
}

.slide-zoom-hint {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(61, 12, 22, 0.7);
  color: var(--gold-light);
  border: 1.5px solid rgba(240, 217, 140, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  z-index: 5;
  opacity: 0;
  transform: scale(0.85);
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.slide:hover .slide-zoom-hint {
  opacity: 1;
  transform: scale(1);
}

.slide img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide:hover img {
  transform: scale(1.03);
}

/* Timeline zoom badge */
.timeline-img-zoom {
  display: block;
  position: relative;
  cursor: zoom-in;
  overflow: hidden;
}

.timeline-img-zoom .img-zoom-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(61, 12, 22, 0.75);
  color: var(--gold-light);
  border: 1px solid rgba(240, 217, 140, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  z-index: 5;
  opacity: 0;
  transition: var(--transition);
}

.timeline-card:hover .timeline-img-zoom .img-zoom-badge {
  opacity: 1;
}

.timeline-card:hover .t-img {
  transform: scale(1.04);
}

.slide .slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 28px;
  background: linear-gradient(transparent, rgba(61, 12, 22, 0.88));
  color: #fff;
  text-align: center;
  pointer-events: none;
}

.slide .slide-caption h3 {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.slide .slide-caption p {
  font-size: 0.9rem;
  color: rgba(253, 246, 227, 0.85);
  letter-spacing: 2px;
}

/* Slider arrows */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: rgba(253, 246, 227, 0.9);
  color: var(--maroon);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  opacity: 0;
}

.moments-slider:hover .slider-btn {
  opacity: 1;
}

.slider-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
  left: 16px;
}

.slider-btn.next {
  right: 16px;
}

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(253, 246, 227, 0.7);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

@media (max-width: 576px) {
  .moments-slider {
    border-radius: 16px;
  }

  .slide {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    overflow: hidden;
  }

  .slide img {
    height: clamp(200px, 48vw, 320px);
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
  }

  .slide .slide-caption {
    padding: 18px 16px 20px;
  }

  .slide .slide-caption h3 {
    font-size: 1.5rem;
    margin-bottom: 2px;
  }

  .slide .slide-caption p {
    font-size: 0.72rem;
    letter-spacing: 1.4px;
  }

  .slide-zoom-hint {
    opacity: 0.85;
    transform: scale(0.9);
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    font-size: 0.8rem;
  }

  .timeline-img-zoom .img-zoom-badge {
    opacity: 0.85;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }
}

/* ============================================
   CUSTOM FANCYBOX WEDDING THEME & IOS FIXES
   ============================================ */
.fancybox-bg {
  background: radial-gradient(circle at 50% 50%, rgba(35, 8, 14, 0.96) 0%, rgba(15, 3, 6, 0.98) 100%) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.fancybox-caption {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gold-light) !important;
  letter-spacing: 1px;
  text-align: center;
  border-top: 1px solid rgba(240, 217, 140, 0.25) !important;
  background: rgba(35, 8, 14, 0.9) !important;
  padding: 14px 20px !important;
}

/* Toolbar buttons (top right) */
.fancybox-toolbar .fancybox-button {
  background: rgba(35, 8, 14, 0.75) !important;
  color: var(--gold-light) !important;
  border-radius: 10px !important;
  border: 1px solid rgba(240, 217, 140, 0.3) !important;
  margin: 6px !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  -webkit-appearance: none !important;
  transition: var(--transition);
}

.fancybox-toolbar .fancybox-button svg {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  display: block !important;
}

.fancybox-button:hover {
  background: var(--gold) !important;
  color: var(--maroon-dark) !important;
  border-color: var(--gold) !important;
}

/* Navigation arrows (left & right) - iOS / Mobile normalization */
.fancybox-navigation button:before {
  display: none !important;
  content: none !important;
}

.fancybox-navigation .fancybox-button {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  width: 48px !important;
  height: 48px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: rgba(35, 8, 14, 0.75) !important;
  border: 1.5px solid rgba(240, 217, 140, 0.45) !important;
  color: var(--gold-light) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  -webkit-appearance: none !important;
  -webkit-tap-highlight-color: transparent !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45) !important;
  cursor: pointer !important;
  z-index: 99997 !important;
  transition: var(--transition);
}

.fancybox-navigation .fancybox-button--arrow_left {
  left: 20px !important;
}

.fancybox-navigation .fancybox-button--arrow_right {
  right: 20px !important;
}

.fancybox-navigation .fancybox-button svg {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  display: block !important;
  fill: currentColor !important;
}

/* Mobile & iPhone Safari Optimization */
@media (max-width: 768px) {
  .fancybox-navigation .fancybox-button {
    width: 38px !important;
    height: 38px !important;
    background: rgba(35, 8, 14, 0.7) !important;
    border: 1px solid rgba(240, 217, 140, 0.35) !important;
  }

  .fancybox-navigation .fancybox-button--arrow_left {
    left: 8px !important;
  }

  .fancybox-navigation .fancybox-button--arrow_right {
    right: 8px !important;
  }

  .fancybox-navigation .fancybox-button svg {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
  }

  .fancybox-toolbar .fancybox-button {
    width: 36px !important;
    height: 36px !important;
    margin: 4px !important;
  }

  .fancybox-toolbar .fancybox-button svg {
    width: 16px !important;
    height: 16px !important;
  }

  .fancybox-caption {
    font-size: 0.85rem !important;
    padding: 10px 14px !important;
  }
}

/* ============================================
   ENHANCED REVEAL ANIMATIONS
   ============================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s ease, transform 0.9s ease, filter 0.9s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="left"] {
  transform: translateX(-60px);
}

[data-reveal="left"].is-visible {
  transform: translateX(0);
}

[data-reveal="right"] {
  transform: translateX(60px);
}

[data-reveal="right"].is-visible {
  transform: translateX(0);
}

[data-reveal="zoom"] {
  transform: scale(0.85);
}

[data-reveal="zoom"].is-visible {
  transform: scale(1);
}

[data-reveal="flip"] {
  transform: perspective(600px) rotateX(-15deg);
  transform-origin: center;
}

[data-reveal="flip"].is-visible {
  transform: perspective(600px) rotateX(0);
}

[data-reveal="blur"] {
  transform: translateY(30px) scale(0.97);
  filter: blur(10px);
}

[data-reveal="blur"].is-visible {
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* ============================================
   HASHTAG SECTION (Section 7.5)
   ============================================ */
.hashtag-section {
  background:
    radial-gradient(circle at 80% 20%, rgba(29,111,66,0.1), transparent 45%),
    linear-gradient(160deg, #fff 0%, var(--gold-pale) 100%);
}

.hashtag-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 22px;
  padding: 44px 30px;
  box-shadow: var(--shadow-soft);
}

.hashtag-label {
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

/* Round #SumPan brand logo in hashtag section — clean, subtle */
.hashtag-logo {
  width: clamp(130px, 22vw, 128px);
  height: clamp(130px, 22vw, 128px);
  margin: 0 auto 18px;
  border-radius: 50%;
  padding: 0px;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.4), transparent 60%),
    linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-light) 100%);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.25), 0 0 0 2px rgba(212, 175, 55, 0.12),
    var(--shadow-soft);
  display: block;
  animation: floatY 5s ease-in-out infinite;
  line-height: 0;
}

.hashtag-logo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.hashtag-text {
  font-family: var(--font-hashtag);
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  margin-bottom: 10px;
  letter-spacing: 1px;
  background: var(--gold-gradient);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: hashtagShimmer 5s linear infinite;
}

@keyframes hashtagShimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hashtag-sub {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 26px;
}

.share-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.share-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  color: #fff;
  transition: var(--transition);
  box-shadow: 0 6px 16px rgba(58, 18, 28, 0.15);
}

.share-btn:hover {
  transform: translateY(-5px) scale(1.08);
}

.share-wa { background: #25d366; }
.share-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.share-fb { background: #1877f2; }
.share-mail { background: var(--maroon); }


