/* ========== RESET &  BASE ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  color: #000;
  background: #fff;
  overflow-x: hidden;
}

ul {
  list-style: disc;
  padding-left: 24px;
}

ul ul {
  list-style: disc;
  padding-left: 24px;
}

li {
  line-height: 28px;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========== DESIGN TOKENS ========== */
:root {
  --dark-blue: #03163D;
  --blue: #33509B;
  --orange: #E94E1B;
  --orange-divider: #FF4E0F;
  --white: #ffffff;
  --black: #000000;
  --footer-text: #555D6D;
  --footer-bg: #03102D;
  --max-width: 1180px;
  --side-padding: 130px;
}

/* ========== TYPOGRAPHY ========== */
.section-label {
  font-weight: 600;
  font-size: 22px;
  line-height: 28px;
  color: var(--blue);
  text-align: center;
  text-transform: lowercase;
}

.section-title {
  font-weight: 600;
  font-size: 36px;
  line-height: 1;
}

.section-title--white {
  color: var(--white);
}

/* ========== LAYOUT ========== */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--side-padding);
}

/* ========== CTA BUTTON ========== */
.cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 40px;
  background: none;
  border: none;
  cursor: pointer;
  text-transform: lowercase;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--white);
  line-height: 1;
}

.cta-btn__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-btn__bg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.cta-btn__text {
  position: relative;
  z-index: 1;
}

.cta-btn--large {
  min-width: 246px;
}

.cta-btn--small {
  min-width: 212px;
}

/* ========== DIVIDER ========== */
.divider {
  width: 24px;
  height: 52px;
  flex-shrink: 0;
}

.divider svg {
  width: 100%;
  height: 100%;
}

/* ========== HEADER ========== */
.header {
  padding: 61px 0 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  width: 300px;
  height: 78px;
}

.header__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 62px;
}

.header__nav-link {
  font-weight: 600;
  font-size: 20px;
  line-height: 1;
  color: var(--dark-blue);
  text-transform: lowercase;
  transition: color 0.3s;
}

.header__nav-link:hover {
  color: var(--orange);
}

.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.header__hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--dark-blue);
  border-radius: 2px;
  transition: 0.3s;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 46px;
  z-index: 1;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__bg-image {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  transform: scale(1.1);
}

.hero__bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  position: absolute;
  inset: 0;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: var(--dark-blue);
  opacity: 0.85;
  mix-blend-mode: multiply;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.hero__content {
  max-width: 451px;
}

.hero__title {
  font-weight: 600;
  font-size: 38px;
  line-height: 1.55;
  color: var(--white);
}

.hero__title span {
  color: var(--orange);
}

.hero__logo {
  width: 550px;
  flex-shrink: 0;
  margin-bottom: -25px;
  margin-right: 30px;
}

.hero__logo img {
  width: 100%;
  height: auto;
}

/* ========== ABOUT (OVER ONS) ========== */
.about {
  padding: 80px 0 100px;
  text-align: center;
}

.about .section-title {
  margin-top: 16px;
}

.about__text {
  max-width: 884px;
  margin: 30px auto 0;
  text-align: center;
  line-height: 28px;
}

.about__text strong {
  font-weight: 700;
}

.about__cta {
  margin-top: 40px;
}

/* ========== SERVICES (ONZE DIENSTEN) ========== */
.services {
  background: var(--dark-blue);
  padding: 120px 0 100px;
}

.services__header {
  text-align: center;
  margin-bottom: 60px;
}

.services__header .section-title {
  color: var(--white);
  margin-top: 16px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.service-card__icon {
  width: 180px;
  height: 160px;
  margin-top: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__icon img,
.service-card__icon svg {
  max-width: 100%;
  max-height: 100%;
}

.service-card--residentieel .service-card__icon {
  width: 172px;
}

.service-card--industrie .service-card__icon {
  width: 124px;
}

.service-card__title {
  font-weight: 600;
  font-size: 36px;
  line-height: 1;
  color: var(--dark-blue);
  margin-top: 22px;
}

.service-card__title span {
  color: var(--orange);
}

.service-card__subtitle {
  font-weight: 600;
  font-size: 22px;
  line-height: 28px;
  color: var(--blue);
  text-align: center;
  margin-top: 24px;
  padding: 0 30px;
  text-wrap: balance;
}

.service-card__list {
  padding: 40px 40px 0;
  width: 100%;
  flex: 1;
}

.service-card__list ul {
  margin-bottom: 16px;
}

.service-card__list ul:last-child {
  margin-bottom: 0;
}

.service-card__image {
  width: calc(100% - 40px);
  height: 221px;
  margin: 40px 20px 20px;
  overflow: hidden;
  border-radius: 0;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card--industrie .service-card__image img {
  object-position: center 30%;
}

.services__cta {
  text-align: center;
  margin-top: 60px;
}

/* ========== CONTACT ========== */
.contact {
  padding: 100px 0 100px;
  text-align: center;
}

.contact .section-title {
  margin-top: 16px;
}

.contact__text {
  max-width: 627px;
  margin: 20px auto 0;
  text-align: center;
}

.contact__team {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 60px;
  margin-top: 60px;
  position: relative;
}

.contact__person {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
  width: 385px;
}

.contact__person-photo {
  width: 235px;
  height: 235px;
  border-radius: 50%;
  overflow: hidden;
  background: #f0f0f0;
}

.contact__person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact__person--pieter .contact__person-photo img {
  object-position: center 20%;
}

.contact__person--jeroen .contact__person-photo img {
  object-position: center 20%;
}

.contact__person-name {
  font-weight: 600;
  font-size: 22px;
  line-height: 28px;
  color: var(--blue);
  margin-top: 42px;
}

.contact__team-divider {
  margin-top: 92px;
  align-self: flex-start;
  width: 24px;
  height: 52px;
  flex-shrink: 0;
}

.contact__email-mobile {
  display: none;
}

.contact__person-phone {
  display: none;
  margin-top: 24px;
}

.contact__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  margin-top: 42px;
  padding-bottom: 0;
}

/* ========== FOOTER ========== */
.footer-top-image {
  height: 328px;
  position: relative;
  overflow: hidden;
  opacity: 0.4;
}

.footer-top-image img {
  width: 100%;
  height: 118%;
  object-fit: cover;
  object-position: center top;
}

.footer-mid {
  background: var(--dark-blue);
  padding: 65px 0 50px;
}

.footer-mid .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-mid__logo {
  width: 115px;
  height: 100px;
  margin-bottom: 40px;
}

.footer-mid__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-mid__content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  color: var(--white);
  font-size: 16px;
  line-height: 28px;
}

.footer-mid__address p {
  margin: 0;
}

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

.footer-mid__contact-name {
  font-weight: 600;
}

.footer-mid__contact-slash {
  color: var(--orange);
  font-weight: 600;
  margin: 0 4px;
}

.footer-mid__btw {
  text-align: right;
  margin-bottom: 28px;
}

.footer-mid__address a,
.footer-mid__contact a {
  color: var(--white);
  transition: color 0.3s;
}

.footer-mid__address a:hover,
.footer-mid__contact a:hover {
  color: var(--orange);
}

.footer-bottom {
  background: var(--footer-bg);
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom__left,
.footer-bottom__right {
  font-size: 14px;
  line-height: 28px;
  color: var(--footer-text);
}

.footer-bottom__right a {
  color: var(--footer-text);
  transition: color 0.3s;
}

.footer-bottom__right a:hover {
  color: var(--white);
}

/* ========== PRIVACY MODAL ========== */
.privacy-link {
  cursor: pointer;
  text-decoration: none;
  transition: color 0.3s;
}

.privacy-link:hover {
  text-decoration: underline;
  color: var(--white);
}

.privacy-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 24px;
}


.privacy-modal {
  background: var(--white);
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.privacy-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}

.privacy-modal__title {
  font-weight: 600;
  font-size: 24px;
  color: var(--dark-blue);
}

.privacy-modal__close {
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 28px;
  line-height: 1;
  transition: color 0.3s;
}

.privacy-modal__close:hover {
  color: var(--dark-blue);
}

.privacy-modal__body {
  padding: 32px;
  overflow-y: auto;
  font-size: 15px;
  line-height: 26px;
  color: #333;
}

.privacy-modal__body h3 {
  font-weight: 600;
  font-size: 17px;
  color: var(--dark-blue);
  margin: 24px 0 8px;
}

.privacy-modal__body h3:first-child {
  margin-top: 0;
}

.privacy-modal__body p {
  margin-bottom: 12px;
}

.privacy-modal__body ul {
  margin-bottom: 12px;
  padding-left: 20px;
}

.privacy-modal__body ul li {
  font-size: 15px;
  line-height: 24px;
}

/* Nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 999;
}

.nav-overlay.is-open {
  display: block;
}

/* ========== GSAP INITIAL STATES ========== */
.header__logo {
  opacity: 0;
}

.header__nav-link,
.header__nav .divider {
  opacity: 0;
}

.hero__title,
.hero__logo {
  opacity: 0;
}

.about .section-label,
.about .section-title,
.about__text,
.about__cta,
.services__header .section-label,
.services__header .section-title,
.service-card,
.services__cta,
.contact .section-label,
.contact .section-title,
.contact__text,
.contact__person,
.contact__team-divider,
.contact__ctas .cta-btn {
  opacity: 0;
}

/* ========== RESPONSIVE ========== */

/* Tablet */
@media (max-width: 1200px) {
  :root {
    --side-padding: 60px;
  }

  .header__nav {
    gap: 30px;
  }

  .hero__logo {
    width: 400px;
  }

  .hero__title {
    font-size: 32px;
  }

  .services__grid {
    gap: 16px;
  }

  .contact__person {
    width: 320px;
  }

  .contact__ctas {
    gap: 20px;
  }
}

@media (max-width: 1024px) {
  :root {
    --side-padding: 40px;
  }

  .header {
    padding-top: 30px;
  }

  .header__logo {
    width: 220px;
    height: 57px;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px 40px;
    gap: 0;
    z-index: 1000;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    transition: right 0.3s ease;
  }

  .header__nav.is-open {
    right: 0;
  }

  .header__nav .divider {
    display: none;
  }

  .header__nav-link {
    padding: 16px 0;
    font-size: 18px;
    display: block;
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  .header__hamburger {
    display: flex;
    z-index: 1001;
  }

  .header__hamburger.is-open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .header__hamburger.is-open span:nth-child(2) {
    opacity: 0;
  }

  .header__hamburger.is-open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .hero {
    min-height: 380px;
    margin-top: 30px;
  }

  .hero__logo {
    display: none;
  }

  .hero .container {
    justify-content: center;
  }

  .hero__title {
    font-size: 28px;
    text-align: center;
  }

  .hero__content {
    max-width: 600px;
  }

  .services__grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .service-card__image {
    height: 200px;
  }

  .service-card {
    width: 100%;
  }

  .contact__email-mobile {
    display: block;
    margin-top: 30px;
  }

  .contact__team {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .contact__team-divider {
    display: none;
  }

  .contact__person-name {
    margin-top: 20px;
  }

  .contact__person-phone {
    display: inline-flex;
    margin-top: 20px;
  }

  .contact__team {
    margin-bottom: 40px;
  }

  .contact__ctas {
    display: none;
  }

  .footer-mid__content {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
  }

  .footer-mid__address,
  .footer-mid__btw {
    text-align: center;
  }

  .footer-mid__contact-slash {
    display: none;
  }

  .footer-mid__contact-pieter {
    display: block;
  }

  .footer-bottom .container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --side-padding: 24px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-label {
    font-size: 18px;
  }

  .header {
    padding-top: 20px;
  }

  .header__logo {
    width: 180px;
    height: 47px;
  }

  .hero {
    min-height: auto;
    margin-top: 20px;
    padding: 60px 0;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__title {
    font-size: 26px;
  }

  .hero__logo {
    width: 250px;
  }

  .about {
    padding: 60px 0 60px;
  }

  .about__text {
    margin-top: 20px;
  }

  .services {
    padding: 60px 0 60px;
  }

  .service-card__title {
    font-size: 28px;
  }

  .service-card__subtitle {
    font-size: 18px;
  }

  .service-card__list {
    padding: 30px 24px 0;
    font-size: 15px;
  }

  .contact {
    padding: 60px 0 60px;
  }

  .contact__person {
    width: 100%;
    max-width: 300px;
  }

  .contact__person-photo {
    width: 200px;
    height: 200px;
  }

  .footer-top-image {
    height: 180px;
  }

  .footer-mid {
    padding: 40px 0 30px;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 22px;
  }

  .hero__logo {
    width: 200px;
  }

  .section-title {
    font-size: 24px;
  }

  .cta-btn {
    font-size: 16px;
    min-width: auto !important;
  }

  .cta-btn--large {
    min-width: 220px !important;
  }

  .cta-btn--small {
    min-width: 190px !important;
  }

  .contact__person-photo {
    width: 170px;
    height: 170px;
  }
}
