﻿:root {
  --bg: #fdfaf5;
  --bg-soft: rgba(255,255,255,0.7);
  --text: #2a1f0e;
  --muted: #5a4530;
  --line: rgba(180,160,120,0.2);
  --gold: #b8956a;
  --gold-strong: #d4b48c;
  --shadow: 0 20px 60px rgba(184,149,106,0.15);
  --radius: 26px;
  --container: min(1180px, calc(100% - 32px));
}

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

body {
  color: var(--text);
  background: linear-gradient(160deg, #fdfaf5 0%, #f5ede0 50%, #fdf5e8 100%);
  font-family: "Inter", system-ui, sans-serif;
  overflow-x: hidden;
}

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

#starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  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;
  padding: 0;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: -5%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
}

.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.5) 100%
  );
  z-index: 1;
}


.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(24px, 5vw, 60px);
  max-width: 860px;
  width: 100%;
  background: none;
  border: none;
  backdrop-filter: none;
  box-shadow: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
  font-weight: 300;
}

.eyebrow::before {
  content: "✦";
  font-size: 0.7rem;
}

h1 {
  font-family: "Allura", cursive;
  text-transform: capitalize;
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 400;
  line-height: 1;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 32px rgba(0,0,0,0.45), 0 1px 8px rgba(0,0,0,0.25);
}

h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 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.4rem, 2.5vw, 2rem);
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--text);
}

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

.hero__date {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 300;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

.hero__location {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.12em;
  margin-bottom: 36px;
  font-weight: 300;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

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

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  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: #2a1a08;
  box-shadow: 0 8px 24px rgba(184,149,106,0.45);
  font-weight: 600;
}

.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); }

/* ── 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.24em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--gold);
  margin-bottom: 12px;
}

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

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

.story-invite {
  font-family: 'Allura', cursive;
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  color: var(--gold);
  text-align: center;
  line-height: 1.75;
  max-width: 820px;
  margin: 0 auto 36px;
}

.story-card {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px);
}

.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: 1.9;
  color: var(--muted);
  font-weight: 300;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.detail-card {
  padding: 32px 28px;
  min-height: 200px;
}

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

.accordion-gallery {
  display: flex;
  gap: 12px;
  min-height: 520px;
}

.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), transform 0.35s ease, 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;
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}

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

.accordion-item:hover img,
.accordion-item.active img { transform: scale(1.03); }

.accordion-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.65) 100%);
}

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

.accordion-item__content h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 6px;
  color: #fff;
}

.accordion-item__content p {
  margin: 0;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  max-width: 32ch;
  line-height: 1.6;
}

.map-card {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 24px;
  align-items: stretch;
  padding: clamp(24px, 3vw, 40px);
}

.map-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

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

#map-frame {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

.rsvp-card {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: clamp(32px, 4vw, 56px);
}

.footer {
  padding: 32px 16px 48px;
}

.footer__inner {
  width: var(--container);
  margin: 0 auto;
  padding: 32px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s 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: 300px;
    flex: unset;
  }

  .hero { background-attachment: scroll; }

  .hero__content {
    padding: 40px 24px 56px;
  }
}

.hero__actions-mobile { display: none; }

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  h1 { font-size: clamp(3rem, 13vw, 4.5rem); }
  h2 { font-size: clamp(2rem, 9vw, 3rem); }

  .hero {
    min-height: 0;
    height: var(--hero-mobile-height, 75vw);
    width: 100%;
    padding: 0;
    align-items: center;
  }

  .hero__bg {
    inset: 0;
    background-attachment: scroll;
  }

  .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: 260px; }

  .btn { width: 100%; max-width: 260px; }
}
/* 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.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 300;
}

@media (max-width: 480px) {
  .countdown-grid { gap: 12px; }
}

/* ── SITE NAV ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
  background: rgba(253,248,242,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: rgba(180,140,100,0.18);
}
.site-nav__links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.site-nav__links a {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  font-weight: 300;
  transition: color 0.3s ease;
  position: relative;
}
.site-nav__links a::after {
  content: "";
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.site-nav__links a:hover::after { transform: scaleX(1); }
.site-nav.scrolled .site-nav__links a { color: var(--muted); }
.site-nav__links a:hover { color: var(--gold); }
.hero__actions-mobile { display: none; }

@media (max-width: 640px) {
  .site-nav { padding: 12px 20px; }
  .site-nav__links { display: none; }
}

/* ═══════════════════════════════════════════
   SPLASH INTRO — IRIS CIRCULAR PE PERGAMENT (nunta-3)
═══════════════════════════════════════════ */
#spl {
  position: fixed; inset: 0; z-index: 200000; cursor: pointer;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  /* Iris close animation pe click */
  clip-path: circle(150vmax at 50% 50%);
  transition: clip-path 1.1s cubic-bezier(.86, 0, .07, 1);
}
#spl::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(160deg, #fdfaf5 0%, #f0e4cc 50%, #fdf5e8 100%);
}
#spl.opening { clip-path: circle(0px at 50% 50%); }
#spl.spl-out {
  clip-path: circle(0px at 50% 50%);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}
body.spl-lock { overflow: hidden; }

/* Vigneta perimetrală */
.spl-vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 28%, rgba(42,31,14,.3) 100%);
}

/* Etapa centrală */
.spl-stage {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 100vh; gap: 14px; padding: 20px;
  transition: opacity .35s ease;
}
#spl.opening .spl-stage { opacity: 0; }

/* Ornament decorativ linie + diamant */
.spl-ornament {
  display: flex; align-items: center; gap: 12px;
  width: min(300px, 78vw);
}
.spl-orn-line { flex: 1; height: 1px; background: rgba(184,149,106,.42); }
.spl-orn-diamond { font-size: 9px; color: rgba(184,149,106,.55); line-height: 1; }

.spl-pre {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(11px, 2.4vw, 13px); color: #5a4530;
  letter-spacing: .12em; text-align: center; font-style: italic;
}
.spl-name {
  font-family: 'Allura', cursive;
  font-size: clamp(34px, 8.5vw, 54px); color: #2a1f0e;
  font-weight: 400; line-height: 1.1; text-align: center;
}

/* Sigiliu de ceară roșu-bronz */
.spl-seal {
  position: relative;
  width: min(96px, 22vw); height: min(96px, 22vw);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #a03828, #7a2a1a 45%, #5a1808 100%);
  box-shadow: 0 8px 32px rgba(122,42,26,.55), inset 0 2px 4px rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  animation: spl-glow 2.6s ease-in-out infinite;
  transition: transform .35s ease, opacity .3s .15s ease;
}
#spl.opening .spl-seal { transform: scale(1.25); opacity: 0; }
@keyframes spl-glow {
  0%, 100% { box-shadow: 0 8px 32px rgba(122,42,26,.52), inset 0 2px 4px rgba(255,255,255,.18); }
  50%       { box-shadow: 0 8px 48px rgba(122,42,26,.85), 0 0 40px rgba(184,149,106,.28), inset 0 2px 4px rgba(255,255,255,.18); }
}
.spl-seal-outer {
  position: absolute; inset: 5px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.22);
}
.spl-seal-ring {
  position: absolute; inset: 10px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
}
.spl-seal > span {
  font-family: 'Allura', cursive;
  font-size: clamp(22px, 5.5vw, 30px); color: rgba(253,245,232,.92);
  z-index: 1; position: relative; line-height: 1;
}

.spl-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(11px, 2.5vw, 14px); color: #5a4530; letter-spacing: .1em;
}

/* Hint */
.spl-hint {
  position: absolute; bottom: 7%; left: 0; right: 0; text-align: center; z-index: 5;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(11px, 2.8vw, 14px); color: rgba(184,149,106,.75);
  letter-spacing: .16em; animation: spl-hint-pulse 2.5s ease-in-out infinite;
  pointer-events: none; transition: opacity .3s ease;
}
#spl.opening .spl-hint { opacity: 0; }
@keyframes spl-hint-pulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }

/* ═══ LUXURY DIVIDER ═══ */
.luxury-divider{display:flex;align-items:center;justify-content:center;gap:16px;padding:8px 0;position:relative;z-index:2}
.luxury-divider--hero{padding:28px clamp(24px,8vw,120px);background:var(--bg)}
.luxury-divider--section{margin-bottom:36px;padding:0}
.luxury-divider--locations{padding:40px clamp(24px,8vw,120px);background:var(--bg);gap:20px}
.luxury-divider__wing{display:flex;align-items:center}
.luxury-divider__center{display:flex;align-items:center;gap:6px;flex-shrink:0}
.luxury-divider__gem{color:var(--gold);font-size:10px;opacity:.85}
.luxury-divider__gem--sm{font-size:7px;opacity:.55}
.luxury-divider__dot{color:rgba(201,168,76,.35);font-size:10px}
.luxury-divider__line-full{flex:1;height:1px;background:linear-gradient(90deg,transparent,rgba(201,168,76,.35),transparent)}
/* ═══ NAȘI ═══ */
.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:.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:.72rem;letter-spacing:.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:.6;flex-shrink:0}
/* ═══ GALLERY BENTO ═══ */
.gallery-bento{display:grid;grid-template-columns:1.6fr 1fr;grid-template-rows:280px 280px;gap:10px}
.gallery-bento-item{position:relative;overflow:hidden;border-radius:18px;border:1px solid rgba(180,140,100,.12);box-shadow:0 6px 28px rgba(0,0,0,.07);cursor:zoom-in}
.gallery-bento-item:first-child{grid-row:1/3}
.gallery-bento-item img{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.4,0,.2,1);display:block}
.gallery-bento-item:hover img{transform:scale(1.06)}
.gallery-bento-item__overlay{position:absolute;inset:0;background:linear-gradient(180deg,transparent 50%,rgba(20,8,4,.45) 100%);opacity:0;transition:opacity .4s ease}
.gallery-bento-item:hover .gallery-bento-item__overlay{opacity:1}
@media(max-width:640px){.gallery-bento{grid-template-columns:1fr 1fr;grid-template-rows:180px 180px}.gallery-bento-item:first-child{grid-row:1}}
/* ═══ COUNTDOWN ═══ */
.countdown-event-date{font-family:'Cormorant Garamond',serif;font-size:clamp(1rem,2.2vw,1.25rem);font-style:italic;color:var(--gold);letter-spacing:.06em;margin-top:4px;font-weight:300}
/* ═══ LOCATION ROWS ═══ */
.location-row{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:stretch}
.location-map-wrap{min-height:360px;border-radius:20px;overflow:hidden;border:1px solid var(--line);box-shadow:0 8px 32px rgba(0,0,0,.07)}
.location-map-wrap iframe{width:100%;height:100%;min-height:360px;border:0;display:block}
.location-card{padding:clamp(28px,3.5vw,48px) clamp(24px,3vw,40px);display:flex;flex-direction:column;gap:12px}
.location-badge{display:inline-flex;align-items:center;gap:8px;font-size:.72rem;letter-spacing:.28em;text-transform:uppercase;color:var(--gold);font-weight:500;margin-bottom:4px}
.location-badge::before{content:'✦';font-size:.65rem}
.location-title{font-family:'Cormorant Garamond',serif;font-size:clamp(1.5rem,3vw,2.2rem);font-weight:400;color:var(--text);margin:0;line-height:1.2}
.location-detail{font-size:clamp(.95rem,1.8vw,1.05rem);color:var(--gold);font-weight:400;letter-spacing:.03em;margin:0}
.location-address{font-size:clamp(.9rem,1.6vw,1rem);color:var(--muted);font-weight:300;line-height:1.7;margin:0}
.location-meniu{border-top:1px solid var(--line);padding-top:12px;margin-top:4px}
.location-meniu-label{font-size:.72rem;letter-spacing:.22em;text-transform:uppercase;color:var(--gold);display:block;margin-bottom:4px}
.location-meniu p{font-size:.95rem;color:var(--muted);font-weight:300}
.location-btn{margin-top:auto;align-self:flex-start}
@media(max-width:860px){.location-row,.location-row--reverse{grid-template-columns:1fr}.location-row .location-map-wrap{order:-1;min-height:280px}.location-row--reverse .location-map-wrap{order:0;min-height:280px}.location-map-wrap iframe{min-height:280px}}
/* ═══ RSVP BUTOANE ═══ */
.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,.35);min-height:52px;padding:0 32px;border-radius:999px;font-size:.95rem;font-weight:500;letter-spacing:.08em;display:inline-flex;align-items:center;gap:10px;transition:transform .25s ease,box-shadow .25s ease;cursor:pointer;text-decoration:none}
.btn--rsvp-yes:hover{transform:translateY(-2px);box-shadow:0 12px 32px rgba(74,155,111,.5)}
.btn--rsvp-no{background:rgba(255,255,255,.8);color:var(--muted);border:1px solid rgba(180,140,100,.25);backdrop-filter:blur(8px);min-height:52px;padding:0 32px;border-radius:999px;font-size:.95rem;font-weight:400;letter-spacing:.08em;display:inline-flex;align-items:center;gap:10px;transition:transform .25s ease,background .25s ease;cursor:pointer;text-decoration:none}
.btn--rsvp-no:hover{transform:translateY(-2px);background:rgba(255,240,240,.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}}
