/* ==========================================================================
   Team Hair Boutique – prototype stylesheet
   Palet A "Warm zand". Eén achtergrond, één vlakkleur, één accent.
   Deze variabelen worden 1-op-1 overgenomen in theme.json van het WP-thema.
   ========================================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-latin.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Italic-latin.woff2") format("woff2");
  font-weight: 300 700; font-style: italic; font-display: swap;
}
@font-face {
  /* woordmerk naast het logo: hetzelfde font als in het logo.
     LET OP: Champagne & Limousines (Lauren Thompson / Nymphont) is gratis voor
     persoonlijk gebruik; webgebruik (@font-face) vereist een commerciële licentie
     via donatie. Zie fonts/ChampagneLimousines-LICENSE.txt. Regelen vóór livegang. */
  font-family: "Champagne Limousines";
  src: url("../fonts/ChampagneLimousines.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  /* kleuren */
  --bg:       #F7F4EF;  /* pagina-achtergrond, warm off-white */
  --surface:  #E9E1D6;  /* vlakken / rustige secties, zand-beige */
  --text:     #3A312B;  /* primaire tekst, warm donkerbruin */
  --muted:    #6B6057;  /* secundaire tekst, taupe (AA-contrast op beige) */
  --accent:   #7F6350;  /* knoppen en links, warm bruin (AA met witte tekst) */
  --accent-h: #6A5241;  /* hover */
  --line:     #D9CFC3;  /* lijnen en randen */
  --white:    #FFFFFF;

  /* typografie */
  --font-head: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-brand: "Champagne Limousines", "Century Gothic", "Didact Gothic", sans-serif;

  /* maten */
  --container: 1100px;
  --gutter: 20px;
  --radius: 4px;
  --section: clamp(3.5rem, 8vw, 6rem);
}

/* ---------- basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;            /* 17px */
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-h); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: 0;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 3.75rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; max-width: 65ch; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.lead { font-size: 1.2rem; color: var(--muted); }
.muted { color: var(--muted); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 720px; }
.section { padding: var(--section) 0; }
.section--surface { background: var(--surface); }
.section--border { border-top: 1px solid var(--line); }

/* ---------- knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 500;
  padding: 0.8rem 1.5rem; border-radius: var(--radius);
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-h); border-color: var(--accent-h); color: var(--white); }
.btn--secondary { background: transparent; color: var(--text); border-color: var(--text); }
.btn--secondary:hover { background: var(--text); color: var(--bg); }
.btn--small { padding: 0.7rem 1.4rem; font-size: 0.9rem; }
.link-arrow { font-weight: 500; text-decoration: none; }
.link-arrow::after { content: " \2192"; }
.link-arrow:hover { text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin-top: 1.75rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 239, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 2rem; min-height: 116px; transition: min-height .25s ease; }
.brand { display: inline-flex; align-items: center; gap: 1rem; text-decoration: none; color: var(--text); }
.brand img { height: 96px; width: auto; transition: height .25s ease; }
.brand-name { font-family: var(--font-brand); font-size: 1.8rem; font-weight: 400; line-height: 1; letter-spacing: .05em; white-space: nowrap; transition: font-size .25s ease; }
/* compacte header na scrollen (klasse gezet door script) */
.site-header.is-scrolled .container { min-height: 72px; }
.site-header.is-scrolled .brand img { height: 56px; }
.site-header.is-scrolled .brand-name { font-size: 1.4rem; }
@media (prefers-reduced-motion: reduce) {
  .site-header .container, .brand img, .brand-name { transition: none; }
}
.nav { margin-left: auto; display: flex; align-items: center; gap: 1.75rem; }
.nav a { color: var(--text); text-decoration: none; font-size: 0.95rem; padding: .25rem 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--text); }
.nav a.btn { padding: 0.7rem 1.4rem; }
.nav a.btn--primary { color: var(--white); border-bottom-color: var(--accent); }
.nav a.btn--primary:hover { color: var(--white); border-bottom-color: var(--accent-h); }
.nav-toggle { display: none; }

@media (max-width: 800px) {
  .site-header .container { gap: 1rem; min-height: 80px; }
  .brand img { height: 64px; }
  .brand-name { font-size: 1.3rem; }
  .site-header.is-scrolled .container { min-height: 64px; }
  .site-header.is-scrolled .brand img { height: 48px; }
  .site-header.is-scrolled .brand-name { font-size: 1.2rem; }
  .nav-toggle {
    display: inline-flex; order: 3;
    background: none; border: 1px solid var(--line); border-radius: var(--radius);
    width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer; color: var(--text);
  }
  .nav { position: absolute; left: 0; right: 0; top: 100%; display: none;
         flex-direction: column; align-items: stretch; gap: 0;
         background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1rem; }
  .nav.is-open { display: flex; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); font-weight: 500; }
  .nav .btn { margin-top: 1rem; border-bottom: 0; }
  .header-cta { order: 2; margin-left: auto; }
  .header-cta .btn { padding: .55rem .9rem; font-size: .85rem; }
}
@media (min-width: 801px) { .header-cta { display: none; } }
@media (max-width: 600px) { .site-header .brand-name { display: none; } }

/* ---------- hero ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 var(--section); }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero h1 { margin-bottom: .5em; }
.hero figure { margin: 0; }
.hero img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: var(--radius); }
@media (max-width: 800px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero figure { order: -1; }
  .hero img { aspect-ratio: 4 / 3; }
}

/* ---------- twee kolommen (afspraak, over ons, bezoek) ---------- */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.cols--center { align-items: center; }
.cols figure { margin: 0; }
.cols img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: var(--radius); }
@media (max-width: 800px) { .cols { grid-template-columns: 1fr; } }

.card { border-top: 1px solid var(--text); padding-top: 1.25rem; }
.card h3 { margin-bottom: .4em; }
.card .btn { margin-top: 1rem; }

.section-head { margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head p { color: var(--muted); }

/* ---------- lijstrijen: diensten, prijzen, openingstijden ---------- */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 2rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.rows li strong { font-family: var(--font-head); font-weight: 500; font-size: 1.35rem; line-height: 1.2; }
.rows li span { color: var(--muted); }
.rows--services li { grid-template-columns: 220px minmax(0, 1fr); }
.rows--price li span { color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rows--hours li { grid-template-columns: 1fr auto; padding: .6rem 0; }
.rows--hours li strong { font-family: var(--font-body); font-size: 1rem; font-weight: 400; }
.rows--hours li.is-today strong, .rows--hours li.is-today span { font-weight: 500; color: var(--text); }
.rows--hours li.is-today strong::after { content: " · vandaag"; color: var(--muted); font-weight: 400; font-size: .85em; }
@media (max-width: 600px) {
  .rows--services li { grid-template-columns: 1fr; gap: .25rem; }
}

.price-note { font-size: .9rem; color: var(--muted); margin-top: 1rem; }

/* adresblok */
.address { font-style: normal; }
.address p { margin-bottom: .5em; }
.address a { color: var(--text); }

/* ---------- footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 3rem 0 2rem; font-size: .95rem; }
.site-footer .grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: .2rem 0; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .brand { margin-bottom: 1rem; }
.site-footer .brand img { height: 72px; }
.site-footer .brand-name { font-size: 1.5rem; }
.site-footer .bottom { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; color: var(--muted); font-size: .85rem; }
.site-footer .bottom a { color: inherit; }
.site-footer .bottom a:hover { color: var(--text); }
@media (max-width: 800px) { .site-footer .grid { grid-template-columns: 1fr; gap: 1.75rem; } }

/* ---------- subpagina's ---------- */
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.page-head h1 { margin-bottom: .35em; }
.page-head .lead { max-width: 60ch; }

/* team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); list-style: none; margin: 0; padding: 0; }
.team img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: var(--radius); margin-bottom: .9rem; }
.team strong { font-family: var(--font-head); font-weight: 500; font-size: 1.35rem; display: block; line-height: 1.2; }
.team span { color: var(--muted); font-size: .95rem; }
@media (max-width: 600px) { .team { grid-template-columns: 1fr 1fr; } }

/* kleine logo's (producten) */
.brands { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; margin-top: 1.5rem; }
.brands img { height: 72px; width: auto; opacity: .85; }

/* lijst met streepjes (vacature) */
.checks { list-style: none; padding: 0; margin: 0 0 1.1em; }
.checks li { padding-left: 1.25rem; position: relative; margin-bottom: .35rem; }
.checks li::before { content: "–"; position: absolute; left: 0; color: var(--muted); }

/* tarieven */
.anchor-nav { display: flex; flex-wrap: wrap; gap: .5rem .75rem; margin: 0 0 clamp(2rem, 4vw, 3rem); padding: 0; list-style: none; }
.anchor-nav a { display: inline-block; padding: .45rem 1rem; border: 1px solid var(--line); border-radius: 999px; color: var(--text); text-decoration: none; font-size: .9rem; background: var(--white); }
.anchor-nav a:hover { border-color: var(--text); }
.price-group { padding-top: 1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); scroll-margin-top: 90px; }
.price-group h2 { margin-bottom: .25em; }
.price-group h3 { font-family: var(--font-body); font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 2rem 0 .5rem; }
.price-group h3:first-of-type { margin-top: 1rem; }
.rows--price li strong { font-size: 1.15rem; }
.rows--price li small { display: block; font-family: var(--font-body); font-size: .9rem; color: var(--muted); font-weight: 400; margin-top: .15rem; }

/* contact */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: .9rem; font-weight: 500; margin-bottom: .35rem; }
.form input, .form textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem .9rem;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(127, 99, 80, .15); }
.form textarea { min-height: 150px; resize: vertical; }
.form .note { grid-column: 1 / -1; font-size: .85rem; color: var(--muted); }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
.map { aspect-ratio: 4 / 3; width: 100%; border: 0; border-radius: var(--radius); background: var(--surface); }
.map-placeholder {
  aspect-ratio: 4 / 3; width: 100%; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 2rem; gap: .75rem;
}
.map-placeholder p { margin: 0; max-width: 40ch; }
.map-placeholder .btn { margin-top: .5rem; }
@media (max-width: 600px) { .map-placeholder, .map { aspect-ratio: 1 / 1; } }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: .6rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 110px 1fr; gap: 1rem; }
.contact-list li span:first-child { color: var(--muted); font-size: .9rem; }
.contact-list a { color: var(--text); }

/* ---------- hulpklassen ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Contactformulier: honeypot + statusmelding (toegevoegd bij livegang) */
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0 0 4px; padding: 14px 16px; border-radius: 6px; font-size: 15px; line-height: 1.5; }
.form-status.is-ok { background: #EDE7DF; border: 1px solid var(--accent); color: var(--text); }
.form-status.is-err { background: #F6ECEC; border: 1px solid #A6462F; color: #7A3322; }
