﻿:root {
  --bg: #fff5f8;
  --text: #3a1a2a;
  --muted: #b07898;
  --line: rgba(220,140,170,0.2);
  --gold: #e8a0b8;
  --gold-strong: #f5c4d8;
  --shadow: 0 20px 60px rgba(220,140,170,0.18);
  --radius: 24px;
  --container: min(1180px, calc(100% - 32px));
}

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

body {
  color: var(--text);
  background-color: #fff5f8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23f5c4d8' stroke-width='1'%3E%3Ccircle cx='20' cy='20' r='3'/%3E%3Ccircle cx='60' cy='60' r='3'/%3E%3Ccircle cx='60' cy='20' r='2'/%3E%3Ccircle cx='20' cy='60' r='2'/%3E%3Ccircle cx='40' cy='40' r='4'/%3E%3C/g%3E%3Cg fill='%23f5c4d8' opacity='0.4'%3E%3Cellipse cx='20' cy='20' rx='5' ry='3' transform='rotate(-30 20 20)'/%3E%3Cellipse cx='20' cy='18' rx='5' ry='3' transform='rotate(30 20 18)'/%3E%3Ccircle cx='20' cy='15' r='3'/%3E%3Cellipse cx='60' cy='60' rx='5' ry='3' transform='rotate(-30 60 60)'/%3E%3Cellipse cx='60' cy='58' rx='5' ry='3' transform='rotate(30 60 58)'/%3E%3Ccircle cx='60' cy='55' r='3'/%3E%3Cellipse cx='40' cy='10' rx='4' ry='2.5' transform='rotate(-30 40 10)'/%3E%3Cellipse cx='40' cy='8' rx='4' ry='2.5' transform='rotate(30 40 8)'/%3E%3Ccircle cx='40' cy='6' r='2.5'/%3E%3Cellipse cx='10' cy='40' rx='4' ry='2.5' transform='rotate(-30 10 40)'/%3E%3Cellipse cx='10' cy='38' rx='4' ry='2.5' transform='rotate(30 10 38)'/%3E%3Ccircle cx='10' cy='35' r='2.5'/%3E%3Cellipse cx='70' cy='40' rx='4' ry='2.5' transform='rotate(-30 70 40)'/%3E%3Cellipse cx='70' cy='38' rx='4' ry='2.5' transform='rotate(30 70 38)'/%3E%3Ccircle cx='70' cy='35' r='2.5'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 80px 80px;
  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 ── */
#starfield {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.hero, .section, .footer { position: relative; z-index: 1; }

/* ── HERO ── */
.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%
    );
}


/* Petale decorative */
.hero__petals {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.petal {
  position: absolute;
  top: -20px;
  border-radius: 50%;
  pointer-events: none;

  background: radial-gradient(circle, #e8cfa0 0%, rgba(232,207,160,0) 70%);
  opacity: 0.6;

  animation: fall linear infinite;
}

@keyframes fall {
  0% {
    transform: translateY(-20px) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(110vh) translateX(30px);
    opacity: 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; }
}

.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.7rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
  font-weight: 200;
}

.eyebrow::before, .eyebrow::after { content: "✦"; font-size: 0.65rem; opacity: 0.8; }

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

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.3rem, 2.5vw, 1.9rem);
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--gold);
}

.hero__separator {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
  margin: 16px auto;
}

.hero__date {
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 200;
}

.hero__location {
  font-size: clamp(0.8rem, 1.8vw, 0.95rem);
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.15em;
  margin-bottom: 44px;
  font-weight: 200;
}

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

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 32px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  color: #fff;
  box-shadow: 0 8px 24px rgba(232,160,184,0.4);
}

.btn--primary:hover { box-shadow: 0 12px 32px rgba(232,160,184,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.22); }

.btn--whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}

.btn--whatsapp:hover { box-shadow: 0 12px 32px rgba(37,211,102,0.5); }

/* ── SECTIONS ── */
.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.7rem;
  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 CARDS ── */
.glass-card {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(232,160,184,0.2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ── STORY ── */
.story-card {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 52px);
  text-align: center;
}

.story-card__icon {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0.8;
}

.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 ── */
.details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.detail-card {
  padding: 36px 28px;
  min-height: 200px;
  text-align: center;
  transition: transform 0.3s ease;
}

.detail-card:hover { transform: translateY(-4px); }

.detail-card__icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.detail-card h3 {
  font-size: 0.75rem;
  color: var(--gold);
  margin-bottom: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: "Inter", sans-serif;
  font-weight: 400;
}

/* ── ACCORDION ── */
.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 rgba(232,160,184,0.2);
  transition: flex 0.55s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  cursor: pointer;
}

.accordion-item:hover, .accordion-item.active {
  flex: 3.5 1 0;
  box-shadow: 0 16px 48px rgba(232,160,184,0.3);
}

.accordion-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: brightness(0.9) saturate(1.1);
}

.accordion-item:hover img, .accordion-item.active img {
  transform: scale(1.04);
  filter: brightness(1) saturate(1.2);
}

.accordion-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(58,26,42,0.7) 100%);
}

.accordion-item__content {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 22px;
  color: #fff;
}

.accordion-item__content h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  margin-bottom: 4px;
  color: #fff;
  font-style: italic;
}

.accordion-item__content p {
  margin: 0;
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ── MAP ── */
.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-copy__icon {
  font-size: 2rem;
}

.map-frame-wrap {
  min-height: 360px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
}

#map-frame, #map-biserica-frame {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  filter: saturate(0.8);
}

/* ── RSVP ── */
.rsvp-card {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 64px);
}

.rsvp-card__decoration {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* ── FOOTER ── */
.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 ── */
.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);
  font-weight: 300;
}

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

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

/* ── RESPONSIVE ── */
@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, 4.5rem); }
  h2 { font-size: clamp(1.8rem, 9vw, 3rem); }
  .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; }
  .countdown-grid { gap: 12px; }
}

@media (max-width: 400px) {
  h1 { font-size: clamp(2.4rem, 12vw, 3.5rem); }
}

/* 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 INTRO — VELVET CURTAIN PREMIUM (botez-1) ── */
body.spl-lock { overflow: hidden; }
#spl {
  position: fixed; inset: 0; z-index: 200000;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at center, #1a0a18 0%, #08030f 100%);
  cursor: pointer; overflow: hidden;
}

#spl canvas { position: absolute; inset: 0; pointer-events: none; }
.spl-curtain {
  position: absolute; top: 0; bottom: 0; width: 52%;
  background: linear-gradient(180deg, #8B2252 0%, #6B1840 40%, #4a0f2c 100%);
  transition: transform 1.2s cubic-bezier(0.76, 0, 0.24, 1);
  display: flex; overflow: hidden;
}
.spl-curtain--l { left: 0; transform-origin: left center; justify-content: flex-end; }
.spl-curtain--r { right: 0; transform-origin: right center; }
.spl-curtain-fold {
  position: absolute; top: 0; bottom: 0; width: 18%;
  background: linear-gradient(90deg, rgba(0,0,0,0.18) 0%, rgba(255,255,255,0.06) 50%, rgba(0,0,0,0.12) 100%);
}
.spl-curtain--l .spl-curtain-fold:nth-child(1) { left: 15%; }
.spl-curtain--l .spl-curtain-fold:nth-child(2) { left: 40%; }
.spl-curtain--l .spl-curtain-fold:nth-child(3) { left: 65%; }
.spl-curtain--r .spl-curtain-fold:nth-child(1) { right: 15%; }
.spl-curtain--r .spl-curtain-fold:nth-child(2) { right: 40%; }
.spl-curtain--r .spl-curtain-fold:nth-child(3) { right: 65%; }
.spl-curtain-sheen {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 50%, rgba(0,0,0,0.15) 100%);
}
.spl-valance {
  position: absolute; top: 0; left: 0; right: 0; height: 90px;
  background: linear-gradient(180deg, #3d0a28 0%, #6B1840 100%);
  z-index: 10; display: flex; align-items: center; justify-content: center;
  border-bottom: 2px solid rgba(201,168,76,0.4);
}
.spl-valance-gem { font-size: 22px; color: #C9A84C; text-shadow: 0 0 20px rgba(201,168,76,0.8); animation: splPulse 2s ease-in-out infinite; }
.spl-center-stage {
  position: relative; z-index: 5; text-align: center;
  padding: 20px 40px; pointer-events: none;
}
.spl-ornament-top { color: rgba(201,168,76,0.6); font-size: 13px; letter-spacing: 8px; margin-bottom: 18px; animation: splFadeIn 1s ease 0.5s both; }
.spl-monogram {
  font-size: 56px; color: #C9A84C; margin-bottom: 10px;
  text-shadow: 0 0 30px rgba(201,168,76,0.6);
  animation: splMonogram 1.2s cubic-bezier(0.22,1,0.36,1) 0.3s both;
}
.spl-name {
  display: block; font-family: 'Allura', cursive; font-size: clamp(38px,8vw,64px);
  color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  animation: splNameIn 1s cubic-bezier(0.22,1,0.36,1) 0.7s both;
  margin-bottom: 16px;
}
.spl-rule {
  width: 0; height: 1px; margin: 0 auto 14px;
  background: linear-gradient(90deg, transparent, #C9A84C, transparent);
  animation: splRule 1.2s ease 1s forwards;
}
@keyframes splRule { to { width: 160px; } }
.spl-date { font-size: 13px; letter-spacing: 3px; color: rgba(255,240,220,0.7); text-transform: uppercase; animation: splFadeIn 1s ease 1.3s both; display: block; }
.spl-hint { font-size: 11px; letter-spacing: 3px; color: rgba(255,255,255,0.35); text-transform: uppercase; margin-top: 28px; animation: splHintPulse 2s ease-in-out 2s infinite; }
@keyframes splPulse { 0%,100%{opacity:0.7;} 50%{opacity:1;} }
@keyframes splFadeIn { from{opacity:0;transform:translateY(12px);} to{opacity:1;transform:none;} }
@keyframes splMonogram { from{opacity:0;transform:scale(0.5);} to{opacity:1;transform:scale(1);} }
@keyframes splNameIn { from{opacity:0;transform:translateY(20px) scale(0.95);} to{opacity:1;transform:none;} }
@keyframes splHintPulse { 0%,100%{opacity:0.35;} 50%{opacity:0.7;} }
#spl.spl-opening .spl-curtain--l { transform: translateX(-100%); }
#spl.spl-opening .spl-curtain--r { transform: translateX(100%); }
#spl.spl-opening .spl-valance { transform: translateY(-100%); transition: transform 1s cubic-bezier(0.76,0,0.24,1); }
#spl.spl-out { opacity: 0; transition: opacity 0.5s ease 0.9s; pointer-events: none; }


/* ═══════════════════════════════════════════
   NAȘII
═══════════════════════════════════════════ */
.nasi-wrapper { text-align: center; padding: clamp(20px, 3vw, 40px) 0 clamp(32px, 4vw, 56px); }
.nasi-eyebrow { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-style: italic; font-weight: 300; color: var(--muted); letter-spacing: 0.06em; margin-bottom: 36px; }
.nasi-pair { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 5vw, 64px); flex-wrap: wrap; }
.nasi-person { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.nasi-role { font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); font-weight: 400; }
.nasi-name { font-family: 'Allura', cursive; font-size: clamp(2rem, 5vw, 3.2rem); color: var(--text); line-height: 1.1; }
.nasi-separator { opacity: 0.6; flex-shrink: 0; }
.rsvp-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.btn--rsvp-yes { background: linear-gradient(135deg, #4a9b6f, #62c48f); color: #fff; box-shadow: 0 8px 24px rgba(74,155,111,0.35); min-height: 52px; padding: 0 32px; border-radius: 999px; font-size: 0.95rem; font-weight: 500; letter-spacing: 0.08em; display: inline-flex; align-items: center; gap: 10px; transition: transform 0.25s ease, box-shadow 0.25s ease; cursor: pointer; text-decoration: none; }
.btn--rsvp-yes:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(74,155,111,0.5); }
.btn--rsvp-no { background: rgba(255,255,255,0.8); color: var(--muted); border: 1px solid rgba(180,140,100,0.25); backdrop-filter: blur(8px); min-height: 52px; padding: 0 32px; border-radius: 999px; font-size: 0.95rem; font-weight: 400; letter-spacing: 0.08em; display: inline-flex; align-items: center; gap: 10px; transition: transform 0.25s ease, background 0.25s ease; cursor: pointer; text-decoration: none; }
.btn--rsvp-no:hover { transform: translateY(-2px); background: rgba(255,240,240,0.9); }
.rsvp-icon { font-size: 1.1em; font-weight: 600; }
@media (max-width: 480px) { .rsvp-buttons { flex-direction: column; align-items: center; } .btn--rsvp-yes, .btn--rsvp-no { width: 100%; max-width: 280px; justify-content: center; } }