/* === MAINSTYLE.CSS === */

/* Algemene body styling */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: whitesmoke;
    color: #4a3f35;
  }
  
  nav {
    background-color: #A35E3B;
    backdrop-filter: blur(6px);
    color: white;
    padding: 12px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background-color 0.4s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  }
  
  /* Wordt toegevoegd via JS bij scroll */
  nav.scrolled {
    background-color: #A35E3B;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: auto;
  }
  
  /* Logo styling */
  .logo {
    font-size: 22px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    letter-spacing: 2px;
    padding-left: 10px;
    text-transform: uppercase;
  }
  
  .logo img {
    height: 50px;
    transition: transform 0.3s ease;
  }
  
  .logo img:hover {
    transform: scale(1.05);
  }
  
  /* Navigatielinks */
  .nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
  }
  
  .nav-links li {
    margin-left: 20px;
  }
  
  .nav-links li a {
    padding: 8px 15px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease;
  }
  
  .nav-links li a:hover {
    background-color: rgba(246, 134, 15, 0.85);
    color: #fff;
  }
  
  /* Hamburger menu */
  .hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
    background-color: #A35E3B;
    
  }
  /* Zorg dat body en html 100% zijn en flexbox gebruiken */
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

/* Laat de main content alle beschikbare ruimte innemen */
.page-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center; /* optioneel: centreer verticaal */
}

/* Bedankbericht extra netjes centreren binnen de section */
#thanks-message {
  text-align: center;
  padding: 3rem 1rem;
}

  /* Afbeelding animaties */
  .about-image img,
  .service-box img {
    transition: transform 0.3s ease, filter 0.3s ease;
  }
  
  .about-image img:hover,
  .service-box img:hover {
    transform: scale(1.03);
    filter: grayscale(0%);
  }
  
  /* Footer */
  footer {
    text-align: center;
    padding: 20px;
    background-color: #A35E3B;
    color: white;
    margin-top: 30px;
  }

  footer a {
    color: white;
  }
  
  /* Fade-in animatie */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .fade-in {
    opacity: 0;
    animation: fadeInUp 1s ease-in-out forwards;
    animation-delay: 0.3s;
  }
  
  /* === Responsive layout === */
  @media (max-width: 1024px) {
    .why h2 {
      font-size: 32px;
    }
  
    .why p {
      font-size: 18px;
    }
  
    .service-box {
      width: 45%;
    }
  
    .about-container {
      flex-direction: column;
      text-align: center;
    }
  
    .about-text {
      width: 100%;
    }
  
    .about-image {
      width: 60%;
    }
  }
  
  @media (max-width: 768px) {
    .why h2 {
      font-size: 28px;
    }
  
    .why p {
      font-size: 16px;
    }
  
    .service-grid {
      flex-direction: column;
      align-items: center;
    }
  
    .service-box {
      width: 90%;
    }
  
    .about-image {
      width: 90%;
    }
  
    .mission p,
    .team-culture p {
      font-size: 16px;
    }
  
    .contact-section {
      width: 95%;
      padding: 30px;
    }
  
    .contact-section h1 {
      font-size: 32px;
    }
  
    .contact-section p {
      font-size: 16px;
    }
  
    form {
      width: 90%;
    }
  
    /* Responsive nav-menu */
    .nav-links {
      position: absolute;
      top: 60px;
      left: 0;
      background-color:#A35E3B;
      width: 100%;
      flex-direction: column;
      align-items: center;
      display: none;
    }
  
    .nav-links li {
      margin: 15px 0;
    }
  
    .nav-links.show {
      display: flex;
    }
  
    .hamburger {
      display: block;
    }
  }
  