/* ============================================
   PANCHAMI & SARATH - ENGAGEMENT WEBSITE
   Traditional South Indian Hindu + Modern Design
   ============================================ */

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

/* === CSS Custom Properties (Design Tokens) === */
:root {
  /* Primary Colors - Traditional South Indian */
  --maroon: #6B1D2A;
  --maroon-deep: #4A0E1A;
  --maroon-light: #8B2D3E;
  --gold: #D4A843;
  --gold-bright: #F0C75E;
  --gold-dark: #B8912E;
  --turmeric: #E8A917;
  --vermillion: #E23D28;
  
  /* Accent Colors */
  --temple-green: #1B5E20;
  --temple-green-light: #2E7D32;
  --jasmine-white: #FFF8E7;
  --silk-purple: #4A154B;
  --lotus-pink: #C2185B;
  
  /* Neutrals */
  --cream: #FDF6E3;
  --warm-white: #FFFCF5;
  --dark-bg: #1A0A0F;
  --dark-surface: #2A1218;
  --text-dark: #2C1810;
  --text-light: #FFF8E7;
  --text-muted: rgba(255, 248, 231, 0.7);
  
  /* Typography */
  --font-display: 'Cormorant Garamond', 'Noto Serif Devanagari', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --font-script: 'Noto Serif Devanagari', serif;
  
  /* Spacing */
  --section-padding: clamp(4rem, 8vw, 8rem);
  --container-max: 1200px;
  
  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--dark-bg);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* === Utility Classes === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

.section-divider {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  height: auto;
  opacity: 0.8;
}

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

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

/* === Loading Screen === */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.8s var(--ease-out-expo), visibility 0.8s;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-mandala {
  width: 120px;
  height: 120px;
  border: 3px solid transparent;
  border-top-color: var(--gold);
  border-right-color: var(--gold-bright);
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
  position: relative;
}

.loading-mandala::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 2px solid transparent;
  border-bottom-color: var(--lotus-pink);
  border-left-color: var(--vermillion);
  border-radius: 50%;
  animation: spin 0.8s linear infinite reverse;
}

.loading-mandala::after {
  content: '🪔';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  animation: pulse-glow 1.5s ease-in-out infinite;
}

.loading-text {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  animation: fade-pulse 2s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(0.9); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

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

/* === Floating Decorative Elements === */
.floating-petals {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}

.petal {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0;
  animation: petal-fall linear infinite;
}

@keyframes petal-fall {
  0% {
    opacity: 0;
    transform: translateY(-20px) rotate(0deg) translateX(0);
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: translateY(100vh) rotate(720deg) translateX(100px);
  }
}

/* === Navigation === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.5s var(--ease-out-expo);
}

.nav.scrolled {
  background: rgba(26, 10, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 168, 67, 0.15);
  padding: 0.6rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s, transform 0.3s;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out-expo), left 0.4s var(--ease-out-expo);
}

.nav-link:hover {
  color: var(--gold);
  transform: translateY(-1px);
}

.nav-link:hover::after {
  width: 100%;
  left: 0;
}

.nav-divider {
  color: var(--gold);
  opacity: 0.3;
  font-size: 0.6rem;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gold);
  position: absolute;
  left: 0;
  transition: all 0.3s;
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 22px; }

/* === HERO SECTION === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark-bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background: url('assets/images/hero-background.png') center center / cover no-repeat;
  opacity: 0.25;
  filter: blur(2px);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 50% 30%, rgba(107, 29, 42, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(74, 21, 75, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(27, 94, 32, 0.2) 0%, transparent 50%),
    linear-gradient(180deg, rgba(26, 10, 15, 0.3) 0%, rgba(26, 10, 15, 0.8) 100%);
}

.hero-mandala-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(90vw, 800px);
  height: min(90vw, 800px);
  opacity: 0.06;
  animation: slow-rotate 120s linear infinite;
  z-index: 1;
}

.hero-mandala-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes slow-rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Decorative corner paisleys */
.hero-corner {
  position: absolute;
  width: clamp(80px, 15vw, 200px);
  height: auto;
  opacity: 0.4;
  z-index: 2;
}

.hero-corner--tl {
  top: 2rem;
  left: 2rem;
  transform: rotate(-45deg);
}

.hero-corner--tr {
  top: 2rem;
  right: 2rem;
  transform: rotate(45deg) scaleX(-1);
}

.hero-corner--bl {
  bottom: 2rem;
  left: 2rem;
  transform: rotate(-135deg) scaleX(-1);
}

.hero-corner--br {
  bottom: 2rem;
  right: 2rem;
  transform: rotate(135deg);
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
}

.hero-om {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--gold);
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fade-in-up 1s var(--ease-out-expo) 0.5s forwards;
  text-shadow: 0 0 30px rgba(212, 168, 67, 0.5);
}

.hero-blessing {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  color: var(--gold);
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fade-in-up 1s var(--ease-out-expo) 0.8s forwards;
  font-style: italic;
}

.hero-names {
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fade-in-up 1s var(--ease-out-expo) 1.1s forwards;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--jasmine-white);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-ampersand {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 3rem);
  color: var(--gold);
  display: block;
  margin: 0.3rem 0;
  font-style: italic;
  font-weight: 300;
}

.hero-event-type {
  font-family: var(--font-body);
  font-size: clamp(0.7rem, 1.5vw, 0.9rem);
  font-weight: 500;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fade-in-up 1s var(--ease-out-expo) 1.4s forwards;
  position: relative;
  display: inline-block;
}

.hero-event-type::before,
.hero-event-type::after {
  content: '✦';
  margin: 0 1rem;
  font-size: 0.6em;
  vertical-align: middle;
}

.hero-date-preview {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: var(--text-muted);
  opacity: 0;
  animation: fade-in-up 1s var(--ease-out-expo) 1.7s forwards;
  letter-spacing: 0.1em;
}

/* Animated scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fade-in-up 1s var(--ease-out-expo) 2.5s forwards;
}

.scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: scaleY(0.5); opacity: 0.3; }
  50% { transform: scaleY(1); opacity: 1; }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === COUNTDOWN SECTION === */
.countdown-section {
  position: relative;
  padding: 4rem 0;
  background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-surface) 50%, var(--dark-bg) 100%);
  overflow: hidden;
}

.countdown-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--gold));
}

.countdown-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--gold);
  margin-bottom: 2.5rem;
  letter-spacing: 0.15em;
  font-weight: 400;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  flex-wrap: wrap;
}

.countdown-item {
  text-align: center;
  min-width: 80px;
}

.countdown-value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  color: var(--jasmine-white);
  line-height: 1;
  position: relative;
  display: inline-block;
}

.countdown-value::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.countdown-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  margin-top: 1.2rem;
}

.countdown-separator {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  opacity: 0.4;
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* === COUPLE SECTION === */
.couple-section {
  position: relative;
  padding: var(--section-padding) 0;
  background: var(--dark-bg);
  overflow: hidden;
}

.couple-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(107, 29, 42, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(27, 94, 32, 0.1) 0%, transparent 50%);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--jasmine-white);
  line-height: 1.2;
}

.section-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.section-ornament .line {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}

.section-ornament .line:last-child {
  background: linear-gradient(to left, transparent, var(--gold));
}

.section-ornament .dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

/* Couple Cards */
.couple-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.couple-card {
  text-align: center;
  padding: 2rem;
}

.couple-photo-wrapper {
  position: relative;
  width: clamp(200px, 25vw, 300px);
  height: clamp(200px, 25vw, 300px);
  margin: 0 auto 2rem;
}

.couple-photo-frame {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark), var(--gold-bright), var(--gold));
  background-size: 300% 300%;
  animation: gradient-border 6s ease infinite;
  position: relative;
}

@keyframes gradient-border {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.couple-photo-frame img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 4px solid var(--dark-bg);
}

.couple-photo-ornament {
  position: absolute;
  width: 110%;
  height: 110%;
  top: -5%;
  left: -5%;
  border: 1px solid rgba(212, 168, 67, 0.2);
  border-radius: 50%;
  animation: slow-rotate 30s linear infinite;
}

.couple-photo-ornament::before,
.couple-photo-ornament::after {
  content: '✦';
  position: absolute;
  color: var(--gold);
  font-size: 0.8rem;
}

.couple-photo-ornament::before {
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
}

.couple-photo-ornament::after {
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
}

.couple-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 400;
  color: var(--jasmine-white);
  margin-bottom: 0.5rem;
}

.couple-origin {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.couple-origin .flag {
  font-size: 1rem;
}

.couple-description {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 320px;
  margin: 0 auto;
}

.couple-work {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(212, 168, 67, 0.2);
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  background: rgba(212, 168, 67, 0.05);
}

/* Heart connector between couple cards */
.couple-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.couple-connector .line-v {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}

.couple-connector .heart {
  font-size: 2rem;
  color: var(--vermillion);
  animation: heartbeat 2s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(226, 61, 40, 0.3));
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.15); }
  30% { transform: scale(1); }
  45% { transform: scale(1.1); }
}

/* === MAIN PHOTO SECTION === */
.photo-showcase {
  position: relative;
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, var(--dark-bg), var(--maroon-deep), var(--dark-bg));
  overflow: hidden;
}

.photo-showcase-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.showcase-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(212, 168, 67, 0.15),
    inset 0 0 80px rgba(107, 29, 42, 0.2);
}

.showcase-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, var(--gold), transparent 40%, transparent 60%, var(--gold));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 1;
  pointer-events: none;
}

.showcase-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.showcase-caption {
  text-align: center;
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-muted);
  font-style: italic;
}

/* Floating mandala for photo section */
.photo-showcase .mandala-float {
  position: absolute;
  width: 300px;
  height: 300px;
  opacity: 0.05;
  animation: slow-rotate 80s linear infinite;
}

.photo-showcase .mandala-float--left {
  top: 10%;
  left: -100px;
}

.photo-showcase .mandala-float--right {
  bottom: 10%;
  right: -100px;
  animation-direction: reverse;
}

/* === EVENT DETAILS SECTION === */
.event-section {
  position: relative;
  padding: var(--section-padding) 0;
  background: var(--dark-bg);
  overflow: hidden;
}

.event-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 50% 50%, rgba(107, 29, 42, 0.1) 0%, transparent 70%);
}

.event-card {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem);
  background: linear-gradient(135deg, 
    rgba(42, 18, 24, 0.8), 
    rgba(74, 14, 26, 0.4));
  border: 1px solid rgba(212, 168, 67, 0.15);
  border-radius: 24px;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(212, 168, 67, 0.1);
}

.event-card-corners {
  position: absolute;
  inset: 12px;
  pointer-events: none;
}

.event-card-corners::before,
.event-card-corners::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.4;
}

.event-card-corners::before {
  top: 0;
  left: 0;
  border-width: 1px 0 0 1px;
}

.event-card-corners::after {
  bottom: 0;
  right: 0;
  border-width: 0 1px 1px 0;
}

.event-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  animation: float 4s ease-in-out infinite;
}

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

.event-date-large {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300;
  color: var(--jasmine-white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.event-month-year {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 0.3rem;
  font-weight: 400;
}

.event-day-name {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.event-detail-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.event-detail-item {
  text-align: center;
}

.event-detail-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.event-detail-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.event-detail-value {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--jasmine-white);
}

.event-muhurtham {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.15), rgba(212, 168, 67, 0.05));
  border: 1px solid rgba(212, 168, 67, 0.25);
  border-radius: 30px;
  margin-top: 1rem;
}

.event-muhurtham .label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.event-muhurtham .time {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--jasmine-white);
}

/* === VENUE SECTION === */
.venue-section {
  position: relative;
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, var(--dark-bg), var(--dark-surface), var(--dark-bg));
  overflow: hidden;
}

.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.venue-illustration-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.venue-illustration-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, var(--gold), transparent 50%, var(--gold));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 1;
  pointer-events: none;
}

.venue-illustration-wrapper img {
  width: 100%;
  border-radius: 20px;
}

.venue-info {
  padding: 2rem;
}

.venue-name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--jasmine-white);
  margin-bottom: 0.5rem;
}

.venue-location {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.venue-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.venue-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--dark-bg);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 30px;
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: 0 4px 20px rgba(212, 168, 67, 0.3);
  cursor: pointer;
  border: none;
}

.venue-map-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 168, 67, 0.4);
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
}

/* === GALLERY SECTION === */
.gallery-section {
  position: relative;
  padding: var(--section-padding) 0;
  background: var(--dark-bg);
  overflow: hidden;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s;
  cursor: pointer;
  aspect-ratio: 4/5;
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26, 10, 15, 0.8) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s;
}

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

.gallery-item-caption {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--jasmine-white);
}

/* === BLESSINGS / WISHES SECTION === */
.blessings-section {
  position: relative;
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, var(--dark-bg), var(--maroon-deep), var(--dark-bg));
  overflow: hidden;
}

.blessings-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.blessings-quote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 300;
  color: var(--jasmine-white);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-style: italic;
}

.blessings-quote-source {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.2em;
}

.blessings-form {
  margin-top: 3rem;
  text-align: left;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.8rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 168, 67, 0.2);
  border-radius: 12px;
  color: var(--jasmine-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s;
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--gold);
  background: rgba(212, 168, 67, 0.05);
  box-shadow: 0 0 20px rgba(212, 168, 67, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 248, 231, 0.3);
}

.submit-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--dark-bg);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: 0 4px 20px rgba(212, 168, 67, 0.3);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 168, 67, 0.5);
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
}

/* === FOOTER === */
.footer {
  position: relative;
  padding: 4rem 0 2rem;
  background: var(--dark-bg);
  border-top: 1px solid rgba(212, 168, 67, 0.1);
  text-align: center;
}

.footer-names {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--jasmine-white);
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold);
  font-style: italic;
  margin-bottom: 2rem;
}

.footer-ornament {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.footer-ornament span {
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.5;
}

.footer-ornament span:nth-child(2) {
  width: 6px;
  height: 6px;
  opacity: 0.8;
}

.footer-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.5;
}

/* === SCROLL ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

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

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

/* === SPARKLE CURSOR TRAIL === */
.sparkle {
  position: fixed;
  pointer-events: none;
  font-size: 12px;
  z-index: 9999;
  animation: sparkle-fade 1s ease-out forwards;
}

@keyframes sparkle-fade {
  0% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  100% {
    opacity: 0;
    transform: scale(0) translateY(-30px);
  }
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 968px) {
  .couple-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .couple-connector {
    flex-direction: row;
  }
  
  .couple-connector .line-v {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
  }
  
  .venue-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .event-detail-row {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .nav-inner {
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(26, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.5s var(--ease-out-expo);
    border-left: 1px solid rgba(212, 168, 67, 0.1);
  }
  
  .nav-inner.open {
    right: 0;
  }
  
  .nav-toggle {
    display: block;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1002;
  }
  
  .nav-divider {
    display: none;
  }
  
  .hero-corner {
    display: none;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  
  .event-detail-row {
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .countdown-grid {
    gap: 1rem;
  }
  
  .countdown-separator {
    display: none;
  }
  
  .countdown-item {
    min-width: 60px;
  }
  
  .couple-photo-wrapper {
    width: 180px;
    height: 180px;
  }
}

/* === LIGHTBOX === */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2rem;
  color: var(--jasmine-white);
  cursor: pointer;
  transition: color 0.3s;
  background: none;
  border: none;
}

.lightbox-close:hover {
  color: var(--gold);
}

/* Tamil & Malayalam script styling */
.script-text {
  font-family: var(--font-script);
}

/* === Diya (lamp) animation === */
.diya-container {
  position: relative;
  display: inline-block;
}

.diya-glow {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, rgba(255, 200, 50, 0.6), transparent);
  border-radius: 50%;
  animation: diya-flicker 2s ease-in-out infinite alternate;
}

@keyframes diya-flicker {
  0% { opacity: 0.6; transform: translateX(-50%) scale(0.9); }
  25% { opacity: 1; transform: translateX(-50%) scale(1.1); }
  50% { opacity: 0.8; transform: translateX(-50%) scale(1); }
  75% { opacity: 1; transform: translateX(-50%) scale(1.05); }
  100% { opacity: 0.7; transform: translateX(-50%) scale(0.95); }
}

/* Gold shimmer text effect */
.shimmer-text {
  background: linear-gradient(
    120deg,
    var(--gold-dark) 0%,
    var(--gold-bright) 25%,
    var(--gold) 50%,
    var(--gold-bright) 75%,
    var(--gold-dark) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
  to { background-position: 200% center; }
}

/* === FLOATING MUSIC PLAYER === */
.music-player {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9990;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-direction: row-reverse;
}

.music-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(212, 168, 67, 0.4);
  background: linear-gradient(135deg, rgba(42, 18, 24, 0.9), rgba(74, 14, 26, 0.85));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.4),
    0 0 0 0 rgba(212, 168, 67, 0);
  position: relative;
  overflow: hidden;
}

.music-btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark), var(--gold-bright));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.music-btn:hover {
  transform: scale(1.1);
  border-color: var(--gold);
  box-shadow: 
    0 6px 30px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(212, 168, 67, 0.2);
}

.music-btn:hover::before {
  opacity: 1;
}

.music-player.playing .music-btn {
  border-color: var(--gold);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.4),
    0 0 15px rgba(212, 168, 67, 0.15);
}

/* Music note icon (shown when paused) */
.music-icon {
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: music-bounce 2s ease-in-out infinite;
}

@keyframes music-bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* Equalizer bars (shown when playing) */
.music-equalizer {
  display: none;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  height: 24px;
  padding: 0 4px;
}

.music-equalizer.active {
  display: flex;
}

.eq-bar {
  width: 3px;
  background: linear-gradient(to top, var(--gold-dark), var(--gold-bright));
  border-radius: 2px;
  animation: eq-idle 0.4s ease-in-out infinite alternate;
}

.music-equalizer.active .eq-bar {
  animation: eq-bounce ease-in-out infinite alternate;
}

.eq-bar:nth-child(1) { height: 8px; animation-duration: 0.45s; animation-delay: 0s; }
.eq-bar:nth-child(2) { height: 16px; animation-duration: 0.55s; animation-delay: 0.1s; }
.eq-bar:nth-child(3) { height: 12px; animation-duration: 0.4s; animation-delay: 0.15s; }
.eq-bar:nth-child(4) { height: 20px; animation-duration: 0.5s; animation-delay: 0.05s; }
.eq-bar:nth-child(5) { height: 10px; animation-duration: 0.35s; animation-delay: 0.2s; }

@keyframes eq-bounce {
  0% { height: 4px; }
  100% { height: 22px; }
}

@keyframes eq-idle {
  0% { height: 4px; }
  100% { height: 6px; }
}

/* Label */
.music-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold);
  background: rgba(42, 18, 24, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  border: 1px solid rgba(212, 168, 67, 0.2);
  white-space: nowrap;
  opacity: 1;
  transition: opacity 0.4s;
  pointer-events: none;
}

.music-label:empty {
  display: none;
}

/* Attention-seeking pulse */
.music-player.attention .music-btn {
  animation: attention-pulse 0.8s ease-in-out 3;
}

@keyframes attention-pulse {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(212, 168, 67, 0.4);
  }
  50% { 
    transform: scale(1.12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 0 12px rgba(212, 168, 67, 0);
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .music-player {
    bottom: 1.2rem;
    right: 1.2rem;
  }
  
  .music-btn {
    width: 48px;
    height: 48px;
  }
  
  .music-icon {
    font-size: 1.2rem;
  }
  
  .eq-bar:nth-child(1) { height: 6px; }
  .eq-bar:nth-child(2) { height: 12px; }
  .eq-bar:nth-child(3) { height: 9px; }
  .eq-bar:nth-child(4) { height: 16px; }
  .eq-bar:nth-child(5) { height: 8px; }
}
