/* ==========================================================================
   Glam By Negar public site
   Direction: rich dark ground (merlot/emerald-leaning near-black) + antique
   gold metallic accent + warm off-white. High-contrast didone display paired
   with a clean sans. Photography-forward, asymmetric. Signature element:
   a "mirror" foil sheen revealed over portfolio shots on hover/focus.
   ========================================================================== */

:root {
  --merlot:      #2a0f1b;   /* deep wine ground */
  --merlot-deep: #1c0a13;
  --ink:         #140a10;   /* near-black */
  --gold:        #c9a35b;   /* antique gold */
  --gold-soft:   #e3c789;
  --cream:       #f4ece0;   /* warm off-white body copy */
  --cream-dim:   #c9bcab;
  --line:        rgba(201, 163, 91, 0.28);
  --maxw: 1180px;
  --r: 4px;

  --serif: "Playfair Display", "Didot", "Bodoni MT", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--merlot-deep);
  color: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08;
  letter-spacing: 0.2px; color: var(--cream); }
h1 { font-size: clamp(2.2rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.7rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.55rem); }

a { color: var(--gold-soft); text-decoration: none; }
a:hover { color: var(--cream); }

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

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 28px; } }
.section { padding: clamp(56px, 9vw, 120px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }

.eyebrow {
  font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 14px;
  display: inline-block;
}
.lead { font-size: 1.18rem; color: var(--cream-dim); max-width: 56ch; }

/* ---- Focus: always visible ---- */
:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 600;
  font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 15px 30px; border-radius: var(--r); cursor: pointer;
  border: 1px solid transparent; transition: transform .25s ease,
    background .25s ease, color .25s ease, box-shadow .25s ease;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 50%, var(--gold) 100%);
  color: var(--ink);
}
.btn--gold:hover { color: var(--ink); transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(201,163,91,0.28); }
.btn--ghost { border-color: var(--line); color: var(--cream); background: transparent; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn--block { display: block; width: 100%; text-align: center; }
.btn--sm { padding: 10px 24px; font-size: 0.72rem; }

/* ---- Header / nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(20, 10, 16, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between;
  height: 72px; }
.brand { font-family: var(--serif); font-size: 1.5rem; color: var(--cream);
  letter-spacing: 0.5px; }
.brand b { color: var(--gold-soft); font-weight: 600; }
.nav-links { display: flex; gap: 28px; align-items: center; list-style: none;
  margin: 0; padding: 0; }
.nav-links a:not(.btn) { color: var(--cream); font-size: 0.9rem; letter-spacing: 0.04em;
  position: relative; padding: 4px 0; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px; background: var(--gold); transition: width .3s ease; }
.nav-links a:not(.btn):hover::after, .nav-links a:not(.btn).active::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; color: var(--cream);
  font-size: 1.6rem; cursor: pointer; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column;
    gap: 0; background: var(--merlot); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-links.open { max-height: 460px; }
  .nav-links li { width: 100%; border-top: 1px solid var(--line); }
  .nav-links a { display: block; }
  .nav-links a:not(.btn) { padding: 16px 24px; }
  .nav-links .btn { margin: 12px 24px; }
}

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden;
  background: radial-gradient(120% 100% at 80% 0%, #43182a 0%, var(--merlot) 38%, var(--merlot-deep) 100%); }
.hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px;
  align-items: center; padding-block: clamp(56px, 8vw, 110px); }
.hero__copy h1 { margin: 0 0 20px; text-wrap: balance;
  font-size: clamp(2.2rem, 5vw, 3.8rem); }
.hero__copy .lead { margin-bottom: 32px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__art { position: relative; aspect-ratio: 4/5; border-radius: 6px;
  overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,0.5);
  border: 1px solid var(--line); }
.hero__art img { width: 100%; height: 100%; object-fit: cover; }
.hero__art::after {  /* gold foil sheen */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(227,199,137,0.22) 50%, transparent 60%);
  transform: translateX(-30%); animation: sheen 7s ease-in-out infinite;
}
@keyframes sheen { 0%,70%,100% { transform: translateX(-120%); } 35% { transform: translateX(120%); } }
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__art { aspect-ratio: 3/4; order: -1; }
}

/* ---- Stat / trust strip ---- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--ink); }
.strip__row { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap;
  padding-block: 22px; text-align: center; }
.strip__row span { font-size: 0.82rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--cream-dim); }
.strip__row b { color: var(--gold-soft); }

/* ---- Section headers ---- */
.sec-head { max-width: 60ch; margin-bottom: 44px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---- Portfolio grid: asymmetric "mirror reveal" ---- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filter {
  font-family: var(--sans); background: transparent; cursor: pointer;
  color: var(--cream-dim); border: 1px solid var(--line); border-radius: 40px;
  padding: 8px 20px; font-size: 0.82rem; letter-spacing: 0.08em;
  text-transform: uppercase; transition: all .2s ease;
}
.filter:hover { color: var(--cream); }
.filter.active { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.tile { position: relative; overflow: hidden; border-radius: 5px;
  margin: 0; grid-column: span 4; aspect-ratio: 3/4; border: 1px solid var(--line);
  background: var(--merlot); }
.tile:nth-child(6n+1) { grid-column: span 8; aspect-ratio: 16/11; }
.tile:nth-child(6n+4) { grid-column: span 8; aspect-ratio: 16/11; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.tile:hover img, .tile:focus-within img { transform: scale(1.06); }
.tile::before {  /* mirror foil sweep */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(244,236,224,0.28) 50%, transparent 58%);
  transform: translateX(-120%); transition: transform .8s ease;
}
.tile:hover::before, .tile:focus-within::before { transform: translateX(120%); }
.tile__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 16px; font-size: 0.82rem; color: var(--cream);
  background: linear-gradient(transparent, rgba(20,10,16,0.85));
  opacity: 0; transform: translateY(8px); transition: all .35s ease; }
.tile:hover .tile__cap, .tile:focus-within .tile__cap { opacity: 1; transform: none; }
.tile__cat { color: var(--gold-soft); text-transform: uppercase;
  letter-spacing: 0.16em; font-size: 0.68rem; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tile, .tile:nth-child(6n+1), .tile:nth-child(6n+4) { grid-column: span 1; aspect-ratio: 3/4; }
  .tile__cap { opacity: 1; transform: none; }
  .gallery .tile__cap { display: none; }  /* home look-book: let the photos show on mobile */
}

/* ---- Services / pricing ---- */
.cat-block { margin-bottom: 56px; }
.cat-block__title { display: flex; align-items: baseline; gap: 16px;
  border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 8px; }
.cat-block__title small { color: var(--gold); letter-spacing: 0.2em;
  text-transform: uppercase; font-size: 0.72rem; font-family: var(--sans); }
.price-row { display: grid; grid-template-columns: 1fr auto auto;
  gap: 24px; align-items: baseline; padding: 20px 0;
  border-bottom: 1px solid rgba(201,163,91,0.14); }
.price-row__name { font-family: var(--serif); font-size: 1.3rem; color: var(--cream); }
.price-row__desc { color: var(--cream-dim); font-size: 0.92rem; margin-top: 2px; }
.price-row__dur { color: var(--cream-dim); font-size: 0.9rem; white-space: nowrap; }
.price-row__price { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-soft);
  white-space: nowrap; }
@media (max-width: 620px) {
  .price-row { grid-template-columns: 1fr auto; }
  .price-row__dur { grid-column: 1; }
}

/* ---- Cards / featured services on home ---- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 18px; }
.card { border: 1px solid var(--line); border-radius: 6px; padding: 28px;
  background: linear-gradient(160deg, rgba(67,24,42,0.5), rgba(28,10,19,0.5));
  transition: transform .3s ease, border-color .3s ease; }
.card:hover { transform: translateY(-4px); border-color: var(--gold); }
.card h3 { margin: 0 0 6px; }
.card .price { color: var(--gold-soft); font-family: var(--serif); font-size: 1.3rem; }
.card .meta { color: var(--cream-dim); font-size: 0.85rem; }

/* ---- About ---- */
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px;
  align-items: center; }
.about__photo { aspect-ratio: 4/5; border-radius: 6px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,0.45); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo--empty { display: grid; place-items: center; color: var(--cream-dim);
  background: var(--merlot); text-align: center; padding: 24px; }
.about__monogram { font-family: var(--serif); color: var(--gold); font-size: 3.5rem;
  letter-spacing: 0.06em; font-weight: 600; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; gap: 28px; } }

/* ---- Testimonials ---- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 22px; }
.quote { border: 1px solid var(--line); border-radius: 6px; padding: 30px;
  background: rgba(28,10,19,0.5); position: relative; }
.quote::before { content: "\201C"; font-family: var(--serif); color: var(--gold);
  font-size: 4rem; line-height: 1; position: absolute; top: 6px; left: 16px;
  opacity: 0.35; }
.quote p { position: relative; margin: 8px 0 18px; color: var(--cream); }
.quote cite { font-style: normal; color: var(--gold-soft); font-weight: 600; }
.quote span { display: block; color: var(--cream-dim); font-size: 0.82rem;
  letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px; }

/* ---- Forms ---- */
.form { max-width: 560px; }
.form--wide { max-width: 760px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.8rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; background: rgba(20,10,16,0.6);
  border: 1px solid var(--line); border-radius: var(--r); color: var(--cream);
  font-family: var(--sans); font-size: 1rem;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold); outline: none; }
.field .err { color: #f0a3a3; font-size: 0.82rem; margin-top: 6px; }
/* Inline checkbox opt-in (overrides the full-width .field input styling) */
.field label.optin { display: flex; align-items: flex-start; gap: 12px;
  text-transform: none; letter-spacing: normal; color: var(--cream);
  font-size: 0.95rem; font-weight: 400; margin-bottom: 0; cursor: pointer; }
.field label.optin input { width: auto; flex: 0 0 auto; margin: 2px 0 0;
  padding: 0; accent-color: var(--gold); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .field-grid { grid-template-columns: 1fr; } }

/* booking-specific */
.notice { border: 1px solid var(--line); border-left: 3px solid var(--gold);
  background: rgba(28,10,19,0.6); border-radius: var(--r); padding: 22px 24px;
  margin-bottom: 28px; }
.notice h3 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.notice ul { margin: 0; padding-left: 18px; color: var(--cream-dim);
  font-size: 0.94rem; }
.notice li { margin-bottom: 6px; }
.notice li strong { color: var(--gold-soft); }

.surcharge-flag { display: none; margin-top: 10px; padding: 12px 14px;
  border-radius: var(--r); background: rgba(201,163,91,0.12);
  border: 1px solid var(--gold); color: var(--gold-soft); font-size: 0.9rem; }
.surcharge-flag.show { display: block; }

.slot-msg { color: var(--cream-dim); font-size: 0.9rem; margin-top: 8px; }

/* ---- Flash messages ---- */
.flashes { position: fixed; top: 84px; left: 50%; transform: translateX(-50%);
  z-index: 200; width: min(560px, 92vw); }
.flash { padding: 14px 18px; border-radius: var(--r); margin-bottom: 10px;
  border: 1px solid var(--line); background: var(--merlot);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4); }
.flash--success { border-left: 3px solid #7fc7a0; }
.flash--error { border-left: 3px solid #e58b8b; }
.flash--warning { border-left: 3px solid var(--gold); }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--line); background: var(--ink);
  padding: 56px 0 32px; margin-top: 40px; }
.footer-grid { display: flex; justify-content: space-between; gap: 32px;
  flex-wrap: wrap; align-items: flex-start; }
.footer-grid .brand { font-size: 1.7rem; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--cream-dim); font-size: 0.9rem; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-contact a { color: var(--cream-dim); font-size: 0.9rem; }
.footer-contact a:hover { color: var(--gold-soft); }
.footer-heading { color: var(--cream); font-size: 0.78rem; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 4px; }
.footer-subscribe { display: flex; flex-direction: column; gap: 8px; max-width: 260px; }
.footer-subscribe p { color: var(--cream-dim); font-size: 0.9rem; margin: 0 0 4px; }
.subscribe-form { display: flex; flex-direction: column; gap: 8px; }
.subscribe-form input { width: 100%; padding: 10px 12px;
  background: rgba(20,10,16,0.6); border: 1px solid var(--line);
  border-radius: var(--r); color: var(--cream); font-family: var(--sans);
  font-size: 0.9rem; }
.subscribe-form input:focus { border-color: var(--gold); outline: none; }
.subscribe-form .btn { align-self: flex-start; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line);
  color: var(--cream-dim); font-size: 0.82rem; display: flex;
  justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---- Home: the experience ---- */
.experience .exp__grid {
  display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 48px; align-items: center; }
.exp__copy .lead { margin-bottom: 28px; }
.exp__art {
  position: relative; aspect-ratio: 5/4; border-radius: 6px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,0.45); margin: 0; }
.exp__art img { width: 100%; height: 100%; object-fit: cover; }
.exp__art::after {  /* gold sheen, echoing the hero art */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, transparent 60%, rgba(201,163,91,0.18) 100%); }
@media (max-width: 820px) {
  .experience .exp__grid { grid-template-columns: 1fr; gap: 28px; }
  .exp__art { order: -1; aspect-ratio: 4/3; }
}

/* ---- Full-width image band with overlay caption ---- */
.imgband {
  position: relative; display: grid; place-items: center; text-align: center;
  min-height: clamp(240px, 36vw, 420px);
  background-size: cover; background-position: center;
  border-block: 1px solid var(--line); }
.imgband::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,10,16,0.78), rgba(28,10,19,0.86)); }
.imgband__inner { position: relative; padding: 40px 20px; max-width: 640px; }
.imgband__inner h2 { margin: 0; }

/* ---- CTA band ---- */
.cta-band { text-align: center;
  background: radial-gradient(120% 140% at 50% 0%, #43182a, var(--merlot-deep)); }
.cta-band h2 { margin: 0 0 18px; }
.cta-band .lead { margin: 0 auto 28px; }
.cta-band--img { position: relative; background-size: cover; background-position: center; }
.cta-band--img::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 140% at 50% 0%, rgba(67,24,42,0.82), rgba(28,10,19,0.92)); }
.cta-band--img .container { position: relative; }

/* ---- Portfolio: masonry layout (natural shapes, no cropping) ---- */
.gallery--masonry { columns: 3; column-gap: 16px; }
.gallery--masonry .tile {
  grid-column: auto; aspect-ratio: auto;
  width: 100%; margin: 0 0 16px; break-inside: avoid; }
.gallery--masonry .tile:nth-child(6n+1),
.gallery--masonry .tile:nth-child(6n+4) { aspect-ratio: auto; }
.gallery--masonry .tile img { height: auto; display: block; }
@media (max-width: 980px) { .gallery--masonry { columns: 2; } }
@media (max-width: 560px) { .gallery--masonry { columns: 1; } }
