/* ==========================================================================
   Haarboelvaar - Kapsalon Lanaken
   Static rebuild of haarboelvaar.be. No frameworks, no external requests.
   Layout values mirror the live site 1:1 (measured from the rendered page).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Base
   -------------------------------------------------------------------------- */

html {
  font-size: 93.75%;              /* 15px base */
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  box-sizing: border-box;
}

@media (max-width: 921px) {
  html { font-size: 85.5%; }      /* 13.68px base */
}

*,
*::before,
*::after { box-sizing: inherit; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65em;
  color: #4b4f58;
  background-color: #fff;
  overflow-x: hidden;
  -webkit-hyphens: manual;
  hyphens: manual;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p { margin: 0 0 1.75em; }
main p { margin: 0 0 1.6em; }

a {
  color: #0170b9;
  text-decoration: none;
  box-shadow: none;
}

a:hover,
a:focus { color: #3a3a3a; }

img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  border: none;
  border-radius: 0;
  box-shadow: none;
  vertical-align: middle;
}

h1, h2, h3 {
  margin: 0;
  padding: 0;
  font-weight: 600;
  color: #4b4f58;
}

h1 { font-size: 2.6666666666667rem; line-height: 1.4em; }
h2 { font-size: 2.1333333333333rem; line-height: 1.3em; }

ul { list-style: none; margin: 0; padding: 0; }

.u-underline { text-decoration: underline; }

.screen-reader-text {
  position: absolute;
  top: -10000em;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100000;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 18px;
  background: #fff;
  color: #273272;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   2. Layout primitives (section > container > col > wrap > widget)
   -------------------------------------------------------------------------- */

.sec { position: relative; }

.container {
  display: flex;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  max-width: 1140px;
}

.container--full { max-width: none; }

@media (max-width: 1024px) {
  .container { flex-wrap: wrap; }
}

.col {
  position: relative;
  display: flex;
  min-height: 1px;
}

.wrap {
  position: relative;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  padding: 10px;
}

.wrap > .w { width: 100%; }

.w { position: relative; }
.w:not(:last-child) { margin-bottom: 20px; }

@media (min-width: 768px) {
  .col-100 { width: 100%; }
  .col-50  { width: 50%; }
  .col-33  { width: 33.333%; }
}

@media (max-width: 767px) {
  .col { width: 100%; }
}

.spacer-inner { height: 10px; }

/* --------------------------------------------------------------------------
   3. Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  line-height: 1;
  font-family: Roboto, Sans-serif;
  font-weight: 500;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 3px;
  background-color: #818a91;
  color: #fff;
  fill: #fff;
  text-align: center;
  transition-duration: .3s;
  transition-property: transform;
}

.btn:visited,
.btn:hover,
.btn:focus { color: #fff; }

.btn:hover,
.btn:focus,
.btn:active { transform: scale(1.1); }

.btn--md { font-size: 16px; padding: 15px 30px; border-radius: 4px; }
.btn--lg { font-size: 18px; padding: 20px 40px; border-radius: 5px; }

.btn--hero {
  background-color: #3e4eb1;
  border-radius: 25px;
}

.btn--cta {
  background-color: #6174e7;
  border-radius: 50px;
}

.align-right  { text-align: right; }
.align-left   { text-align: left; }
.align-center { text-align: center; }

@media (max-width: 767px) {
  .align-mobile-center { text-align: center; }
}

/* --------------------------------------------------------------------------
   4. Header
   -------------------------------------------------------------------------- */

.site-header {
  padding: 10px 0;
}

.site-header > .container > .col > .wrap {
  align-content: center;
  align-items: center;
}

.header-logo-col,
.header-nav-col,
.header-social-col { }

.header-logo-col > .wrap,
.header-nav-col > .wrap,
.header-social-col > .wrap { padding: 0 15px; }

@media (min-width: 1025px) {
  .header-logo-col   { width: 24.548%; }
  .header-nav-col    { width: 57.432%; }
  .header-social-col { width: 17.352%; }
}

@media (max-width: 1024px) and (min-width: 768px) {
  .header-social-col { width: 30%; }
}

@media (max-width: 1024px) {
  .site-header { padding: 15px 0; }
  .header-logo-col,
  .header-nav-col { width: 50%; }
  .header-social-col { display: none; }
}

.header-logo { text-align: center; }
.header-logo img { width: 34%; }

/* -- navigation ---------------------------------------------------------- */

.nav-widget { z-index: 14; }
.nav-widget > .wc { margin: 0 0 0 -51px; }

.nav-menu {
  position: relative;
  height: 54px;
  z-index: 1000;
  border-radius: 0;
}

.nav-list {
  display: flex;
  justify-content: center;
  height: 100%;
}

.nav-list > li { position: relative; }

.nav-list > li > a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 15px;
  font-family: Lato, Sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: uppercase;
  text-decoration: none;
  color: #273272;
}

.nav-list > li > a:hover,
.nav-list > li > a:focus,
.nav-list > li.is-current > a { color: #273272; }

/* -- hamburger + off-canvas panel ---------------------------------------- */

.nav-toggle,
.nav-close,
.nav-identity,
.nav-overlay { display: none; }

.nav-toggle,
.nav-close {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1;
}

/* The bar colour is unconditional on the live site; its box model is not. */
.nav-bar {
  background-color: #273070;
  transition: background-color .3s;
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 10;
    float: right;
    width: 45px;
    padding: 8px;
    border: 1px solid #273070;
    border-radius: 3px;
    line-height: 1;
    transition: background-color .3s;
  }

  .nav-bar {
    display: block;
    width: 100%;
    height: 1px;
    margin-bottom: 4px;
  }

  .nav-bar:last-child { margin-bottom: 0; }

  .nav-toggle:hover { background-color: #273070; }
  .nav-toggle:hover .nav-bar { background-color: rgba(255, 255, 255, .5); }

  .nav-menu {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    position: fixed;
    top: 0;
    left: -100vw;
    width: 100%;
    max-width: 350px;
    height: 100%;
    padding: 0 0 10px;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #f7f7f7;
    transition: left .6s cubic-bezier(.6, .1, .68, .53);
  }

  .nav-menu.is-open { left: 0; }

  .nav-list {
    display: block;
    height: 100%;
    overflow-y: auto;
  }

  .nav-list > li > a {
    height: auto;
    padding: 10px 15px;
  }

  .nav-identity {
    display: block;
    position: relative;
    z-index: 5;
    width: 100%;
    padding: 10px 0;
  }

  .nav-logo {
    display: inline-block;
    margin: 5px 0;
    padding: 5px;
  }

  .nav-logo > img { max-width: 160px; max-height: 60px; }

  .nav-close {
    display: block;
    float: right;
    width: 45px;
    padding: 8px;
    margin: 12px;
    border: 1px solid rgba(0, 0, 0, .5);
    border-radius: 3px;
    color: #333;
    font-size: 1rem;
    line-height: 1;
  }

  .nav-close:hover { color: rgba(255, 255, 255, .5); }

  .nav-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: -100vw;
    width: 100%;
    height: 100%;
    z-index: 14;
    background-color: rgba(51, 51, 51, .5);
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: left .6s cubic-bezier(.6, .1, .68, .53) .4s;
  }

  .nav-overlay.is-open { left: 0; }
}

@media (max-width: 767px) {
  .nav-toggle { border-width: 1px; }
  .nav-logo > img { max-width: 120px; max-height: 50px; }
}

/* -- social -------------------------------------------------------------- */

.social-widget > .wc { margin: 0 0 0 3px; }

.social-list {
  text-align: center;
  line-height: 0;             /* matches the live icon-font line box */
}

.social-list > li {
  display: inline-block;
  margin: 0 0 0 20px;
}

.social-list > li > a {
  display: block;
  width: 51px;
  height: 51px;
  text-align: center;
  text-decoration: none;
  color: #2c3c95;
  transition: color .3s;
}

.social-list > li > a:hover { color: #1c2260; }

.social-list svg {
  display: block;
  width: 51px;
  height: 51px;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */

.hero {
  padding: 290px 0;
  background-color: #273272;
  background-image: url("../images/back.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

@media (min-width: 1025px) {
  .hero { background-attachment: fixed; }
}

@media (max-width: 1024px) {
  .hero { padding: 80px 20px; }
}

@media (max-width: 767px) {
  .hero { padding: 160px 0 175px; }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: .57;
}

.hero-title {
  font-family: "Open Sans", Sans-serif;
  font-size: 59px;
  font-weight: 600;
  line-height: 1.4em;
  color: #fff;
  text-align: center;
  text-shadow: 0 0 9px rgba(0, 0, 0, .3);
}

@media (max-width: 767px) {
  .hero-title { font-size: 45px; }
}

/* wave divider */
.shape-bottom {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  line-height: 0;
  direction: ltr;
  overflow: hidden;
  transform: rotate(180deg);
}

.shape-bottom svg {
  display: block;
  position: relative;
  left: 50%;
  width: calc(100% + 1.3px);
  height: 91px;
  transform: translateX(-50%);
  transform-origin: center;
  z-index: -1;
}

.shape-fill { fill: #3e4eb1; }

/* --------------------------------------------------------------------------
   6. Salon section
   -------------------------------------------------------------------------- */

.salon {
  padding: 50px 0;
  background-image: linear-gradient(180deg, #3e4eb1 0, #fff 100%);
}

@media (max-width: 1024px) {
  .salon { padding: 100px 0 80px; }
}

@media (max-width: 767px) {
  .salon { padding: 20px 0 50px; }
}

.salon-photo { text-align: center; }
.salon-photo img { border-radius: 20px; }

/* --------------------------------------------------------------------------
   7. Opening hours
   -------------------------------------------------------------------------- */

.hours-title {
  font-family: "Open Sans", Sans-serif;
  font-size: 50px;
  font-weight: 600;
  line-height: 1.3em;
  color: #000;
  text-align: center;
}

.hours-title-w { text-align: center; }
.hours-title-w > .wc { margin: 0 0 10px; }

@media (max-width: 767px) {
  .hours-title { font-size: 37px; }
}

.hours-days,
.hours-times {
  font-family: "Open Sans", Sans-serif;
  font-weight: 400;
  color: #7a7a7a;
}

.hours-days { text-align: right; }

@media (max-width: 767px) {
  .hours-days-col  { width: 44%; }
  .hours-times-col { width: 56%; }
}

/* --------------------------------------------------------------------------
   8. Footer
   -------------------------------------------------------------------------- */

.footer-text {
  font-family: Roboto, Sans-serif;
  color: #7a7a7a;
}

@media (min-width: 768px) {
  .footer-col-1 { width: 48.594%; }
  .footer-col-2 { width: 26.507%; }
  .footer-col-3 { width: 24.204%; }
}

@media (min-width: 768px) {
  .footer-col-1a { width: 70.072%; }
  .footer-col-1b { width: 29.811%; }
  .footer-col-2a { width: 52.185%; }
  .footer-col-2b { width: 47.635%; }
}

.footer-logo-spacer .spacer-inner { height: 5px; }

.footer-logo { text-align: center; }

.footer-logo img {
  width: 69%;
  transition-duration: 1s;
}

.footer-logo:hover img {
  opacity: .1;
  filter: brightness(50%) contrast(100%) saturate(100%) blur(0) hue-rotate(0deg);
}

@media (max-width: 1024px) {
  .footer-logo img { width: 60%; }
}

@media (max-width: 767px) {
  .footer-logo img { width: 40%; }
}

.footer-label {
  font-family: "Open Sans", Sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #000;
  text-align: center;
}

.footer-label > .wc { margin: 0 0 -49px; }

.footer-value {
  font-family: Roboto, Sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #000;
}

.footer-value--center { text-align: center; }

.footer-link {
  font-family: "Open Sans", Sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #2a3ebd;
  text-align: center;
}

.footer-credit { text-align: center; }

@media (max-width: 767px) {
  .footer-inner-1 { margin-top: 0; margin-bottom: -40px; }
  .footer-inner-2 { margin-top: 0; margin-bottom: 0; }
  .footer-col-1b > .wrap { margin: -34px 0 -24px; }
  .footer-col-3 > .wrap { margin: -23px 0 0; }

  .footer-adres-label > .wc { margin: 0 0 -65px; }
  .footer-adres { text-align: center; }
  .footer-adres > .wc { margin: 0 0 -10px; }

  .footer-tel-label > .wc { margin: 0 0 -50px; }
  .footer-tel { text-align: center; }
  .footer-tel > .wc { margin: 0 0 -10px; }

  .footer-link-prijs > .wc { margin: 0 0 -35px; padding: 0; }
  .footer-link-afspraak > .wc { margin: 0 0 -29px; }
  .footer-link-fotos > .wc { margin: 0 0 -42px; }

  .footer-fotos-spacer .spacer-inner { height: 2px; }
}

/* --------------------------------------------------------------------------
   9. Sub pages (Afspraak / Prijslijst / Foto's)
   -------------------------------------------------------------------------- */

.page-title {
  font-family: "Open Sans", Sans-serif;
  font-size: 67px;
  font-weight: 600;
  line-height: 1.3em;
  color: #273272;
  text-align: center;
}

.page-title-w { text-align: center; }

@media (max-width: 767px) {
  .page-title { font-size: 42px; }
}

.page-lead {
  font-family: "Open Sans", Sans-serif;
  font-size: 23px;
  font-weight: 400;
  line-height: 1.9em;
  letter-spacing: .1px;
  color: #000;
  text-align: center;
}

.page-lead p { margin: 0 0 1.75em; }
main p { margin: 0 0 1.6em; }
.page-lead p:last-child { margin-bottom: 0; }

.fb-link { text-align: center; }

.fb-link img {
  width: 256px;
  transition-duration: .3s;
  transition-property: transform;
}

.fb-link a:hover img,
.fb-link a:focus img { transform: scale(1.1); }

.page-spacer .spacer-inner { height: 50px; }

/* -- price list ----------------------------------------------------------- */

.price-group > .wc { max-width: 640px; margin: 0 auto; }

.price-group h2 {
  font-family: "Open Sans", Sans-serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.3em;
  color: #273272;
  margin: 0 0 14px;
  text-align: center;
}

.price-list {
  font-family: "Open Sans", Sans-serif;
  color: #000;
}

.price-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 11px 2px;
  border-bottom: 1px solid #e3e6f2;
  font-size: 1.2rem;
  line-height: 1.4;
}

.price-list li:last-child { border-bottom: 0; }

.price-name { flex: 1 1 auto; }

.price-value {
  flex: 0 0 auto;
  font-weight: 600;
  color: #273272;
  white-space: nowrap;
}

.price-note {
  font-family: Roboto, Sans-serif;
  font-size: 15px;
  color: #7a7a7a;
  text-align: center;
}

@media (max-width: 767px) {
  .price-group h2 { font-size: 25px; }
  .price-list li { font-size: 1.1rem; gap: 10px; }
}

/* -- photo gallery -------------------------------------------------------- */

.gallery-heading > .wc {
  font-family: "Open Sans", Sans-serif;
  text-align: center;
}

.gallery-heading h2 {
  font-family: "Open Sans", Sans-serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.3em;
  color: #273272;
}

@media (max-width: 767px) {
  .gallery-heading h2 { font-size: 27px; }
}

/* Masonry via CSS columns: keeps every photo at its own aspect ratio, so
   nothing gets cropped. No JavaScript needed. */
.gallery {
  columns: 3;
  column-gap: 20px;
  width: 100%;
}

.gallery--wide { columns: 2; }

.gallery img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 20px;
  border-radius: 20px;
  -webkit-column-break-inside: avoid;
  break-inside: avoid;
}

@media (max-width: 1024px) {
  .gallery { columns: 2; }
}

@media (max-width: 767px) {
  .gallery,
  .gallery--wide { columns: 1; }
}

/* --------------------------------------------------------------------------
   10. 404
   -------------------------------------------------------------------------- */

.error-page { padding: 100px 0 120px; text-align: center; }
