/* =========================================
   FONTS
========================================= */

@font-face {
  font-family: "Altrincham";
  src: url("/assets/fonts/altrincham-extra-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}


/* =========================================
   BASIS
========================================= */

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  color: #000000;
  background: #ffffff;
  line-height: 1.5;
  overflow-x: hidden;
}

main {
  margin: 0;
  padding: 0;
}

img {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}


/* =========================================
   HEADER
========================================= */

.site-header {
  position: absolute;
  top: 0;
  left: 0;

  z-index: 100;

  width: 100%;

  background: transparent;
  border: 0;
}

.header-inner {
  width: 100%;
  height: 120px;

  padding: 18px 6vw 0;

  display: grid;
  grid-template-columns: 1fr auto 1fr;

  align-items: start;
}


/* MENU LINKS */

.main-nav-left {
  display: flex;
  align-items: center;

  gap: 38px;

  padding-top: 24px;
}

.main-nav-left a {
  font-family: "Montserrat", sans-serif;

  font-size: 17px;
  font-weight: 400;
  line-height: 20.4px;

  letter-spacing: -1px;
}


/* LOGO */

.logo {
  display: block;

  justify-self: center;
}

.logo img {
  width: 190px;
  height: auto;
}


/* AFSPRAAKKNOP */

.header-cta {
  justify-self: end;

  padding-top: 8px;
}

.button-nav {
  display: inline-flex;

  min-height: 55px;

  padding: 0 24px;

  align-items: center;
  justify-content: center;

  border: 2px solid #000000;
  border-radius: 999px;

  background: transparent;

  font-family: "Montserrat", sans-serif;

  font-size: 17px;
  font-weight: 400;
  line-height: 20.4px;

  letter-spacing: -1px;

  white-space: nowrap;
}


/* MOBILE MENU BUTTON */

.menu-toggle {
  display: none;

  padding: 0;

  border: 0;

  background: transparent;

  color: #000000;

  font-size: 28px;

  cursor: pointer;
}


/* =========================================
   HERO
========================================= */

.hero {
  position: relative;

  width: 100%;
  height: 100vh;

  min-height: 700px;

  margin: 0;
  padding: 0;

  overflow: hidden;

  background: #eeeeee;
}

.hero-slide {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  opacity: 0;
  visibility: hidden;

  transition: opacity 0.6s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}


/* =========================================
   HERO IMAGE
========================================= */

.hero-slide picture {
  position: absolute;

  inset: 0;

  display: block;

  width: 100%;
  height: 100%;

  overflow: hidden;
}

.hero-image {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  max-width: none;

  object-fit: cover;

  /*
    De originele Shopify-banners zijn gemaakt
    om vooral het onderste gedeelte te tonen.
  */
  object-position: center bottom;
}


/* =========================================
   HERO COPY
========================================= */

.hero-overlay {
  position: absolute;

  inset: 0;

  z-index: 2;
}

.hero-content {
  position: absolute;

  left: 12%;
  top: 38%;

  width: 520px;
  max-width: 40vw;
}


/* TITEL */

.hero-content h1,
.hero-content h2 {
  margin: 0 0 25px;

  font-family: "Altrincham", sans-serif;

  font-size: 30px;
  font-style: normal;
  font-weight: 700;

  line-height: 33px;

  letter-spacing: 1px;
}


/* SUBTITEL */

.hero-content p {
  margin: 0 0 30px;

  font-family: "Montserrat", sans-serif;

  font-size: 18px;
  font-style: normal;
  font-weight: 400;

  line-height: 19.8px;

  letter-spacing: normal;
}


/* HERO CTA */

.hero-link {
  display: inline-block;

  padding: 8px 0;

  border-bottom: 2px solid rgba(255, 255, 255, 0.55);

  color: #ffffff;

  font-family: "Montserrat", sans-serif;

  font-size: 14px;
  font-weight: 700;

  line-height: 1.3;

  letter-spacing: 0.28em;

  text-transform: uppercase;
}


/* =========================================
   HERO PIJLEN
========================================= */

.hero-arrow {
  position: absolute;

  z-index: 20;

  top: 52%;

  transform: translateY(-50%);

  display: flex;

  width: 60px;
  height: 60px;

  padding: 0;

  align-items: center;
  justify-content: center;

  border: 0;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.88);

  color: #111111;

  font-size: 38px;
  line-height: 1;

  cursor: pointer;
}

.hero-arrow-prev {
  left: 24px;
}

.hero-arrow-next {
  right: 24px;
}


/* =========================================
   HERO DOTS
========================================= */

.hero-dots {
  position: absolute;

  z-index: 20;

  bottom: 28px;
  left: 50%;

  transform: translateX(-50%);

  display: flex;

  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;

  padding: 0;

  border: 1.5px solid #111111;
  border-radius: 50%;

  background: transparent;

  cursor: pointer;
}

.hero-dot.active {
  background: #111111;
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
  padding: 70px 0;

  background: #1f1f1f;

  color: #ffffff;
}

.container {
  width: min(1200px, calc(100% - 48px));

  margin: 0 auto;
}

.footer-inner {
  display: grid;

  grid-template-columns: 1fr 2fr 1fr;

  gap: 40px;

  align-items: start;
}

.footer-logo img {
  width: 140px;
  height: auto;
}

.footer-navigation {
  display: flex;

  flex-direction: row;
  flex-wrap: wrap;

  gap: 24px;
}

.footer-navigation a,
.footer-contact a {
  color: #ffffff;

  font-family: "Montserrat", sans-serif;

  font-size: 15px;
  font-weight: 400;
}

.footer-contact {
  display: flex;

  justify-content: flex-end;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 800px) {

  /* HEADER */

  .header-inner {
    height: 90px;

    padding: 14px 18px 0;

    display: flex;

    align-items: flex-start;
    justify-content: space-between;
  }

  .main-nav-left,
  .header-cta {
    display: none;
  }

  .logo {
    order: 1;
  }

  .logo img {
    width: 130px;
  }

  .menu-toggle {
    display: block;

    order: 2;

    margin-top: 8px;
  }


  /* HERO */

  .hero {
    height: 100vh;

    min-height: 620px;
  }

  .hero-slide picture {
    width: 100%;
    height: 100%;
  }

  /*
    Op mobiel gebruiken we de aparte
    mobiele beelden.
  */

  .hero-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    max-width: none;

    object-fit: cover;
    object-position: center bottom;
  }


  /* HERO COPY MOBILE */

  .hero-content {
    left: 8%;

    top: auto;
    bottom: 90px;

    width: 84%;
    max-width: none;
  }

  .hero-content h1,
  .hero-content h2 {
    margin: 0 0 18px;

    font-family: "Altrincham", sans-serif;

    font-size: 30px;
    font-style: normal;
    font-weight: 700;

    line-height: 33px;

    letter-spacing: 1px;
  }

  .hero-content p {
    margin: 0 0 22px;

    font-family: "Montserrat", sans-serif;

    font-size: 18px;
    font-weight: 400;

    line-height: 19.8px;
  }

  .hero-link {
    font-size: 12px;

    letter-spacing: 0.22em;
  }


  /* Geen pijlen op mobiel */

  .hero-arrow {
    display: none;
  }

  .hero-dots {
    bottom: 27px;
  }


  /* FOOTER */

  .footer-inner {
    grid-template-columns: 1fr;

    gap: 30px;
  }

  .footer-navigation {
    flex-direction: column;

    gap: 8px;
  }

  .footer-contact {
    justify-content: flex-start;
  }
}
