/*
Theme Name: Kerala Wedding Invitation
Theme URI: https://example.com/kerala-wedding-invitation
Author: Vaishakh & Anagha
Author URI: https://example.com
Description: A luxury Kerala wedding invitation WordPress theme featuring 3D wax seal door opening animations, rose petals, audio player control, live countdown, and customizer options.
Version: 1.0.0
Text Domain: kerala-wedding
*/

/* ==========================================================================
   VAISHAKH & ANAGHA - KERALA WEDDING INVITATION STYLESHEET
   Design System: Royal Emerald, Metallic Gold & Heritage Kerala Mandalas
   ========================================================================== */

:root {
  --bg-emerald-dark: #161236;
  --bg-emerald-mid: rgb(53, 46, 114);
  --bg-emerald-light: #2A245C;
  --bg-cream-gold: #FDFBF5;
  --text-dark: #1C1748;
  --text-gold: #E5C158;
  --gold-primary: #D4AF37;
  --gold-light: #F7E7A9;
  --gold-dark: #9A7B1C;
  --gold-gradient: linear-gradient(135deg, #FFF0B3 0%, #D4AF37 50%, #9A7B1C 100%);
  --crimson-accent: #800020;

  --font-serif: 'Poppins', sans-serif;
  --font-script: 'Great Vibes', cursive;
  --font-sans: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-tangerine: 'Tangerine', cursive;

  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-emerald-dark);
  color: #E2E8F0;
  font-family: var(--font-sans);
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  background: radial-gradient(circle at 50% 20%, rgb(53, 46, 114) 0%, #161236 80%);
}

body.no-scroll {
  overflow: hidden !important;
  height: 100vh !important;
  touch-action: none;
}

/* ================= =========================================================
   FLOATING AUDIO CONTROL WIDGET
   ========================================================================== */
.audio-control-widget {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1005;
}

.audio-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(53, 46, 114, 0.85);
  border: 1.5px solid var(--gold-primary);
  color: var(--gold-light);
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 175, 55, 0.25);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, background 0.3s ease;
}

.audio-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6), 0 0 22px rgba(255, 230, 130, 0.7);
  background: rgba(53, 46, 114, 0.95);
}

.music-note-icon {
  width: 22px;
  height: 22px;
  display: block;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.7));
}

.audio-btn.playing .music-note-icon {
  animation: musicNotePulse 2s infinite ease-in-out;
}

@keyframes musicNotePulse {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.18) rotate(12deg);
  }
}

/* ================= =========================================================
   OPENING ENVELOPE / COVER SCREEN
   ========================================================================== */
.cover-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  cursor: pointer;
  touch-action: none;
  transition: opacity 1s ease, visibility 1s ease;
}

.cover-overlay.opened {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.door {
  position: absolute;
  top: 0;
  width: 50vw;
  height: 100vh;
  background: linear-gradient(rgba(22, 18, 54, 0.75), rgba(22, 18, 54, 0.75)), url('./assets/images/vaclear.png') center/cover no-repeat;
  z-index: 1;
  transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.door-left {
  left: 0;
  border-right: none;
  background-position: left center;
}

.door-right {
  right: 0;
  border-left: none;
  background-position: right center;
}

.mandala-bg {
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.cover-overlay.opening .door-left {
  transform: translateX(-100%);
}

.cover-overlay.opening .door-right {
  transform: translateX(100%);
}

#petalsCanvasCover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 2;
}

.cover-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--gold-light);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.cover-overlay.opening .cover-content {
  opacity: 0;
  transform: scale(0.9);
}

.cover-subtitle {
  font-family: var(--font-sans);
  letter-spacing: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #F5D061;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 15px rgba(0, 0, 0, 0.9);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.cover-title {
  font-family: var(--font-tangerine);
  font-size: clamp(4.2rem, 9.5vw, 6.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFEFA6 35%, #E5C158 70%, #C49A24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #FFEFA6;
  margin-bottom: 20px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.98);
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.98)) drop-shadow(0 0 25px rgba(0, 0, 0, 0.9));
  line-height: 1.1;
  padding: 0 10px;
}

.cover-divider {
  width: 90px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #D4AF37 50%, transparent 100%);
  opacity: 0.6;
  margin-bottom: 28px;
}

/* Royal 3D Wax Seal Button */
.wax-seal-btn {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: none;
  background: radial-gradient(circle at 32% 32%, #FFE285 0%, #D4AF37 45%, #7D5D0D 100%);
  cursor: pointer;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.75), 0 0 20px rgba(212, 175, 55, 0.4), inset 0 2px 6px rgba(255, 255, 255, 0.7), inset 0 -3px 6px rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.wax-seal-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 18px 45px rgba(212, 175, 55, 0.7), 0 0 30px rgba(255, 230, 130, 0.8), inset 0 2px 6px rgba(255, 255, 255, 0.9);
}

.wax-seal-inner {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 1.5px dashed rgba(80, 55, 5, 0.65);
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at 40% 40%, rgba(255, 240, 180, 0.25) 0%, transparent 80%);
}

.monogram {
  font-family: var(--font-tangerine);
  font-size: 2.6rem;
  font-weight: 700;
  color: #3A2603;
  letter-spacing: 1px;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.6);
  line-height: 1;
}

.seal-glow {
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 1.5px solid #F5D061;
  animation: royalHalo 2.5s infinite ease-in-out;
  pointer-events: none;
}

@keyframes royalHalo {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
  }
  50% {
    transform: scale(1.12);
    opacity: 0.25;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.7);
  }
}

/* Luxury Bouncing Gold Arrow Indicator */
.seal-arrow-indicator {
  margin: 6px 0 12px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: arrowUpBounce 1.6s infinite ease-in-out;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 12px rgba(245, 208, 97, 0.4));
}

@keyframes arrowUpBounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.85;
  }
  50% {
    transform: translateY(-8px);
    opacity: 1;
  }
}

.cover-instruction {
  position: relative;
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 3px;
  color: #FFF0B3;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(53, 46, 114, 0.45);
  border: 1px solid rgba(212, 175, 55, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), inset 0 0 12px rgba(212, 175, 55, 0.15);
}

.cover-instruction::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -70%;
  width: 50%;
  height: 200%;
  background: linear-gradient(60deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.1) 25%,
      rgba(255, 255, 255, 0.75) 50%,
      rgba(255, 255, 255, 0.1) 75%,
      rgba(255, 255, 255, 0) 100%);
  transform: rotate(25deg);
  animation: glassReflection 3.2s infinite ease-in-out;
  pointer-events: none;
}

@keyframes glassReflection {
  0% {
    left: -70%;
  }
  35%,
  100% {
    left: 150%;
  }
}

/* ================= =========================================================
   CANVAS PETALS
   ========================================================================== */
#petalsCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none !important;
  z-index: 1;
}

.footer-petals-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none !important;
  z-index: 1;
}

/* ================= =========================================================
   MAIN CONTENT & REUSABLE LAYOUTS
   ========================================================================== */
.main-content {
  position: relative;
  z-index: 20;
  opacity: 0;
  transition: opacity 1s ease 0.5s;
}

.main-content.visible {
  opacity: 1;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 90px 0;
}

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

.section-tag {
  font-family: var(--font-sans);
  font-size: clamp(0.72rem, 2vw, 0.82rem);
  letter-spacing: clamp(2px, 1vw, 4px);
  color: var(--gold-primary);
  font-weight: 600;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  color: var(--gold-light);
  margin-bottom: 16px;
  font-weight: 600;
  line-height: 1.25;
}

.section-lead {
  font-size: clamp(0.92rem, 2.5vw, 1.05rem);
  color: #CBD5E1;
  max-width: 650px;
  margin: 0 auto 35px auto;
  line-height: 1.6;
}

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

.uppercase {
  text-transform: uppercase;
}

/* Glassmorphism Cards */
.glass-card {
  background: rgba(53, 46, 114, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 15px 50px rgba(212, 175, 55, 0.15);
}

/* ================= =========================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 40px 24px 60px 24px;
  text-align: center;
  background: radial-gradient(circle at 50% 30%, rgb(53 46 114 / 0%) 0%, rgba(22, 18, 54, 0.95) 82%);
}

.hero-body {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.subtext-gold {
  color: var(--gold-primary);
  letter-spacing: 4px;
  font-size: 10px;
  font-weight: 600;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.twinkle-star {
  display: inline-block;
  font-size: 9px;
  color: var(--gold-primary);
  animation: starTwinkle 2.5s infinite ease-in-out;
}

.twinkle-star:last-child {
  animation-delay: 1.25s;
}

@keyframes starTwinkle {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
    color: #FFF0B3;
    text-shadow: 0 0 6px rgba(245, 208, 97, 0.8);
  }
}

.couple-names-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.groom-name,
.bride-name {
  font-family: var(--font-tangerine);
  font-size: clamp(4rem, 10vw, 6.8rem);
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-primary);
  line-height: 1.1;
  padding: 0 5px;
}

.ampersand-script {
  font-family: var(--font-tangerine);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.1;
}

.gold-line-divider {
  width: 120px;
  height: 2px;
  background: var(--gold-gradient);
  margin-bottom: 20px;
}

.event-date-location {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-sans);
  margin-bottom: 15px;
}

.date-text {
  font-size: 14px;
  letter-spacing: 5px;
  color: var(--gold-light);
  font-weight: 500;
}

.location-text {
  font-size: 12px;
  letter-spacing: 4px;
  color: #94A3B8;
  font-weight: 600;
}

.couple-photo-container {
  margin-bottom: 40px;
  width: 100%;
}

.photo-gold-border {
  padding: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
  max-width: 480px;
  margin: 0 auto;
}

.hero-couple-img {
  width: 100%;
  height: auto;
  border-radius: 20px 20px 0 0;
  display: block;
  box-shadow: none;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 0) 99%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 0) 99%);
}

.photo-bottom-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: -15px;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

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

.photo-bottom-divider .divider-icon {
  color: var(--gold-light);
  font-size: 10px;
  opacity: 0.85;
}

.scroll-indicator {
  color: var(--gold-primary);
  font-size: 0.8rem;
  letter-spacing: 3px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

/* ==========================================================================
   COUPLE SECTION (Ivory Light Luxury Theme)
   ========================================================================== */
.couple-section {
  position: relative;
  background-color: #FAF7F2;
  color: #1E293B;
  overflow: hidden;
}

.couple-section .container {
  position: relative;
  z-index: 2;
}

.floral-corner {
  position: absolute;
  width: clamp(120px, 22vw, 220px);
  height: auto;
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
}

.floral-corner.top-left {
  top: 0;
  left: 0;
  transform: rotate(90deg);
}

.floral-corner.bottom-right {
  bottom: 0;
  right: 0;
  transform: rotate(270deg);
}

.couple-section .section-tag {
  color: #C5A059;
}

.couple-section .section-title {
  color: rgb(53, 46, 114);
}

.couple-section .section-lead {
  color: #475569;
}

.couple-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

@media (max-width: 850px) {
  .couple-grid {
    flex-direction: column;
  }
}

.couple-card {
  flex: 1;
  padding: 40px 30px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  background-color: rgba(255, 255, 255, 0.86);
  background-image: linear-gradient(rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.86)), url('./assets/images/texture.jpg');
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 28px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
}

.avatar-frame {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 24px;
  padding: 4px;
  background: var(--gold-gradient);
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.mandala-ring {
  position: absolute;
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  border: 1px dashed rgba(212, 175, 55, 0.5);
  border-radius: 50%;
  animation: rotateMandala 40s linear infinite;
  pointer-events: none;
}

@keyframes rotateMandala {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.card-role {
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: #C5A059;
  font-weight: 600;
  margin-bottom: 8px;
}

.person-name {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: rgb(53, 46, 114);
  margin-bottom: 6px;
}

.parents-info {
  font-size: 0.9rem;
  color: #475569;
  font-weight: 400;
  margin-bottom: 8px;
  line-height: 1.5;
}

.parents-info strong {
  color: rgb(53, 46, 114);
  font-weight: 600;
}

.grandparents-info {
  font-size: 0.8rem;
  color: #64748B;
  font-weight: 400;
  line-height: 1.55;
  margin-top: 4px;
}

.grandparents-info em {
  font-style: normal;
  color: #334155;
  font-weight: 500;
}

.ampersand-divider {
  font-family: var(--font-script);
  font-size: 3.5rem;
  color: #C5A059;
  padding: 0 10px;
}

/* ================= =========================================================
   COUNTDOWN TIMER
   ========================================================================== */
.timer-box {
  max-width: 750px;
  margin: 0 auto;
  padding: 35px 24px;
}

.timer-units {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  width: 100%;
}

.time-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 0;
  padding: 12px 6px;
  background: rgba(53, 46, 114, 0.45);
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.time-val {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 5.5vw, 3.8rem);
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
}

.time-unit {
  font-size: clamp(0.6rem, 2vw, 0.75rem);
  letter-spacing: 1.5px;
  color: var(--gold-primary);
  margin-top: 6px;
  font-weight: 600;
  white-space: nowrap;
}

.timer-colon {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3.5vw, 2.4rem);
  color: var(--gold-primary);
  align-self: center;
  margin: 0 -2px;
  opacity: 0.75;
}

.countdown-target {
  font-size: 0.9rem;
  color: #94A3B8;
  letter-spacing: 1px;
}

/* ================= =========================================================
   CELEBRATION / SAVE THE DATE & ITINERARY
   ========================================================================== */
.celebration-card {
  max-width: 580px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--gold-primary);
  background: var(--bg-emerald-light);
}

.events-section {
  padding-bottom: 35px;
}

.venue-section {
  padding-top: 35px;
}

.card-header-dark {
  background: var(--bg-emerald-dark);
  padding: 35px 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.sub-header-gold {
  color: var(--gold-primary);
  letter-spacing: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.big-date-number {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold-light);
}

.month-year-str {
  font-size: 1.1rem;
  letter-spacing: 4px;
  color: var(--gold-primary);
  margin-top: 6px;
  font-weight: 600;
}

.card-details-body {
  padding: 35px 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.detail-row {
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
}

.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.detail-label {
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--gold-primary);
  font-weight: 600;
  display: block;
  margin-bottom: 3px;
}

.detail-val {
  font-size: 1.05rem;
  color: #F1F5F9;
  font-weight: 500;
}

.btn-gold-pill {
  width: 100%;
  margin-top: 10px;
}

/* Venue Section */
.venue-card {
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
}

.venue-details {
  padding: 35px 30px;
}

.venue-name {
  font-size: 2rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.venue-address {
  font-size: 1rem;
  color: #94A3B8;
  margin-bottom: 25px;
}

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

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 40px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--text-dark);
  border: none;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.15);
  transform: translateY(-2px);
}

/* Map inline container */
.map-inline-container {
  margin-top: 0;
  width: 100%;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

/* Official Invitation Section */
.invitation-card-section {
  position: relative;
  background-color: #FAF7F2;
  color: #1E293B;
  overflow: hidden;
}

.invitation-card-section .container {
  position: relative;
  z-index: 2;
}

.invitation-card-section .section-title {
  color: rgb(53, 46, 114);
}

.invitation-lead-serif {
  font-size: clamp(1.2rem, 3.5vw, 1.8rem);
  color: rgb(53, 46, 114);
  font-weight: 500;
  margin-bottom: 6px;
}

.invitation-sub-lead {
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  color: rgb(53, 46, 114);
  font-weight: 400;
  max-width: 650px;
  margin: 0 auto 35px auto;
  line-height: 1.5;
}

.invitation-card-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
}

.invitation-card-frame {
  max-width: 480px;
  width: 100%;
  border-radius: 20px;
  padding: 8px;
  background: #FFFFFF;
  border: 1.5px solid #C5A059;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12), 0 2px 10px rgba(197, 160, 89, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.invitation-card-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18), 0 4px 15px rgba(197, 160, 89, 0.3);
}

.invitation-card-img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
}

.invitation-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 8px;
  background-color: transparent;
  color: rgb(53, 46, 114);
  border: 1.5px solid #C5A059;
  font-family: var(--font-sans);
  font-size: clamp(0.78rem, 2.2vw, 0.85rem);
  letter-spacing: 1px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.invitation-download-btn:hover {
  background-color: rgba(197, 160, 89, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.25);
}

/* RSVP Section */
.rsvp-section {
  position: relative;
  background-color: #FAF7F2;
  color: #1E293B;
  overflow: hidden;
}

.rsvp-section .container {
  position: relative;
  z-index: 2;
}

.rsvp-card-box {
  max-width: 520px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rsvp-title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  color: rgb(53, 46, 114);
  margin-bottom: 16px;
  letter-spacing: 1px;
  font-weight: 600;
}

.rsvp-lead-1 {
  font-size: clamp(1rem, 3vw, 1.15rem);
  color: #475569;
  font-family: var(--font-sans);
  margin-bottom: 6px;
  font-weight: 400;
}

.rsvp-lead-2 {
  font-size: clamp(0.95rem, 2.8vw, 1.05rem);
  color: #475569;
  font-family: var(--font-sans);
  margin-bottom: 35px;
  font-weight: 400;
}

.rsvp-btn-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 380px;
  align-items: center;
}

.rsvp-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px 20px;
  border-radius: 10px;
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 2px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.rsvp-action-btn.phone-btn {
  background-color: rgb(53, 46, 114);
  color: #FFFFFF;
  border: 1px solid rgb(53, 46, 114);
  box-shadow: 0 8px 20px rgba(53, 46, 114, 0.25);
}

.rsvp-action-btn.phone-btn:hover {
  background-color: #2A245C;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(53, 46, 114, 0.35);
}

.rsvp-action-btn.whatsapp-btn {
  background-color: rgb(53, 46, 114);
  color: #FFFFFF;
  border: 1px solid rgb(53, 46, 114);
  box-shadow: 0 8px 20px rgba(53, 46, 114, 0.25);
}

.rsvp-action-btn.whatsapp-btn:hover {
  background-color: #2A245C;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(53, 46, 114, 0.35);
}

.rsvp-action-btn.calendar-btn {
  background-color: transparent;
  color: rgb(53, 46, 114);
  border: 1.5px solid #C5A059;
  cursor: pointer;
}

.rsvp-action-btn.calendar-btn:hover {
  background-color: rgba(197, 160, 89, 0.1);
  transform: translateY(-2px);
}

/* Footer */
.footer-section {
  position: relative;
  background: var(--bg-emerald-dark);
  padding: 80px 20px 45px 20px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  overflow: hidden;
}

.footer-section .container {
  position: relative;
  z-index: 5;
  padding-top: 40px;
}

.footer-bg-mandala {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(600px, 100vw);
  height: min(600px, 100vw);
  background-image: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.blessings-title {
  font-family: var(--font-sans);
  font-size: clamp(1.6rem, 4.5vw, 2.5rem);
  color: var(--gold-light);
  margin-top: 8px;
  margin-bottom: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.blessings-text {
  font-size: clamp(0.88rem, 2.4vw, 1.05rem);
  color: #CBD5E1;
  max-width: 520px;
  margin: 0 auto 35px auto;
  line-height: 1.65;
}

.footer-couple-sig {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 40px;
}

.sig-names {
  font-family: var(--font-tangerine);
  font-size: clamp(3rem, 8vw, 4.5rem);
  color: var(--gold-primary);
  font-weight: 700;
  line-height: 1.1;
}

.sig-date {
  font-size: clamp(0.72rem, 2.2vw, 0.85rem);
  letter-spacing: 3px;
  color: #94A3B8;
  font-weight: 500;
}

.footer-bottom {
  font-size: clamp(0.68rem, 2vw, 0.75rem);
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding-top: 25px;
}

/* Modal & Toast */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 650px;
  padding: 30px;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--gold-light);
  cursor: pointer;
}

.modal-title {
  font-size: 1.8rem;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.modal-sub {
  font-size: 0.9rem;
  color: #94A3B8;
  margin-bottom: 20px;
}

.toast-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--bg-emerald-light);
  border: 1px solid var(--gold-primary);
  padding: 16px 24px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.9rem;
}

.toast-body strong {
  color: var(--gold-light);
}

.toast-body span {
  color: #CBD5E1;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }
  .section-padding {
    padding: 60px 0;
  }
  .section-title {
    font-size: clamp(1.8rem, 6vw, 2.6rem);
  }
  .section-lead {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 30px 12px 45px 12px;
  }
  .date-text {
    letter-spacing: 3px;
    font-size: 13px;
  }
  .location-text {
    letter-spacing: 2px;
    font-size: 11px;
  }
  .subtext-gold {
    letter-spacing: 2px;
    font-size: 9px;
  }
  .groom-name,
  .bride-name {
    font-size: clamp(2.8rem, 11vw, 4.5rem);
  }
  .ampersand-script {
    font-size: clamp(2rem, 7vw, 3.2rem);
  }
  .couple-names-header {
    gap: 6px;
  }
  .photo-gold-border {
    padding: 0;
    border-radius: 0;
  }
  .hero-couple-img {
    border-radius: 16px 16px 0 0;
  }
  .timer-box {
    padding: 22px 10px;
    border-radius: 18px;
  }
  .timer-units {
    gap: 3px;
  }
  .time-card {
    padding: 8px 2px;
    border-radius: 10px;
  }
  .time-val {
    font-size: clamp(1.4rem, 6vw, 2.2rem);
  }
  .time-unit {
    font-size: 0.58rem;
    letter-spacing: 0.5px;
    margin-top: 4px;
  }
  .timer-colon {
    font-size: 1.2rem;
    margin: 0 -2px;
  }
  .countdown-target {
    font-size: 0.78rem;
    letter-spacing: 0.5px;
  }
  .celebration-card {
    border-radius: 20px;
  }
  .card-header-dark {
    padding: 24px 14px;
  }
  .big-date-number {
    font-size: 3.6rem;
  }
  .card-details-body {
    padding: 24px 14px;
    gap: 18px;
  }
  .detail-row {
    gap: 12px;
  }
  .icon-circle {
    width: 38px;
    height: 38px;
  }
  .detail-val {
    font-size: 0.9rem;
  }
  .venue-details {
    padding: 24px 16px;
  }
  .venue-name {
    font-size: 1.6rem;
  }
  .venue-address {
    font-size: 0.9rem;
  }
  .venue-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .venue-buttons .btn-primary {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.8rem;
  }
  .rsvp-card-box {
    padding: 24px 12px;
  }
  .rsvp-btn-stack {
    max-width: 100%;
  }
  .rsvp-action-btn {
    padding: 14px 14px;
    font-size: 0.88rem;
    letter-spacing: 1px;
  }
  .cover-content {
    padding: 24px 14px;
    width: 95vw;
  }
  .cover-title {
    font-size: clamp(3.2rem, 12vw, 5rem);
  }
  .wax-seal-btn {
    width: 84px;
    height: 84px;
  }
  .wax-seal-inner {
    width: 70px;
    height: 70px;
  }
  .monogram {
    font-size: 2.3rem;
  }
}

@media (max-width: 350px) {
  .timer-units {
    gap: 2px;
  }
  .time-card {
    padding: 6px 1px;
  }
  .time-val {
    font-size: 1.25rem;
  }
  .time-unit {
    font-size: 0.52rem;
  }
  .timer-colon {
    display: none;
  }
}
