/*
Theme Name: Hamid the Barber
Theme URI: https://hamidthebarber.nl
Author: Online Doekoe
Author URI: https://online-doekoe.nl
Description: Custom one-pager theme voor Hamid the Barber — luxe goud/zilver op zwart, Salonized-boekingen.
Version: 1.0.0
Requires PHP: 8.0
License: Proprietary
Text Domain: hamidthebarber
*/

/* ===== Design tokens ===== */
:root {
  /* Lichte, warme basis (leesbaar) + goud als accent. Donkere banden apart onderaan. */
  --bg: #f5f1ea;         /* warm crème — content-achtergrond */
  --bg-alt: #ebe3d7;     /* warm zand — afwisselende secties */
  --bg-card: #ffffff;    /* kaarten */
  --gold: #a67f22;       /* accentgoud, donker genoeg voor tekst/lijnen op licht */
  --gold-light: #e8c877; /* licht goud — voor de donkere banden */
  --gold-dark: #7f5f18;
  --gold-grad: linear-gradient(135deg, #e8c877 0%, #c9a24b 45%, #a67f22 100%);
  --silver: #2b2721;     /* bodytekst (donker warmgrijs) */
  --silver-dim: #6f685e; /* gedempte tekst */
  --white: #18140e;      /* koppen (warm bijna-zwart) */
  --line: rgba(166, 127, 34, 0.32);
  --font-head: "Playfair Display", "Times New Roman", Georgia, serif;
  --font-body: "Jost", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

/* ===== Reset / basis ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  background: var(--bg);
  color: var(--silver);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

h1, h2, h3 { font-family: var(--font-head); color: var(--white); font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: 1.25rem; }

.container { width: min(1120px, 92%); margin-inline: auto; }
section { padding: 96px 0; }
section.alt { background: var(--bg-alt); }

/* Eyebrow + gouden hairline (echo van het logo) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--gold); font-size: 0.8rem; letter-spacing: 0.35em;
  text-transform: uppercase; margin-bottom: 18px;
}
.eyebrow::before, .eyebrow::after {
  content: ""; width: 36px; height: 1px; background: var(--gold-grad);
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head p { margin-top: 14px; color: var(--silver-dim); }

.hairline {
  width: 120px; height: 1px; margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ===== Knoppen ===== */
.btn {
  display: inline-block; padding: 15px 38px;
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; cursor: pointer;
  border: none; transition: all 0.25s ease;
}
.btn-gold {
  background: var(--gold-grad); color: #141414;
  box-shadow: 0 6px 24px rgba(201, 162, 75, 0.25);
}
.btn-gold:hover { color: #000; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(201, 162, 75, 0.4); }
.btn-outline {
  background: transparent; color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline:hover { background: rgba(201, 162, 75, 0.1); color: var(--gold-light); }

/* ===== Header / navigatie ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(14, 14, 16, 0.88); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 162, 75, 0.18);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img, .brand svg { height: 48px; width: auto; }
.brand-name {
  font-family: var(--font-head); color: var(--white);
  font-size: 1.05rem; letter-spacing: 0.12em;
}
.brand-name span { color: var(--gold); }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  color: var(--silver); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.main-nav a:hover { color: var(--gold-light); }
.main-nav .btn { padding: 11px 26px; }
.nav-toggle { display: none; background: none; border: none; color: var(--gold); font-size: 1.7rem; cursor: pointer; }

/* ===== Hero ===== */
.hero {
  min-height: 100svh; display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; padding: 140px 0 90px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 30%, rgba(201, 162, 75, 0.10), transparent 65%),
    radial-gradient(ellipse 90% 60% at 50% 110%, rgba(199, 201, 204, 0.05), transparent 60%),
    var(--bg);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 140px;
  background: linear-gradient(180deg, transparent, var(--bg));
}
.hero-logo { width: min(300px, 62vw); margin: 0 auto 34px; filter: drop-shadow(0 0 40px rgba(201, 162, 75, 0.25)); }
.hero h1 { margin-bottom: 18px; }
.hero .sub {
  max-width: 560px; margin: 0 auto 38px; color: var(--silver);
  font-size: 1.06rem; font-weight: 300;
}
.hero-cta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  color: var(--gold); font-size: 1.4rem; opacity: 0.7; animation: drift 2.2s ease-in-out infinite;
  z-index: 2;
}
@keyframes drift { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ===== Trust-bar ===== */
.trust { padding: 0; background: var(--bg-alt); border-block: 1px solid rgba(201, 162, 75, 0.16); }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  padding: 30px 18px; text-align: center;
  border-left: 1px solid rgba(201, 162, 75, 0.12);
}
.trust-item:first-child { border-left: none; }
.trust-item .t-icon { color: var(--gold); font-size: 1.5rem; margin-bottom: 6px; }
.trust-item strong { display: block; color: var(--white); font-family: var(--font-head); font-size: 1.02rem; }
.trust-item small { color: var(--silver-dim); font-size: 0.8rem; letter-spacing: 0.06em; }

/* ===== Prijslijst ===== */
.price-list { max-width: 720px; margin: 0 auto; }
.price-row {
  display: flex; align-items: baseline; gap: 14px;
  padding: 20px 6px; border-bottom: 1px solid rgba(201, 162, 75, 0.14);
}
.price-row .p-name { color: var(--white); font-family: var(--font-head); font-size: 1.15rem; white-space: nowrap; }
.price-row .p-time { color: var(--silver-dim); font-size: 0.82rem; letter-spacing: 0.08em; white-space: nowrap; }
.price-row .p-dots { flex: 1; border-bottom: 1px dotted rgba(201, 162, 75, 0.45); transform: translateY(-5px); }
.price-row .p-price { color: var(--gold); font-family: var(--font-head); font-size: 1.25rem; white-space: nowrap; }
.price-note { text-align: center; margin-top: 30px; color: var(--silver-dim); font-size: 0.9rem; }
.price-cta { text-align: center; margin-top: 38px; }

/* ===== Over / team ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .visual {
  aspect-ratio: 4 / 5; background: var(--bg-card); position: relative; overflow: hidden;
  border: 1px solid rgba(201, 162, 75, 0.2);
}
.visual .ph {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; color: var(--silver-dim);
  font-size: 0.85rem; letter-spacing: 0.1em; text-align: center; padding: 20px;
}
.visual .ph svg { opacity: 0.5; }
.visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.split h2 { margin-bottom: 20px; }
.split .lead { color: var(--silver); margin-bottom: 16px; }
.usp-list { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.usp-list li { display: flex; gap: 14px; align-items: flex-start; }
.usp-list li::before {
  content: "✦"; color: var(--gold); font-size: 0.9rem; line-height: 1.9;
}

.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: 40px; justify-content: center; }
.team-card { text-align: center; }
.team-card .photo {
  aspect-ratio: 1; background: var(--bg-card); margin-bottom: 20px; overflow: hidden;
  border: 1px solid rgba(201, 162, 75, 0.2); position: relative; transition: border-color 0.3s;
}
.team-card:hover .photo { border-color: var(--gold); }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 0.4s; }
.team-card:hover .photo img { filter: grayscale(0.3); }
.team-card h3 { color: var(--white); }
.team-card small { color: var(--gold); font-size: 0.78rem; letter-spacing: 0.25em; text-transform: uppercase; }
.team-card p { margin-top: 10px; color: var(--silver-dim); font-size: 0.92rem; }

/* ===== Reviews ===== */
.reviews-embed { max-width: 900px; margin: 0 auto; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.review-card {
  background: var(--bg-card); border: 1px solid rgba(201, 162, 75, 0.16);
  padding: 32px 28px; display: flex; flex-direction: column; gap: 14px;
}
.review-card .stars { color: var(--gold); letter-spacing: 4px; }
.review-card p { font-size: 0.95rem; font-style: italic; color: var(--silver); flex: 1; }
.review-card strong { color: var(--white); font-family: var(--font-head); font-weight: 500; }

/* ===== Gallery ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid .g-item {
  aspect-ratio: 1; background: var(--bg-card); border: 1px solid rgba(201, 162, 75, 0.14);
  position: relative; overflow: hidden;
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: all 0.4s; }
.gallery-grid .g-item:hover img { filter: grayscale(0); transform: scale(1.04); }

/* ===== Boeken (Salonized) ===== */
.booking-panel {
  max-width: 860px; margin: 0 auto; background: var(--bg-card);
  border: 1px solid var(--line); padding: 26px;
}
.booking-fallback { text-align: center; padding: 40px 20px; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.info-block { margin-bottom: 30px; }
.info-block h3 { color: var(--gold); font-size: 0.85rem; font-family: var(--font-body); letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 12px; }
.info-block p, .info-block li { color: var(--silver); }
.hours { list-style: none; max-width: 340px; }
.hours li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid rgba(201, 162, 75, 0.12); }
.hours li span:last-child { color: var(--white); }
.hours li.closed span:last-child { color: var(--silver-dim); }
.map-frame { border: 1px solid var(--line); filter: grayscale(1) invert(0.92) contrast(0.9); width: 100%; height: 420px; }
.contact-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* ===== Footer ===== */
.site-footer { background: #0a0a0c; border-top: 1px solid rgba(201, 162, 75, 0.18); padding: 56px 0 32px; }
.footer-grid { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.footer-grid img, .footer-grid svg { height: 72px; width: auto; }
.footer-note { color: var(--silver-dim); font-size: 0.85rem; }
.footer-legal { color: var(--silver-dim); font-size: 0.78rem; margin-top: 10px; }
.footer-legal a { color: var(--silver-dim); text-decoration: underline; }
.prev-name {
  display: inline-block; margin-top: 6px; padding: 6px 16px;
  border: 1px solid rgba(201, 162, 75, 0.3); color: var(--gold);
  font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase;
}

/* ===== WhatsApp float ===== */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45); transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ===== Sticky mobiele boek-balk ===== */
.mobile-book { display: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .review-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: none; }
  .trust-item { border-top: 1px solid rgba(201, 162, 75, 0.12); }
  .trust-item:nth-child(-n+2) { border-top: none; }
  .team-grid { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; }
}
@media (max-width: 760px) {
  section { padding: 70px 0; }
  .main-nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(14, 14, 16, 0.98); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  }
  .main-nav.open { max-height: 420px; }
  .main-nav a { padding: 16px 0; width: 100%; text-align: center; }
  .main-nav .btn { margin: 14px auto 22px; }
  .nav-toggle { display: block; }
  .mobile-book {
    display: block; position: fixed; inset: auto 0 0 0; z-index: 95;
    background: var(--gold-grad); color: #141414; text-align: center;
    padding: 16px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
    font-size: 0.85rem;
  }
  .mobile-book:hover { color: #000; }
  .wa-float { bottom: 76px; }
  body { padding-bottom: 54px; }
}

/* =========================================================
   LICHTE VARIANT v2 — donkere accentbanden + contrast-tweaks
   (light-warm basis staat in :root; hier de uitzonderingen)
   ========================================================= */

/* Header: warme donkere balk, lichte tekst */
.site-header { background: rgba(22, 19, 14, 0.92); border-bottom-color: rgba(201, 162, 75, 0.22); }
.brand-name { color: #f5f1ea; }
.brand-name span { color: #e8c877; }
.main-nav a { color: #e7e2d8; }
.main-nav a:hover { color: #e8c877; }
.nav-toggle { color: #e8c877; }

/* Hero: warme donkere band zodat het logo knalt */
.hero {
  background:
    radial-gradient(ellipse 70% 55% at 50% 34%, rgba(201, 162, 75, 0.16), transparent 60%),
    linear-gradient(180deg, #1c1810 0%, #12100b 100%);
}
.hero h1 { color: #f7f3ea; }
.hero .sub { color: #e7e2d8; }
.hero-scroll { color: #e8c877; }

/* Trust-bar: schone lichte strook onder de hero */
.trust { background: #ffffff; border-block-color: rgba(166, 127, 34, 0.18); }

/* Eyebrows + kleine goud-labels donkerder voor contrast op licht */
.eyebrow { color: #8a6516; }
.info-block h3 { color: #8a6516; }

/* Kaart-secties: subtiele schaduw i.p.v. alleen rand op licht */
.split .visual,
.team-card .photo,
.review-card,
.gallery-grid .g-item,
.booking-panel { box-shadow: 0 10px 30px rgba(24, 20, 14, 0.06); }

/* Kaart-placeholders leesbaar op wit */
.visual .ph, .photo .ph, .g-item .ph { background: #f0ebe1; color: #8a8378; }

/* Kaart-fotos niet volledig grijswaarde (was voor donkere bg bedoeld) */
.team-card .photo img { filter: grayscale(0.55); }
.split .visual img { filter: grayscale(0.4) contrast(1.02); }

/* Contact-kaart: geen donkere invert-filter meer */
.map-frame { filter: saturate(0.9); }

/* Footer: warme donkere afsluiter */
.site-footer { background: #141009; border-top-color: rgba(201, 162, 75, 0.22); }
.footer-note { color: #c9c3b8; }
.footer-note a { color: #e8c877; }
.footer-legal { color: #8f897d; }
.footer-legal a { color: #b8b2a6; }
.prev-name { color: #e8c877; border-color: rgba(201, 162, 75, 0.4); }
