/* ==========================================================================
   WEDDING INVITATION - STYLESHEET
   V. Pradeesh & S. Swetha Wedding Landing Page
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-cream: #fdfbf7;
  --bg-dark-stage: #160e09;
  --gold-primary: #d4af37;
  --gold-light: #f3e5ab;
  --gold-dark: #996515;
  --gold-satin: linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
  --gold-text-grad: linear-gradient(135deg, #f3e5ab 0%, #d4af37 50%, #aa771c 100%);

  --text-dark: #3d2b1f;
  --text-light: #fefefe;
  --text-muted: #8c7362;

  --accent-maroon: #5c2e0e;
  --accent-burgundy: #4a1525;

  /* Fonts */
  --font-cursive: 'Great Vibes', cursive;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', system-ui, -apple-system, sans-serif;

  /* Layout & Transitions */
  --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html,
body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  font-family: var(--font-sans);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Base Utility Classes */
.hidden {
  display: none !important;
}

/* Sound Toggle Floating Button */
.sound-toggle-btn {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(26, 17, 10, 0.75);
  border: 1.5px solid var(--gold-primary);
  color: var(--gold-light);
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(212, 175, 55, 0.4);
  transition: var(--transition-smooth);
}

.sound-toggle-btn:hover {
  transform: scale(1.1);
  background: rgba(212, 175, 55, 0.2);
  border-color: #fff;
}

/* ==========================================================================
   1. ENTRANCE OVERLAY SCREEN
   ========================================================================== */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  cursor: pointer;
  overflow: hidden;
  touch-action: manipulation;
}

/* ── Card panels ── */
.card-panel {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.card-left {
  left: 0;
  transition: transform 3.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-right {
  right: 0;
  transition: transform 3.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.intro-overlay.opening .card-left {
  transform: translateX(-100%);
}

.intro-overlay.opening .card-right {
  transform: translateX(100%);
}

.card-bg {
  position: absolute;
  top: 0;
  width: 200%;
  height: 100%;
  background-image: url('https://divyabharathi-tamilarasan.thelovenote.in/intro%20desk.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* ── Door Background Alignment Fix ── */
.card-bg-left {
  left: 0;
}

.card-bg-right {
  left: -100%;
  /* இங்க இடது பக்கத்தை -100% தள்ளுவதால் வலது கதவு கச்சிதமாக ஒட்டிக்கொள்ளும் */
}

@media (max-width: 768px) {
  .card-bg {
    background-image: url('https://divyabharathi-tamilarasan.thelovenote.in/intro%20sec%20mobile.webp');
  }
}

/* ── Names above seal ── */
.seal-above {
  position: absolute;
  top: calc(50% - 22vh);
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  pointer-events: none;
  transition: opacity 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.seal-above.hide {
  opacity: 0;
}

.seal-names-text {
  display: flex;
  align-items: center;
  gap: 52px;
}

.seal-dt-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2d1000;
  flex-shrink: 0;
  opacity: 0.75;
  margin-bottom: 4px;
}

.seal-initial {
  font-family: var(--font-serif, serif);
  font-size: 62px;
  color: #2d1000;
  line-height: 1.1;
  -webkit-text-stroke: 1.5px #2d1000;
  paint-order: stroke fill;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.35),
    0 4px 16px rgba(0, 0, 0, 0.2);
}

.seal-names-line {
  width: 80px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(58, 24, 0, 0.55), transparent);
}

/* ── Lotus inside seal ── */
.seal-lotus-wrap {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

@media (max-width: 768px) {
  .seal-lotus-wrap {
    top: 46%;
  }
}

.seal-lotus-wrap.hide {
  opacity: 0;
}

.seal-lotus-svg {
  width: 110px;
  height: 99px;
  display: block;
}

/* ── Tap instruction ── */
.tap-instruction {
  position: absolute;
  top: calc(50% + 22vh);
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  pointer-events: none;
  transition: opacity 0.35s ease;
  font-family: var(--font-sans, sans-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #FDFBF7;
  background: rgba(44, 30, 21, 0.85);
  border: 1px solid rgba(197, 168, 128, 0.5);
  padding: 8px 22px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  text-transform: uppercase;
  white-space: nowrap;
}

.tap-instruction.hide {
  opacity: 0;
}

@media (max-width: 768px) {
  .seal-above {
    top: calc(50% - 20vh);
    gap: 6px;
  }

  .seal-initial {
    font-size: 52px;
  }

  .seal-names-text {
    gap: 44px;
  }

  .seal-dt-dot {
    width: 4px;
    height: 4px;
  }

  .seal-names-line {
    width: 65px;
  }

  .seal-lotus-wrap {
    top: 47%;
  }

  .seal-lotus-svg {
    width: 60px;
    height: 54px;
  }

  .tap-instruction {
    top: calc(50% + 24vw);
    font-size: 10px;
    padding: 6px 16px;
    letter-spacing: 0.15em;
  }
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.app-container {
  width: 100%;
}

.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-dark-stage);
  background-image:
    radial-gradient(ellipse at 50% 30%, rgba(85, 50, 20, 0.25) 0%, rgba(22, 14, 9, 0.5) 70%),
    url('https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 40px;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 1;
  transition: opacity 1.5s ease-in-out;
}

.hero-video.video-ended {
  opacity: 0;
  pointer-events: none;
}

.hero-bg-overlay {
  display: none;
}

/* Spotlights */
.spotlight {
  position: absolute;
  top: -100px;
  width: 350px;
  height: 800px;
  background: linear-gradient(180deg, rgba(255, 243, 167, 0.25) 0%, rgba(212, 175, 55, 0) 100%);
  filter: blur(30px);
  pointer-events: none;
  transform-origin: top center;
  z-index: 3;
}

.spotlight-left {
  left: 10%;
  transform: rotate(25deg);
  animation: spotlightSwing 8s infinite alternate ease-in-out;
}

.spotlight-right {
  right: 10%;
  transform: rotate(-25deg);
  animation: spotlightSwing 8s infinite alternate-reverse ease-in-out;
}

/* Sparkles Container */
.sparkles-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}

.sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #fff3a7;
  border-radius: 50%;
  box-shadow: 0 0 10px #d4af37, 0 0 20px #fff;
  animation: sparkleFloat linear infinite;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-header-badge {
  display: inline-block;
  padding: 8px 24px;
  border-radius: 30px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  margin-bottom: 25px;
  backdrop-filter: blur(6px);
}

.hero-header-badge span {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--gold-light);
  text-transform: uppercase;
}

.couple-names-wrapper {
  margin-bottom: 35px;
}

.groom-name,
.bride-name {
  font-family: var(--font-cursive);
  font-size: 4.5rem;
  font-weight: 400;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.4);
}

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

.heart-divider .line {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.glowing-heart {
  color: #ff4d6d;
  font-size: 1.4rem;
  filter: drop-shadow(0 0 10px #ff4d6d);
  animation: heartBeat 1.5s infinite;
}

/* Glassmorphism Date Card */
.hero-date-card {
  position: relative;
  width: 100%;
  max-width: 450px;
  background: rgba(26, 17, 10, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(212, 175, 55, 0.1);
  margin-bottom: 40px;
}

.card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.date-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.date-icon {
  color: var(--gold-primary);
}

.main-date {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 1px;
}

.venue-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
}

.loc-icon {
  color: #e25858;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  cursor: pointer;
  opacity: 0.85;
  transition: var(--transition-smooth);
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
}

.scroll-arrow {
  font-size: 1.1rem;
}

/* ==========================================================================
   3. ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes heartBeat {
  0% {
    transform: scale(1);
  }

  14% {
    transform: scale(1.2);
  }

  28% {
    transform: scale(1);
  }

  42% {
    transform: scale(1.2);
  }

  70% {
    transform: scale(1);
  }
}

@keyframes pulseGlow {
  0% {
    transform: scale(0.9);
    opacity: 0.4;
  }

  100% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

@keyframes spotlightSwing {
  0% {
    transform: rotate(20deg);
  }

  100% {
    transform: rotate(30deg);
  }
}

@keyframes sparkleFloat {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: translateY(-10vh) scale(1.5);
    opacity: 0;
  }
}

.animate-fade-down {
  animation: fadeDown 1.2s ease forwards;
}

.animate-zoom-in {
  animation: zoomIn 1.4s ease forwards;
}

.animate-fade-up {
  animation: fadeUp 1.6s ease forwards;
}

.animate-bounce {
  animation: bounce 2s infinite;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ==========================================================================
   3. COUNTDOWN SECTION
   ========================================================================== */
.countdown-section {
  position: relative;
  width: 100%;
  background-color: var(--bg-cream);
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-ornament-top {
  width: 100px;
  margin-bottom: 15px;
  opacity: 0.8;
}

.countdown-sub {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--gold-dark);
  text-transform: uppercase;
}

.countdown-title {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 500;
  color: var(--text-dark);
  margin: 10px 0 40px;
}

/* Gold Satin Ribbon styling */
.countdown-ribbon-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  background: var(--gold-satin);
  border-radius: 4px;
  padding: 25px 20px;
  box-shadow: 0 12px 30px rgba(170, 119, 28, 0.25);
  margin: 0 auto;
}

/* Ribbon left & right fold details to look like a physical ribbon */
.countdown-ribbon-container::before,
.countdown-ribbon-container::after {
  content: '';
  position: absolute;
  top: 10px;
  width: 0;
  height: 0;
  border-style: solid;
  z-index: -1;
}

.countdown-ribbon-container::before {
  left: -15px;
  border-width: 25px 15px 25px 0;
  border-color: #aa771c #aa771c #aa771c transparent;
}

.countdown-ribbon-container::after {
  right: -15px;
  border-width: 25px 0 25px 15px;
  border-color: #aa771c transparent #aa771c #aa771c;
}

.ribbon-overlay-light {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 100%);
  animation: spotlightSweep 5s infinite linear;
  pointer-events: none;
}

.countdown-timer {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: relative;
  z-index: 2;
}

.timer-segment {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.timer-val {
  font-family: var(--font-sans);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-dark);
  text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.5);
  line-height: 1;
}

.timer-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-maroon);
  margin-top: 8px;
}

.timer-divider {
  width: 1px;
  height: 50px;
  background: rgba(61, 43, 31, 0.2);
}

.countdown-date-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
}

.footer-date-text {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 1px;
}

.line-gold {
  width: 60px;
  height: 1.5px;
  background: var(--gold-primary);
}

/* ==========================================================================
   4. FAMILIES SECTION
   ========================================================================== */
.families-section {
  position: relative;
  width: 100%;
  background-image:
    linear-gradient(rgba(255, 248, 235, 0.42), rgba(255, 248, 235, 0.42)),
    url('https://divyabharathi-tamilarasan.thelovenote.in/family%20desktop.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: calc(100vw * 9 / 16);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  overflow: hidden;
}

.families-section .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

.section-title-container {
  text-align: center;
  margin-bottom: 50px;
}

.families-section .section-subtitle {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: #5C2E0E;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
  text-shadow: 0 1px 6px rgba(255, 248, 235, 0.8);
}

.families-section .section-title {
  font-family: var(--font-serif);
  font-size: 3.8rem;
  font-weight: 500;
  color: #3D1A00;
  margin: 0;
}

/* Main Layout */
.families-layout {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.family-block {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  min-width: 0;
  gap: 10px;
}

.family-role {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.38em;
  color: #7A5230;
  font-weight: 600;
  margin: 0;
}

.family-block .member-name {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 600;
  color: #5C2E0E;
  margin: 10px 0 0;
  line-height: 1.1;
  letter-spacing: 0.08em;
}

.ornament-divider {
  margin: 10px 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

.ornament-svg {
  width: 180px;
  max-width: 100%;
  display: block;
}

.parents-block {
  text-align: center;
  width: 100%;
}

.parents-label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: #A0722A;
  margin-bottom: 12px;
  font-weight: 600;
  display: block;
}

.parents-names {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: #3D1A00;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

.parents-photo-wrapper {
  margin: 15px auto 20px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.parents-photo-frame {
  max-width: 390px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  position: relative;
  padding: 4px;
  background: linear-gradient(135deg, #a07828, #e2c97e, #c9a84c, #f5f0e8);
  box-shadow: 0 10px 25px rgba(92, 46, 14, 0.18);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
  overflow: hidden;
}

.parents-photo-frame::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  pointer-events: none;
  z-index: 2;
}

.parents-photo-frame:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 15px 30px rgba(92, 46, 14, 0.28);
}

.parents-photo {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  z-index: 1;
}

/* Mobile responsive styles for parent photo frames */
@media (max-width: 768px) {
  .parents-photo-frame {
    max-width: 250px;
    width: 100%;
    height: auto;
    padding: 3px;
    border-radius: 8px;
  }

  .parents-photo-frame::after {
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border-radius: 5px;
  }

  .parents-photo {
    border-radius: 5px;
  }
}

/* Center dividers */
.centre-divider-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vertical-svg {
  width: 44px;
  height: 320px;
}

.centre-divider-mobile {
  display: none;
}

.section-divider-svg {
  width: 100%;
  max-width: 280px;
  display: block;
}

/* Responsiveness for Families */
@media (max-width: 768px) {
  .families-section {
    background-image:
      linear-gradient(rgba(255, 248, 235, 0.58), rgba(255, 248, 235, 0.58)),
      url('https://divyabharathi-tamilarasan.thelovenote.in/family%20mobile.png');
    min-height: calc(100vw * 16 / 9);
    padding: 60px 0;
  }

  .families-section .container {
    padding: 16px 30px;
  }

  .families-layout {
    flex-direction: column;
    background: rgba(255, 255, 255, 0.82);
    border-radius: 16px;
    padding: 30px 20px;
    box-shadow: 0 10px 30px rgba(92, 46, 14, 0.05);
    gap: 20px;
  }

  .family-block {
    padding: 10px 0;
    width: 100%;
    gap: 5px;
  }

  .families-section .section-title {
    font-size: 2.5rem;
  }

  .families-section .section-subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
  }

  .family-role {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
  }

  .family-block .member-name {
    font-size: 2.2rem;
    letter-spacing: 0.04em;
  }

  .parents-label {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    margin-bottom: 8px;
  }

  .parents-names {
    font-size: 1.45rem;
    font-weight: 600;
  }

  .centre-divider-wrap {
    display: none;
  }

  .centre-divider-mobile {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 10px 0;
  }

  .section-divider-svg {
    max-width: 200px;
  }
}

@media (max-width: 390px) {
  .families-section .container {
    padding: 16px 20px;
  }

  .family-block .member-name {
    font-size: 1.9rem;
  }

  .parents-names {
    font-size: 1.35rem;
    font-weight: 600;
  }
}

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

  .groom-name,
  .bride-name {
    font-size: 3.2rem;
  }

  .main-date {
    font-size: 1.4rem;
  }

  .entrance-card {
    padding: 30px 20px;
  }

  .entrance-title {
    font-size: 1.6rem;
  }

  .entrance-couple {
    font-size: 2rem;
  }

  /* Countdown Mobile Adjustments */
  .countdown-title {
    font-size: 2.2rem;
    margin-bottom: 25px;
  }

  .countdown-ribbon-container {
    width: calc(100% - 10px);
    padding: 15px 10px;
  }

  .countdown-ribbon-container::before,
  .countdown-ribbon-container::after {
    display: none;
    /* Hide folds on mobile to prevent overflow */
  }

  .timer-val {
    font-size: 1.8rem;
  }

  .timer-label {
    font-size: 0.55rem;
    letter-spacing: 1px;
    margin-top: 5px;
  }

  .timer-divider {
    height: 35px;
  }

  .line-gold {
    height: 35px;
  }

  .line-gold {
    width: 30px;
  }

  .footer-date-text {
    font-size: 1.1rem;
  }
}

/* ==========================================================================
   5. GALLERY SECTION
   ========================================================================== */
.gallery-section {
  position: relative;
  width: 100%;
  background-image:
    linear-gradient(rgba(255, 248, 235, 0.45), rgba(255, 248, 235, 0.45)),
    url('assets/gallery bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-header {
  margin-bottom: 50px;
}

.gallery-sub {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--gold-dark);
  text-transform: uppercase;
}

.gallery-title {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 500;
  color: var(--text-dark);
  margin: 10px 0 15px;
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 30px auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.carousel-track-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.carousel-slide {
  position: absolute;
  width: 260px;
  height: 360px;
  border: 8px solid #ffffff;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease, filter 0.6s ease;
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Coverflow positioning */
.carousel-slide.active {
  opacity: 1;
  transform: translateX(0) scale(1.1);
  filter: blur(0);
  z-index: 5;
  pointer-events: auto;
}

.carousel-slide.prev {
  opacity: 0.55;
  transform: translateX(-100%) scale(0.85);
  filter: blur(3px);
  z-index: 2;
  pointer-events: none;
}

.carousel-slide.next {
  opacity: 0.55;
  transform: translateX(100%) scale(0.85);
  filter: blur(3px);
  z-index: 2;
  pointer-events: none;
}

/* Arrow buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  color: #5C2E0E;
  font-size: 0.95rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: #5C2E0E;
  color: #ffffff;
  transform: translateY(-50%) scale(1.05);
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

/* Indicators and footer elements */
.carousel-indicator-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
  width: 100%;
}

.gallery-badge {
  display: inline-block;
  padding: 8px 24px;
  background-color: #fcf8f2;
  color: #8c6a2b;
  font-family: var(--font-cursive);
  font-size: 1.6rem;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(140, 106, 43, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(140, 106, 43, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dots .dot.active {
  background: #8c6a2b;
  transform: scale(1.2);
}

.gallery-heart-divider {
  color: #8c6a2b;
  font-size: 0.8rem;
  margin-top: 5px;
}

@media (max-width: 768px) {
  .carousel-track-container {
    height: 380px;
  }

  .carousel-slide {
    width: 200px;
    height: 280px;
  }

  .carousel-slide.prev {
    transform: translateX(-65%) scale(0.85);
  }

  .carousel-slide.next {
    transform: translateX(65%) scale(0.85);
  }

  .prev-btn {
    left: 10px;
  }

  .next-btn {
    right: 10px;
  }

  .gallery-badge {
    font-size: 1.3rem;
    padding: 6px 18px;
  }
}

/* ==========================================================================
   6. EVENTS SECTION
   ========================================================================== */
/* ==========================================================================
   6. EVENTS SECTIONS (RECEPTION & MUHURTHAM)
   ========================================================================== */

/* --- Reception Section (Dark Night Theme) --- */
.reception-event-section {
  position: relative;
  width: 100%;
  background-image: url('assets/reception bgimg.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: #1a1009;
  padding: 240px 20px 60px;
  text-align: center;
  overflow: hidden;
  color: #fff6e5;
  display: flex;
  justify-content: center;
  align-items: center;
}

.reception-event-section .container,
.muhurtham-event-section .container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

/* Reception Card Overlay */
.reception-overlay-card {
  background: rgba(18, 11, 6, 0.78);
  border: 1.5px solid rgba(212, 175, 55, 0.3);
  border-radius: 24px;
  padding: 40px 30px;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: borderGlow 4s ease-in-out infinite;
}

@keyframes borderGlow {

  0%,
  100% {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  }

  50% {
    border-color: rgba(255, 215, 135, 0.75);
    box-shadow: 0 20px 45px rgba(212, 175, 55, 0.15);
  }
}

/* Day Tag */
.day-tag {
  display: inline-block;
  padding: 6px 20px;
  border: 1px solid #d4af37;
  border-radius: 20px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #d4af37;
  background: rgba(42, 27, 14, 0.6);
  margin-bottom: 25px;
}

/* Circular Icon Wrapper */
.event-icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.event-icon-circle svg {
  width: 36px;
  height: 36px;
}

/* Titles */
.event-main-title {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 400;
  color: #ffecc5;
  margin: 0;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.event-main-subtitle {
  font-family: var(--font-cursive);
  font-size: 2.2rem;
  color: #d4af37;
  margin: 5px 0 35px;
}

/* Details and Address info */
.event-details-wrap {
  margin-bottom: 35px;
}

.event-date {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #d4af37;
  margin-bottom: 8px;
}

.event-time {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
}

.event-address {
  margin-top: 15px;
  text-align: center;
}

.venue-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  text-align: center;
}

.venue-location {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: #cda270;
  letter-spacing: 1px;
  text-align: center;
}

/* Add To Calendar/Directions Button */
.calendar-btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  background-color: #d4af37;
  color: #27170c;
  border-radius: 25px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
  transition: all 0.3s ease;
}

.calendar-btn-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(212, 175, 55, 0.45);
  background-color: #ffd787;
}


/* --- Muhurtham Section (Light Traditional Theme) --- */
.muhurtham-event-section {
  position: relative;
  width: 100%;
  background-image: url('assets/wedding bg.png');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  padding: 100px 20px;
  text-align: center;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.day-tag-light {
  display: inline-block;
  padding: 6px 20px;
  border: 1px solid #8c6a2b;
  border-radius: 20px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #8c6a2b;
  background: rgba(255, 248, 235, 0.8);
  margin-bottom: 25px;
}

/* Soft Translucent Overlay Card for Muhurtham text */
.muhurtham-overlay-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1.5px solid rgba(255, 215, 135, 0.3);
  border-radius: 24px;
  padding: 40px 30px;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.event-icon-circle-light {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.event-icon-circle-light svg {
  width: 36px;
  height: 36px;
}

.event-icon-circle-light svg circle {
  stroke: #ffd787;
}

.event-icon-circle-light svg path {
  stroke: #ffd787;
  fill: #ffd787;
}

.event-icon-circle-light svg circle[fill="#8c6a2b"] {
  fill: #ffd787;
}

.event-main-title-light {
  font-family: var(--font-serif);
  font-size: 3.8rem;
  font-weight: 500;
  color: #ffffff;
  margin: 0;
  line-height: 1;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.event-main-subtitle-light {
  font-family: var(--font-cursive);
  font-size: 2.2rem;
  color: #ffd787;
  margin: 5px 0 30px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.event-details-wrap-light {
  margin-bottom: 30px;
}

.event-date-light {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffd787;
  margin-bottom: 8px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.event-time-light {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 15px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.event-address-light {
  margin-top: 10px;
}

.venue-title-light {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  line-height: 1.3;
}

.venue-location-light {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: #fffcf4;
  letter-spacing: 1px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  line-height: 1.4;
}

.calendar-btn-pill-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  background-color: #ffd787;
  color: #27170c;
  border-radius: 25px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.calendar-btn-pill-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(255, 255, 255, 0.15);
  background-color: #ffffff;
}

/* Responsiveness for Events */
@media (max-width: 768px) {

  .reception-event-section,
  .muhurtham-event-section {
    padding: 60px 15px;
  }

  .event-main-title {
    font-size: 3rem;
  }

  .event-main-title-light {
    font-size: 2.8rem;
  }

  .event-main-subtitle,
  .event-main-subtitle-light {
    font-size: 1.8rem;
  }

  .venue-title {
    font-size: 1.65rem;
  }

  .venue-title-light {
    font-size: 1.55rem;
  }

  .muhurtham-overlay-card {
    padding: 30px 20px;
    max-width: 100%;
  }
}

/* ==========================================================================
   7. FOOTER SECTION
   ========================================================================== */
._footer_142o7_1 {
  position: relative;
  width: 100%;
  background-color: var(--bg-dark-stage);
  background-image:
    radial-gradient(circle at center, rgba(35, 23, 14, 0.95) 0%, rgba(18, 11, 6, 0.98) 100%),
    url('https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  padding: 100px 20px 80px;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  border-top: 2px solid var(--gold-primary);
  font-family: var(--font-sans);
}

._topBar_142o7_23 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #d4af37, #f7df8a, #d4af37);
}

._kolamBg_142o7_222 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

._inner_142o7_30 {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

._monogram_142o7_203 {
  width: 80px;
  height: 80px;
  margin-bottom: 25px;
}

._monogramSvg_142o7_217 {
  width: 100%;
  height: 100%;
}

._tamilLine_142o7_42 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 2px;
  color: var(--gold-light);
  margin-bottom: 25px;
  text-transform: uppercase;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

._quote_142o7_50 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 650px;
  margin: 0 auto 30px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

._rule_142o7_60 {
  width: 80px;
  height: 1px;
  background: var(--gold-primary);
  margin: 10px auto 35px;
  opacity: 0.6;
}

._names_142o7_67 {
  font-family: var(--font-cursive);
  font-size: 4.5rem;
  font-weight: 400;
  background: var(--gold-satin);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
  line-height: 1.1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

._amp_142o7_79 {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  margin: 0 15px;
  background: var(--gold-satin);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

._wDate_142o7_91 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: #ffffff;
  letter-spacing: 2px;
  margin-bottom: 25px;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

._hashtagContainer_142o7_101 {
  margin-bottom: 40px;
}

._hashtag_142o7_101 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 8px 24px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

._nav_142o7_122 {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

._navLink_142o7_132 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: var(--transition-smooth);
}

._navLink_142o7_132:hover {
  color: var(--gold-light);
  text-shadow: 0 0 8px var(--gold-primary);
}

._copy_142o7_163 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  margin-bottom: 10px;
}

._scrollTopBtn_142o7_171 {
  background: rgba(212, 175, 55, 0.1);
  border: 1.5px solid rgba(212, 175, 55, 0.3);
  color: var(--gold-light);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-top: 25px;
  transition: var(--transition-smooth);
}

._scrollTopBtn_142o7_171:hover {
  background: var(--gold-primary);
  color: #1a110a;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

@media (max-width: 768px) {
  ._footer_142o7_1 {
    padding: 60px 15px 40px;
  }

  ._kolamBg_142o7_222 {
    width: 320px;
    height: 320px;
  }

  ._names_142o7_67 {
    font-size: 3rem;
  }

  ._amp_142o7_79 {
    font-size: 2rem;
  }

  ._wDate_142o7_91 {
    font-size: 1.25rem;
  }

  ._quote_142o7_50 {
    font-size: 1.15rem;
  }

  ._tamilLine_142o7_42 {
    font-size: 0.95rem;
  }
}

/* --- Twinkling Lights & Floating Sparks (Reception) --- */
.ev-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.ev-p {
  fill: #D4B275;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: ev-particle-drift 14s linear infinite;
}

@keyframes ev-particle-drift {
  0% {
    transform: translateY(80px) translateX(0);
    opacity: 0;
  }

  15% {
    opacity: 0.55;
  }

  85% {
    opacity: 0.55;
  }

  100% {
    transform: translateY(-160px) translateX(25px);
    opacity: 0;
  }
}

.ev-p-1 {
  animation-duration: 11s;
  animation-delay: 0s;
}

.ev-p-2 {
  animation-duration: 15s;
  animation-delay: -3s;
}

.ev-p-3 {
  animation-duration: 13s;
  animation-delay: -6s;
}

.ev-p-4 {
  animation-duration: 17s;
  animation-delay: -1s;
}

.ev-p-5 {
  animation-duration: 12s;
  animation-delay: -4s;
}

.ev-p-6 {
  animation-duration: 16s;
  animation-delay: -8s;
}

.ev-p-7 {
  animation-duration: 14s;
  animation-delay: -2s;
}

.ev-p-8 {
  animation-duration: 18s;
  animation-delay: -5s;
}

.ev-p-9 {
  animation-duration: 13s;
  animation-delay: -7s;
}

.ev-p-10 {
  animation-duration: 15s;
  animation-delay: -10s;
}

.ev-p-11 {
  animation-duration: 12s;
  animation-delay: -5s;
}

.ev-p-12 {
  animation-duration: 16s;
  animation-delay: -2s;
}

.ev-p-13 {
  animation-duration: 13s;
  animation-delay: -9s;
}

.ev-p-14 {
  animation-duration: 17s;
  animation-delay: -4s;
}

.ev-p-15 {
  animation-duration: 11s;
  animation-delay: -1s;
}

.ev-p-16 {
  animation-duration: 15s;
  animation-delay: -11s;
}

.ev-p-17 {
  animation-duration: 12s;
  animation-delay: -6s;
}

.ev-p-18 {
  animation-duration: 18s;
  animation-delay: -3s;
}

.ev-p-19 {
  animation-duration: 14s;
  animation-delay: -13s;
}

.ev-p-20 {
  animation-duration: 16s;
  animation-delay: -7s;
}

.ev-p-21 {
  animation-duration: 13s;
  animation-delay: -0.5s;
}

.ev-p-22 {
  animation-duration: 11s;
  animation-delay: -8s;
}

.ev-p-23 {
  animation-duration: 17s;
  animation-delay: -12s;
}

.ev-p-24 {
  animation-duration: 14s;
  animation-delay: -2.5s;
}

.ev-p-25 {
  animation-duration: 19s;
  animation-delay: -5s;
}

.ev-p-26 {
  animation-duration: 12s;
  animation-delay: -14s;
}

.ev-p-27 {
  animation-duration: 16s;
  animation-delay: -3.5s;
}

.ev-p-28 {
  animation-duration: 15s;
  animation-delay: -10s;
}

.ev-p-29 {
  animation-duration: 13s;
  animation-delay: -4s;
}

.ev-p-30 {
  animation-duration: 17s;
  animation-delay: -9s;
}

.ev-p-31 {
  animation-duration: 11s;
  animation-delay: -2s;
}

.ev-p-32 {
  animation-duration: 16s;
  animation-delay: -6s;
}

.ev-p-33 {
  animation-duration: 14s;
  animation-delay: -11s;
}

.ev-p-34 {
  animation-duration: 18s;
  animation-delay: -1s;
}

.ev-p-35 {
  animation-duration: 12s;
  animation-delay: -7s;
}

.ev-p-36 {
  animation-duration: 15s;
  animation-delay: -13s;
}

.ev-p-37 {
  animation-duration: 19s;
  animation-delay: -3s;
}

.ev-p-38 {
  animation-duration: 13s;
  animation-delay: -8s;
}

.ev-p-39 {
  animation-duration: 16s;
  animation-delay: -0.5s;
}

.ev-p-40 {
  animation-duration: 11s;
  animation-delay: -5s;
}

.ev-p-41 {
  animation-duration: 17s;
  animation-delay: -12s;
}

.ev-p-42 {
  animation-duration: 14s;
  animation-delay: -2.5s;
}

.ev-p-43 {
  animation-duration: 12s;
  animation-delay: -10s;
}

.ev-p-44 {
  animation-duration: 18s;
  animation-delay: -4.5s;
}

.ev-p-45 {
  animation-duration: 15s;
  animation-delay: -7s;
}

.ev-p-46 {
  animation-duration: 13s;
  animation-delay: -14s;
}

.ev-p-47 {
  animation-duration: 16s;
  animation-delay: -3s;
}

.ev-p-48 {
  animation-duration: 11s;
  animation-delay: -9s;
}

.ev-lights {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 240px;
  pointer-events: none;
  z-index: 2;
}

.ev-lights circle {
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes ev-twinkle-a {

  0%,
  100% {
    opacity: 0.95;
    transform: scale(1);
  }

  50% {
    opacity: 0.3;
    transform: scale(0.9);
  }
}

@keyframes ev-twinkle-b {

  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.92);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes ev-twinkle-c {

  0%,
  100% {
    opacity: 0.85;
    transform: scale(1.02);
  }

  50% {
    opacity: 0.25;
    transform: scale(0.88);
  }
}

.ev-t0 {
  animation: ev-twinkle-a 3.2s ease-in-out infinite 0.0s;
}

.ev-t1 {
  animation: ev-twinkle-b 2.8s ease-in-out infinite 0.6s;
}

.ev-t2 {
  animation: ev-twinkle-c 3.5s ease-in-out infinite 1.2s;
}

.ev-t3 {
  animation: ev-twinkle-a 3.0s ease-in-out infinite 1.8s;
}

.ev-t4 {
  animation: ev-twinkle-b 3.4s ease-in-out infinite 0.3s;
}

.ev-t5 {
  animation: ev-twinkle-c 2.6s ease-in-out infinite 0.9s;
}

.ev-lamps {
  position: absolute;
  top: 0;
  width: 270px;
  height: 520px;
  pointer-events: none;
  z-index: 3;
  overflow: visible;
}

.ev-lamps-left {
  left: 0;
}

.ev-lamps-right {
  right: 0;
}

@keyframes ev-lamp-pulse {

  0%,
  100% {
    opacity: 0.75;
  }

  50% {
    opacity: 1;
  }
}

.ev-lg-a {
  animation: ev-lamp-pulse 3.2s ease-in-out infinite 0.0s;
}

.ev-lg-b {
  animation: ev-lamp-pulse 2.8s ease-in-out infinite 0.9s;
}

.ev-lg-c {
  animation: ev-lamp-pulse 3.5s ease-in-out infinite 1.6s;
}

.ev-lg-d {
  animation: ev-lamp-pulse 2.9s ease-in-out infinite 0.4s;
}

@keyframes ev-swing-left-large {

  0%,
  100% {
    transform: rotate(-2.5deg);
  }

  50% {
    transform: rotate(2.5deg);
  }
}

@keyframes ev-swing-left-small {

  0%,
  100% {
    transform: rotate(-3.5deg);
  }

  50% {
    transform: rotate(3.5deg);
  }
}

@keyframes ev-swing-right-large {

  0%,
  100% {
    transform: rotate(-2.2deg);
  }

  50% {
    transform: rotate(2.2deg);
  }
}

@keyframes ev-swing-right-small {

  0%,
  100% {
    transform: rotate(-3.2deg);
  }

  50% {
    transform: rotate(3.2deg);
  }
}

.ev-swing-l-lg,
.ev-swing-l-sm,
.ev-swing-r-lg,
.ev-swing-r-sm {
  transform-box: view-box;
}

.ev-swing-l-lg {
  animation: ev-swing-left-large 6.5s ease-in-out infinite;
}

.ev-swing-l-sm {
  animation: ev-swing-left-small 5.2s ease-in-out infinite 0.5s;
}

.ev-swing-r-lg {
  animation: ev-swing-right-large 6.0s ease-in-out infinite 1.2s;
}

.ev-swing-r-sm {
  animation: ev-swing-right-small 4.8s ease-in-out infinite 0.2s;
}

/* Mobile Responsiveness Additions */
@media (max-width: 768px) {
  .hero-content {
    display: none !important;
  }

  .hero-bg-overlay {
    display: none !important;
  }

  .scroll-indicator {
    display: flex !important;
    bottom: 30px;
    z-index: 99;
  }

  .ev-lamp-secondary {
    display: none;
  }

  .door {
    width: 50%;
  }

  .monogram-lock {
    padding: 35px 20px;
    max-width: 90%;
    margin: 0 auto;
  }

  .entrance-title {
    font-size: 1.6rem;
  }

  .entrance-couple {
    font-size: 2rem;
  }

  .gallery-title,
  .events-title {
    font-size: 2.5rem;
  }

  .carousel-container {
    max-width: 85%;
  }

  .ev-lights {
    height: 115px;
  }

  .ev-lamps {
    width: 130px;
    height: 250px;
  }

  .prev-btn {
    left: -15px;
  }

  .next-btn {
    right: -15px;
  }

  .events-container {
    gap: 20px;
  }

  .event-card-detail {
    padding: 30px 20px;
  }
}

/* --- Venue & Directions Section --- */
._section_trlh2_1 {
  position: relative;
  background-color: #faf6f0;
  padding: 100px 20px;
  overflow: hidden;
  font-family: var(--font-sans);
}

._topBar_trlh2_8 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #d4af37, #f7df8a, #d4af37);
}

._inner_trlh2_15 {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

._eyebrow_trlh2_21 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #bfa365;
  font-weight: 700;
  margin-bottom: 12px;
}

._title_trlh2_29 {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: #3b2c1b;
  margin-bottom: 12px;
}

._subtitle_trlh2_37 {
  font-size: 1.05rem;
  color: #706251;
  margin-bottom: 25px;
}

._ornRow_trlh2_45 {
  max-width: 240px;
  margin: 0 auto 50px;
}

._layout_trlh2_50 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  margin-top: 20px;
  text-align: left;
}

@media (max-width: 900px) {
  ._layout_trlh2_50 {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  ._title_trlh2_29 {
    font-size: 2.2rem;
  }
}

._mapColumn_trlh2_65 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

._mapToggle_trlh2_71 {
  display: inline-flex;
  background: #f0eae1;
  border-radius: 30px;
  padding: 4px;
  align-self: center;
}

._toggleBtn_trlh2_83 {
  border: none;
  background: transparent;
  padding: 8px 24px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 25px;
  color: #706251;
  cursor: pointer;
  transition: all 0.3s ease;
}

._activeToggle_trlh2_102 {
  background: #ffffff;
  color: #bfa365;
  box-shadow: 0 4px 10px rgba(59, 44, 27, 0.08);
}

._mapWrap_trlh2_115 {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(59, 44, 27, 0.08);
  border: 1.5px solid rgba(212, 175, 55, 0.18);
  background-color: #eae5dc;
}

._stylizedMapWrap_trlh2_153 {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}

._stylizedMapImg_trlh2_163 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

._mapOverlayText_trlh2_174 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(59, 44, 27, 0.88);
  backdrop-filter: blur(4px);
  padding: 14px;
  color: #ffffff;
  font-size: 0.85rem;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.5px;
}

._card_trlh2_189 {
  background: #eae0cd;
  border-radius: 0;
  padding: 40px 35px;
  box-shadow: 0 15px 35px rgba(59, 44, 27, 0.06);
  border: 1px solid rgba(140, 106, 43, 0.25);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 400px;
}

._card_trlh2_189::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  width: 24px;
  height: 24px;
  border-top: 1.5px solid #8c6a2b;
  border-left: 1.5px solid #8c6a2b;
  pointer-events: none;
}

._card_trlh2_189::after {
  content: '';
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  border-bottom: 1.5px solid #8c6a2b;
  border-right: 1.5px solid #8c6a2b;
  pointer-events: none;
}

._tabs_trlh2_213 {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  border-bottom: 1.5px solid rgba(140, 106, 43, 0.25);
  padding-bottom: 10px;
  margin-bottom: 30px;
}

._tabBtn_trlh2_220 {
  border: none;
  background: transparent;
  padding: 6px 0;
  font-size: 0.85rem;
  color: #706251;
  cursor: pointer;
  border-radius: 0;
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 1.5px;
}

._tabBtn_trlh2_220:hover {
  color: #8c6a2b;
}

._activeTab_trlh2_239 {
  color: #8c6a2b;
  border-bottom: 2px solid #8c6a2b;
  background: transparent !important;
}

/* Elegant Venue Card Details */
.venue-card-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: #3b2c1b;
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(140, 106, 43, 0.15);
  line-height: 1.35;
}

.venue-details-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 15px 0 35px;
  text-align: left;
}

.venue-detail-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.venue-detail-icon-wrap {
  color: #8c6a2b;
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
  margin-top: 2px;
}

.venue-detail-info {
  flex: 1;
}

.venue-detail-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #8c6a2b;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.venue-detail-text {
  font-size: 0.95rem;
  color: #3b2c1b;
  line-height: 1.5;
  font-family: var(--font-sans);
}

.venue-buttons-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: auto;
}

.venue-btn-copy {
  background: transparent;
  border: 1.5px solid #3b2c1b;
  color: #3b2c1b;
  padding: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 0;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-sans);
}

.venue-btn-copy:hover {
  background: rgba(59, 44, 27, 0.05);
}

.venue-btn-maps {
  background: #312315;
  color: #ffffff;
  border: none;
  padding: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 0;
  font-size: 0.82rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-family: var(--font-sans);
  cursor: pointer;
}

.venue-btn-maps:hover {
  background: #3b0f1d;
  box-shadow: 0 4px 12px rgba(74, 21, 37, 0.25);
}

._tabContent_trlh2_246 {
  flex: 1;
  display: flex;
  flex-direction: column;
}

._fadeIn_trlh2_253 {
  animation: venueFadeIn 0.4s ease forwards;
}

@keyframes venueFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

._cardTag_trlh2_262 {
  display: inline-block;
  align-self: flex-start;
  background: rgba(191, 163, 101, 0.1);
  color: #bfa365;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 20px;
}

._attractionIntro_trlh2_519 {
  font-size: 0.95rem;
  color: #706251;
  line-height: 1.55;
  margin-bottom: 22px;
}

._attractionList_trlh2_529 {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

._attractionItem_trlh2_536 {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

._attractionIcon_trlh2_552 {
  color: #bfa365;
  background: rgba(191, 163, 101, 0.08);
  padding: 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

._attractionInfo_trlh2_565 {
  flex: 1;
}

._attractionTitle_trlh2_571 {
  font-size: 0.98rem;
  color: #3b2c1b;
  margin-bottom: 4px;
  font-weight: 600;
}

._attractionDesc_trlh2_579 {
  font-size: 0.88rem;
  color: #706251;
  line-height: 1.45;
}

._toast_trlh2_587 {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #3b2c1b;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 0.85rem;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 100;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

._toast_trlh2_587.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}