/* Basisstijl */

html, body {
  overflow-x: hidden; /* mag */
  overflow-y: auto;   /* belangrijk om scrollen toe te staan */
  height: 100%;       /* zorgt dat body en html hele viewport beslaan */
  margin: 0;
  padding: 0;
}


body {
  background-color: #E6E6E6;
  font-family: 'Hanken Grotesk', sans-serif;
  color: black;
}

/* Header */
header {
  position: sticky;
  top: 0;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #e6e6e67b;
  backdrop-filter: blur(1px);
  z-index: 1000;

  /* Voeg dit toe om te voorkomen dat header breder wordt dan scherm */
  max-width: 100%;
  box-sizing: border-box;
}

.hamburger {
  position: relative; /* niet absoluut, laat flexbox positioneren */
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
  margin-right: 0; /* geen margin die je buiten scherm duwt */
}

/* Optioneel, voor kleinere schermen iets meer ruimte aan rechterkant */
@media (max-width: 600px) {
  header {
    padding-left: 15px;
    padding-right: 15px;
  }

  .hamburger {
    margin-right: 5px;
  }
}







/* Hamburger knop standaard verborgen */
.hamburger {
  width: 24px;      /* kleiner dan 30px */
  height: 18px;     /* kleiner dan 24px */
  flex-direction: column;
  justify-content: space-around;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
  position: relative; /* positionering uit flexflow */
}

.hamburger div {
  width: 24px;      /* lijn even breed als container */
  height: 2.5px;    /* dunner lijntje */
  background-color: black;
  border-radius: 3px;
  transition: all 0.3s linear;
}


.logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  color: black;
}

.logo img {
  width: 150px !important;
  height: auto !important;
}





nav a {
  margin-left: 0; /* want in mobiel is het een verticale lijst */
  font-size: 18px;
}


nav a:hover {
  opacity: 0.7;
}

/* Hero sectie */
.hero {
  padding: 80px 100px;
  max-width: 900px;
  box-sizing: border-box;
}

.hero h1 {
  font-size: 100px;
  font-weight: 900;
  margin-bottom: 20px;
}

.hero p {
  font-size: 50px;
  font-weight: 500;
  line-height: 1.3;
  text-transform: uppercase;
}

/* Over-ons sectie */
.over-ons {
  padding: 60px 100px;
  margin: 0;
  color: black;
  box-sizing: border-box;
}

.over-ons h2 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 800;
  text-transform: uppercase;
  max-width: 50%;
  color: black;
  margin-bottom: 30px;
}

.over-ons p {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 20px;
  line-height: 1.6;
  font-weight: 400;
  max-width: 50%;
}

/* Services sectie */
.services {
  max-width: 100%;
  padding: 60px 100px;
  box-sizing: border-box;
}

.services h2 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 800;
  text-transform: uppercase;
  max-width: 50%;
  color: black;
  margin-bottom: 50px;
}

/* Kaarten */
.card {
  display: flex;
  background-color: #F4F4F4;
  padding: 60px;
  margin: 0 0 20px 0;
  border-radius: 30px;
  box-sizing: border-box;
  gap: 200px;
  align-items: flex-start;
  width: 100%;
  max-width: none;
}

.card img {
  width: 40%;
  height: auto;
  border-radius: 0;
  object-fit: cover;
  flex-shrink: 0;
}

.card-text {
  font-size: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-text h3 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 30px;
  margin: 0 0 60px 0;
}

.card-text p {
  margin: 0 0 50px 0;
}

.vierkante-lijst {
  list-style-type: square;
  padding-left: 20px;
  margin: 0;
}

/* REALISATIES sectie */
.realisaties-inner {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.realisaties {
  padding: 60px;
  box-sizing: border-box;
  margin: 0;
}

.realisaties h2 {
  padding-left: 0px !important;
  box-sizing: border-box;
}

/* Scrollbare container met flex */
.realisaties-scroll {
  display: flex;
  overflow-x: auto;
}

.realisatie-card {
  flex-direction: column;
  width: auto;
  box-sizing: border-box;
  scroll-snap-align: start;
  border-radius: 0;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  display: block !important;
  flex: 0 0 auto;
  /* kaarten nemen hun min-width */
}

.realisatie-card img {
  height: 500px;
  object-fit: cover;
  width: 100%;
  border-radius: 0 !important;
}

/* Specifieke breedtes per kaart */
.realisatie-card:nth-child(1) {
  min-width: 700px;
  margin-left: 0;
}

.realisatie-card:nth-child(2) {
  min-width: 560px;
}

.realisatie-card:nth-child(3) {
  min-width: 500px;
}

/* Titels boven elke foto */
.realisatie-titel {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600;
  font-size: 24px;
  text-transform: uppercase;
  margin: 0 0 30px 0;
  color: black;
}

/* Scroll knoppen */
.scroll-button {
  font-size: 45rem;
  color: rgb(255, 255, 255);
  width: 10px;
  height: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.scroll-button:hover {
  background-color: rgba(255, 255, 255, 0.363);
}

.scroll-button.left {
  left: 100px;
  color: #E6E6E6;
  background-color: none;
}

.scroll-button.right {
  right: 100px;
  color: #E6E6E6;
  background-color: none;
}

.over-ons h2,
.services h2,
.realisaties h2 {
  max-width: 50%;
  margin-left: 0;
  color: black;
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 36px;
  margin-bottom: 50px;
}

/* Contact sectie */
.contact {
  padding: 60px 100px;
  box-sizing: border-box;
}

.contact h2 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 800;
  text-transform: uppercase;
  max-width: 50%;
  margin-left: 0;
  color: black;
  margin-bottom: 20px;
}

.contact-subtitle {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 25px;
  font-weight: 400;
  max-width: 50%;
  margin: 0 0px 70px 0;
  color: #000000;
  text-transform: none;
}

input,
select,
textarea {
  background-color: #D9D9D9;
  color: #000;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  font-size: 16px;
  box-sizing: border-box;
}

form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-row {
  display: flex;
  flex-direction: column;
  width: 80%;
}

.two-columns {
  flex-direction: row;
  gap: 20px;
}

.form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

label {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 16px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
  padding: 10px 15px;
  font-size: 16px;
  border-radius: 10px;
  border: 1.5px solid #cccccc00;
  outline: none;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus {
  border-color: #000;
}

.btn-submit {
  margin-top: 20px;
  padding: 15px;
  background-color: black;
  color: #D9D9D9;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 200px;
  align-self: flex-start;
}

.btn-submit:hover {
  background-color: #333;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 40px;
  background-color: #D9D9D9;
  box-sizing: border-box;
  font-family: 'Hanken Grotesk', sans-serif;
  color: #000000;
  flex-wrap: nowrap;
}

.footer-left {
  flex-shrink: 0;
  max-width: 500px;
}

.footer-left img {
  width: 250px !important;
  height: auto !important;
  display: block;
}

.footer-right p {
  margin: 0;
  font-size: 20px;
  text-align: left;
  max-width: 400px;
}


#thanksPopup {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5000;
}

.popup-content {
  background: white;
  padding: 30px 40px;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  text-align: center;
  max-width: 90%;
  font-size: 1.3rem;
  color: black;
}

#thanksPopup button {
  margin-top: 20px;
  padding: 10px 25px;
  background-color: black;
  color: #D9D9D9;
  font-weight: 800;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 1rem;
}

#thanksPopup button:hover {
  background-color: #333;
}

@media (max-width: 600px) {

  /* --- ALGEMEEN --- */
  body {
    overflow-x: hidden;
  }

  /* Altijd overal dezelfde marge */
  .over-ons,
  .services,
  .realisaties-inner,
  .contact {
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box;
  }

  /* Alle sectietitels exact gelijk uitgelijnd */
  .over-ons h2,
  .services h2,
  .realisaties-inner>h2,
  .contact h2 {
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-align: left !important;
    max-width: 100% !important;
  }


  /* --- HERO --- */
  .hero {
    padding: 40px 20px !important;
    max-width: 100%;
  }

  .hero h1 {
    font-size: 50px !important;
  }

  .hero p {
    font-size: 20px !important;
  }

  .over-ons p {
    font-size: 16px !important; /* !important om zeker te zijn */
    max-width: 100% !important; /* zorgt dat tekst niet beperkt wordt */
    line-height: 1.4 !important; /* optioneel voor betere leesbaarheid */
  }

  header {
  padding-left: 10px !important;  /* minder padding links */
  padding-right: 20px !important; /* standaard rechts */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  margin-left: 0px !important; /* geen marge links */
  padding-left: 0 !important; /* geen padding links */
}

.logo img {
  width: 100px !important;
  height: auto !important;
}

  .hamburger {
    display: flex !important;
  }

  nav {
    display: none !important;
    position: absolute !important;
    top: 60px !important;
    right: 20px !important;
    background: #e6e6e6d3 !important;
    backdrop-filter: blur(5px) !important;
    border-radius: 10px !important;
    padding: 20px !important;
    flex-direction: column !important;
    gap: 15px !important;
    z-index: 1000 !important;
    min-width: 150px !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
  }

  nav.show {
    display: flex !important;
  }

  nav a {
    margin-left: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: black;
    text-decoration: none;
  }

  nav a:hover {
    opacity: 0.7;
  }

  /* Verwijder desktop margins */
  nav a:not(:last-child) {
    margin-bottom: 10px;
  }
  /* --- SERVICES KAARTEN --- */
  .card {
    width: 100% !important;
    padding: 20px !important;
    flex-direction: column !important;
    gap: 20px !important;
    background-color: #F4F4F4 !important;
  }

  .card img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    border-radius: 15px !important;
  }

  .card-text {
    width: 100% !important;
    margin-left: 0 !important;
    margin-top: 10px;
    font-size: 16px !important;
  }

  .card-text h3 {
    margin-bottom: 20px !important;
    font-size: 24px !important;
  }


  /* --- REALISATIES --- */

  /* Grijze achtergrond full-width */
  .realisaties {
    background-color: #D9D9D9;
    width: 100% !important;
    margin: 0 !important;
  }

  /* Binnenruimte = 20px links zoals anderen */
  .realisaties-inner {
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-bottom: 0px;
  }

  /* Titel staat NU perfect gelijk */
  .realisaties-inner>h2 {
    margin: 0 0 30px 0 !important;
    font-size: 32px !important;
  }

  /* Scrollgebied */
  .realisaties-scroll {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    scroll-behavior: smooth;
  }

  /* Cards 100% breed */
  .realisatie-card {
    flex: 0 0 100% !important;
  }

  .realisatie-card img {
    width: 60% !important;
    height: auto !important;
  }

  .realisatie-card p {
    margin-top: 20px;
    width: 60% !important;
    font-size: 18px;
    line-height: 1.5;
  }

  /* Kleine pijltjes */
  .scroll-button {
    position: absolute;
    top: 90%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 2rem;
    color: rgba(0, 0, 0, 0.358);
  }

  .scroll-button.left {
    left: 20px !important;
  }

  .scroll-button.right {
    right: 20px !important;
  }

  .contact-subtitle {
    max-width: 100% !important;  /* zorgt dat het de volledige breedte mag gebruiken */
    white-space: normal;          /* laat de tekst normaal wrappen, of 'nowrap' om juist geen breuk */
  }

  form {
    width: 100%;
    padding: 0 20px; /* zorgt dat het binnen scherm blijft */
    box-sizing: border-box;
  }

  .form-row.two-columns {
    flex-direction: column; /* kolommen onder elkaar op mobiel */
    gap: 15px;
  }

  .form-row,
  .form-field {
    width: 100% !important; /* neemt volledige breedte */
  }

  /* Optioneel: button ook breedte 100% */
  .btn-submit {
    width: 100% !important;
    max-width: none !important;
  }


  .footer {
    display: flex !important;
    justify-content: space-between !important;
    width: 100vw !important;
    padding: 15px !important;
    box-sizing: border-box !important;
  }

  .footer-left img {
    width: 100px !important;
    height: auto !important;
    flex-shrink: 0;
  }

  .footer-right p {
  font-size: 14px; /* of 12px voor nog kleiner */
  line-height: 1.4;
}




}