﻿:root {
  --bg: #080808;
  --text: #f0e8d8;
  --muted: #b8a888;
  --line: rgba(201,168,76,0.2);
  --gold: #c9a84c;
  --gold-strong: #e8c87a;
  --shadow: 0 20px 60px rgba(0,0,0,0.5);
  --radius: 4px;
  --container: min(1180px, calc(100% - 32px));
}

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

body {
  color: var(--text);
  background-color: #080808;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='0.8' fill='%23c9a84c' opacity='0.1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 40px 40px;
  font-family: "Inter", system-ui, sans-serif;
  overflow-x: hidden;
}

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

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

#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)}
#curtain-left,#curtain-right{position:absolute;top:0;bottom:0;width:50%;background:#080808;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)}
@keyframes splashFadeIn{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}

.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__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: 2px; 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: #080808; font-weight: 500; box-shadow: 0 8px 24px rgba(201,168,76,0.4); }
.btn--primary:hover { box-shadow: 0 12px 32px rgba(201,168,76,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,255,255,0.04); 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: 2px; 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); }



@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; }
}

/* === PARTY SPLASH THEME: RETRO DISCO === */
#splash { background: #08050f; }
#splash-overlay {
  background: linear-gradient(180deg, rgba(8,5,15,0.88) 0%, rgba(20,5,40,0.68) 50%, rgba(8,5,15,0.93) 100%);
}
#splash-eyebrow {
  font-family: 'Courier New', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.5em;
  color: #ffd60a;
  text-shadow: 0 0 12px rgba(255,214,10,1), 0 0 28px rgba(255,45,85,0.7), 0 0 50px rgba(100,210,255,0.5);
  text-transform: uppercase;
  opacity: 1;
}
#splash-names {
  color: #ffffff;
  text-shadow: 0 0 35px rgba(255,45,85,0.8), 0 0 70px rgba(100,210,255,0.6), 0 0 100px rgba(191,90,242,0.4), 3px 3px 0 rgba(255,45,85,0.25);
}
#splash-subtitle {
  color: rgba(255,214,10,0.95);
  text-shadow: 0 0 16px rgba(255,214,10,0.8), 0 0 35px rgba(255,45,85,0.5);
  opacity: 1;
}
#splash-date {
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.3em;
  font-size: 0.65rem;
}
#splash-line {
  background: linear-gradient(90deg, transparent, #ff2d55, #ffd60a, #30d158, #64d2ff, #bf5af2, transparent);
  box-shadow: 0 0 14px rgba(255,45,85,0.9);
  animation: linePulse 1.6s ease-in-out infinite;
  height: 2px;
}
@keyframes linePulse {
  0% { opacity: 0.5; filter: hue-rotate(0deg); }
  50% { opacity: 1; filter: hue-rotate(80deg); box-shadow: 0 0 25px rgba(255,45,85,1); }
  100% { opacity: 0.5; filter: hue-rotate(160deg); }
}
#splash-enter {
  background: rgba(255,214,10,0.08);
  border: 1px solid rgba(255,214,10,0.45);
  color: #ffd60a;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 22px rgba(255,214,10,0.14), 0 0 44px rgba(255,45,85,0.08);
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  text-shadow: 0 0 12px rgba(255,214,10,1);
  transition: all 0.3s ease;
}
#splash-enter:hover {
  background: rgba(255,214,10,0.2);
  border-color: #ffd60a;
  box-shadow: 0 0 35px rgba(255,214,10,0.5), 0 0 70px rgba(255,45,85,0.25);
  transform: translateY(-2px);
  filter: hue-rotate(25deg);
}
