/* Turning Heads Hair & Makeup — Warm & Luxe theme */

:root {
  --black: #17140f;
  --near-black: #1f1b15;
  --gold: #c9a25d;
  --gold-light: #e2c383;
  --gold-deep: #7a5c28;
  --cream: #f6f1e7;
  --cream-dim: #e9e0cd;
  --text-muted: #b9ad96;
  --text-muted-deep: #6b6153;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --max-width: 1180px;

  /* Hexagon lattice — same motif style as the reference pattern, recolored
     tone-on-tone in the new gold palette. Two variants: a faint gold-on-cream
     version for light sections, a faint warm-gold-on-black version for dark
     sections, so the texture reads consistently across the whole site. */
  --pattern-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100M28 0L28 34L0 50L0 84L28 100L56 84L56 50L28 34' fill='none' stroke='%23c9a25d' stroke-width='1' stroke-opacity='0.4'/%3E%3C/svg%3E");
  --pattern-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100M28 0L28 34L0 50L0 84L28 100L56 84L56 50L28 34' fill='none' stroke='%23e2c383' stroke-width='1' stroke-opacity='0.16'/%3E%3C/svg%3E");
  --pattern-size: 56px 100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--cream);
  background-image: var(--pattern-light);
  background-size: var(--pattern-size);
  color: var(--black);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
  color: var(--black);
}

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

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

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

.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.eyebrow-inline { margin: 0; }

/* Gold reads too pale on cream backgrounds (~2:1 contrast) — use the
   deeper gold by default, and switch back to the lighter gold inside
   dark (black) containers where it has plenty of contrast. */
.hero .eyebrow,
.page-header .eyebrow,
.section-dark .eyebrow,
.cta-band .eyebrow,
.contact-card .eyebrow {
  color: var(--gold-light);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--black);
  background-image: var(--pattern-dark);
  background-size: var(--pattern-size);
  border-bottom: 1px solid rgba(201, 162, 93, 0.25);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--cream);
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo span { color: var(--gold); }

.logo-badge {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.logo-badge img { height: 40px; width: auto; display: block; }

.footer-logo {
  margin-bottom: 16px;
}
.footer-logo .logo-badge img { height: 44px; }

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--cream-dim);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

.nav-cta {
  background: var(--gold);
  color: var(--black) !important;
  padding: 10px 22px;
  border-radius: 2px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--gold-light); border-bottom-color: transparent; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 6px;
}

@media (max-width: 860px) {
  .nav-wrap { padding: 16px 24px; position: relative; }
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black);
    padding: 6px 24px 18px;
    border-top: 1px solid rgba(201,162,93,0.2);
    box-shadow: 0 16px 30px rgba(0,0,0,0.35);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid rgba(246,241,231,0.08);
  }
  .nav-links li:last-child a { border-bottom: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: var(--cream);
}

.hero-home { background-image: url('pexels-photo-7951989.jpg'); }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23,20,15,0.35) 0%, rgba(23,20,15,0.55) 55%, rgba(23,20,15,0.92) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 60px 32px 70px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero h1 {
  color: var(--cream);
  font-size: clamp(2.4rem, 5vw, 4rem);
  max-width: 780px;
  margin-bottom: 20px;
}

.hero p.lead {
  max-width: 560px;
  color: var(--cream-dim);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.hero-logo-badge {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  margin-bottom: 28px;
}
.hero-logo-badge img { height: 276px; width: auto; display: block; }

@media (max-width: 700px) {
  .hero-logo-badge { margin-bottom: 20px; }
  .hero-logo-badge img { height: 180px; }
}

.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Page header (non-home hero) ---------- */
.page-header {
  background-color: var(--black);
  background-image: var(--pattern-dark);
  background-size: var(--pattern-size);
  color: var(--cream);
  padding: 90px 32px 60px;
  text-align: center;
}
.page-header h1 { color: var(--cream); font-size: clamp(2rem, 4vw, 2.8rem); }
.page-header p { color: var(--text-muted); max-width: 560px; margin: 14px auto 0; }


/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
}
.btn-gold:hover { background: var(--gold-light); }

.btn-outline {
  border-color: var(--cream-dim);
  color: var(--cream);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }

.btn-outline-dark {
  border-color: var(--black);
  color: var(--black);
}
.btn-outline-dark:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,162,93,0.08); }

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.section-tight { padding: 60px 0; }
.section-dark {
  background-color: var(--black);
  background-image: var(--pattern-dark);
  background-size: var(--pattern-size);
  color: var(--cream-dim);
}
.section-dark h2 { color: var(--cream); }
.section-cream-dim {
  background-color: var(--cream-dim);
  background-image: var(--pattern-light);
  background-size: var(--pattern-size);
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.section-head p { color: var(--text-muted-deep); }
.section-dark .section-head p { color: var(--text-muted); }

/* ---------- Highlights / feature grid ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; gap: 36px; }
}

.feature {
  text-align: center;
  padding: 10px 12px;
}
.feature .num {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--gold-deep);
  margin-bottom: 10px;
}
.section-dark .feature .num { color: var(--gold-light); }
.feature h3 { font-size: 1.15rem; margin-bottom: 10px; }
.section-dark .feature h3 { color: var(--gold-light); }
.feature p { color: var(--text-muted-deep); font-size: 0.94rem; }
.section-dark .feature p { color: var(--text-muted); }

/* ---------- Service cards ---------- */
.service-category {
  margin-bottom: 64px;
}
.service-category h2 {
  font-size: 1.6rem;
  border-bottom: 1px solid rgba(201,162,93,0.35);
  padding-bottom: 16px;
  margin-bottom: 28px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.service-category h2 .eyebrow { margin: 0; }

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 40px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(23,20,15,0.15);
  font-size: 1.02rem;
}
.service-list li .dot-leader {
  flex: 1;
  border-bottom: 1px dotted rgba(23,20,15,0.2);
  margin: 0 10px;
  transform: translateY(-4px);
}

@media (max-width: 700px) {
  .service-list { grid-template-columns: 1fr; }
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-grid a {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--cream-dim);
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-grid a:hover img { transform: scale(1.08); }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Bento-style mosaic variant used on the full Gallery page — mixed tile
   sizes instead of a uniform grid, with a hover reveal and a JS lightbox
   (see gallery.html) instead of opening images in a new tab. */
.gallery-grid.bento {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 170px;
  grid-auto-flow: dense;
}
.gallery-grid.bento a { aspect-ratio: auto; cursor: zoom-in; }
.gallery-grid.bento a.tile-wide { grid-column: span 2; }
.gallery-grid.bento a.tile-tall { grid-row: span 2; }
.gallery-grid.bento a.tile-big { grid-column: span 2; grid-row: span 2; }

.gallery-grid.bento a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23,20,15,0) 55%, rgba(23,20,15,0.6) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-grid.bento a:hover::after { opacity: 1; }
.gallery-grid.bento a .view-icon {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(246,241,231,0.92);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s ease;
  font-size: 15px;
  z-index: 1;
}
.gallery-grid.bento a:hover .view-icon { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .gallery-grid.bento { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 140px; }
}
@media (max-width: 600px) {
  .gallery-grid.bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
}

/* ---------- Lightbox ---------- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 5, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 60px 24px;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img {
  max-width: 88vw;
  max-height: 82vh;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  border-radius: 2px;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(246,241,231,0.08);
  border: 1px solid rgba(246,241,231,0.3);
  color: var(--cream);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: rgba(201,162,93,0.3);
  border-color: var(--gold);
}
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-counter {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

@media (max-width: 700px) {
  .lightbox-prev, .lightbox-next { width: 38px; height: 38px; font-size: 1.05rem; }
  .lightbox-close { width: 38px; height: 38px; top: 16px; right: 16px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

/* ---------- CTA band ---------- */
.cta-band {
  background-color: var(--black);
  background-image: var(--pattern-dark);
  background-size: var(--pattern-size);
  color: var(--cream);
  text-align: center;
  padding: 80px 32px;
}
.cta-band h2 { color: var(--cream); }
.cta-band p { color: var(--text-muted); max-width: 520px; margin: 14px auto 30px; }
.cta-band .phone-link { font-family: var(--serif); font-size: 1.6rem; color: var(--gold-light); display: block; margin-bottom: 26px; }

/* ---------- Policy / text blocks ---------- */
.policy-block {
  background: var(--cream-dim);
  border-left: 3px solid var(--gold);
  padding: 28px 32px;
  margin-bottom: 22px;
}
.policy-block h3 { font-size: 1.05rem; margin-bottom: 10px; }
.policy-block p { color: #4a4436; font-size: 0.96rem; margin: 0; }

/* ---------- Contact block ---------- */
.contact-card {
  background-color: var(--black);
  background-image: var(--pattern-dark);
  background-size: var(--pattern-size);
  color: var(--cream);
  padding: 50px;
  text-align: center;
}
.contact-card p {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}
.contact-card .phone-link {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--gold-light);
  display: block;
  margin: 18px 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--black);
  background-image: var(--pattern-dark);
  background-size: var(--pattern-size);
  color: var(--text-muted);
  padding: 56px 32px 28px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 1.1fr 0.95fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-inner h4 { color: var(--cream); font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-inner p, .footer-inner a { color: var(--text-muted); font-size: 0.92rem; }
.footer-inner ul { list-style: none; padding: 0; margin: 0; }
.footer-inner li { margin-bottom: 10px; }
.footer-inner a:hover { color: var(--gold-light); }
.footer-inner address { font-style: normal; }
.footer-hours { margin-top: 12px; }
.footer-appt-note { margin-top: 6px; color: var(--gold-light); }

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(201,162,93,0.15);
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ---------- Visit / map (Contact page) ---------- */
.visit-address { font-style: normal; font-size: 1.05rem; line-height: 1.8; }
.visit-hours { margin-top: 18px; }
.visit-appt-note { margin-top: 10px; color: var(--gold-deep); font-weight: 500; }
.map-embed { border: 0; border-radius: 2px; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-10 { margin-top: 10px; }
.mt-50 { margin-top: 50px; }
.img-rounded { border-radius: 2px; }

/* Offset gold-frame treatment for editorial photos (e.g. About page) */
.framed-photo {
  position: relative;
  z-index: 1;
}
.framed-photo::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  right: -22px;
  bottom: -22px;
  border: 1.5px solid var(--gold);
  z-index: -1;
}
.framed-photo img {
  width: 100%;
  display: block;
  box-shadow: 0 18px 40px rgba(23,20,15,0.25);
}

@media (max-width: 700px) {
  .framed-photo::after { top: 14px; left: 14px; right: -14px; bottom: -14px; }
}
