/* =========================
   FONT FACE
========================= */

@font-face {
    font-family: 'Hmanist';
    src: url('../webfonts/hmanist_ultraBold.woff2') format('woff2'),
        url('../webfonts/hmanist_ultraBold.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GSans';
    src: url('../webfonts/GSans.woff2') format('woff2'),
        url('../webfonts/GSans.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* =========================
   TEXT
========================= */

body {
    margin: 0;
    font-size: var(--base-size);
    font-family: var(--base-font);
    font-weight: var(--base-weight);
    line-height: var(--base-line-height);
}

h1, h2, h3, h4, .heading-4xl, .heading-3xl, .heading-2xl, .heading-xl, .heading-lg, .heading-md, .heading-sm, .heading-xs {
  font-family: var(--heading-font);
  line-height: var(--heading-line-height);
  font-weight: var(--heading-weight);
  margin-bottom: 1rem;
}

.heading-4xl { font-size: var(--heading-4xl); }
.heading-3xl { font-size: var(--heading-3xl); }
.heading-2xl { font-size: var(--heading-2xl); }

h1, .heading-xl { font-size: var(--heading-xl); }
h2, .heading-lg { font-size: var(--heading-lg); }
h3, .heading-md { font-size: var(--heading-md); }
h4, .heading-sm { font-size: var(--heading-sm); }

.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-md { font-size: var(--text-md); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }

/* Paragraph stylen */
.text-center { text-align: center;}
.text-left {text-align: left;}
.text-right{text-align: right;}
.text-justify {justify-content: space-between; }
.text-hyphenate { hyphens: auto; }

.text-light { font-weight: var(--weight-light); }
.text-normal { font-weight: var(--weight-normal); }
.text-bold { font-weight: var(--weight-bold); }

p { margin-bottom: 1rem; }

/* Automatische afbrekingen met koppelstreepje */
p, h1, h2, h3, h4 {
  hyphens: auto;
  overflow-wrap: break-word;
}

.blok-quote {
  max-width: 50vw; 
  margin: 2rem auto;
}


@media (max-width: 768px) {
    .heading-4xl { font-size: var(--heading-xl); }
    .heading-3xl { font-size: var(--heading-lg); }
    .heading-2xl { font-size: var(--heading-md); }

    h1, .heading-xl { font-size: var(--heading-md); }
    h2, .heading-lg { font-size: var(--heading-md); }
    h3, .heading-md { font-size: var(--heading-sm); }
    h4, .heading-sm { font-size: var(--heading-sm); }

        .blok-quote {
          max-width: 80vw;
          margin: 2rem auto;
}
}

.heading-outline {
    color: white;
    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.6), 1px -1px 0 rgba(0, 0, 0, 0.6), -1px 1px 0 rgba(0, 0, 0, 0.6), 1px 1px 0 rgba(0, 0, 0, 0.6), 0 2px 3px rgba(0, 0, 0, 0.5);
}

.heading-outline-inverted {
    color: rgb(0, 0, 0);
    text-shadow: -1px -1px 0 rgba(255, 255, 255, 0.6), 1px -1px 0 rgba(255, 255, 255, 0.6), -1px 1px 0 rgba(255, 255, 255, 0.6), 1px 1px 0 rgba(255, 255, 255, 0.6), 0 2px 3px rgba(255, 255, 255, 0.5);
}

.heading-black {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: black;
  color: white;
  text-align: center;
  padding: 14px;
  margin-bottom: 0;
}

ul {
  padding-left: 12px;
  margin-left: 0;
}


/* =========================
   IMAGES
========================= */

/* Full size image background */

.bg-cover {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
}

.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
        max-height: 500px;
}

.img-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.img-natural {
  max-width: 100%;
  width: auto;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.hero-image img {
 width: 100%;
  height: auto;
  padding-bottom: 1rem;
  padding-top: 1rem;
  display: block;
  max-height: 70vh;     /* voorkomt te groot op desktop */
  object-fit: contain;
}

.hero-image-md img {
 width: 100%;
  height: auto;
  padding-bottom: 1rem;
  padding-top: 1rem;
  display: block;
  max-height: 55vh;     /* voorkomt te groot op desktop */
  object-fit: contain;
}

.side-label {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: rotate(-90deg) translateX(-50%);
  transform-origin: left top;
  white-space: nowrap;
  text-transform: lowercase;
}

/* contact pagina */

.contact-images {
    display: flex;
    flex-direction: column; /* desktop: onder elkaar */
    gap: 20px;
}

.contact-images img {
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {

  .hero-image img {
    max-height: 50vh;
    width: 100%;
    object-fit: cover;
  }

  .contact-images {
    display: flex;
    flex-direction: row;
    gap: 0;
  }

  .contact-images img {
    width: 50%;
    height: auto;
  }
}

/* =========================
   PAGE LAYOUT
========================= */

.hero {
    padding: 6rem 1rem;
    text-align: center;
}

.section-light { background: var(--section-bg-light);}
.section-dark { background: var(--section-bg-dark);}
.section { padding: 4rem 0; }
.section-sm { padding: 2rem 0;}

.card {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;   /* 🔑 dit ontbreekt */
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 0 10px 0 rgba(0, 0, 0, .05), 0 0 10px 4px rgba(0, 0, 0, .05);
}

/* vaste visuele hoogte voor beide afbeeldingen */
.card .image-wrap {
    height: 220px;          /* kies hoogte */
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* afbeelding schaalt binnen box */
.card .image-wrap img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* =========================
   LINKJES
========================= */

a {
    color: var(--color-link);
    text-decoration: none;
}

a:hover {
    color: var(--color-link-hover);
    text-decoration: underline;
    cursor: pointer;
}


/* =========================
   BUTTONS
========================= */

.button {
    display: inline-flex;          
    align-items: center;           
    justify-content: center;   
    padding: .75rem 1.5rem;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    cursor: pointer;
}

.button-primary {
    background: var(--btn-primary);
    color: #fff;
    text-decoration: none;
}

.button-primary:hover {
    background: var(--btn-primary-hover);
    color: #fff;
    text-decoration: none;
}

.button-secondary {
    background: var(--btn-secondary);
    color: #fff;
}

.button-secondary:hover {
    background: var(--btn-secondary-hover);
}

/* =========================
   NAVIGATION
========================= */

/* Sticky header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #000000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Container */
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

/* Logo */

.site-header .logo {
  margin-top: 4px;

}

.site-header .logo a {
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
  font-family: 'hmanist';
}

/* Navigation desktop */
.site-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
}

.site-nav a:hover {
  text-decoration: underline;
}


.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #000;

}

.back-link::before {
    content: "";
    width: 18px;
    height: 18px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15 18l-6-6 6-6' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15 18l-6-6 6-6' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
    -webkit-mask-size: contain;

    transition: transform 0.2s ease;
}

.back-link:hover::before {
    transform: translateX(-4px);
}

.back-link:hover {
    opacity: 0.7;
}

/* ================================= */
/* HAMBURGER BUTTON */
/* ================================= */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;

  width: 44px;
  height: 44px;

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

  position: relative;
  z-index: 1100;
}

/* hamburger lijnen */

.hamburger {
  position: relative;
  width: 26px;
  height: 18px;
}

/* lijnen */
.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;

  width: 100%;
  height: 2px;
  background: #ffffff;

  transition: transform .3s ease;
}

/* exact gecentreerd */
.hamburger::before {
  top: 4px;
}

.hamburger::after {
  bottom: 2px;
}
/* ================================= */
/* HAMBURGER → KRUIS */
/* ================================= */

.nav-toggle.active .hamburger::before {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle.active .hamburger::after {
  transform: translateY(-5px) rotate(-45deg);
}
/* ================================= */
/* MOBILE MENU */
/* ================================= */

@media (max-width: 768px) {

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;

    height: 100vh;
    width: 280px;

    background: #000000;
    padding-top: 120px;

    transform: translateX(100%);
    transition: transform .35s ease;

    z-index: 1000;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
    padding-left: 2rem;
  }

  .site-nav a {
    font-size: 1.3rem;
  }

  .site-nav.open {
    transform: translateX(0);
  }

}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 10;
}

/* wanneer menu open is */
.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}


/* ================================= */
/* MODAL */
/* ================================= */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow-y: auto;
}

.modal.show {
  display: flex;
}

/* overlay fade */
.modal::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show::before {
  opacity: 1;
}

/* CONTENT */
.modal-content {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 768px;
  border-radius: 12px;
  overflow: hidden;

   max-height: 90vh;         
  display: flex;
  flex-direction: column;   

  transform: translateY(100px);
  opacity: 0;

  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* SLIDE IN */
.modal.show .modal-content {
  transform: translateY(0);
  opacity: 1;
}

/* HEADER */
.modal-header {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;

    position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}


/* links + rechts */
.header-button {
  flex: 0 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* midden */
.header-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* titel */
.header-content h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
}

/* close button */
.modal-close {
  font-size: 22px;
  border: none;
  background: none;
  cursor: pointer;
}

.modal-body {
  padding: 40px;
  overflow-y: auto;               
  -webkit-overflow-scrolling: touch; 
}

/* MOBILE */
@media (max-width: 768px) {
  .modal {
    align-items: flex-end;
  }

  .modal-content {
    max-width: 100%;
    max-height: 90vh; 
    height: auto;
    border-radius: 16px 16px 0 0;
    transform: translateY(100%);
  }

  .modal.show .modal-content {
    transform: translateY(0);
  }

  .modal-body {
    padding: 16px;
  }
}

/* FORM */
.modal-body input,
.modal-body textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

.modal-body input:focus{
    border: 1px solid #000000;
  box-shadow: rgba(168, 168, 168, 0.3) 0px 0px 0px 4px;
}

.modal-body textarea {
  min-height: 160px;
  resize: vertical;
}

/* BUTTON */
.modal-body button[type="submit"] {
  width: 100%;
  padding: 12px;
  background: black;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.modal-body button[type="submit"]:hover {
  opacity: 0.85;
}

/* CAPTCHA */
.captcha-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}


/* input errors */
#modal-form input.error,
#modal-form textarea.error {
  border: 1px solid #e74c3c;
  background: #fff6f6;
}

/* error message */
#form-response {
  color: #e74c3c;
  font-size: 16px;
  margin-top: 12px;
}