/* ==========================================================================
   Persian Wedding Dances — site styles
   Evening palette: night, ivory, gold and Persian turquoise.
   ========================================================================== */

:root {
  --ivory: #f6f1e9;
  --surface: #fffdf9;
  --ink: #1c1714;
  --muted: #6e625a;
  --line: #e4d9c8;
  --night: #14110f;
  --night-soft: #221c18;
  --gold: #b8892f;
  --gold-light: #e2c27d;
  --gold-bright: #dcab3c;
  --gold-glow: #f5d891;
  --teal: #0f5552;
  --teal-deep: #0a3d3b;

  --display: "Marcellus", "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);

  /* Eight-point star lattice, inspired by Persian tilework */
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23e2c27d' stroke-opacity='.14'%3E%3Cpath d='M28 8l5.5 14.5L48 28l-14.5 5.5L28 48l-5.5-14.5L8 28l14.5-5.5z'/%3E%3Crect x='18' y='18' width='20' height='20'/%3E%3Cpath d='M0 0l8 8M56 0l-8 8M0 56l8-8M56 56l-8-8'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

main { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.8rem, 7.5vw, 5.6rem); letter-spacing: -0.005em; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--night); color: #fff; padding: 8px 14px;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Shared bits ---------- */

.eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1em;
}
.eyebrow-light { color: var(--gold-light); }

.btn {
  display: inline-block;
  background: var(--gold-bright);
  color: var(--night);
  font: 500 0.82rem/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 17px 30px;
  border: 1px solid var(--gold-bright);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { background: var(--gold-glow); border-color: var(--gold-glow); color: var(--night); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-outline:hover { background: #fff; border-color: #fff; color: var(--night); }
.btn-small { padding: 12px 20px; font-size: 0.74rem; }

.note { color: var(--muted); font-size: 0.95rem; margin-top: 32px; }

.section { padding: clamp(80px, 11vw, 140px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-intro { color: var(--muted); font-size: 1.1rem; font-weight: 300; }
.section-tint { background: var(--surface); }
.section-dark {
  background-color: var(--night);
  background-image: var(--pattern);
  color: #efe6d8;
}
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: var(--gold-light); }
.section-dark p a { color: var(--gold-glow); }
.section-dark p a:hover { color: #fff; }

/* ---------- Header (sits over the video, turns solid on scroll) ---------- */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  color: #fff;
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled { background: rgba(20, 17, 15, 0.94); box-shadow: 0 1px 0 rgba(226, 194, 125, 0.18); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.wordmark {
  font-family: var(--display);
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  color: inherit;
  text-decoration: none;
  margin: 0;
}
.wordmark:hover { color: var(--gold-light); }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.site-nav a:not(.btn):hover { color: var(--gold-light); }

.nav-toggle {
  display: none;
  background: none; border: 0; padding: 12px; margin-right: -12px; cursor: pointer;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block; width: 24px; height: 1.5px; background: #fff;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle-bar { position: relative; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 22px;
    padding: 24px var(--gutter) 32px;
    background: var(--night);
    border-bottom: 1px solid rgba(226, 194, 125, 0.18);
  }
  .site-nav.open { display: flex; }
}

/* ---------- Hero video ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: flex-end; justify-content: center;
  text-align: center;
  background: var(--night);
  color: #f3ead9;
  isolation: isolate;
}
.hero-media {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
/* Keeps the white text readable over any frame of the video */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, rgba(20, 17, 15, 0.55) 0%, rgba(20, 17, 15, 0) 22%),
    linear-gradient(to top, rgba(20, 17, 15, 0.9) 0%, rgba(20, 17, 15, 0.45) 45%, rgba(20, 17, 15, 0.1) 75%);
}
.hero-inner { padding-top: 140px; padding-bottom: clamp(64px, 11vh, 120px); width: 100%; }
.hero h1 { color: #fff; max-width: 20ch; margin-left: auto; margin-right: auto; }
.hero h1 em { display: block; font-style: normal; color: var(--gold-light); }
.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 300;
  max-width: 540px;
  margin: 0 auto 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

.video-toggle {
  position: absolute; right: var(--gutter); bottom: 24px;
  background: rgba(20, 17, 15, 0.5);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font: 500 0.7rem/1 var(--sans);
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 10px 14px;
  cursor: pointer;
}
.video-toggle:hover { border-color: #fff; }

/* ---------- Offer ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px 36px;
}
.card { border-top: 1px solid var(--gold); padding-top: 24px; }
.card p { color: var(--muted); }

.price {
  margin-top: 64px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px 40px;
  background: var(--teal-deep);
  background-image: var(--pattern);
  color: #e9f0ee;
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px);
}
.price p { margin: 0; }
.price-amount {
  font: 400 clamp(2.6rem, 5vw, 3.4rem)/1 var(--display);
  color: #fff;
}
.price-amount span {
  display: block;
  font: 500 0.72rem/1 var(--sans);
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 10px;
}
.price-detail { max-width: 46ch; font-weight: 300; }
@media (max-width: 760px) {
  .price { grid-template-columns: 1fr; }
  .price .btn { justify-self: start; }
}

/* ---------- About ---------- */

.about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.about-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-text p { font-weight: 300; font-size: 1.08rem; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
}

/* ---------- Media ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery img,
.gallery video {
  aspect-ratio: 4 / 5;
  background: var(--night);
  width: 100%;
  object-fit: cover;
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
}

/* ---------- How it works ---------- */

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  counter-reset: step;
}
.steps li { counter-increment: step; }
.steps li::before {
  content: "0" counter(step);
  display: block;
  font: 400 2.6rem/1 var(--display);
  color: var(--gold);
  margin-bottom: 18px;
}
.steps p { color: var(--muted); }

.callout {
  margin: 56px 0 0;
  padding: 22px 28px;
  border: 1px solid var(--gold);
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  text-align: center;
}

/* ---------- Book ---------- */

.book {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
@media (max-width: 860px) {
  .book { grid-template-columns: 1fr; }
}
.book-intro p { font-weight: 300; }

.contact-direct { list-style: none; margin: 32px 0 0; padding: 0; }
.contact-direct li { margin-bottom: 18px; }
.contact-direct span {
  display: block;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-light);
}
.contact-direct a { color: #fff; font-family: var(--display); font-size: 1.4rem; text-decoration: none; }
.contact-direct a:hover { color: var(--gold-light); }

.form {
  background: var(--surface);
  color: var(--ink);
  padding: clamp(24px, 4vw, 40px);
  display: grid; gap: 18px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
}
.form label {
  display: grid; gap: 6px;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
}
.optional { font-weight: 400; color: var(--muted); text-transform: none; letter-spacing: 0; }
.form input,
.form select,
.form textarea {
  font: 400 1rem/1.4 var(--sans);
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 13px 14px;
  width: 100%;
}
.form input:focus,
.form select:focus,
.form textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.form .btn { justify-self: start; }

/* ---------- Footer ---------- */

.site-footer { background: var(--night); color: #cfc3b2; padding: 36px 0; border-top: 1px solid rgba(226, 194, 125, 0.18); }
.site-footer .wordmark { color: #fff; }
.site-footer .meta { margin: 0; font-size: 0.9rem; max-width: 620px; }
.site-footer .meta a { color: var(--gold-glow); }
.site-footer .meta a:hover { color: #fff; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
