/* ==========================================================================
   Tarunima & Subhayu - Wedding Reception Theme (Golden Hour & Floral Elegance)
   ========================================================================== */

:root, [data-theme="v2"] {
  --bg-main: #F7F7F8;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-card-hover: #FFFFFF;
  --border-card: rgba(197, 160, 89, 0.3);
  --border-card-hover: rgba(197, 160, 89, 0.6);

  --accent-primary: #B8860B;
  --accent-secondary: #C5A059;
  --accent-gold: #B8860B;
  --accent-badge-bg: #F3EFE6;

  --text-main: #111827;
  --text-muted: #4B5563;
  --text-dim: #9CA3AF;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Outfit', sans-serif;
  --font-script: 'Cormorant Garamond', Georgia, serif;

  --shadow-glow: 0 10px 30px rgba(197, 160, 89, 0.2);
  --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.05);

  --orb-1-bg: radial-gradient(circle, rgba(197, 160, 89, 0.3) 0%, transparent 70%);
  --orb-2-bg: radial-gradient(circle, rgba(148, 163, 184, 0.3) 0%, transparent 70%);
  --orb-3-bg: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, transparent 70%);
}

[data-theme="v1"] {
  --bg-main: #FAF5EF;
  --bg-card: rgba(255, 253, 249, 0.9);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --border-card: rgba(224, 122, 95, 0.22);
  --border-card-hover: rgba(244, 162, 97, 0.45);

  --accent-primary: #E07A5F;
  --accent-secondary: #F4A261;
  --accent-gold: #D59B27;
  --accent-badge-bg: #FDEEDC;

  --text-main: #2B2625;
  --text-muted: #5C5452;
  --text-dim: #857B78;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Outfit', sans-serif;
  --font-script: 'Sacramento', cursive;
  
  --shadow-glow: 0 10px 30px rgba(224, 122, 95, 0.22);
  --shadow-card: 0 12px 35px rgba(180, 120, 90, 0.09);
  
  --orb-1-bg: radial-gradient(circle, #F4A261 0%, transparent 70%);
  --orb-2-bg: radial-gradient(circle, #81B29A 0%, transparent 70%);
  --orb-3-bg: radial-gradient(circle, #E07A5F 0%, transparent 70%);
}

/* ==========================================================================
   GLOBAL STYLES & RESPONSIVE LAYOUT
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Ambient Floating Orbs */
.ambient-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(75px);
  opacity: 0.55;
  animation: floatOrb 22s infinite ease-in-out alternate;
  transition: background 0.6s ease;
}

.orb-1 {
  width: 450px;
  height: 450px;
  background: var(--orb-1-bg);
  top: -5%;
  left: -5%;
}

.orb-2 {
  width: 480px;
  height: 480px;
  background: var(--orb-2-bg);
  bottom: 5%;
  right: -5%;
  animation-delay: -8s;
}

.orb-3 {
  width: 380px;
  height: 380px;
  background: var(--orb-3-bg);
  top: 45%;
  left: 35%;
  animation-delay: -14s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(45px, 35px) scale(1.08); }
  100% { transform: translate(-35px, 55px) scale(0.95); }
}

/* Containers */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

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

.font-alt {
  font-family: var(--font-script);
}

/* Navigation Bar */
.navbar {
  position: relative;
  width: 100%;
  z-index: 100;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: var(--bg-main);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-card);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  padding: 0.7rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.nav-brand-wrap:hover .nav-logo-img {
  transform: rotate(5deg) scale(1.06);
}

.brand-hashtag {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  font-weight: 700;
  line-height: 1;
  color: #B8860B;
  background: linear-gradient(135deg, #B8860B 0%, #D4AF37 50%, #C5A059 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent-primary);
}

.nav-btn {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #FFF !important;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent-primary);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  color: #FFF;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
}

.btn-secondary:hover {
  background: #FFF;
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

.btn-outline:hover {
  background: var(--accent-primary);
  color: #FFF;
}

.btn-large {
  width: 100%;
  padding: 1rem;
  font-size: 1.05rem;
}

/* Glass Card Utility */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: 22px;
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow-card);
  transition: all 0.35s ease;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-card-hover);
}

/* Typography Headings */
.section-tag {
  font-size: 2rem;
  color: var(--accent-primary);
  display: block;
  margin-bottom: 0.15rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 5vw, 2.4rem);
  font-weight: 700;
  color: #B8860B;
  background: linear-gradient(135deg, #B8860B 0%, #D4AF37 50%, #C5A059 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.6rem;
  line-height: 1.25;
}

.title-emoji {
  -webkit-text-fill-color: initial;
  color: initial;
  background: none;
  display: inline-block;
}

.section-description {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto 2rem auto;
  line-height: 1.55;
}

/* Hero Section */
.hero-section {
  padding: 3.5rem 1.25rem 2.5rem 1.25rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: 840px;
  margin: 0 auto;
  width: 100%;
}


/* Couple & Parents Hero Announcement Card */
.couple-announcement-card {
  max-width: 780px;
  margin: 0 auto 2.2rem auto;
  padding: 2.2rem 2rem;
  border-radius: 26px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.couple-atomic-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
}

.couple-atomic-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.couple-atomic-name {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.35rem;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.name-gold {
  color: #B8860B;
  background: linear-gradient(135deg, #B8860B 0%, #D4AF37 50%, #C5A059 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.nickname-black {
  color: var(--text-main);
  -webkit-text-fill-color: var(--text-main);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.72em;
  letter-spacing: normal;
  display: inline-block;
}

.nickname-black strong,
.nickname-black b,
.nickname-black .dori-accent {
  font-weight: 700;
  color: #991B1B;
  -webkit-text-fill-color: #991B1B;
}

.couple-atomic-ampersand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-ampersand {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--accent-secondary);
  line-height: 1;
}

.parents-lineage {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.parent-rel {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.2;
}

.parent-names {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.35;
}

.couple-announcement-card .hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 1.2rem auto 0 auto;
  line-height: 1.6;
  border-top: 1px solid var(--border-card);
  padding-top: 1.2rem;
}

@media (max-width: 680px) {
  .couple-announcement-card {
    padding: 1.6rem 1.1rem;
    border-radius: 20px;
    margin-bottom: 1.8rem;
  }

  .couple-atomic-row {
    flex-direction: column;
    gap: 0.85rem;
  }

  .couple-atomic-col {
    width: 100%;
  }

  .couple-atomic-ampersand {
    margin: 0.1rem 0;
  }

  .couple-atomic-name {
    font-size: clamp(1.75rem, 6.5vw, 2.2rem);
  }

  .parent-names {
    font-size: 0.98rem;
  }

  .couple-announcement-card .hero-subtitle {
    font-size: 0.95rem;
    margin-top: 1rem;
    padding-top: 1rem;
  }
}


/* ==========================================================================
   V1 HERO PICTURE SLIDESHOW STYLES
   ========================================================================== */

.slideshow-intro-wrap {
  margin: 1rem auto 1.4rem auto;
  max-width: 680px;
}

.slideshow-subtext {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.hero-slideshow-container {
  position: relative;
  max-width: 440px; /* 5x7 Mobile-first vertical format */
  margin: 0 auto;
  width: 100%;
}

.slideshow-track {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

.slide {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.7s ease, visibility 0.7s ease;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

/* --- Dynamic Transition Variety Animations (Smooth Ease In/Out) --- */

/* 1. Gentle Zoom In */
.slide.active.effect-zoom-soft .slide-photo-frame {
  animation: effectZoomSoft 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
@keyframes effectZoomSoft {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* 2. Soft Drift Right */
.slide.active.effect-drift-right .slide-photo-frame {
  animation: effectDriftRight 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
@keyframes effectDriftRight {
  0% { transform: translateX(-24px) scale(0.98); opacity: 0; }
  100% { transform: translateX(0) scale(1); opacity: 1; }
}

/* 3. Gentle Vertical Glide Up */
.slide.active.effect-glide-up .slide-photo-frame {
  animation: effectGlideUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
@keyframes effectGlideUp {
  0% { transform: translateY(22px) scale(0.98); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* 4. Soft Drift Left */
.slide.active.effect-drift-left .slide-photo-frame {
  animation: effectDriftLeft 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
@keyframes effectDriftLeft {
  0% { transform: translateX(24px) scale(0.98); opacity: 0; }
  100% { transform: translateX(0) scale(1); opacity: 1; }
}

/* 5. Soft Breath Scale Down */
.slide.active.effect-breath-scale .slide-photo-frame {
  animation: effectBreathScale 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
@keyframes effectBreathScale {
  0% { transform: scale(1.04); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* 6. Luminous Focus Fade */
.slide.active.effect-luminous-fade .slide-photo-frame {
  animation: effectLuminousFade 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
@keyframes effectLuminousFade {
  0% { filter: blur(4px) brightness(1.08); transform: scale(0.98); opacity: 0; }
  100% { filter: blur(0px) brightness(1); transform: scale(1); opacity: 1; }
}

/* Caption gentle rise animation */
.slide.active .slide-caption-card {
  animation: captionGlideUp 1.1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
@keyframes captionGlideUp {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

.slide-photo-frame {
  position: relative;
  border-radius: 24px;
  padding: 6px;
  background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 50%, var(--border-card) 100%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.4s ease;
  aspect-ratio: 5 / 7;
  width: 100%;
}

.slide-img {
  position: absolute;
  top: 6px;
  left: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

/* Smart-Fit Ambient Blurred Backdrop for Wide Landscape Photos */
.slide-photo-frame.smart-fit {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #141110;
}

.slide-photo-frame.smart-fit .slide-img-blur {
  position: absolute;
  top: -15%;
  left: -15%;
  width: 130%;
  height: 130%;
  object-fit: cover;
  filter: blur(28px) brightness(0.68) saturate(1.2);
  transform: scale(1.1);
  pointer-events: none;
  z-index: 1;
}

.slide-photo-frame.smart-fit .slide-img {
  position: relative;
  top: auto;
  left: auto;
  width: calc(100% - 12px);
  height: auto;
  max-height: calc(100% - 12px);
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.42);
  z-index: 2;
}

/* Custom Focal Point Adjustments for Optimal Framing */
.slide-img[src*="photo_monsters_inc"] {
  object-position: center top;
}
.slide-img[src*="photo_lakeside_sunset"] {
  object-position: center 20%;
}
.slide-img[src*="moment_lakeside_sunset"] {
  object-position: center 20%;
}
.slide-img[src*="moment_city_park"] {
  object-position: center 20%;
}
.slide-img[src*="photo_double_decker_bus"] {
  object-position: center 15%;
}
.slide-img[src*="moment_ocean_beach"] {
  object-position: center 25%;
}
.slide-img[src*="photo_dim_sum"] {
  object-position: 62% 40%;
}
.slide-img[src*="photo_giant_dosa"] {
  object-position: 47% 40%;
}
.slide-img[src*="photo_chicago_bean"] {
  object-position: center 70%;
}
.slide-img[src*="photo_movie_date"] {
  object-position: 65% 35%;
}
.slide-img[src*="photo_lake_cruise"] {
  object-position: center 20%;
}

.slide-caption-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(16px);
  padding: 1.1rem 1.4rem;
  border-radius: 18px;
  margin-top: 1rem;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: all 0.3s ease;
}

.slide-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--text-main);
  margin-bottom: 0.3rem;
}

.slide-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Slideshow Navigation Arrows (Hidden from page per user request, visible on lightbox modal) */
.slide-arrow {
  display: none !important;
}

/* ==========================================================================
   SLIDESHOW FULLSCREEN LIGHTBOX MODAL
   ========================================================================== */

.slide-photo-frame,
.slide-caption-card {
  cursor: pointer;
}

.slide-photo-frame {
  user-select: none;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.slide-photo-frame:hover {
  transform: scale(1.018);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
}

.slideshow-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.slideshow-lightbox.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 8, 7, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: lightboxPop 0.3s cubic-bezier(0.2, 0.9, 0.3, 1) forwards;
}

@keyframes lightboxPop {
  0% { transform: scale(0.93); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.lightbox-close {
  position: absolute;
  top: -42px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #FFF;
  font-size: 1.3rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

.lightbox-img-wrap {
  max-width: 100%;
  max-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 72vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.lightbox-caption {
  background: rgba(24, 20, 18, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 0.85rem 1.4rem;
  margin-top: 0.9rem;
  text-align: center;
  max-width: 580px;
  width: 92%;
}

.lightbox-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #FFF;
  margin-bottom: 0.2rem;
}

.lightbox-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}

.lightbox-hint {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Lightbox Navigation Arrows */
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(30, 26, 24, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFF;
  font-size: 2.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  user-select: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox-prev {
  left: -25px;
}

.lightbox-next {
  right: -25px;
}

@media (max-width: 600px) {
  .lightbox-arrow {
    width: 42px;
    height: 42px;
    font-size: 1.8rem;
  }
  .lightbox-prev {
    left: 8px;
  }
  .lightbox-next {
    right: 8px;
  }
}

.lightbox-arrow:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: #FFF;
  transform: translateY(-50%) scale(1.1);
}

/* Dot Indicators */
.slide-indicators {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.25rem;
  margin-bottom: 0;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-card);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--accent-primary);
  width: 28px;
  border-radius: 12px;
}



/* Single Event Featured Card for Reception */
.single-event-wrapper {
  max-width: 680px;
  margin: 0 auto;
}

.featured-event-card {
  padding: 2.6rem 2.2rem;
  border-radius: 26px;
  text-align: center;
}

.featured-event-card .event-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

/* Clickable Map Location Links */
.location-map-link {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  transition: color 0.25s ease;
}

.location-map-link:hover {
  color: var(--accent-primary);
  text-decoration: underline;
}

/* ==========================================================================
   UNIFORM & CONSISTENT SECTION SPACING (Identical 5rem Inter-Section Gap)
   ========================================================================== */
.countdown-section,
.events-section,
.action-section,
.family-section,
.foodie-section,
.travel-section {
  padding: 2.5rem 1.25rem;
}

.single-livestream-wrapper {
  max-width: 720px;
  margin: 0 auto;
}

.livestream-card {
  padding: 2.2rem 2rem;
  border-radius: 26px;
  text-align: center;
}

.livestream-badge {
  display: inline-flex;
  align-items: center;
  align-self: center;
  background: rgba(220, 38, 38, 0.08);
  color: #DC2626;
  border: 1px solid rgba(220, 38, 38, 0.22);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.stream-placeholder-box {
  background: rgba(255, 255, 255, 0.65);
  border: 1.5px dashed var(--border-card);
  border-radius: 20px;
  padding: 1.6rem 1.4rem;
  margin-top: 1.4rem;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.02);
}

.stream-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 0.4rem;
}

.stream-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: #B8860B;
  background: linear-gradient(135deg, #B8860B 0%, #D4AF37 50%, #C5A059 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0;
}

.stream-links-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.15rem;
}

/* ==========================================================================
   OUR FAMILIES SECTION
   ========================================================================== */
.family-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
  max-width: 1020px;
  margin: 0 auto;
  width: 100%;
}

.family-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: 24px;
  text-align: center;
  min-width: 0;
  cursor: pointer;
}

.family-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 6px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 50%, var(--border-card) 100%);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 1.25rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.family-card:hover .family-photo-frame {
  transform: scale(1.015);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
}

.family-img {
  position: absolute;
  top: 6px;
  left: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.family-img-subhayu {
  object-position: center 75%;
}

.family-img-tarunima {
  object-position: center center;
}

.family-caption {
  padding: 0.2rem 0.5rem 0.1rem 0.5rem;
}

.family-card-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: #B8860B;
  background: linear-gradient(135deg, #B8860B 0%, #D4AF37 50%, #C5A059 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.35rem;
}

.family-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* Countdown Section */
.countdown-grid {
  display: flex;
  justify-content: center;
  gap: clamp(0.4rem, 2vw, 1.2rem);
  flex-wrap: nowrap;
  width: 100%;
  max-width: 520px;
  margin: 1.5rem auto 0 auto;
}

.time-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: clamp(12px, 3vw, 20px);
  flex: 1 1 0;
  min-width: 0;
  padding: clamp(0.75rem, 2vw, 1.2rem) clamp(0.2rem, 1.5vw, 0.8rem);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.time-val {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 5.5vw, 2.8rem);
  font-weight: 700;
  color: var(--accent-primary);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.time-label {
  font-size: clamp(0.62rem, 1.8vw, 0.78rem);
  text-transform: uppercase;
  letter-spacing: clamp(0.5px, 0.2vw, 1.5px);
  color: var(--text-muted);
  font-weight: 600;
}

/* Events Grid */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.event-card {
  position: relative;
  text-align: center;
}

.event-badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: var(--accent-badge-bg);
  border: 1px solid var(--border-card);
  color: var(--accent-primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  text-transform: uppercase;
}

.event-icon {
  font-size: 2.6rem;
  margin-bottom: 0.8rem;
}

.event-name {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: #B8860B;
  background: linear-gradient(135deg, #B8860B 0%, #D4AF37 50%, #C5A059 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.3rem;
}

.event-date {
  font-size: 1.05rem;
  color: var(--accent-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.event-location {
  background: rgba(0, 0, 0, 0.02);
  border-radius: 14px;
  padding: 0.9rem;
  margin-bottom: 1.2rem;
  font-size: 0.92rem;
  border: 1px solid var(--border-card);
}

.event-location strong {
  color: var(--text-main);
  display: block;
  margin-bottom: 0.2rem;
}

.event-location p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

/* Interests Section */
.interests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2.2rem;
}

.interest-card {
  text-align: center;
  padding: 1.8rem 1.2rem;
}

.interest-emoji {
  font-size: 2.6rem;
  margin-bottom: 0.6rem;
}

.interest-card h4 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--accent-primary);
  margin-bottom: 0.4rem;
}

.interest-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.arsenal-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #D90429;
  background: rgba(217, 4, 41, 0.08);
  border: 1px solid rgba(217, 4, 41, 0.25);
  padding: 0.18rem 0.55rem;
  border-radius: 12px;
  margin-top: 0.5rem;
}

.foodie-recommend-box {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.foodie-recommend-box h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: #B8860B;
  background: linear-gradient(135deg, #B8860B 0%, #D4AF37 50%, #C5A059 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.4rem;
}

.foodie-recommend-box p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.suggestion-form .form-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.form-input {
  background: #FFF;
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  flex: 1;
  min-width: 180px;
  transition: all 0.2s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
}

.form-feedback {
  margin-top: 0.8rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.form-feedback.success {
  color: #16a34a;
}

/* Travel Section */
.travel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}

.travel-card {
  padding: 1.8rem 1.4rem;
}

.travel-icon {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}

.travel-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #B8860B;
  background: linear-gradient(135deg, #B8860B 0%, #D4AF37 50%, #C5A059 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.8rem;
}

.travel-card ul {
  list-style: none;
}

.travel-card li {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0.7rem;
}

.travel-card li strong {
  color: var(--accent-primary);
}

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

/* ==========================================================================
   RSVP INTERACTIVE MODAL
   ========================================================================== */
.rsvp-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.rsvp-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.rsvp-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 8, 7, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.rsvp-modal-dialog {
  position: relative;
  z-index: 2;
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.4rem 2rem;
  border-radius: 26px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  animation: rsvpModalPop 0.3s cubic-bezier(0.2, 0.9, 0.3, 1) forwards;
}

@keyframes rsvpModalPop {
  0% { transform: scale(0.93) translateY(15px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.rsvp-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-card);
  background: #FFF;
  color: var(--text-main);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.rsvp-modal-close:hover {
  background: var(--accent-badge-bg);
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  transform: scale(1.08);
}

.rsvp-modal-header {
  margin-bottom: 1.2rem;
}

.rsvp-modal-header .section-title {
  font-size: 1.85rem;
  margin-bottom: 0.4rem;
}

.rsvp-modal-header .section-description {
  font-size: 0.94rem;
  margin-bottom: 0;
}

.rsvp-icon {
  font-size: 2.8rem;
  display: block;
  margin-bottom: 0.4rem;
}

.rsvp-form {
  margin-top: 1.4rem;
  text-align: left;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

select.form-input option {
  background: #FFF;
  color: var(--text-main);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-card);
  padding: 3rem 1.25rem;
  background: var(--bg-main);
}

.footer-logo-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-primary);
  margin-bottom: 0.7rem;
}

.footer-names {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: #B8860B;
  background: linear-gradient(135deg, #B8860B 0%, #D4AF37 50%, #C5A059 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.35rem;
}

.footer-date {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
}

.footer-credit {
  color: var(--text-dim);
  font-size: 0.8rem;
}

/* ==========================================================================
   FLUID MOBILE SCREEN RESPONSIVENESS (Zero Hardcoded Pixel Overrides)
   ========================================================================== */

/* Tablet & Mobile Nav Toggle */
@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-links.active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-main);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1.2rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border-card);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  }
}

/* Mobile Layouts (<768px) */
@media (max-width: 768px) {
  .navbar {
    padding: 0.8rem 0;
  }

  .hero-section {
    padding: 2rem 1rem;
  }

  /* Consistent, identical section spacing across the entire page */
  .countdown-section,
  .events-section,
  .action-section,
  .family-section,
  .foodie-section,
  .travel-section {
    padding: 2rem 1rem;
  }

  .family-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .family-card {
    padding: 1.2rem 1rem;
    border-radius: 20px;
  }

  .family-photo-frame {
    margin-bottom: 1rem;
    border-radius: 16px;
  }

  .family-img {
    border-radius: 11px;
  }

  .family-card-title {
    font-size: 1.4rem;
  }

  .glass-card {
    padding: 1.5rem 1.1rem;
    border-radius: 18px;
  }

  .featured-event-card {
    padding: 1.8rem 1.2rem;
  }
  .featured-event-card .event-actions {
    flex-direction: column;
    gap: 0.8rem;
  }
  .featured-event-card .event-actions .btn {
    width: 100%;
  }

  .livestream-card {
    padding: 1.8rem 1.2rem;
    border-radius: 20px;
  }

  .stream-placeholder-box {
    padding: 1.25rem 1rem;
    border-radius: 16px;
    margin-top: 1.2rem;
  }

  .stream-links-group {
    flex-direction: column;
    gap: 0.8rem;
  }

  .stream-links-group .stream-link-btn {
    width: 100%;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .suggestion-form .form-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .suggestion-form .form-input,
  .suggestion-form .btn {
    width: 100%;
  }
}

/* Small Handheld Screens (<480px) */
@media (max-width: 480px) {
  .glass-card {
    padding: 1.25rem 0.95rem;
    border-radius: 16px;
  }

  .btn {
    padding: 0.85rem 1.2rem;
    font-size: 0.95rem;
  }

  .family-grid,
  .interests-grid,
  .travel-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
