* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}


body {
  margin: 0;
  font-family: 'Roboto Slab', serif;
  background: #fff;
  color: #000;
  line-height: 1.6;
}


/* Topbar */
.topbar {
  background-color: #000;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 20px;
  font-size: 14px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1100;
  flex-wrap: wrap;
}

.topbar-left,
.topbar-center,
.topbar-right {
  flex: 1;
  text-align: center;
}

.topbar a {
  color: white;
  text-decoration: none;
}


.topbar a:hover {
  text-decoration: underline;
}

/* Navbar */
.navbar {
  background-color: #fff;
  padding: 20px 0;
  border-bottom: 1px solid #ccc;
  text-align: center;
  position: fixed;
  top: 36px;
  width: 100%;
  z-index: 1000;
  
}

.logo a {
  font-weight: bold;
  font-size: 22px;
  text-decoration: none;
  color: black;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 0;
  margin: 10px 0 0;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: black;
  font-weight: bold;
}

.nav-links a.active {
  color: grey;
}

/* Hero */
.hero {
  background: url('img/hero.png') no-repeat center center/cover;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 36px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
  margin-top: 160px;
  padding: 0 20px;
  text-align: center;
}


.home-hero {
  background-image: url('img/hero.png');
}

.contact-hero {
  background-image: url('img/hero2.png');
}

.klachten-hero {
  background-image: url('img/hero3.png');
}

.voorwaarden-hero {
  background-image: url('img/hero4.png');
}

/* Info */
.info {
  padding: 30px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

/* HR */
hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 30px auto;
  max-width: 1000px;
}


.advocaat {
  text-align: center;
  padding: 40px 20px;
}

.advocaat p {
  font-size: 18px;
  font-weight: bold;
}

.advocaat img.advocaat-foto {
  width: 300px;
  height: auto;
  margin-bottom: 10px;
  margin-top: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


/* Specialisaties */
.specialisaties {
  padding: 20px;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
  font-weight: bold;
}

/* Bio sectie */
.bio {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.bio .column {
  flex: 1;
  min-width: 300px;
}

.tarieven {
  text-align: center;
  padding: 40px 20px;
}

.tarieven table {
  margin: 0 auto;
  border-collapse: collapse;
  width: 90%;
  max-width: 800px;
}

.tarieven td {
  border: 1px solid #000;
  padding: 10px;
}

.tarieven .small {
  font-size: 14px;
  margin-top: 10px;
  max-width: 800px;
  margin: 0 auto;
}

.contact {
  padding: 40px 20px;
  text-align: center;
}

.map-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.map-contact iframe {
  border: none;
}

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

.contact a:hover {
  text-decoration: underline;
}



/* Footer */
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 40px 20px;
}

.footer-columns > div {
  flex: 1;
  min-width: 200px;
  max-width: 33%;
}

footer {
  background-color: #000;
  color: #fff;
  padding: 20px;
}

footer a {
  color: white;
  text-decoration: none;
}

/* Contactformulier sectie */
.formulier {
  padding: 60px 20px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.formulier h2 {
  margin-bottom: 30px;
  font-size: 28px;
}

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

form input,
form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}

form button {
  background-color: black;
  color: white;
  border: none;
  padding: 12px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s ease;
}

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


/* Algemene link stijl */
a {
  color: inherit;
  text-decoration: none;
}

/* Download knop stijl */
.download-button {
  display: inline-block;
  margin-top: 15px;
  background-color: black;
  color: white;
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 16px;
  transition: background 0.3s ease;
}

.download-button:hover {
  background-color: #333;
}

.mobile-menu-toggle {
  display: none;
}


@media (max-width: 768px) {

  /* Verberg topbar op mobiel */
  .topbar {
    display: none;
    height: 0;
    margin: 0;
    padding: 0;
  }

  /* Navbar layout mobiel: logo links, hamburgermenu rechts */
  .navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 10px 20px;
  }

  .logo a {
    font-size: 18px;
    font-weight: bold;
  }

  .mobile-menu-toggle {
  display: block;
  font-size: 28px;
  cursor: pointer;
  background: none;
  border: none;
  margin-left: auto;
  color: black; /* <-- Zorg dat hij zichtbaar is */
  z-index: 1001;
}

  /* Menu (navigatie) dropdown onder navbar */
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 60px; /* hoogte navbar */
    left: 0;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    gap: 10px;
    z-index: 999;
    border-top: 1px solid #ccc;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li a {
    font-size: 16px;
  }

  /* Hero sectie kleiner + onder navbar */
  .hero {
    margin-top: 60px;
    height: 400px;
    font-size: 20px;
    padding: 1rem;
    text-align: center;
    position: relative;
    z-index: 0;
  }

  /* Bio in kolommen → stacken onder elkaar */
  .bio {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .bio .column {
    width: 100%;
    padding: 10px 0;
  }

  /* Specialisaties grid: compacter */
  .grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 20px;
    font-size: 18px;
    text-align: center;
  }



  /* Footer mobiel: één kolom gecentreerd */
  .footer-columns {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    gap: 20px;
  }

  .footer-columns > div {
    width: 100%;
    max-width: 600px;
    padding: 10px 15px;
  }

  footer p,
  footer h4 {
    text-align: center;
    margin: 8px auto;
  }

  footer {
    font-size: 14px;
    line-height: 1.6;
  }

  /* Contact map en layout */
  .map-contact {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .google-map {
    width: 100% !important;
    height: 250px;
    padding: 0 15px;
    box-sizing: border-box;
  }

  /* Contactformulier layout */
  .formulier {
    padding: 40px 15px;
  }

  form input,
  form textarea {
    font-size: 14px;
  }

  form button {
    padding: 14px;
    font-size: 16px;
  }

  /* Tarievenschema volledig breed */
  .tarieven table {
    width: 100%;
  }

}
