﻿:root {
  --bg: #fff5f7;
  --text: #3a0a1a;
  --muted: #a05070;
  --line: rgba(212,96,122,0.2);
  --gold: #d4607a;
  --gold-strong: #e8889a;
  --shadow: 0 20px 60px rgba(212,96,122,0.18);
  --radius: 20px;
  --container: min(1180px, calc(100% - 32px));
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  color: var(--text);
  background-color: #fff5f7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Ccircle cx='30' cy='30' r='2' fill='%23f5c0cc' opacity='0.3'/%3E%3Ccircle cx='10' cy='10' r='1.5' fill='%23f5c0cc' opacity='0.2'/%3E%3Ccircle cx='50' cy='50' r='1.5' fill='%23f5c0cc' opacity='0.2'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 60px 60px;
  font-family: "Inter", system-ui, sans-serif;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; margin: 0 auto; }

#starfield { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero, .section, .footer { position: relative; z-index: 1; }



.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.22) 0%,
    rgba(0,0,0,0.08) 35%,
    rgba(0,0,0,0.50) 100%
  );
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 60% at 50% 50%,
      transparent 0%,
      transparent 25%,
      rgba(8, 4, 18, 0.52) 100%
    ),
    radial-gradient(ellipse 30% 40% at 15% 20%,
      rgba(180, 130, 80, 0.12) 0%,
      transparent 70%
    ),
    radial-gradient(ellipse 25% 35% at 85% 75%,
      rgba(120, 90, 160, 0.10) 0%,
      transparent 70%
    );
}


.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: clamp(24px, 5vw, 60px) clamp(20px, 8vw, 80px);
  max-width: 900px;
  width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 20px;
  font-weight: 200;
}

.eyebrow::before, .eyebrow::after { content: "❋"; font-size: 0.7rem; color: var(--gold); opacity: 0.9; }

h1 {
  font-family: "Allura", cursive;
  text-transform: capitalize;
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 400;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 8px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.35);
  
}

.hero__subtitle {
  font-family: "Allura", cursive;
  font-size: clamp(4.5rem, 16vw, 11rem);
  font-weight: 700;
  color: var(--gold);
  font-style: normal;
  margin-bottom: 8px;
  line-height: 1;
  text-shadow: 0 4px 30px rgba(201,168,76,0.35);
}

h2 { font-family: "Cormorant Garamond", serif; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 300; margin: 0 0 16px; line-height: 1.1; color: var(--text); }
h3 { font-family: "Cormorant Garamond", serif; font-size: clamp(1.2rem, 2vw, 1.7rem); font-weight: 400; margin-bottom: 8px; color: var(--gold); }

.hero__separator { width: 80px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 12px auto 20px; }
.hero__date { font-size: clamp(0.82rem, 2vw, 0.95rem); color: rgba(255,255,255,0.88); letter-spacing: 0.25em; text-transform: uppercase; margin-bottom: 8px; font-weight: 200; }
.hero__location { font-size: clamp(0.78rem, 1.8vw, 0.92rem); color: rgba(255,255,255,0.68); letter-spacing: 0.12em; margin-bottom: 44px; }
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 32px; border-radius: 999px; font-size: 0.83rem; font-weight: 400; letter-spacing: 0.12em; border: 1px solid transparent; transition: transform 0.25s ease, box-shadow 0.25s ease; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: linear-gradient(135deg, var(--gold), var(--gold-strong)); color: #fff; font-weight: 500; box-shadow: 0 8px 24px rgba(212,96,122,0.4); }
.btn--primary:hover { box-shadow: 0 12px 32px rgba(212,96,122,0.6); }
.btn--ghost { border-color: rgba(255,255,255,0.7); background: rgba(0,0,0,0.28); color: #fff; backdrop-filter: blur(10px); text-shadow: 0 1px 4px rgba(0,0,0,0.3); }
.btn--ghost:hover { background: rgba(255,255,255,0.2); }
.btn--whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); color: #fff; box-shadow: 0 8px 24px rgba(37,211,102,0.3); display:inline-flex;align-items:center;justify-content:center; }

.section { width: var(--container); margin: 0 auto; padding: 100px 0; }
.section__header { text-align: center; max-width: 780px; margin: 0 auto 48px; }
.section__tag { display: inline-flex; align-items: center; gap: 10px; letter-spacing: 0.28em; text-transform: uppercase; font-size: 0.68rem; color: var(--gold); margin-bottom: 12px; font-weight: 300; }
.section__tag::before, .section__tag::after { content: "❋"; font-size: 0.65rem; opacity: 0.8; }
.section__divider { width: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 16px auto 0; }

.glass-card { background: rgba(255,245,247,0.88); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

.story-card { max-width: 860px; margin: 0 auto; padding: clamp(32px, 4vw, 56px); text-align: center; }
.story-icon { font-size: 2rem; margin-bottom: 20px; }
.story-card p, .detail-card p, .map-copy p, .rsvp-card p, .footer p, .footer small { font-size: clamp(1rem, 2vw, 1.1rem); line-height: 2; color: var(--muted); font-weight: 300; }

.details-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.detail-card { padding: 36px 28px; min-height: 200px; }
.detail-card h3 { font-size: 0.72rem; color: var(--gold); margin-bottom: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-family: "Inter", sans-serif; font-weight: 300; }

.accordion-gallery { display: flex; gap: 10px; min-height: 500px; }
.accordion-item { position: relative; overflow: hidden; border-radius: 20px; flex: 1 1 0; border: 1px solid var(--line); transition: flex 0.55s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s ease; cursor: pointer; }
.accordion-item:hover, .accordion-item.active { flex: 3.5 1 0; box-shadow: var(--shadow); }
.accordion-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; filter: brightness(0.85); }
.accordion-item:hover img, .accordion-item.active img { transform: scale(1.04); filter: brightness(1); }
.accordion-item__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.75) 100%); }
.accordion-item__content { position: absolute; left: 20px; right: 20px; bottom: 22px; color: #fff; }
.accordion-item__content h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); margin-bottom: 4px; color: var(--gold-strong); font-style: italic; }
.accordion-item__content p { margin: 0; color: rgba(255,255,255,0.8); font-size: 0.85rem; }

.map-card { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 24px; align-items: stretch; padding: clamp(24px, 3vw, 44px); }
.map-copy { display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.map-frame-wrap { min-height: 360px; overflow: hidden; border-radius: 10px; border: 1px solid var(--line); }
#map-frame { width: 100%; height: 100%; min-height: 360px; border: 0; }

.rsvp-card { text-align: center; max-width: 680px; margin: 0 auto; padding: clamp(36px, 5vw, 64px); }
.rsvp-icon { font-size: 2rem; margin-bottom: 20px; }

.footer { padding: 32px 16px 56px; }
.footer__inner { width: var(--container); margin: 0 auto; padding: 32px; border-top: 1px solid var(--line); text-align: center; }
.footer__decoration { color: var(--gold); font-size: 0.8rem; letter-spacing: 0.5em; margin-bottom: 16px; opacity: 0.7; }

.countdown-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 600px; margin: 0 auto; padding: clamp(28px, 4vw, 48px); text-align: center; }
.countdown-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.countdown-number { font-family: "Cormorant Garamond", serif; font-size: clamp(3rem, 8vw, 5rem); font-weight: 300; color: var(--gold); line-height: 1; }
.countdown-label { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes falling { 0% { transform: translateY(-20px) rotate(0deg); opacity: 0; } 10% { opacity: 0.6; } 90% { opacity: 0.4; } 100% { transform: translateY(110vh) rotate(360deg); opacity: 0; } }

@media (max-width: 980px) {
  .details-grid, .map-card { grid-template-columns: 1fr; }
  .accordion-gallery { flex-direction: column; min-height: unset; }
  .accordion-item, .accordion-item:hover, .accordion-item.active { min-height: 320px; flex: unset; }
  .hero { background-attachment: scroll; }
}

.hero__actions-mobile { display: none; }

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  h1 { font-size: clamp(2.8rem, 13vw, 5rem); }
  .hero { min-height: 0; height: var(--hero-mobile-height, 75vw); width: 100%; padding: 0; align-items: center; }
  .hero__content { padding: 32px; width: 100%; }
  .hero__actions { display: none; }
  .hero__actions-mobile { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 32px 32px; background: var(--bg); }
  .hero__actions-mobile .btn { width: 100%; max-width: 280px; }
  .btn { width: 100%; max-width: 280px; }
}

/* SVG icon styles */
.detail-card__icon, .map-copy__icon, .rsvp-card__decoration, .rsvp-icon { color: var(--gold); }
.detail-card__icon svg, .story-card__icon svg, .story-icon svg, .map-copy__icon svg, .rsvp-card__decoration svg, .rsvp-icon svg { display: block; margin: 0 auto; }
/* ── SPLASH ── */
#splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
}
#splash-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
#splash-bg.zoomed { transform: scale(1.12); }
#splash-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.65) 100%);
  z-index: 1;
}
#splash::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 60% at 50% 50%, transparent 0%, transparent 25%, rgba(8, 4, 18, 0.55) 100%),
    radial-gradient(ellipse 30% 40% at 15% 20%, rgba(201, 168, 76, 0.10) 0%, transparent 70%),
    radial-gradient(ellipse 25% 35% at 85% 75%, rgba(140, 80, 40, 0.09) 0%, transparent 70%);
}
#splash-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 40px;
  animation: splashFadeIn 1.5s ease 0.5s both;
}
@keyframes splashFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
#splash-eyebrow {
  font-family: "Inter", sans-serif;
  font-size: clamp(0.6rem, 1.5vw, 0.75rem);
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 24px;
  opacity: 0.9;
  font-weight: 200;
}
#splash-names {
  font-family: "Allura", cursive;
  font-size: clamp(4rem, 12vw, 9rem);
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 4px 60px rgba(0,0,0,0.4);
  margin-bottom: 12px;
}
#splash-subtitle {
  font-family: "Inter", sans-serif;
  font-size: clamp(0.75rem, 2vw, 1rem);
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 300;
  opacity: 0.9;
}
#splash-date {
  font-family: "Inter", sans-serif;
  font-size: clamp(0.7rem, 1.5vw, 0.85rem);
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
  font-weight: 200;
}
#splash-line {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 40px;
}
#splash-enter {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(201,168,76,0.4);
  padding: 14px 32px;
  border-radius: 2px;
  transition: all 0.3s ease;
  text-transform: uppercase;
}
#splash-enter:hover { background: rgba(201,168,76,0.1); color: var(--gold); border-color: var(--gold); }
#curtain-left, #curtain-right {
  position: absolute; top: 0; bottom: 0; width: 50%;
  background: var(--text); z-index: 10;
  transition: transform 1.2s cubic-bezier(0.77,0,0.175,1);
}
#curtain-left { left: 0; transform: translateX(-100%); }
#curtain-right { right: 0; transform: translateX(100%); }
#splash.closing #curtain-left { transform: translateX(0); }
#splash.closing #curtain-right { transform: translateX(0); }

/* === PARTY SPLASH THEME: NEON TROPICAL CLUB === */
#splash { background: #0d0020; }
#splash-overlay {
  background: linear-gradient(155deg, rgba(13,0,32,0.9) 0%, rgba(40,0,80,0.62) 50%, rgba(13,0,32,0.93) 100%);
}
#splash-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.45em;
  color: #ff2d8b;
  text-shadow: 0 0 16px rgba(255,45,139,1), 0 0 38px rgba(255,45,139,0.6);
  text-transform: uppercase;
  opacity: 1;
}
#splash-names {
  color: #ffffff;
  text-shadow: 0 0 40px rgba(0,229,255,0.8), 0 0 80px rgba(0,229,255,0.4), 0 0 4px rgba(255,45,139,0.5);
}
#splash-subtitle {
  color: rgba(0,229,255,0.95);
  text-shadow: 0 0 20px rgba(0,229,255,0.7);
  opacity: 1;
}
#splash-date {
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.3em;
  font-size: 0.68rem;
}
#splash-line {
  background: linear-gradient(90deg, transparent, #ff2d8b, #00e5ff, #ff2d8b, transparent);
  box-shadow: 0 0 14px rgba(255,45,139,0.9), 0 0 28px rgba(0,229,255,0.6);
  animation: linePulse 2.2s ease-in-out infinite;
  height: 1px;
}
@keyframes linePulse {
  0%, 100% { opacity: 0.5; box-shadow: 0 0 10px rgba(255,45,139,0.7); }
  50% { opacity: 1; box-shadow: 0 0 22px rgba(255,45,139,1), 0 0 45px rgba(0,229,255,0.8); }
}
#splash-enter {
  background: rgba(255,45,139,0.1);
  border: 1px solid rgba(255,45,139,0.55);
  color: #ff2d8b;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 22px rgba(255,45,139,0.16), 0 0 44px rgba(0,229,255,0.08);
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  text-shadow: 0 0 12px rgba(255,45,139,1);
  transition: all 0.3s ease;
}
#splash-enter:hover {
  background: rgba(255,45,139,0.24);
  border-color: #ff2d8b;
  box-shadow: 0 0 35px rgba(255,45,139,0.5), 0 0 70px rgba(0,229,255,0.18);
  transform: translateY(-2px);
}
