/* ==========================================================
   Kapsalon Angel – stijlblad
   Kleuren aanpassen? Wijzig de variabelen hieronder.
   ========================================================== */

:root {
  --color-bg: #faf6f1;        /* lichte crème achtergrond */
  --color-bg-alt: #f1e9e0;    /* iets donkerder crème */
  --color-dark: #2b2523;      /* donker (tekst, donkere sectie) */
  --color-text: #4a413d;      /* gewone tekst */
  --color-muted: #8a7f79;     /* gedempte tekst */
  --color-accent: #b8866b;    /* accentkleur (rosé-goud) */
  --color-accent-dark: #9c6d54;
  --color-white: #ffffff;

  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --header-height: 80px;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(43, 37, 35, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--color-accent-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--color-dark); }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.15;
  margin: 0 0 .5em;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Knoppen ---------- */
.btn {
  display: inline-block;
  padding: 14px 34px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--color-white);
  background: var(--color-accent);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius);
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.btn:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: var(--color-white);
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .7);
}
.btn--ghost:hover {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-dark);
}
.btn--small { padding: 10px 20px; font-size: 12px; }

/* ---------- Header / navigatie ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background .4s, box-shadow .4s, height .4s;
}
.header.is-scrolled {
  --header-height: 66px;
  height: 66px;
  background: rgba(250, 246, 241, .96);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(43, 37, 35, .08);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter .4s, height .4s;
}
.header.is-scrolled .header__logo img { filter: none; height: 38px; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav__list {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-white);
  padding: 6px 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__link:hover { color: var(--color-white); }
.header.is-scrolled .nav__link { color: var(--color-dark); }
.header.is-scrolled .nav__link.is-active { color: var(--color-accent-dark); }

.nav-toggle {
  display: none;
  width: 32px; height: 24px;
  position: relative;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  left: 0;
  width: 100%; height: 2px;
  background: var(--color-white);
  transition: transform .3s, opacity .3s, top .3s, background .3s;
}
.nav-toggle span:nth-child(1) { top: 2px; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 20px; }
.header.is-scrolled .nav-toggle span,
.nav-open .nav-toggle span { background: var(--color-dark); }
.nav-open .nav-toggle span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--color-white);
  text-align: center;
}
.hero__bg {
  position: absolute;
  inset: -10% 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom {
  from { scale: 1.12; }
  to   { scale: 1; }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(43, 37, 35, .55) 0%, rgba(43, 37, 35, .35) 50%, rgba(43, 37, 35, .7) 100%);
}
.hero__content { position: relative; z-index: 1; }
.hero__eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .35em;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: #ead7c9;
}
.hero__title {
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 20px;
}
.hero__title em { font-style: italic; color: #ead7c9; }
.hero__text {
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 36px;
  color: rgba(255, 255, 255, .9);
}
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, .7);
  border-radius: 14px;
  z-index: 1;
}
.hero__scroll span {
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--color-white);
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot {
  0%   { opacity: 0; transform: translateY(0); }
  30%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ---------- Secties ---------- */
.section { padding: 110px 0; position: relative; }
.section--light { background: var(--color-bg-alt); }
.section--dark { background: var(--color-dark); color: rgba(255, 255, 255, .8); }
.section--dark .section__title { color: var(--color-white); }

.section__header { text-align: center; margin-bottom: 60px; }
.section__eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 10px;
}
.section__title { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 18px; }
.section__cta { text-align: center; margin-top: 56px; }

.divider {
  width: 60px; height: 1px;
  margin: 0 auto;
  background: var(--color-accent);
}
.divider--left { margin: 0 0 28px; }

/* ---------- Prijzen ---------- */
.prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: start;
}
.price-card {
  background: var(--color-bg);
  padding: 42px 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(43, 37, 35, .12); }
.price-card__title {
  font-size: 2rem;
  text-align: center;
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--color-bg-alt);
}
.price-card__note { font-size: 13px; color: var(--color-muted); margin: 22px 0 0; font-style: italic; }

.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 0;
  font-size: 15px;
}
.price-list li span:last-child { font-weight: 500; color: var(--color-dark); white-space: nowrap; }
.price-list__dots { flex: 1; border-bottom: 1px dotted #cbbdb2; transform: translateY(-4px); }

/* ---------- Galerij ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  background: var(--color-bg-alt);
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}
.gallery__item:hover img { transform: scale(1.06); }

/* ---------- Openingsuren ---------- */
.hours {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hours__text p { margin: 0 0 32px; max-width: 440px; }
.hours__text strong { color: var(--color-white); font-weight: 500; }
.hours-list { list-style: none; margin: 0; padding: 0; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  letter-spacing: .03em;
}
.hours-list li span:last-child { color: var(--color-white); font-weight: 400; }
.hours-list li.is-today { color: #ead7c9; }
.hours-list li.is-today span:first-child::after {
  content: "vandaag";
  margin-left: 10px;
  padding: 2px 8px;
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 2px;
  vertical-align: middle;
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: stretch;
}
.contact__info {
  background: var(--color-bg);
  padding: 44px 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact__item + .contact__item { margin-top: 26px; }
.contact__item h3 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 6px;
}
.contact__item p { margin: 0; font-size: 1.05rem; }
.contact__map {
  min-height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.contact__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, .6);
  padding: 50px 0 40px;
  text-align: center;
  font-size: 14px;
}
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer__logo { height: 40px; width: auto; margin-bottom: 8px; }
.footer p { margin: 0; }
.footer a { color: rgba(255, 255, 255, .8); }
.footer a:hover { color: var(--color-accent); }
.footer__copy { font-size: 12px; letter-spacing: .1em; margin-top: 10px !important; }

/* ---------- Terug naar boven ---------- */
.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 90;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 18px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .4s, visibility .4s, transform .4s var(--ease), background .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--color-accent-dark); color: var(--color-white); }

/* ==========================================================
   Scroll-animaties
   Elementen met class "reveal" schuiven zacht in beeld
   zodra ze zichtbaar worden. data-delay="1|2|3" = vertraging.
   ========================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .1s; }
.js .reveal[data-delay="2"] { transition-delay: .25s; }
.js .reveal[data-delay="3"] { transition-delay: .4s; }

/* Galerij-items zoomen extra subtiel in */
.js .gallery__item.reveal { transform: translateY(40px) scale(.96); }
.js .gallery__item.reveal.is-visible { transform: none; }

/* Sectie-titels: lijntje groeit open */
.js .reveal .divider { transform: scaleX(0); transition: transform 1.2s var(--ease) .3s; }
.js .reveal.is-visible .divider { transform: scaleX(1); }

/* Respecteer gebruikers die minder beweging willen */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__bg, .hero__scroll span { animation: none; }
  .js .reveal,
  .js .reveal .divider { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 980px) {
  .prices { grid-template-columns: 1fr 1fr; }
  .hours { gap: 50px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 36px;
    background: var(--color-bg);
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s, visibility .4s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: center; gap: 22px; }
  .nav__link,
  .header.is-scrolled .nav__link { color: var(--color-dark); font-size: 16px; }
  .nav-open .header__logo img { filter: none; }
  body.nav-open { overflow: hidden; }

  .hours,
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .section { padding: 80px 0; }
  .section__header { margin-bottom: 44px; }
  .prices { grid-template-columns: 1fr; }
  .price-card { padding: 34px 26px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .contact__info { padding: 34px 26px; }
}
