/* =========================================================
   Kapsalon Filiz Saban — onepager
   Palet: warm beige & goud op zacht wit
   ========================================================= */

:root {
  --bg: #fbf8f3;
  --bg-alt: #f3ece1;
  --ink: #1f1a14;
  --ink-soft: #5b524a;
  --muted: #8a7e72;
  --gold: #b48a4e;
  --gold-deep: #8c6932;
  --line: #e8dccb;
  --white: #ffffff;
  --shadow: 0 30px 60px -30px rgba(45, 30, 10, 0.25);

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1180px;
  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* skip link */
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--white);
  padding: .75rem 1rem; z-index: 1000; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* typography */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 .6em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); font-variation-settings: "opsz" 144; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-variation-settings: "opsz" 96; }
h3, .h3 { font-size: 1.15rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: .02em; text-transform: uppercase; margin: 2rem 0 .8rem; color: var(--ink); }

p { margin: 0 0 1rem; color: var(--ink-soft); }
.lead { font-size: 1.12rem; color: var(--ink); }
em { font-style: italic; color: var(--gold-deep); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 1rem;
  font-weight: 500;
}
.eyebrow--light { color: rgba(255,255,255,.85); }
.muted { color: var(--muted); font-size: .92rem; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .9rem 1.4rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--ink); color: var(--white); }
.btn--primary:hover { background: var(--gold-deep); }
.btn--ghost { background: transparent; border-color: currentColor; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.hero .btn--ghost { color: var(--white); border-color: rgba(255,255,255,.6); }
.hero .btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--small { padding: .55rem 1rem; font-size: .85rem; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .3s var(--ease), padding .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.is-scrolled {
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  padding: 10px 0;
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  gap: 5px;
  color: var(--white);
}
.nav.is-scrolled .brand { color: var(--ink); }
.brand__tag {
  font-size: .65rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: .85;
}
.brand__name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  letter-spacing: .01em;
  font-variation-settings: "opsz" 24;
}

.nav__menu { display: flex; align-items: center; gap: 1.8rem; }
.nav__menu a { font-size: .95rem; color: var(--white); position: relative; }
.nav.is-scrolled .nav__menu a { color: var(--ink); }
.nav__menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  height: 1px; width: 0; background: currentColor;
  transition: width .3s var(--ease);
}
.nav__menu a:not(.btn):hover::after { width: 100%; }
.nav__menu .btn { color: var(--white); background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.4); }
.nav.is-scrolled .nav__menu .btn { color: var(--white); background: var(--ink); border-color: var(--ink); }

.nav__toggle {
  display: none;
  background: transparent; border: 0; cursor: pointer;
  width: 40px; height: 40px;
  padding: 0;
}
.nav__toggle span {
  display: block; width: 22px; height: 1.5px;
  background: currentColor; margin: 5px auto;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav__toggle { color: var(--white); }
.nav.is-scrolled .nav__toggle { color: var(--ink); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(95deg, rgba(15,10,5,.78) 0%, rgba(15,10,5,.55) 40%, rgba(15,10,5,.3) 100%),
    linear-gradient(180deg, rgba(15,10,5,.1) 0%, rgba(15,10,5,.45) 100%);
}
@media (max-width: 720px) {
  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(15,10,5,.45) 0%, rgba(15,10,5,.7) 100%);
  }
}
.hero__content {
  position: relative;
  padding: 140px 24px 100px;
  max-width: 820px;
}
.hero__title { color: var(--white); margin-bottom: 1.2rem; }
.hero__title em { color: #e7c98e; }
.hero__sub {
  font-size: 1.18rem;
  color: rgba(255,255,255,.88);
  margin: 0 0 2rem;
  max-width: 580px;
}
.hero__cta { display: flex; gap: .8rem; flex-wrap: wrap; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 28px;
  transform: translateX(-50%);
  width: 28px; height: 46px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 14px;
  display: grid; place-items: center;
}
.hero__scroll span {
  display: block; width: 2px; height: 8px; background: var(--white); border-radius: 2px;
  animation: scrollHint 1.8s var(--ease) infinite;
}
@keyframes scrollHint {
  0% { transform: translateY(-6px); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: clamp(72px, 10vw, 130px) 0; }
.section--alt { background: var(--bg-alt); }

.section__head { max-width: 720px; margin: 0 auto 3.5rem; }
.section__head--center { text-align: center; }
.section__intro { font-size: 1.05rem; color: var(--ink-soft); }
.section__foot { font-size: .9rem; color: var(--muted); text-align: center; margin-top: 2.5rem; }

.grid { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.grid--about { grid-template-columns: 5fr 6fr; }
.grid--locatie { grid-template-columns: 5fr 6fr; gap: 4rem; }

/* about */
.about__media {
  position: relative;
  padding-right: clamp(40px, 8%, 70px);
  padding-bottom: clamp(60px, 14%, 110px);
}
.about__media-main img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: block;
}
.about__media-second {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 8px solid var(--bg);
  background: var(--bg);
}
.about__media-second img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.section--alt .about__media-second { border-color: var(--bg-alt); background: var(--bg-alt); }

.usp { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.usp li {
  position: relative;
  padding: .5rem 0 .5rem 1.7rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.usp li:last-child { border-bottom: 0; }
.usp li::before {
  content: ""; position: absolute; left: 0; top: 1.05em;
  width: 12px; height: 1px; background: var(--gold);
}
.upas-link { color: var(--ink-soft); text-decoration: none; }
.upas-link:hover { color: var(--gold-deep); }
.upas-link strong { color: var(--gold-deep); font-weight: 600; }

/* =========================================================
   DIENSTEN
   ========================================================= */
.tabs {
  display: flex;
  margin: 0 auto 2.5rem;
  background: var(--white);
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  width: 100%;
  max-width: 360px;
  justify-content: center;
}
.tab {
  flex: 1;
  border: 0; background: transparent;
  padding: .75rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: .95rem; font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .25s var(--ease);
}
.tab.is-active { background: var(--ink); color: var(--white); }

.panel { display: none; max-width: 760px; margin: 0 auto; }
.panel.is-active { display: block; animation: fade .4s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.prices { list-style: none; padding: 0; margin: 0; }
.prices li {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1.5rem;
  padding: 1.05rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 1.02rem;
}
.prices li:last-child { border-bottom: 0; }
.prices li span:first-child { color: var(--ink); }
.price {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold-deep);
  white-space: nowrap;
}

.booking-cta {
  margin-top: 3rem;
  padding: 1.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.booking-cta__text { margin: 0; color: var(--ink); }
.booking-cta__text strong { color: var(--gold-deep); font-weight: 500; }
@media (max-width: 560px) {
  .booking-cta { flex-direction: column; align-items: stretch; text-align: center; }
  .booking-cta .btn { justify-content: center; }
}

/* =========================================================
   INSTAGRAM
   ========================================================= */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.ig-grid .instagram-media {
  margin: 0 !important;
  min-width: 0 !important;
  width: 100% !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow) !important;
}
@media (max-width: 900px) {
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .ig-grid { grid-template-columns: 1fr; }
}

.ig-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px dashed var(--line);
  min-height: 360px;
  display: grid;
  place-items: center;
}
.ig-embed iframe { display: block; width: 100% !important; min-height: 540px; border: 0; }
.ig-placeholder { text-align: center; padding: 3rem 1.5rem; }
.ig-placeholder p { margin-bottom: 1rem; }
.ig-cta { text-align: center; margin-top: 2rem; }

/* =========================================================
   LOCATIE
   ========================================================= */
.hours { width: 100%; border-collapse: collapse; margin: .5rem 0 1rem; }
.hours th, .hours td {
  text-align: left;
  padding: .65rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
  font-size: .98rem;
}
.hours th { color: var(--ink); width: 45%; }
.hours td { color: var(--ink-soft); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }

.map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  background: var(--bg);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* =========================================================
   CONTACT
   ========================================================= */
.section--contact { background: var(--ink); color: var(--white); }
.section--contact h2 { color: var(--white); }
.section--contact .eyebrow { color: #e7c98e; }
.section--contact .section__intro { color: rgba(255,255,255,.72); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}
.contact-card {
  display: flex; flex-direction: column; gap: .4rem;
  padding: 1.8rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  transition: all .25s var(--ease);
}
.contact-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(231,201,142,.5);
  transform: translateY(-2px);
}
.contact-card--primary {
  background: #e7c98e;
  border-color: #e7c98e;
  color: var(--ink);
}
.contact-card--primary .contact-card__label { color: var(--gold-deep); }
.contact-card--primary .contact-card__value { color: var(--ink); }
.contact-card--primary .contact-card__cta { color: rgba(31,26,20,.7); }
.contact-card--primary:hover {
  background: #efd6a4;
  border-color: #efd6a4;
  transform: translateY(-2px);
}
.contact-card__label {
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  color: #e7c98e;
}
.contact-card__value {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--white);
  line-height: 1.35;
  margin: .2rem 0 .6rem;
}
.contact-card__cta {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  margin-top: auto;
}

/* =========================================================
   BACK TO TOP
   ========================================================= */
.to-top {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  border: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.45);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
  z-index: 90;
}
.to-top svg { display: block; }
.to-top.is-visible {
  opacity: 1;
  transform: none;
}
.to-top:hover { background: var(--gold-deep); }
.to-top:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: #14110d;
  color: rgba(255,255,255,.6);
  padding: 2.5rem 0;
  font-size: .9rem;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer__brand { color: var(--white); font-family: var(--font-serif); margin: 0 0 .2rem; font-size: 1rem; }
.footer__links { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.footer__links a:hover { color: #e7c98e; }
.footer__copy { text-align: right; margin: 0; white-space: nowrap; }
.footer__sep { opacity: .4; margin: 0 .35rem; }
.footer__powered { transition: color .2s var(--ease); }
.footer__powered:hover { color: #e7c98e; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .grid--about, .grid--locatie { grid-template-columns: 1fr; }
  .about__media { max-width: 480px; margin: 0 auto; }
  .map { aspect-ratio: 16 / 11; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__copy { white-space: normal; }
  .footer__copy { text-align: center; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .brand__name { font-size: 1.05rem; }
  .brand__tag { font-size: .6rem; }
  .nav__toggle { display: block; }

  .nav {
    background: rgba(251, 248, 243, 0.92);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    box-shadow: 0 1px 0 var(--line);
  }
  .nav, .nav .brand, .nav .nav__toggle { color: var(--ink); }

  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s var(--ease), padding .35s var(--ease), border-color .35s var(--ease);
    border-bottom: 1px solid transparent;
    color: var(--ink);
  }
  .nav__menu a {
    color: var(--ink) !important;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .nav__menu a:last-child { border-bottom: 0; }
  .nav__menu a::after { display: none; }
  .nav__menu .btn {
    margin-top: 14px;
    justify-content: center;
    background: var(--ink) !important;
    color: var(--white) !important;
    border-color: var(--ink) !important;
  }

  .nav.is-open .nav__menu {
    max-height: calc(100vh - 60px);
    padding: 8px 24px 24px;
    border-bottom-color: var(--line);
    overflow-y: auto;
  }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .hero__content { padding: 120px 24px 80px; }
  .hero__sub { font-size: 1.05rem; }
  .about__badge { right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
