@charset "utf-8";

/* -- Scrollbar -- */

div::-webkit-scrollbar {
  width: 10px;
  height: 5px;
}
div::-webkit-scrollbar-track {
  border-radius: 2px;
  background-color: rgba(18, 83, 42, 0.5);
}
div::-webkit-scrollbar-thumb {
  border-radius: 2px;
  background-color: rgba(18, 83, 42);
}

/* -- Hoofdelementen Huisstijl -- */

@font-face {
  font-family: 'Lemon Milk';
  src: url('Fonts/LEMONMILK-Medium.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --petrol: #63aebf;
  --donkerpetrol: #365f69;
  --lichtpetrol: #84d0d9;
  --soortvanwit: #f2f2f2;
  --zoetrood: #f24464;
}
:root {
  --font-titel: "Lemon Milk", sans-serif;
}

/* ----------------------------- Global reset ----------------------------- */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
 /* outline: 1px solid rgba(255, 0, 0, 0.1); */
}
html {
  scroll-behavior: smooth;
}
body {
  background-color: var(--soortvanwit);
  z-index: -1;
}
.clear-fix {
  clear: both;
}

/* ----------------------------- Header ----------------------------- */
header {
  width: 100%;
  height: 5em;
  position: fixed;
  z-index: 10;
  background-color: var(--soortvanwit);
  display: flex;
  align-items: center;
  padding: 0 0; /* of alleen horizontaal */
}
header a {
  font-family: "Lemon Milk", sans-serif;
  font-size: 100%;
  text-decoration: none;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--donkerpetrol);
  position: relative;
  padding-top: 0.5em;
}
header a::before {
  content: "";
  position: absolute;
  top: -1.3em; /* speel hiermee */
  left: 0;
  height: 5px;
  width: 0%;
  background-color: var(--zoetrood);
  transition: width 250ms ease-in-out;
}
header a:hover::before {
  width: 100%;
}

nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between; /* links ↔ rechts */
  padding: 0 2em;
  position: relative;
}
nav ul {
  list-style: none;
  margin: 0; /* ❌ niet auto */
  padding: 0;
  display: flex;
  gap: 2em;
  justify-content: flex-end; /* items naar rechts */
}
nav ul li {
  display: inline-block;
  margin-bottom: 0;
  position: relative;
}

nav .logo {
  position: absolute;
  left: 2em;
  top: 50%;
  transform: translateY(-50%);
}
nav .logo img {
  height: 2.5em;
  display: block;
}

.menu-items {
  list-style: none;
  margin: 0;
  margin-left: auto;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  gap: 2em;
} /* Logo rechts */
.menu-home {
  display: none;
}

.uitklap {
  position: absolute;
  right: 2.5em;
  display: none; /* desktop: uit */
  justify-content: center;
  align-items: center;
  width: 1.5rem;
  height: 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
}
.uitklap_lines {
  position: relative;
  width: 1.5rem;
  height: 0.2rem;
  background-color: var(--zoetrood);
  transition: all 0.4s ease-in-out;
}
.uitklap_lines::before,
.uitklap_lines::after {
  content: "";
  position: absolute;
  width: 1.5rem;
  height: 0.2rem;
  background-color: var(--donkerpetrol);
  transition: all 0.4s ease-in-out;
}
.uitklap_lines::before {
  top: -0.5rem;
}
.uitklap_lines::after {
  top: 0.5rem;
  display: block;
}
.uitklap.open .uitklap_lines {
  background-color: transparent;
}
.uitklap.open .uitklap_lines::before {
  transform: rotate(45deg) translate(0.35rem, 0.35rem);
}
.uitklap.open .uitklap_lines::after {
  transform: rotate(-45deg) translate(0.35rem, -0.35rem);
}

/* ----------------------------- Motief ----------------------------- */
.motief {
  width: 100%; /* 100% van .wie */
}
.motief img {
  display: block;
  width: 100%; /* 100% van .motief_1 */
  height: auto;
}

/* ----------------------------- Titel Page ----------------------------- */
.titel_page {
  position: relative;
  width: 100%;
  min-height: 100vh;

  display: flex;
  justify-content: center;
  gap: 6rem; /* speel met 2–5rem */

  align-items: center;

  padding: 5em 10%;
  box-sizing: border-box;

  background-color: var(--petrol);
}

.titel_images {
  position: relative;
  width: 50%; /* was ±35% → ~20% kleiner */
  max-width: 400px; /* iets kleiner maximum */
}
.titel_img {
  position: relative;
  z-index: 2;
}
.titel_img img {
  width: 100%;
  display: block;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(15px); }
  50% { transform: translateY(-15px); }
}

.titel_img_background {
  position: absolute;
  top: 1.1em; /* omhoog */
  left: -1em; /* naar links */
  right: 1em;
  z-index: 1;
}
.titel_img_background img {
  width: 100%;
  display: block;
}

.titel-content {
  width: 40%;
  min-width: 400px;
  color: var(--soortvanwit);
  text-align: center;
}
.titel_page h1 {
  font-family: "Lemon Milk", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 1em;
}
.titel_page p {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin: 0 auto; /* horizontaal centreren */
  max-width: 220px; /* speel met 140–180px */
  line-height: 1.2em;
}
.contact_button {
  display: flex;
  justify-content: center;
  margin-top: 2em;
}
.button {
  display: block; /* zorgt dat de knop een 'blok' is */
  width: 260px; /* breedte van de knop */
  margin: 0 auto 0px auto; /* centeren + 30px onderkant */
  padding: 3% 0; /* meer verticale ruimte */
  background-color: var(--zoetrood); /* knop kleur */
  color: var(--soortvanwit); /* tekst kleur */
  text-decoration: none;
  border-radius: 5px;
  font-family: "Lemon Milk", sans-serif;
  font-size: 15px; /* iets groter lettertype */
  text-align: center; /* tekst in het midden */
  transition: background-color 0.3s;
  transform: translateY(0);
  transition: transform 0.4s ease;
}
.button:hover {
  background-color: var(--petrol); /* hover kleur */
  transform: translateY(-8px);
  box-shadow: 1px 2px 5px rgba(0,0,0,0.4);
}

/* --- Fade-up animatie --- */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Zweef animatie voor images --- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); } /* subtiele verticale beweging */
}

/* --- Animatie op elementen --- */
.titel-content h1,
.titel-content p,
.titel_img img,
.titel_img_background img,
.contact_button,
.hero_contact_icons img {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s forwards; /* fade-up animatie */
}

/* --- Animatie delays --- */
.titel_img img {
  animation-delay: 0s;
  animation-name: fadeUp, float; /* fade-up én float tegelijk */
  animation-duration: 1s, 6s; /* fadeUp 1s, float 6s */
  animation-fill-mode: forwards, infinite; /* fadeUp blijft zichtbaar, float blijft bewegen */
  animation-iteration-count: 1, infinite;
  animation-timing-function: ease-out, ease-in-out;
}
.titel_img_background img {
  animation-delay: 0.7s;
  animation-name: fadeUp, float;
  animation-duration: 1s, 12s; /* achtergrond iets trager zweven */
  animation-fill-mode: forwards, infinite;
  animation-iteration-count: 1, infinite;
  animation-timing-function: ease-out, ease-in-out;
}

.titel-content h1 { animation-delay: 0.5s; }
.titel-content p:nth-of-type(1) { animation-delay: 0.6s; }
.titel-content p:nth-of-type(2) { animation-delay: 0.7s; }
.titel-content p:nth-of-type(3) { animation-delay: 0.8s; }
.contact_button { animation-delay: 1s; }
.hero_contact_icons img {
  animation-delay: 1.5s;
}

.hero_contact_icons {
  position: absolute;
  bottom: 20px;
  left: 20px;

  display: flex;
  gap: 10px;
}
.hero_contact_icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 50px;
  height: 50px;

  border-radius: 50%;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.75;
}
.hero_contact_icons img {
  width: 50%;
}
.hero_contact_icons a:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.scroll-button {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent; /* geen achtergrond, alleen pijltje zichtbaar */
  cursor: pointer;
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: bounce 1.5s infinite;
  opacity: 0.7;
} /* het pijltje zelf met borders */
.scroll-button::before {
  content: "";
  display: block;
  width: 30px;
  height: 32px;
  border-bottom: 4px solid white; /* kleur van het pijltje */
  border-right: 4px solid white;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}
.scroll-button:hover::before {
  transform: rotate(45deg) translateY(2px);
} /* animatie: zachtjes omhoog en omlaag */
@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

/* ----------------------------- Expertise ----------------------------- */
.expertise {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 2em 10%;
  background-color: var(--donkerpetrol);

  display: flex;
  flex-direction: column; /* pijl boven de blokken stapelen */
  align-items: center;    /* alles horizontaal centreren */
  gap: 2rem;              /* ruimte tussen pijl en blokken */
}
.expertise_content {
  display: flex;
  justify-content: center; /* blokken naast elkaar centreren */
  align-items: center;     /* verticaal centreren */
  gap: 4rem;               /* ruimte tussen tekst en afbeelding */
  flex-wrap: wrap;         /* mobiel: stapel onder elkaar */
  padding-top: 7em;
}

.pijl {
  width: 16em;
  display: none;
}
.pijl img {
  width: 100%;
  transform: translateY(5em);
}

.expertise_text {
  width: clamp(1.8rem, 50%, 80vw); /* was ±35% → ~20% kleiner */
}
.expertise h2 {
  font-family: "Lemon Milk", sans-serif;
  font-size: 2.5em;
  color: var(--soortvanwit);
  padding-bottom: 0.5em;
}
.expertise p {
  color: var(--soortvanwit);
  font-family: Georgia, serif;
  font-size: clamp(0.1rem, 1vw, 1rem);
  font-style: normal;
  line-height: 2em;
  padding-bottom: 1em;
}

.expertise_img {
  width: clamp(100px, 25%, 285px);
  margin-top: 4.5em;
}
.expertise_img img {
  width: 100%;
}

/* ----------------------------- Competencies ----------------------------- */
.competencies {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 5em 10%;
  background-color: var(--soortvanwit);
}
.competencies_content {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 kolommen */
  gap: clamp(2rem, 4vw, 4rem) clamp(1rem, 1vw, 1rem);
  align-items: start;
  max-width: 800px;
  margin: 0 auto; /* dit centreert de grid horizontaal */
}
.competencies h2 {
  font-family: "Lemon Milk", sans-serif;
  font-size: 3em;
  color: var(--zoetrood);
  text-align: center;
  grid-column: 1 / -1; /* 🔑 laat h2 over alle kolommen lopen */
  padding-bottom: 0.5em;
  padding-top: 0.5em;
}

.competencie_blokje {
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
  text-align: center;

  transform: translateY(0);
  transition: transform 0.4s ease;
}
.competencie_blokje:hover {
  transform: translateY(-8px);
}
.competencie_blokje img {
  width: 30%;
  margin-bottom: 1em;
}
.competencie_blokje h3 {
  font-family: "Lemon Milk", sans-serif;
  font-size: 1.1em;
  color: var(--zoetrood);
  margin-bottom: 0.5em;
}
.competencie_blokje p {
  color: var(--zoetrood);
  font-family: Georgia, serif;
  font-size: 0.75em;
  line-height: 1.8em;
  max-width: 160px; /* speel met 140–180px */
  margin: 0 auto; /* horizontaal centreren */
}

/* ----------------------------- Portfolio ----------------------------- */
.portfolio {
  width: 100%;
  padding: 5em 10%;
  background-color: var(--donkerpetrol);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
.portfolio_content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem; /* ruimte tussen tekst en knoppen */
  max-width: 800px;
  text-align: center;
  color: var(--soortvanwit);
}

.portfolio_text h2 {
  font-family: "Lemon Milk", sans-serif;
  font-size: 3.5rem;
  margin: 0.5em 0;
}
.portfolio_text p {
  font-family: georgia, sans-serif;
  font-size: 1.5rem;
  margin: 0.5em auto;
  max-width: 400px;
  line-height: 1.5em;
}
.portfolio_buttons {
  display: flex;
  gap: 2rem; /* ruimte tussen de knoppen */
  flex-wrap: wrap; /* mobiel: knoppen stapelen */
  padding-top: 5em;
}

.portfolio_buttons .button {
  display: block;
  width: 240px; /* breedte van knoppen */
}
.portfolio_buttons .button_2 {
  display: block; /* zorgt dat de knop een 'blok' is */
  width: 240px; /* breedte van de knop */
  margin: 0 auto 0px auto; /* centeren + 30px onderkant */
  padding: 3% 0; /* meer verticale ruimte */
  background-color: var(--soortvanwit); /* knop kleur */
  color: var(--donkerpetrol); /* tekst kleur */
  text-decoration: none;
  border-radius: 5px;
  font-family: "Lemon Milk", sans-serif;
  font-size: 15px; /* iets groter lettertype */
  text-align: center; /* tekst in het midden */
  transition: background-color 0.3s;
  transform: translateY(0);
  transition: transform 0.4s ease;
}
.button_2:hover {
  background-color: var(--lichtpetrol); /* hover kleur */
  transform: translateY(-8px);
  box-shadow: 1px 2px 5px rgba(0,0,0,0.4);
}

/* ----------------------------- Contact ----------------------------- */
.contact {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;          /* verticaal centreren */
  justify-content: flex-start;  /* standaard naar links */
  padding: 0 15%;               /* ruimte links en rechts */
  background-color: var(--soortvanwit);
  box-sizing: border-box;
}
.contact_content {
  display: flex;
  flex-direction: column;
  justify-content: center;      /* verticale centrering van kinderen */
  gap: 2rem;
}

/* Tekst */
.contact_text h2 {
  font-family: "Lemon Milk", sans-serif;
  font-size: 5rem;
  color: var(--zoetrood);
  margin-bottom: 1rem;
  padding-bottom: 0.5em;
}

/* Iconen */
.contact {
  width: 100%;
  min-height: 100vh;           /* volle hoogte van scherm */
  display: flex;
  align-items: center;          /* verticaal centreren */
  justify-content: center;      /* horizontaal centreren */
  background-color: var(--soortvanwit);
  box-sizing: border-box;
  padding: 0 2rem;              /* kleine padding voor kleine schermen */
}
.contact_content {
  display: flex;
  flex-direction: column;
  justify-content: center;      /* verticale centrering van kinderen */
  align-items: center;          /* horizontaal centreren van tekst en iconen */
  gap: 2rem;                    /* ruimte tussen elementen */
  text-align: center;            /* tekst gecentreerd */
}

/* Tekst */
.contact_text h2 {
  font-family: "Lemon Milk", sans-serif;
  font-size: 3rem;
  color: var(--zoetrood);
  margin-bottom: 1rem;
}

/* Iconen */
.contact_icons {
  display: flex;
  justify-content: center;
  gap: 80px;                    /* ruimte tussen iconen */
  margin-top: 20px;
}
.contact_icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.contact_icons img {
  width: 100%;
}
.contact_icons a:hover {
  transform: translateY(-5px);
}

/* ----------------------------- Footer ----------------------------- */
footer {
  width: 100%;
  background-color: var(--petrol); /* zelfde kleur als header voor consistentie */
  color: var(--soortvanwit);
  text-align: center;
  padding: 1.5em 1em; /* ruimte boven en onder */
  font-size: 0.9em;
  position: relative; /* staat normaal onder de content */
  margin-top: auto; /* als je body flex gebruikt, duwt hij naar beneden */
}
footer p {
  padding-top: 0.2em;
}
footer p a {
  color: var(--soortvanwit);
  text-decoration: underline;
  font-size: 0.9em;
  margin: 0 0.5em;
}
footer p a:hover {
  color: var(--zoetrood);
}

/* ----------------------------- Media Queries ----------------------------- */

@media (max-width: 900px) {
  header {
    height: 4em;
  }

  nav .logo {
    left: 1.5em;
  }
  nav .logo img {
    height: 2em;
    display: block;
  }

  .uitklap {
    display: flex;
  }
  .uitklap_lines,
  .uitklap_lines::before,
  .uitklap_lines::after {
    display: block;
  }

  /* Menu als fullscreen overlay */
  .menu-items {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3em;
    background-color: var(--petrol);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 100;
  }
  .menu-items.open {
    transform: translateX(0);
  }
  .menu-home {
    display: block;
  }

  /* Menu items opmaak */
  .menu-items li {
    width: 100%;
    text-align: center;
  }
  .menu-items li a {
    display: block;
    width: 100%;
    font-size: 3vh;
  }

  .menu-items a:hover {
    color: var(--soortvanwit);
    transition: color 250ms ease-in-out;
  }

  /* Hover-effect uit op mobiel */
  header a::before {
    display: none;
  }

  .motief {
    width: 100%;
    height: 40px; /* of wat jij wilt als hoogte */
    overflow: hidden; /* alles buiten de container wordt verborgen */
    position: relative;
  }

  .motief img {
    display: block;
    width: 200%;      /* kan tot 200% uitrekken */
    height: 100%;     /* vult de hoogte van de container */
    object-fit: cover; /* zorgt dat de afbeelding netjes wordt bijgesneden */
    object-position: center; /* focus op het midden */
  }


  .titel_page {
    flex-direction: column; /* blokjes boven elkaar */
    gap: 2rem; /* iets minder ruimte tussen image en content */
    padding: 5em 5%; /* evt padding aanpassen */
  }
  .titel_images {
    width: 60%; /* image breder maken als content kleiner wordt */
    max-width: 240px;
  }

  .titel_img_background {
    top: 0.8em; /* omhoog */
    left: -0.5em; /* naar links */
    right: 0.5em;
  }
  .titel-content {
    margin-top: 2rem; /* duwt content naar beneden */
     width: 90%; /* smaller op mobiel */
     min-width: auto; /* zodat min-width niet te groot blijft */
     text-align: center;
     transform: translateY(-1em);
  }
  .titel_page h1 {
    font-size: 1.3em;
    margin-bottom: 0.5em;
  }
  .titel_page p {
    font-size: 1.1rem;
  }
  .contact_button {
      margin-top: 1em;
  }
  .button {
    width: 180px; /* breedte van de knop */
    font-size: 15px;
    padding: clamp(10px, 3%, 10px) 0; /* meer verticale ruimte */
  }

  .hero_contact_icons {
    display: none;
  }
  .scroll-button {
    margin-bottom: 2em;
  }


  .expertise {
    padding-top: 8em;
  }
  .pijl {
    display: none;
  }

  .expertise_content {
    padding-top: 0em;
  }
  .expertise_text {
    width: 80%;
  }
  .expertise h2 {
    padding-bottom: 1em;
  }
  .expertise p {
    font-size:70%;
    line-height: 2.1em;
    padding-bottom: 2em;
  }
  .expertise_img {
    width: 180px;
    margin-top: -2em;
    padding-bottom: 2em
  }

  .competencies h2 {
    font-size: 2em;
  }
  .competencies_content {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .competencie_blokje h3 {
    font-size: 0.7em;
  }
  .competencie_blokje p {
    font-size: 0.6em;
  }

  .portfolio_text h2 {
    font-family: "Lemon Milk", sans-serif;
    font-size: 2.5rem;
    margin: 0.5em 0;
  }
  .portfolio_text p {
    font-size: 1rem;
  }
  .portfolio_buttons {
    padding-top: 2em;
  }
  .portfolio_buttons .button_2 {
    font-size: 15px;
    padding: clamp(10px, 3%, 10px) 0; /* meer verticale ruimte */
  }

  .contact_icons a {
     width: 40px;
     height: 40px;
   }

  footer {
    font-size: 0.5em;
  }
  footer p a {
    font-size: 1em;
  }
}

/* Mobile (optioneel) */
@media (max-width: 350px) {
  .competencies_content {
    grid-template-columns: 1fr;
  }
}
