/* Algemene stijlen */
body, html {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  height: 100%;
  overflow-x: hidden;
  height: 100vh;
}

/* Navbar bovenaan */
.sidenav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  background-color: #27548A;
  display: flex;
  justify-content: center;
  padding: 10px 0;
  z-index: 1000;
}

.sidenav a {
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  margin: 0 10px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s;
}

.sidenav a:hover {
  background-color: #1e3f6a;
}

/* Zorgt ervoor dat de hoofdinhoud niet onder de navbar valt */
.main {
  margin-top: 60px;
  padding-bottom: 100px;
  margin-bottom: 120px;
}

/* Diensten sectie */
.pakketten {
  padding-top: 20px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.pakket-titel {
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  font-size: 22px;
  font-weight: bold;
}

.pakket {
  background: #f4f4f4;
  padding: 60px 20px 20px 20px;
  margin-top: 100px;
  border-radius: 10px;
  text-align: center;
  width: 21%;
  height: 30vh;
  border: 3px solid #27548A;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

/* Footer met contact sectie */
.footer {
  background-color: #27548A;
  padding: 15px 0;
  text-align: center;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}

.contact-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

.contact-logo {
  width: 45px;
  height: 45px;
}

/* Hero sectie */
.hero-overlay {
  background-color: white;
  border-radius: 30px;
  border: 4px solid #27548A;
  padding: 20px;
}

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70vh;
  margin-top: 90px;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-image {
  width: 500px;
  height: 400px;
  border-radius: 10px;
  background-image: url('fotos-auto/3.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 4px solid #27548A;
}

.hero-text {
  max-width: 400px;
  background-color: white;
  padding: 20px;
  border-radius: 20px;
  border: 3px solid #27548A;
}

.hero-text h1 {
  margin-top: 0;
}

/* Over Ons - vier kwadranten stijl */
.over-ons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 40px;
  padding: 40px;
  max-width: 1200px;
  margin: auto;
}

.over-ons-kwadrant {
  background-color: white;
  padding: 25px;
  border-radius: 15px;
  border: 3px solid #27548A;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: left;
  line-height: 1.6;
}

.over-ons-kwadrant h3 {
  margin-top: 0;
  color: #27548A;
}

/* Contactpagina stijlen */
.contact-sectie {
  max-width: 600px;
  margin: auto;
  padding: 40px 20px;
  background-color: #ffffff;
  border: 3px solid #27548A;
  border-radius: 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.contact-sectie h2 {
  text-align: center;
  color: #27548A;
  margin-bottom: 30px;
}

.contact-formulier {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-formulier input,
.contact-formulier textarea {
  padding: 12px;
  border: 2px solid #27548A;
  border-radius: 8px;
  font-size: 16px;
  background-color: #f9f9f9;
  transition: border-color 0.3s ease;
}

.contact-formulier input:focus,
.contact-formulier textarea:focus {
  border-color: #1e3f6a;
  outline: none;
  background-color: #fff;
}

.contact-formulier button {
  padding: 12px;
  background-color: #27548A;
  color: white;
  font-size: 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-formulier button:hover {
  background-color: #1e3f6a;
}

/* Losse lessen opmaak */
.losse-lessen-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 40px;
  max-width: 1000px;
  margin: auto;
  border: 3px solid #27548A;
  border-radius: 15px;
  background-color: #fff;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.losse-lessen-links, .losse-lessen-rechts {
  flex: 1;
}

.losse-lessen-links ul {
  list-style: none;
  padding: 0;
}

.losse-lessen-links li {
  padding: 5px 0;
  font-size: 18px;
}

.losse-lessen-wrapper h3 {
  color: #27548A;
  margin-top: 0;
}

.Lesprijzen {
  padding-top: 50px;
}

.extra-info-links {
  text-align: left;
  padding-left: 50px;
}

.extra-info-rechts {
  text-align: right;
  padding-right: 50px;
}

/* Responsive aanpassingen */
@media (max-width: 768px) {
  .main {
    margin-left: 0;
    padding: 1rem;
  }

  .sidenav {
    width: 100%;
    height: auto;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 10px 0;
  }

  .sidenav a {
    float: none;
    text-align: center;
    padding: 10px;
    flex: 1;
  }

  .pakketten{
      flex-direction: column;
  align-items: center;
  padding: 20px 10px;
  }

  .contact-formulier,
  .losse-lessen-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .over-ons-grid{
    grid-template-columns: 1fr;
  grid-template-rows: auto;
  padding: 20px;
  gap: 20px;
  }

  .pakket {
    width: 90%;
    height: auto;
    margin-top: 40px;
    margin-bottom: 1.5rem;
  }

  .losse-lessen-links, .losse-lessen-rechts {
    width: 100%;
    padding: 1rem 0;
    text-align: left;
  }

  .contact-items {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .contact-logo {
    width: 40px;
    height: 40px;
  }

  .contact-item {
    width: auto;
    padding: 5px;
  }

  .hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border: 3px solid #27548A;
}

}
