/* ======================================================================
   Afghan Wedding Dances · site styles
   Candle-lit and regal: deep emerald and lapis, burnished gold, and
   mihrab arches framing every image. Symmetric, centered, ceremonial.
   ====================================================================== */
:root {
  --night: #0b201c;
  --emerald: #0f3b32;
  --emerald-2: #144a3f;
  --lapis: #1b2a5c;
  --gold: #d8b25a;
  --gold-soft: #ecd59a;
  --gold-deep: #9c7a2e;
  --ruby: #a3123a;
  --text: #f4ecd8;
  --muted: #c3b89c;
  --line: rgba(216, 178, 90, .35);
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", system-ui, sans-serif;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --arch: polygon(0 100%, 0 38%, 3% 28%, 9% 18%, 18% 10%, 30% 4%, 42% 1%, 50% 0, 58% 1%, 70% 4%, 82% 10%, 91% 18%, 97% 28%, 100% 38%, 100% 100%);
  /* Eight-point star lattice, from Herati tilework */
  --lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23d8b25a' stroke-opacity='.10'%3E%3Cpath d='M32 8l7 17 17 7-17 7-7 17-7-17-17-7 17-7z'/%3E%3Cpath d='M15 15h34v34H15z' transform='rotate(45 32 32)'/%3E%3C/g%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--night); color: var(--text);
  font: 300 18px/1.75 var(--sans); -webkit-font-smoothing: antialiased;
}
main { overflow-x: clip; }
img, video { max-width: 100%; display: block; }
a { color: var(--gold-soft); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: .01em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--gold); color: var(--night); padding: 8px 14px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Ornament: gold rule with a star in the middle */
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); margin: 0 auto 18px; }
.ornament::before, .ornament::after { content: ""; height: 1px; width: 64px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament::after { transform: scaleX(-1); }
.ornament svg { width: 18px; height: 18px; }
.eyebrow { font: 500 12px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; font: 500 13px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  color: var(--night); background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  border: 1px solid var(--gold); text-decoration: none; cursor: pointer; transition: filter .2s, transform .2s;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); color: var(--night); }
.btn-ghost { background: transparent; color: var(--gold-soft); }
.btn-ghost:hover { background: rgba(216,178,90,.12); color: var(--gold-soft); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(11, 32, 28, .92); backdrop-filter: blur(10px); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.wordmark { font: 500 23px/1 var(--display); color: var(--text); text-decoration: none; letter-spacing: .04em; }
.wordmark span { color: var(--gold); font-style: italic; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) { color: var(--text); text-decoration: none; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
.site-nav a:not(.btn):hover { color: var(--gold); }
.site-nav .btn { padding: 11px 20px; font-size: 12px; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: end center; text-align: center; padding: 120px var(--gutter) clamp(40px, 6vw, 72px); isolation: isolate; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,32,28,.45) 0%, rgba(11,32,28,0) 22%, rgba(11,32,28,0) 45%, rgba(11,32,28,.55) 72%, rgba(11,32,28,.92) 100%); }
.hero-frame { position: relative; max-width: 640px; padding: clamp(56px, 7vw, 80px) clamp(24px, 5vw, 56px) clamp(40px, 5vw, 52px); text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.hero-frame svg.arch { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--gold); pointer-events: none; z-index: -1; }
.hero-frame svg.arch .arch-fill { fill: rgba(11, 32, 28, .68); }
.hero-frame { isolation: isolate; }
.hero h1 { font-size: clamp(42px, 6vw, 76px); font-weight: 500; }
.hero h1 em { display: block; font-size: .52em; font-weight: 600; color: var(--gold-soft); margin-top: 10px; }
.hero-lead { max-width: 480px; margin: 18px auto 28px; color: #fffaf0; font-size: 19px; font-weight: 400; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.video-toggle { position: absolute; right: var(--gutter); bottom: 24px; background: rgba(11,32,28,.6); color: var(--gold-soft); border: 1px solid var(--line); padding: 8px 14px; font: 400 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-lattice { background: var(--emerald) var(--lattice); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto clamp(48px, 7vw, 72px); }
.section-head h2 { font-size: clamp(36px, 5vw, 58px); }
.section-head p.intro { color: var(--text); font-size: clamp(19px, 2vw, 22px); font-weight: 400; line-height: 1.6; margin: 20px 0 0; }

/* Offer: three arched windows */
.arches { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.arch-card { text-align: center; }
.arch-img { position: relative; aspect-ratio: 4 / 5; width: min(100%, 230px); margin: 0 auto 24px; }
.arch-img::before { content: ""; position: absolute; inset: -9px; background: var(--gold); clip-path: var(--arch); z-index: -1; }
.arch-img::after { content: ""; position: absolute; inset: -8px; background: var(--emerald); clip-path: var(--arch); z-index: -1; }
.arch-img { isolation: isolate; }
.arch-img img { width: 100%; height: 100%; object-fit: cover; clip-path: var(--arch); }
.arch-card h3 { font-size: 30px; margin-bottom: 10px; }
.arch-card p { color: var(--muted); margin: 0; font-size: 16px; }

.price { margin: clamp(64px, 8vw, 96px) auto 0; max-width: 760px; text-align: center; padding: 48px clamp(20px, 5vw, 56px);
  border: 1px solid var(--line); outline: 1px solid var(--line); outline-offset: 6px; background: rgba(11,32,28,.5); }
.price-amount { font: 500 clamp(52px, 8vw, 80px)/1 var(--display); color: var(--gold-soft); margin: 4px 0 18px; }
.price-label { font-size: 13px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin: 0; }
.price-detail { color: var(--muted); font-size: 16px; margin: 0 0 30px; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.about-img { position: relative; }
.about-img img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; clip-path: var(--arch); }
.about-text h2 { font-size: clamp(40px, 5.5vw, 64px); margin-bottom: 22px; }
.about-text h2 em { color: var(--gold-soft); }
.about-text p { color: var(--muted); }
.about-text .ornament { justify-content: flex-start; }
.about-text .ornament::before { display: none; }

/* Gallery: a row of arched windows, then a tiled mosaic */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery > * { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; background: var(--emerald); }
.gallery > :nth-child(-n+4) { clip-path: var(--arch); }
.gallery > .wide { grid-column: span 2; aspect-ratio: auto; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); text-align: center; }
.step-num { position: relative; display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 30px; font: 500 26px var(--display); color: var(--gold-soft); }
.step-num::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--gold); transform: rotate(45deg); }
.steps h3 { font-size: 26px; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 16px; margin: 0; }
.callout { text-align: center; margin: 56px auto 0; font: italic 400 24px/1.4 var(--display); color: var(--gold-soft); max-width: 620px; }

/* Booking */
.book { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.book-intro h2 { font-size: clamp(40px, 5.5vw, 62px); margin-bottom: 18px; }
.book-intro p { color: var(--muted); }
.contact-direct { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.contact-direct span { display: block; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.form { display: grid; gap: 18px; padding: clamp(24px, 4vw, 44px); background: var(--night); border: 1px solid var(--line); outline: 1px solid var(--line); outline-offset: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: grid; gap: 7px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }
.optional { text-transform: none; letter-spacing: 0; color: var(--muted); }
input, select, textarea { font: 300 17px var(--sans); color: var(--text); background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 10px 2px; border-radius: 0; letter-spacing: 0; text-transform: none; }
select option { background: var(--night); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); }
input[type="date"] { color-scheme: dark; }
.form .btn { justify-self: start; margin-top: 8px; }

footer { padding: 56px 0 72px; text-align: center; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wordmark { display: inline-block; margin-bottom: 12px; }


@media (max-width: 900px) {
  .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 1px solid var(--line); cursor: pointer; }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; display: block; width: 18px; height: 1px; background: var(--gold-soft); position: relative; }
  .nav-toggle-bar::before { position: absolute; top: -6px; } .nav-toggle-bar::after { position: absolute; top: 6px; }
  .site-nav { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--night); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; display: none; }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 16px; }
  .arches { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .about, .book { grid-template-columns: 1fr; }
  .about-img { max-width: 420px; margin: 0 auto; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) { .field-row, .steps { grid-template-columns: 1fr; } .gallery > .wide { grid-column: span 2; } }
