@font-face {
  font-family: "Manrope";
  src: url(../fonts/Manrope-VariableFont_wght.ttf) format("truetype");
  font-weight: 50 900;
}

@font-face {
  font-family: "Exo2";
  src: url(../fonts/Exo2-VariableFont_wght.ttf) format("truetype");
  font-weight: 50 900;
}

@font-face {
  font-family: "IBM";
  src: url(../fonts/IBMPlexSans-VariableFont_wdth-wght.ttf) format("truetype");
  font-weight: 50 900;
  font-style: normal;
}

@font-face {
  font-family: "IBM";
  src: url(../fonts/IBMPlexSans-Italic-VariableFont_wdth-wght.ttf)
    format("truetype");
  font-weight: 50 900;
  font-style: italic;
}

@font-face {
  font-family: "Titillium";
  src: url(../fonts/TitilliumWeb-Black.ttf) format("truetype");
  font-weight: 50 900;
  font-style: bold;
}

@font-face {
  font-family: "Titillium";
  src: url(../fonts/TitilliumWeb-Bold.ttf) format("truetype");
  font-weight: 50 900;
  font-style: bold;
}

:root {
  --primary-blue: #101d42;
  --highlight-blue: #00c1d9;
  --dark-blue: #0c1226;
  --light-gray: #f5f5f5;

  --font-size-base: clamp(0.875rem, 0.7434rem + 0.5263vw, 1.375rem);
  --font-size-h1: clamp(1.5rem, 0.7434rem + 3.0263vw, 4.375rem);
  --font-size-h2: clamp(1.625rem, 1.1316rem + 1.9737vw, 3.5rem);
  --font-size-button: clamp(0.75rem, 0.6vw + 0.4rem, 0.875rem);
  --font-size-small: clamp(0.75rem, 0.7rem + 0.2vw, 0.875rem);
  --font-size-small-md: clamp(0.875rem, 0.8rem + 0.3vw, 1rem);

  --border-radius-sm: 4px;
  --border-radius-md: 6px;
  --border-radius-lg: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

.nav-home {
  display: flex;
  align-items: center;
  z-index: 4;
  justify-content: space-between;
  font-family: "IBM", sans-serif;
  font-size: var(--font-size-button);
  text-decoration: none;
  background-color: var(--dark-blue);
  padding: 1vw 7vw;
  position: relative;
}

.nav-home img {
  width: 7.2rem;
  height: auto;
}

.nav-rechts {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: clamp(0.8125rem, 0.7632rem + 0.1974vw, 1rem);
}

.nav-rechts a {
  text-decoration: none;
  color: white;
  letter-spacing: 0.6px;
  font-weight: 450;
  transition: 0.2s ease-out;
}

.nav-rechts a:hover {
  color: var(--highlight-blue);
}

.contact-btn {
  position: relative;
  display: inline-block;
  color: var(--highlight-blue) !important;
  padding: 0.4rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--highlight-blue);
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s ease;
}

.contact-btn:hover {
  color: var(--dark-blue) !important;
  background-color: var(--highlight-blue);
}

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

/* === MAIN BEGIN === */

.hero-wrapper {
  position: relative;
  width: 100%;
  height: 75vh;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(16, 29, 66, 0.85),
    rgba(16, 29, 66, 0)
  );
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-color: rgba(12, 18, 38, 0.8); /* dark-blue met 80% */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 30% 100%);
  z-index: 2;
}

.hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  align-self: flex-end;
  text-align: right;
  gap: 1rem;
  max-width: 30rem;
}

.hero-right h2 {
  font-family: "Exo2", sans-serif;
  font-size: var(--font-size-h2);
  line-height: 1;
  font-weight: 500;
  color: white;
}

.hero-right p {
  font-family: "IBM", sans-serif;
  font-size: var(--font-size-base);
  font-weight: 300;
  color: white;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.hero-right a {
  text-decoration: none;
  width: max-content;
  text-align: center;
  background-color: var(--highlight-blue);
  font-family: "IBM";
  color: var(--dark-blue);
  font-weight: 500;
  font-size: var(--font-size-button);
  padding: 0.7rem 1.4rem;
  border-radius: var(--border-radius-md);
  border: 1px solid transparent;
  transition: 0.3s ease;
}

.hero-right a:hover {
  cursor: pointer;
  background-color: var(--dark-blue);
  color: var(--highlight-blue);
  border: 1px solid var(--highlight-blue);
}

.hero-right button {
  all: unset;
  text-decoration: none;
  background-color: var(--highlight-blue);
  font-family: "IBM";
  color: var(--dark-blue);
  font-weight: 500;
  font-size: var(--font-size-button);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-md);
  transition: 0.3s ease;
  border: 1px solid transparent;
}

.hero-right button:hover {
  cursor: pointer;
  background-color: var(--dark-blue);
  color: var(--highlight-blue);
  border: 1px solid var(--highlight-blue);
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 100%;
  padding: 3rem 7vw;
}

.hero-left h1 {
  font-family: "Exo2", sans-serif;
  font-weight: 700;
  font-size: clamp(2.25rem, 1.6579rem + 2.3684vw, 4.5rem);
  color: white;
  line-height: 1;
}

.hulp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.hulp-sectie {
  padding: 0 7vw;
  text-align: center;
  margin-bottom: 2.3rem;
  margin-top: 2.3rem;
}

.hulp-tegel {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hulp-tegel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.9);
  transition: filter 0.3s ease;
  z-index: -1;
}

.hulp-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  color: white;
  display: flex;
  background: linear-gradient(
    to top,
    rgba(16, 29, 66, 0.85),
    rgba(16, 29, 66, 0)
  );
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 2.7rem;
  text-align: center;
  padding: 3rem 0;
  transition: background-color 0.3s ease;
}

.hulp-overlay p {
  font-family: "IBM", sans-serif;
}

.hulp-overlay svg {
  color: var(--highlight-blue);
}

.hulp-sectie h2 {
  justify-self: left;
  margin-bottom: 1.6rem;
  font-weight: 500;
  color: var(--dark-blue);
  font-family: "Exo2", sans-serif;
  font-size: var(--font-size-h2);
}

.hulp-hover {
  position: absolute;
  inset: 0;
  background-color: var(--highlight-blue);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  transition: transform 0.4s ease, opacity 0.4s ease;
  transform: translateY(100%);
  font-size: var(--font-size-small-md);
  opacity: 0;
  padding: 1.5rem;
  color: var(--primary-blue);
  font-family: "IBM", sans-serif;
  font-weight: 500;
  pointer-events: none;
}

.overlay-icon {
  width: 70px;
  height: 50px;
}

.hulp-tegel:hover {
  transform: scale(1.03);
  z-index: 10;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

.hulp-tegel:hover .hulp-hover {
  transform: translateY(0);
  opacity: 1;
}

.hulp-hover img {
  width: 70px;
  height: 50px;
  object-fit: contain;
}

.hulp-hover p {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease 0.2s, transform 0.3s ease 0.2s;
}

.hulp-tegel:hover .hulp-hover p {
  opacity: 1;
  transform: translateY(0);
}

.hulp-overlay .hulp-titel {
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
}

.uitlichting {
  display: flex;
  box-sizing: border-box;
  background-color: var(--light-gray);
  margin-bottom: 2.3rem;
  position: relative;
}

.uitlichting-links {
  position: relative;
  padding: 2.5rem 5rem 2.5rem 7vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.uitlichting-links small,
.uitlichting-links p,
.uitlichting-links button {
  font-family: "IBM", sans-serif;
  color: var(--dark-blue);
}

.uitlichting-links h2 {
  font-family: "Exo2";
  font-size: var(--font-size-h2);
  font-weight: 700;
  font-size: clamp(2.25rem, 1.6579rem + 2.3684vw, 4.5rem);
  line-height: 1;
  color: var(--dark-blue);
}

.uitlichting-links p {
  font-size: var(--font-size-base);
  line-height: 1.6;
  font-weight: 300;
}

.uitlichting-links small {
  font-weight: 300;
  letter-spacing: 1.6px;
  border: solid 0.4px var(--dark-blue);
  border-radius: var(--border-radius-md);
  padding: 0.6rem;
  width: max-content;
}

.uitlichting-links a {
  all: unset;
  text-decoration: none;
  background-color: var(--highlight-blue);
  width: max-content;
  font-family: "IBM";
  margin-top: auto;
  color: var(--dark-blue);
  font-weight: 500;
  font-size: var(--font-size-button);
  padding: 0.7rem 1.4rem;
  border-radius: var(--border-radius-md);
  transition: 0.3s ease;
  border: 1px solid transparent;
}

.uitlichting-links a:hover {
  background-color: var(--primary-blue);
  color: var(--highlight-blue);
  border: 1px solid var(--highlight-blue);
}

.uitlichting-links,
.uitlichting-rechts {
  flex: 1;
  cursor: none;
  overflow: hidden;
}

.uitlichting-rechts img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.cursor-follow {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  background-color: var(--highlight-blue);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

#contactformulier {
  scroll-margin-top: 80px;
}

footer {
  padding: 3rem 7vw;
  background-color: var(--dark-blue);
  font-family: "IBM", sans-serif;
  display: flex;
  height: 38vh;
  justify-content: space-between;
  color: white;
}

.footer-links {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-weight: 50;
  font-size: var(--font-size-small-md);
}

.footer-gegevens1 {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-gegevens1 h3 {
  font-weight: 500;
}

.footer-rechts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: flex-end;
}

.social-knoppen {
  display: flex;
  gap: 0.8rem;
  justify-content: flex-end;
  align-items: flex-end;
}

.social-knoppen img {
  width: 4vw;
  max-width: 3rem;
  height: max-content;
  color: var(--highlight-blue);
}

.creditsregel {
  text-align: center;
  color: var(--highlight-blue);
  font-family: "IBM", sans-serif;
  font-size: var(--font-size-small);
  background-color: var(--dark-blue);
  font-weight: 300;
  padding: 2rem 0 1.5rem 0;
}

.creditslink {
  color: var(--highlight-blue);
  text-decoration: none;
  font-weight: 600;
}

.hamburger-menu {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  .hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 40vh;
    clip-path: none;
    background-color: rgba(12, 18, 38, 0.8);
    z-index: 2;
  }

  .hero-gradient {
    height: 40vh;
  }

  .hero-image {
    height: 40vh;
  }

  .hero-wrapper {
    height: 40vh;
  }

  .hamburger-menu {
    display: block;
  }

  .nav-rechts {
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--dark-blue);
    width: 100%;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    z-index: 5;
  }

  .nav-rechts.show {
    max-height: 500px;
    padding: 2rem 0;
    opacity: 1;
    z-index: 800;
  }

  .nav-rechts a {
    padding: 0.8rem 1rem;
  }

  .hulp-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .uitlichting {
    flex-direction: column-reverse;
  }

  .social-knoppen svg {
    width: 2.6rem;
  }

  .hero-left h1 {
    display: none;
  }

  .hero-right {
    max-width: 22rem;
  }

  .hero-right a {
    padding: 0.7rem 0.7rem;
  }

  .hero-content {
    height: 40vh;
    box-sizing: border-box;
  }

  .creditsregel {
    padding: 1rem 7vw;
    display: block;
    text-align: center;
  }

  .projecting-wrapper {
    flex-direction: column;
  }

  .projecting-alles-button-mobile {
    display: flex;
  }

  footer {
    flex-direction: column;
  }
}
