/* ============================================
   Madhu Nikhil — Baby Cradle Ceremony
   Premium Soft Pink Theme
   ============================================ */

:root {
  --pink-50: #fdf2f8;
  --pink-100: #fce7f3;
  --pink-200: #f9c7d9;
  --pink-300: #f4a7c3;
  --pink-400: #e87a9e;
  --pink-500: #d44a7a;
  --pink-600: #b8325e;
  --gold: #d4a853;
  --gold-light: #f0d89a;
  --gold-pale: #faf3e4;
  --white: #ffffff;
  --cream: #fff9f5;
  --blush: #fff0ee;
  --charcoal: #2d2a2a;
  --text: #4a4040;
  --text-light: #8a7a7a;
  --shadow: rgba(212, 74, 122, 0.12);
  --shadow-dark: rgba(0, 0, 0, 0.08);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 32px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --glass-bg: rgba(255, 255, 255, 0.2);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

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

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

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--charcoal);
}

.script {
  font-family: 'Great Vibes', cursive;
  font-weight: 400;
}

/* ===== GLASSMORPHISM ===== */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.glass-card {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(212, 74, 122, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(212, 74, 122, 0.12);
}

/* ===== BOOTSTRAP REPLACEMENT UTILITIES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;
}

.col {
  flex: 1;
  padding: 0 12px;
}

.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-pink { color: var(--pink-500); }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.px-2 { padding-left: 16px; padding-right: 16px; }
.py-3 { padding-top: 24px; padding-bottom: 24px; }
.py-5 { padding-top: 48px; padding-bottom: 48px; }

/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-icon {
  width: 60px;
  height: 60px;
  border: 3px solid var(--pink-200);
  border-top-color: var(--pink-500);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.preloader-text {
  font-family: 'Great Vibes', cursive;
  font-size: 1.5rem;
  color: var(--pink-500);
  margin-top: 20px;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 16px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 249, 245, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.06);
}

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

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-brand .brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--pink-300), var(--pink-500));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.navbar-brand span {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--charcoal);
}

.navbar-brand span small {
  font-family: 'Great Vibes', cursive;
  font-size: 0.9rem;
  color: var(--pink-500);
  display: block;
  font-weight: 400;
  margin-top: -4px;
}

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

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color var(--transition);
  position: relative;
}

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

.nav-links a:hover { color: var(--pink-500); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.nav-toggle span {
  width: 28px;
  height: 2.5px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--pink-50) 0%, var(--blush) 50%, var(--cream) 100%);
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 242, 240, 0.6) 0%,
    rgba(255, 249, 245, 0.4) 50%,
    rgba(255, 242, 240, 0.7) 100%
  );
  z-index: 1;
}

/* Bokeh Particles */
.bokeh-container {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.bokeh {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.35;
}

.bokeh-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--pink-200) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: floatBokeh 8s ease-in-out infinite;
}

.bokeh-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--gold-light) 0%, transparent 70%);
  bottom: 10%; left: -80px;
  animation: floatBokeh 10s ease-in-out infinite 2s;
}

.bokeh-3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--pink-300) 0%, transparent 70%);
  top: 40%; left: 60%;
  animation: floatBokeh 6s ease-in-out infinite 1s;
}

.bokeh-4 {
  width: 150px; height: 150px;
  background: radial-gradient(circle, var(--gold-pale) 0%, transparent 70%);
  bottom: 20%; right: 20%;
  animation: floatBokeh 12s ease-in-out infinite 3s;
}

.bokeh-5 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, var(--pink-100) 0%, transparent 70%);
  top: 10%; left: 30%;
  animation: floatBokeh 9s ease-in-out infinite 0.5s;
}

@keyframes floatBokeh {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -20px) scale(1.05); }
  50% { transform: translate(-20px, 30px) scale(0.95); }
  75% { transform: translate(20px, 10px) scale(1.02); }
}

/* Floating floral decorative elements */
.floral-decor {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  opacity: 0.15;
  font-size: 4rem;
}

.floral-1 { top: 8%; left: 5%; animation: floatFlower 7s ease-in-out infinite; }
.floral-2 { top: 15%; right: 8%; animation: floatFlower 9s ease-in-out infinite 2s; }
.floral-3 { bottom: 12%; left: 10%; animation: floatFlower 8s ease-in-out infinite 1s; }
.floral-4 { bottom: 8%; right: 5%; animation: floatFlower 10s ease-in-out infinite 3s; }

@keyframes floatFlower {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 8px 28px;
  border-radius: 50px;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--pink-600);
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1.1;
  margin-bottom: 8px;
  color: var(--charcoal);
}

.hero-title .script {
  display: block;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--pink-500);
  margin-top: 8px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-light);
  font-weight: 300;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.hero-date {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 36px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--pink-400), var(--pink-500));
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 8px 30px rgba(212, 74, 122, 0.3);
  font-family: 'Poppins', sans-serif;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(212, 74, 122, 0.4);
  background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounceDown 2s ease-in-out infinite;
}

.hero-scroll .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--pink-300), transparent);
}

@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--pink-500);
  font-weight: 500;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 40px;
  font-weight: 300;
}

/* ===== FLORAL DIVIDER ===== */
.floral-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 40px 0;
}

.floral-divider .line {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--pink-300), transparent);
}

.floral-divider .icon {
  font-size: 1.5rem;
  color: var(--pink-400);
  opacity: 0.6;
}

/* ===== BLESSINGS SECTION ===== */
.blessings {
  background: linear-gradient(180deg, var(--cream) 0%, var(--pink-50) 100%);
}

.blessings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.blessing-card {
  padding: 36px 28px;
  text-align: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(212, 74, 122, 0.06);
  transition: all var(--transition);
}

.blessing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(212, 74, 122, 0.1);
}

.blessing-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--pink-200), var(--pink-400));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.blessing-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.blessing-relation {
  font-size: 0.85rem;
  color: var(--pink-500);
  font-weight: 500;
  margin-bottom: 12px;
}

.blessing-text {
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
  line-height: 1.6;
}

/* ===== INVITATION SECTION ===== */
.invitation {
  background: var(--white);
}

.invitation-card {
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 48px;
  text-align: center;
  background: linear-gradient(135deg, var(--pink-50), var(--cream));
  border: 1px solid var(--pink-100);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.invitation-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--pink-300), var(--gold-light), var(--pink-300));
}

.invitation-card .invitation-border {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(212, 74, 122, 0.15);
  border-radius: calc(var(--radius-lg) - 8px);
  pointer-events: none;
}

.invitation-name {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--pink-500);
  margin-bottom: 8px;
}

.invitation-label {
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 20px;
}

.invitation-text {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.8;
  max-width: 500px;
  margin: 0 auto 24px;
  font-weight: 300;
}

.invitation-detail {
  display: inline-block;
  padding: 12px 32px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(212, 74, 122, 0.2);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 20px;
}

.invitation-detail strong {
  color: var(--pink-500);
}

/* ===== COUNTDOWN ===== */
.countdown {
  background: linear-gradient(135deg, var(--pink-50), var(--blush));
}

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

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

.countdown-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--pink-500);
  line-height: 1;
  display: block;
}

.countdown-label {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 8px;
  display: block;
}

.countdown-separator {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--pink-300);
  padding-top: 10px;
}

/* ===== GALLERY ===== */
.gallery {
  background: var(--cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

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

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

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

.gallery-item-overlay span {
  color: white;
  font-size: 0.85rem;
  font-weight: 500;
}

.gallery-item:nth-child(2) { grid-row: span 2; aspect-ratio: auto; }
.gallery-item:nth-child(5) { grid-row: span 2; aspect-ratio: auto; }

/* ===== VENUE ===== */
.venue {
  background: var(--white);
}

.venue-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(212, 74, 122, 0.06);
}

.venue-map {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 0;
}

.venue-info {
  padding: 48px;
}

.venue-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.venue-address {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 24px;
}

.venue-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: var(--pink-50);
  border: 1px solid var(--pink-100);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--pink-600);
  font-weight: 500;
  transition: all var(--transition);
}

.venue-contact:hover {
  background: var(--pink-100);
  transform: translateY(-2px);
}

/* ===== RSVP ===== */
.rsvp {
  background: linear-gradient(135deg, var(--pink-50), var(--blush), var(--cream));
  position: relative;
  overflow: hidden;
}

.rsvp::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23d44a7a" opacity="0.08"/><circle cx="20" cy="30" r="1" fill="%23d44a7a" opacity="0.06"/><circle cx="80" cy="70" r="1" fill="%23d44a7a" opacity="0.06"/><circle cx="70" cy="20" r="0.8" fill="%23d44a7a" opacity="0.05"/><circle cx="30" cy="80" r="0.8" fill="%23d44a7a" opacity="0.05"/></svg>');
  background-size: 120px 120px;
  opacity: 0.5;
}

.rsvp-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  padding: 48px 40px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 48px rgba(212, 74, 122, 0.08);
  position: relative;
  z-index: 1;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid rgba(212, 74, 122, 0.15);
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.7);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--pink-400);
  box-shadow: 0 0 0 3px rgba(212, 74, 122, 0.1);
  background: white;
}

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

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23d44a7a' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.submit-btn {
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--pink-400), var(--pink-500));
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 8px 30px rgba(212, 74, 122, 0.25);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(212, 74, 122, 0.35);
  background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.show {
  display: block;
  animation: fadeUp 0.6s ease;
}

.form-success .success-icon {
  font-size: 4rem;
  margin-bottom: 16px;
}

.form-success h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--pink-500);
  margin-bottom: 8px;
}

.form-success p {
  color: var(--text-light);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== WHATSAPP CTA SECTION ===== */
.whatsapp-section {
  background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
  text-align: center;
  padding: 80px 0;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 44px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.4);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
  text-align: center;
}

.footer-brand {
  font-family: 'Great Vibes', cursive;
  font-size: 2rem;
  color: var(--pink-300);
  margin-bottom: 8px;
}

.footer-text {
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.footer-divider {
  width: 60px;
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 24px auto;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ===== STICKY MOBILE CTA ===== */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  padding: 12px 16px;
  background: rgba(255, 249, 245, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(212, 74, 122, 0.1);
  gap: 10px;
}

.sticky-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  transition: all var(--transition);
}

.sticky-cta .btn-rsvp {
  background: linear-gradient(135deg, var(--pink-400), var(--pink-500));
  color: white;
}

.sticky-cta .btn-whatsapp {
  background: #25D366;
  color: white;
}

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

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: fadeUp 0.4s ease;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
  background: none;
  border: none;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.lightbox-close:hover { opacity: 1; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .venue-card {
    grid-template-columns: 1fr;
  }
  
  .venue-map {
    height: 300px;
  }
  
  .venue-info {
    padding: 32px 28px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 249, 245, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    z-index: 9998;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .nav-toggle {
    display: flex;
    z-index: 9999;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }

  .section {
    padding: 70px 0;
  }

  .invitation-card {
    padding: 40px 24px;
  }

  .rsvp-form-wrapper {
    padding: 32px 20px;
  }

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

  .gallery-item:nth-child(2),
  .gallery-item:nth-child(5) {
    grid-row: auto;
  }

  .countdown-grid {
    gap: 16px;
  }

  .countdown-item {
    min-width: 70px;
  }

  .sticky-cta {
    display: flex;
  }

  body {
    padding-bottom: 68px;
  }

  .blessings-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .blessing-card {
    padding: 24px 16px;
  }

  .blessing-avatar {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .blessings-grid {
    grid-template-columns: 1fr;
  }

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

  .countdown-separator {
    display: none;
  }

  .hero-badge {
    padding: 6px 20px;
    font-size: 0.7rem;
  }
}

/* ===== PERFORMANCE: REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ===== ACCESSIBILITY ===== */
:focus-visible {
  outline: 2px solid var(--pink-500);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-contrast: high) {
  .hero-cta, .submit-btn, .whatsapp-btn {
    border: 2px solid currentColor;
  }
}

/* ===== IMAGE PLACEHOLDER FALLBACK ===== */
.img-placeholder {
  background: linear-gradient(135deg, var(--pink-100), var(--pink-200));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink-400);
  font-size: 3rem;
  border-radius: var(--radius-sm);
}
