/* ===================== VARIABLES ===================== */
:root {
  --burgundy: #7a1e3a;
  --burgundy-deep: #5c1228;
  --wine: #8b2346;
  --gold: #c9a227;
  --gold-soft: #d9bf72;
  --cream: #f7f2ec;
  --cream-2: #efe6db;
  --ink: #3a2730;
  --muted: #7c6b71;
  --white: #fffaf5;
  --shadow: 0 18px 50px rgba(92, 18, 40, 0.12);
  --radius: 18px;
  --maxw: 1100px;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-script: "Great Vibes", cursive;
  --font-sans: "Montserrat", -apple-system, system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
}

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

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

[dir="rtl"] { text-align: right; }

/* ===================== NAV ===================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247, 242, 236, 0.0);
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}
.nav.is-scrolled {
  background: rgba(247, 242, 236, 0.96);
  box-shadow: 0 4px 24px rgba(92,18,40,.08);
  backdrop-filter: blur(8px);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav__logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--burgundy);
}
.nav__logo span { color: var(--gold); }
.nav.is-scrolled .nav__logo { color: var(--burgundy); }

.nav__links { display: flex; gap: 26px; }
.nav__links a {
  font-size: .82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--burgundy-deep);
  position: relative;
  padding: 4px 0;
  transition: color .25s;
}
.nav:not(.is-scrolled) .nav__links a { color: var(--white); text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1.5px; background: var(--gold); transition: width .3s;
}
.nav__links a:hover::after { width: 100%; }

.nav__right { display: flex; align-items: center; gap: 14px; }

/* language selector */
.lang { position: relative; }
.lang__btn {
  display: flex; align-items: center; gap: 6px;
  background: transparent;
  border: 1px solid rgba(122,30,58,.4);
  color: var(--burgundy-deep);
  padding: 6px 12px; border-radius: 999px;
  font-family: var(--font-sans); font-size: .78rem; letter-spacing: 1px;
  cursor: pointer; transition: all .25s;
}
.nav:not(.is-scrolled) .lang__btn { color: var(--white); border-color: rgba(255,255,255,.55); }
.lang__btn:hover { background: var(--burgundy); color: #fff; border-color: var(--burgundy); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: var(--white); list-style: none; border-radius: 12px;
  box-shadow: var(--shadow); padding: 6px; min-width: 150px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all .22s ease; z-index: 120;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__menu button {
  width: 100%; text-align: left; background: transparent; border: 0;
  padding: 9px 14px; border-radius: 8px; cursor: pointer;
  font-family: var(--font-sans); font-size: .85rem; color: var(--ink);
}
.lang__menu button:hover { background: var(--cream-2); color: var(--burgundy); }
.lang__menu button.is-active { color: var(--burgundy); font-weight: 600; }

/* burger */
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__burger span { width: 24px; height: 2px; background: var(--burgundy); transition: all .3s; }
.nav:not(.is-scrolled) .nav__burger span { background: #fff; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 120%, rgba(201,162,39,.18), transparent 60%),
    linear-gradient(160deg, #6e1733 0%, #8b2346 45%, #5c1228 100%);
  color: var(--white);
  padding: 120px 24px 80px;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: ""; position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,.35), transparent 70%);
  filter: blur(10px);
}
.hero::before { width: 420px; height: 420px; top: -120px; right: -120px; }
.hero::after { width: 360px; height: 360px; bottom: -140px; left: -110px; }
.hero__overlay {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .5; pointer-events: none;
}
.hero__content { position: relative; z-index: 2; max-width: 760px; }
.hero__welcome {
  font-family: var(--font-sans);
  text-transform: uppercase; letter-spacing: 5px; font-size: .8rem;
  color: var(--gold-soft); margin-bottom: 18px; font-weight: 400;
}
.hero__names {
  font-family: var(--font-script);
  font-weight: 400; line-height: 1;
  font-size: clamp(3.4rem, 11vw, 7rem);
  display: flex; flex-direction: column; align-items: center;
  text-shadow: 0 6px 30px rgba(0,0,0,.3);
}
.hero__amp { color: var(--gold-soft) !important; font-size: .7em; margin: -.15em 0; }
.hero__date {
  font-family: var(--font-serif); font-size: clamp(1.3rem, 4vw, 2rem);
  letter-spacing: 2px; margin-top: 14px;
}
.hero__place {
  font-size: .9rem; letter-spacing: 1.5px; opacity: .9; margin-top: 8px;
}

/* divider line under place */
.hero__place::after {
  content: ""; display: block; width: 70px; height: 1px;
  background: var(--gold-soft); margin: 22px auto 0;
}

/* countdown */
.countdown {
  display: flex; justify-content: center; gap: 14px;
  margin: 30px 0 36px; flex-wrap: wrap;
}
.countdown__item {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(217,191,114,.4);
  border-radius: 14px;
  padding: 14px 18px; min-width: 76px;
  backdrop-filter: blur(4px);
}
.countdown__item span {
  display: block; font-family: var(--font-serif);
  font-size: 2rem; font-weight: 600; color: var(--gold-soft); line-height: 1;
}
.countdown__item small {
  text-transform: uppercase; letter-spacing: 1.5px; font-size: .62rem; opacity: .85;
}

/* buttons */
.btn {
  display: inline-block; cursor: pointer;
  font-family: var(--font-sans); font-size: .8rem; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 14px 30px; border-radius: 999px; transition: all .3s; border: 1px solid transparent;
}
.btn--ghost { border-color: var(--gold-soft); color: var(--white); }
.btn--ghost:hover { background: var(--gold-soft); color: var(--burgundy-deep); }
.btn--solid { background: var(--burgundy); color: #fff; box-shadow: var(--shadow); }
.btn--solid:hover { background: var(--burgundy-deep); transform: translateY(-2px); }
.btn--whatsapp { background: #25D366; color: #fff; }
.btn--whatsapp:hover { background: #1da851; transform: translateY(-2px); }

.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-size: 2.4rem; color: var(--gold-soft); z-index: 2;
  animation: bounce 2s infinite; line-height: 1;
}
@keyframes bounce { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,10px);} }

/* ===================== SECTIONS (shared) ===================== */
.section { padding: 92px 24px; }
.container { max-width: var(--maxw); margin: 0 auto; }
.section__eyebrow {
  text-align: center; text-transform: uppercase; letter-spacing: 4px;
  font-size: .72rem; color: var(--gold); font-weight: 500; margin-bottom: 8px;
}
.section__title {
  text-align: center; font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 600; color: var(--burgundy);
}
.ornament { text-align: center; color: var(--gold); font-size: 1.6rem; margin: 10px 0 30px; }
.section__lead {
  max-width: 720px; margin: 0 auto; text-align: center;
  font-family: var(--font-serif); font-size: 1.25rem; color: var(--muted);
}

.section--info { background: var(--cream); }
.section--agenda { background: var(--cream-2); }
.section--location { background: var(--cream); }
.section--videos { background: var(--cream-2); }
.section--contact { background: linear-gradient(160deg, #6e1733, #5c1228); color: var(--white); }

/* ===================== INFO GRID ===================== */
.info-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 48px;
}
.info-card {
  background: var(--white); border-radius: var(--radius);
  padding: 36px 26px; text-align: center; box-shadow: var(--shadow);
  border: 1px solid rgba(201,162,39,.18);
  transition: transform .3s;
}
.info-card:hover { transform: translateY(-6px); }
.info-card__icon { font-size: 2rem; margin-bottom: 12px; }
.info-card h3 {
  font-family: var(--font-serif); font-size: 1.5rem; color: var(--burgundy); margin-bottom: 8px; font-weight: 600;
}
.info-card p { color: var(--muted); font-size: .95rem; }

/* ===================== AGENDA / DAYS ===================== */
.days { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; }
.day {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  border: 1px solid rgba(201,162,39,.18);
}
.day__head {
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-deep));
  color: var(--white); padding: 30px 30px 26px; text-align: center;
  position: relative;
}
.day__tag {
  display: inline-block; border: 1px solid var(--gold-soft); color: var(--gold-soft);
  text-transform: uppercase; letter-spacing: 2px; font-size: .68rem;
  padding: 4px 14px; border-radius: 999px; margin-bottom: 12px;
}
.day__name { font-family: var(--font-serif); font-size: 1.9rem; font-weight: 600; }
.day__sub { font-size: .85rem; letter-spacing: 1px; opacity: .9; margin-top: 4px; }

.timeline { list-style: none; padding: 30px 30px 36px; }
.timeline li {
  position: relative; padding-left: 26px; padding-bottom: 22px;
  border-left: 2px solid var(--cream-2);
}
.timeline li:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,39,.18);
}
.timeline__time {
  display: block; font-family: var(--font-sans); font-weight: 600;
  font-size: .78rem; letter-spacing: 1px; text-transform: uppercase;
  color: var(--burgundy); margin-bottom: 4px;
}
.timeline li p { color: var(--muted); font-size: .95rem; }

[dir="rtl"] .timeline li { padding-left: 0; padding-right: 26px; border-left: 0; border-right: 2px solid var(--cream-2); }
[dir="rtl"] .timeline li:last-child { border-right-color: transparent; }
[dir="rtl"] .timeline li::before { left: auto; right: -7px; }

/* ===================== LOCATION ===================== */
.location {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px;
  margin-top: 48px; align-items: stretch;
}
.location__text {
  background: var(--white); border-radius: var(--radius); padding: 40px;
  box-shadow: var(--shadow); border: 1px solid rgba(201,162,39,.18);
}
.location__text h3 { font-family: var(--font-serif); font-size: 1.7rem; color: var(--burgundy); margin-bottom: 12px; font-weight: 600; }
.location__text p { color: var(--muted); margin-bottom: 16px; }
.location__pin strong { color: var(--ink); }
.location__note { font-size: .9rem; font-style: italic; }
.location__map {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  min-height: 340px; border: 1px solid rgba(201,162,39,.18);
}
.location__map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ===================== VIDEOS ===================== */
.videos {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px;
}
.video-card {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.video-card iframe { width: 100%; height: 100%; border: 0; }
.video-card--placeholder {
  background: linear-gradient(135deg, #fff, var(--cream-2));
  border: 2px dashed rgba(122,30,58,.3);
  display: flex; align-items: center; justify-content: center;
}
.video-card__inner { text-align: center; color: var(--muted); }
.video-card__inner span {
  display: flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 50%;
  background: var(--burgundy); color: #fff; font-size: 1.2rem;
}
.video-card__inner p { font-family: var(--font-serif); font-size: 1.15rem; color: var(--burgundy); }
.video-card__inner small { color: var(--muted); font-family: var(--font-sans); letter-spacing: 1px; text-transform: uppercase; font-size: .65rem; }

/* ===================== CONTACT ===================== */
.section--contact .section__title { color: var(--white); }
.section--contact .section__lead { color: rgba(255,255,255,.85); }
.section--contact .ornament { color: var(--gold-soft); }
.contact-card {
  max-width: 440px; margin: 40px auto 0; text-align: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(217,191,114,.4);
  border-radius: var(--radius); padding: 40px; backdrop-filter: blur(4px);
}
.contact-card__name { text-transform: uppercase; letter-spacing: 2px; font-size: .8rem; color: var(--gold-soft); margin-bottom: 10px; }
.contact-card__phone {
  display: block; font-family: var(--font-serif); font-size: 2rem;
  font-weight: 600; color: #fff; letter-spacing: 1px; transition: color .25s;
}
.contact-card__phone:hover { color: var(--gold-soft); }
.contact-card__hint { font-size: .8rem; opacity: .7; margin: 6px 0 22px; font-style: italic; }

/* ===================== FOOTER ===================== */
.footer {
  background: var(--burgundy-deep); color: var(--cream);
  text-align: center; padding: 44px 24px;
}
.footer__names { font-family: var(--font-script); font-size: 2.2rem; color: var(--gold-soft); }
.footer__date { letter-spacing: 2px; font-size: .85rem; margin-top: 4px; }
.footer__web { letter-spacing: 2px; font-size: .8rem; margin-top: 10px; color: var(--gold-soft); text-transform: uppercase; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 860px) {
  .info-grid, .days, .location, .videos { grid-template-columns: 1fr; }

  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    background: var(--white); flex-direction: column; gap: 0;
    padding: 100px 30px 30px; box-shadow: var(--shadow);
    transform: translateX(100%); transition: transform .35s ease; z-index: 110;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { color: var(--burgundy-deep) !important; text-shadow: none !important; padding: 16px 0; border-bottom: 1px solid var(--cream-2); width: 100%; }
  .nav__burger { display: flex; }
  .section { padding: 70px 20px; }
}

@media (max-width: 480px) {
  .countdown__item { min-width: 62px; padding: 10px 12px; }
  .countdown__item span { font-size: 1.5rem; }
  .location__text, .contact-card { padding: 28px; }
}

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll { animation: none; }
}
