/* ==========================================================================
   Kapsalon Sjiek – stylesheet
   Kleuren, lettertypen en maten staan bovenaan als variabelen.
   ========================================================================== */

@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #1c1a19;          /* bijna-zwart, warm */
  --ink-soft: #2a2725;
  --text: #4a4541;         /* lopende tekst */
  --muted: #7b736c;
  --paper: #ffffff;
  --sand: #f5f0ea;         /* warme, lichte achtergrond */
  --line: #e4dcd3;
  --rose: #b46d70;         /* accentkleur van Sjiek */
  --rose-dark: #96545a;    /* voor kleine tekst (contrast) */
  --rose-light: #dba9ab;   /* accent op donkere achtergrond */

  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;

  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 8rem);
  --header-h: 4.75rem;
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, address, blockquote, table { margin: 0; padding: 0; }
ul { list-style: none; }
address { font-style: normal; }
a { color: inherit; }

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

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--paper); color: var(--ink); padding: .6rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

/* ---------- Knoppen & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.6rem;
  font: 600 .8125rem/1 var(--sans);
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--rose { background: var(--rose); color: #fff; }
.btn--rose:hover { background: var(--rose-dark); }
.btn--ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / .45); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.link {
  color: inherit; text-decoration: underline;
  text-decoration-color: var(--rose); text-decoration-thickness: 1px; text-underline-offset: .25em;
  transition: color .2s;
}
.link:hover { color: var(--rose-light); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  color: #fff;
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgb(28 26 25 / .94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgb(255 255 255 / .06);
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.logo { display: block; flex: none; }
.logo img { width: 4.5rem; filter: invert(1); }  /* zwart logo → wit */

.nav { display: flex; align-items: center; gap: 2rem; }
.nav ul { display: flex; gap: clamp(1rem, 2.2vw, 2rem); }
.nav ul a {
  position: relative; display: block; padding: .5rem 0;
  font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
}
.nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .1rem; height: 1px;
  background: var(--rose-light); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav ul a:hover::after, .nav ul a.is-active::after { transform: scaleX(1); }
.nav__cta { padding: .7rem 1.1rem; letter-spacing: .08em; font-size: .8125rem; }

.nav-toggle {
  display: none; width: 2.75rem; height: 2.75rem; padding: 0; margin-right: -.5rem;
  background: none; border: 0; color: inherit; cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 1.5rem; height: 2px; margin-inline: auto; background: currentColor;
  transition: transform .25s, background-color .25s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 62rem) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 1.5rem;
    padding: 1rem var(--gutter) 2rem;
    background: var(--ink);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-.5rem);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .site-header.is-open { background: var(--ink); backdrop-filter: none; }
  .site-header.is-open .nav { visibility: visible; opacity: 1; transform: none; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { padding: 1rem 0; font-size: .875rem; border-bottom: 1px solid rgb(255 255 255 / .1); }
  .nav ul a::after { display: none; }
  .nav__cta { padding: 1rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100svh, 56rem);
  display: grid; align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  color: #fff; background: var(--ink);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgb(20 18 17 / .7) 0%, rgb(20 18 17 / .35) 30%, rgb(20 18 17 / .75) 100%),
    linear-gradient(90deg, rgb(20 18 17 / .6), rgb(20 18 17 / .25));
}
.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(19rem, .75fr);
  gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
}

.eyebrow {
  display: flex; align-items: center; gap: .9rem; margin-bottom: 1.25rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--rose-light);
}
.eyebrow::before { content: ""; width: 2.5rem; height: 1px; background: currentColor; }

.hero h1 {
  font: 500 clamp(2.75rem, 7.2vw, 5.25rem)/1.04 var(--serif);
  letter-spacing: -.01em; text-wrap: balance;
}
.hero h1 em { font-style: italic; color: var(--rose-light); }
.hero__lead { max-width: 32rem; margin-top: 1.5rem; font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); color: rgb(255 255 255 / .86); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.25rem; }

.hours {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: rgb(28 26 25 / .72);
  border: 1px solid rgb(255 255 255 / .14); border-radius: var(--radius);
  backdrop-filter: blur(8px);
}
.hours__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-bottom: 1rem; }
.hours h2 { font-size: .8125rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.hours table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours th, .hours td { padding: .62rem 0; border-top: 1px solid rgb(255 255 255 / .12); font-weight: 400; text-align: left; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; color: rgb(255 255 255 / .86); }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 600; color: #fff; }
.hours tr.is-today th::before { content: ""; display: inline-block; width: .4rem; height: .4rem; margin-right: .6rem; border-radius: 50%; background: var(--rose-light); vertical-align: middle; }

.status { display: inline-flex; align-items: center; gap: .5rem; font-size: .8125rem; font-weight: 600; }
.status::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: #d08a82; }
.status.is-open::before { background: #7fc79a; box-shadow: 0 0 0 4px rgb(127 199 154 / .2); }

@media (max-width: 56rem) {
  .hero { min-height: 0; }
  .hero__inner { grid-template-columns: 1fr; }
}

/* ---------- Secties ---------- */
.section { padding-block: var(--section); }
.section--sand { background: var(--sand); }

.section-head { text-align: center; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section-head h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.375rem); font-weight: 600; line-height: 1.15;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
}
.section-head__sub { margin-top: .5rem; font: italic 400 1.1875rem/1.4 var(--serif); color: var(--muted); }
.section-head--left { text-align: left; margin-bottom: 1.75rem; }
.section-head--light h2 { color: #fff; }
.section-head--light .section-head__sub { color: rgb(255 255 255 / .65); }

/* schaartje tussen twee lijntjes */
.ornament { display: inline-flex; align-items: center; gap: .9rem; margin-bottom: 1.1rem; color: var(--rose); }
.ornament::before, .ornament::after { content: ""; width: 2.75rem; height: 1px; background: currentColor; opacity: .55; }
.ornament .icon { width: 1.15rem; height: 1.15rem; transform: rotate(-90deg); }
.section-head--left .ornament::before { display: none; }
.section-head--light .ornament { color: var(--rose-light); }

/* ---------- Over Sjiek ---------- */
.about__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about__text p + p { margin-top: 1rem; }
@media (max-width: 52rem) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 30rem; margin-inline: auto; }
}

/* ---------- Behandelingen ---------- */
.treatments { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2.5rem, 6vw, 5rem); }
.treatment { padding: 1.75rem 0; border-top: 1px solid var(--line); }
.treatment__head { display: flex; align-items: baseline; gap: .75rem; margin-bottom: .5rem; }
.treatment__head::after { content: ""; order: 1; flex: 1; min-width: 1rem; border-bottom: 1px dotted #c9bdb0; transform: translateY(-.25em); }
.treatment h3 { font-size: 1rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.treatment__price { order: 2; font: italic 500 1.125rem/1.2 var(--serif); color: var(--rose-dark); white-space: nowrap; }
.treatment p { font-size: 1rem; max-width: 34rem; }
.treatments__note { margin-top: 2.5rem; text-align: center; font: italic 400 1.125rem/1.5 var(--serif); color: var(--muted); }
.treatments__note a { color: var(--rose-dark); text-underline-offset: .2em; }
@media (max-width: 46rem) { .treatments { grid-template-columns: 1fr; } }

/* ---------- Quote ---------- */
.quote {
  position: relative; isolation: isolate; display: grid; place-items: center;
  min-height: clamp(18rem, 42vw, 27rem); padding-block: 4rem;
  color: #fff; background: var(--ink); overflow: hidden;
}
.quote__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.quote blockquote p { font: italic 400 clamp(1.625rem, 4.2vw, 3rem)/1.25 var(--serif); text-align: center; text-wrap: balance; }

/* ---------- Eigen werk ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.6rem, 1.6vw, 1.25rem); }
.gallery a { display: block; overflow: hidden; border-radius: var(--radius); background: var(--sand); cursor: zoom-in; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.gallery a:hover img { transform: scale(1.04); }
@media (max-width: 46rem) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.lightbox { padding: 0; border: 0; background: transparent; max-width: 94vw; max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgb(20 18 17 / .92); }
.lightbox img { max-width: 94vw; max-height: 90vh; width: auto; border-radius: var(--radius); }
.lightbox__close {
  position: fixed; top: 1rem; right: 1rem; width: 2.75rem; height: 2.75rem;
  font-size: 1.75rem; line-height: 1; color: #fff; background: rgb(255 255 255 / .12);
  border: 0; border-radius: 50%; cursor: pointer;
}
.lightbox__close:hover { background: var(--rose); }

/* ---------- Team ---------- */
.member { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: clamp(2rem, 6vw, 4.5rem); align-items: center; max-width: 58rem; margin-inline: auto; }
.member__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius); box-shadow: 1rem 1rem 0 var(--paper), 1rem 1rem 0 1px var(--line); }
.member h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.member__role { margin: .2rem 0 1.25rem; font: italic 400 1.125rem/1.4 var(--serif); color: var(--rose-dark); }
.member__text p + p { margin-top: 1rem; }
@media (max-width: 46rem) {
  .member { grid-template-columns: 1fr; text-align: center; }
  .member__photo { max-width: 17rem; margin-inline: auto; }
}

/* ---------- Merken ---------- */
.brands { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 5vw, 4rem); align-items: center; max-width: 60rem; margin-inline: auto; }
.brands li { display: grid; place-items: center; height: 3.5rem; }
.brands img { max-height: 100%; max-width: min(100%, 10rem);width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; mix-blend-mode: multiply; transition: opacity .25s; }
.brands li:hover img { opacity: 1; }
@media (max-width: 46rem) { .brands { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Contact / footer ---------- */
.site-footer { background: var(--ink); color: rgb(255 255 255 / .82); padding-top: var(--section); }
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: stretch; }
.contact__list { display: grid; gap: 1.75rem; }
.contact__list li { display: flex; gap: 1rem; }
.contact__list .icon { width: 1.35rem; height: 1.35rem; margin-top: .25rem; color: var(--rose-light); }
.contact__list strong { display: block; font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: .2rem; }
.contact__list .link { display: inline-block; }

.map { position: relative; min-height: 22rem; border-radius: var(--radius); overflow: hidden; background: var(--ink-soft); border: 1px solid rgb(255 255 255 / .1); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35); }
.map__placeholder {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .9rem; padding: 2rem; text-align: center;
  background:
    repeating-linear-gradient(35deg, transparent 0 46px, rgb(255 255 255 / .035) 46px 47px),
    repeating-linear-gradient(-55deg, transparent 0 78px, rgb(255 255 255 / .035) 78px 79px);
}
.map__placeholder .icon { width: 2rem; height: 2rem; color: var(--rose-light); }
.map__placeholder p { font: italic 400 1.25rem/1.3 var(--serif); color: #fff; }
.map__placeholder small { font-size: .8125rem; color: rgb(255 255 255 / .5); }

.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
  margin-top: var(--section); padding-block: 1.75rem;
  border-top: 1px solid rgb(255 255 255 / .1);
  font-size: .8125rem; letter-spacing: .04em; color: rgb(255 255 255 / .55);
}
.site-footer__bottom a { color: rgb(255 255 255 / .8); text-underline-offset: .2em; }
.site-footer__bottom a:hover { color: var(--rose-light); }
@media (max-width: 52rem) { .contact { grid-template-columns: 1fr; } }

/* ---------- Rustige scroll-animatie (alleen met JS en zonder 'minder beweging') ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(1.25rem); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

@media print {
  .site-header, .map, .quote__bg, .hero__bg, .hero__actions { display: none; }
  .hero, .site-footer { color: #000; background: none; }
}

/* ---------- Aanvullingen voor het CMS ---------- */
.member + .member { margin-top: clamp(3rem, 8vw, 5rem); }
.member--zonder-foto { grid-template-columns: 1fr; max-width: 40rem; }
.about__text p + p, .member__text p + p { margin-top: 1rem; }
