/* Basisinstellingen */
* {
  box-sizing: border-box;
}

/* Smooth scrolling voor de hele pagina */
html {
  scroll-behavior: smooth;
}

body {
font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #fcfbf7;
  background-image: url('Logo.jpg');
  background-repeat: no-repeat;      /* Zorgt ervoor dat het logo zich niet herhaalt */
  background-position: center top;   /* Centreert het logo horizontaal en plaatst het boven aan */
  background-attachment: fixed;      /* Houdt het logo op zijn plek tijdens het scrollen */
  background-size: cover;          /* Schaalt de afbeelding automatisch mee over de pagina */
}

/* Sticky Header Styling */
.site-header {
  background-color: #16243e;
  padding: 0.8rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.header-container {
  max-width: 94vw;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-box {
  background-color: #3a506b;
  color: #fff;
  font-weight: bold;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  font-size: 1.1rem;
}

.logo-text {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: bold;
}

/* Verberg de mobiele menu-toggle op desktop */
.menu-toggle, 
.menu-button-container {
  display: none;
}

/* Header Navigatieknoppen (Desktop view) */
.header-nav {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.header-nav-btn {
  background-color: #3a506b;
  color: #ffffff;
  padding: 0.5rem 0.9rem;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: bold;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.header-nav-btn:hover {
  background-color: #4f6d91;
}

/* Layout container (Brede weergave met gelijke zijmarges) */
.layout-container {
  max-width: 94vw;
  margin: 2rem auto;
  padding: 0;
}

/* Main Content Grid (Blokken naast elkaar) */
.main-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  width: 100%;
}

.content-section {
/* Wit met 75% dekking (oftewel 25% transparant) */
  background: rgba(255, 255, 255, 0.75); 
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  margin-bottom: 0;
}

.content-section h2 {
  margin-top: 0;
  color: #16243e;
  font-size: 1.8rem;
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

/* Visie Layout binnen het linkse blok */
.visie-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.visie-text p {
  color: #4a5568;
  margin-bottom: 1rem;
}

/* Contactformulier over de volle breedte onderaan */
.content-section#contact {
  grid-column: 1 / -1;
}

/* Formulier Styling */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.75); /* Dezelfde 80% transparantie als de content-blokken */
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(226, 222, 212, 0.6); /* Optioneel: subtiele rand die mooi matcht */
}

input, textarea, button {
  padding: 0.8rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
}

button {
  background-color: #1a2b4c;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

button:hover {
  background-color: #2c4373;
}

/* Footer Styling */
footer {
  text-align: center;
  padding: 0.8rem 1rem; /* Maakt de footer lekker slank/dun */
  background: rgba(255, 255, 255, 0.75); /* Zelfde transparantie als de content-blokken */
  border-top: 1px solid rgba(226, 222, 212, 0.6); /* Subtiele rand */
  margin-top: 2rem;
}

/* ==========================================
   DROPDOWN MENU INSTELLINGEN VOOR MOBIEL
   ========================================== */

@media (max-width: 900px) {
  /* Toon de knop op mobiel */
  .menu-button-container {
    display: flex;
    align-items: center;
    cursor: pointer;
  }

  .menu-icon {
    background-color: #3a506b;
    color: #ffffff;
    padding: 0.5rem 0.9rem;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.9.rem;
  }

  /* Het navigatiemenu standaard verbergen op mobiel */
  .header-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
    gap: 0.5rem;
  }

  .header-nav-btn {
    width: 100%;
    text-align: center;
    padding: 0.75rem;
  }

  /* Wanneer het vakje is aangevinkt (tappen op de knop), toon het menu */
  .menu-toggle:checked ~ .header-nav {
    display: flex;
  }

  .header-container {
    flex-wrap: wrap;
  }

  .main-content {
    grid-template-columns: 1fr;
  }

  .hero-banner, .layout-container {
    max-width: 92vw;
  }

  .hero-title {
    font-size: 2rem;
  }
}