/* ===================== Algemene layout ===================== */
html, body {
    width: 100%;
    overflow-x: hidden; /* voorkomt horizontaal scrollen */
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333333;
    box-sizing: border-box;
  }
  
  /* ===================== Header / Navigatie ===================== */
  header {
    background: rgba(255, 255, 255, 0.3);
    padding: 1rem 0rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    box-sizing: border-box;
  }
  
  header nav {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* logo links */
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 100%;
  }
  
  .nav-left .logo {
    margin-left: 2rem;
    height: 50px;
  }
  
  .nav-right {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin-left: auto; /* schuift menu-items naar rechts */
    padding: 0;
  }
  
  .nav-right a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
  }
  
  .nav-right a:hover,
  .nav-right a.active {
    color: #3f3f3f;
  }

  /* Login button */
.nav-right .login-btn {
  padding: 0.5rem 1rem;
  background: linear-gradient(90deg, #ff7f50, #ffb347);
  border-radius: 8px;
  color: white !important;
  transition: transform 0.25s ease, background-position 0.25s ease;
  background-size: 200% 100%;
}

.nav-right .login-btn:hover {
  transform: scale(1.1);
  background-position: right center;
  color: #fff;
}

  
  /* ===================== Hero sectie ===================== */
  .hero {
    position: relative;
    background: url('/Fotos/brooke-lark-4J059aGa5s4-unsplash.jpg') no-repeat center top/cover;
    width: 100%;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 0;
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 700px;
    padding: 2rem;
  }
  
  .hero-content h1 {
    padding-top: 3.5rem;
    font-size: 2.4rem;
    margin-bottom: 1rem;
  }
  
  .hero-content p {
    font-size: 1.2rem;
    line-height: 1.6;
  }
  
  /* ===================== Contact Intro ===================== */
  .contact-intro {
    text-align: center;
    padding-top: 10rem; /* <<< HIER regel je afstand van bovenaf */
    padding-bottom: 2rem;
    color: #333;
  }
  
  .contact-intro h2 {
    font-size: 2rem;
    color: #ff7f50;
    margin-bottom: 1rem;
  }
  
  .contact-intro p {
    font-size: 1.2rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
  }
  
  /* ===================== Contact sectie ===================== */
  .contact-section {
    background: #ffffff;
    padding: 4rem 2rem;
  }
  
  .contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    justify-content: space-between;
    align-items: flex-start;
  }
  
  .contact-form, .contact-info {
    flex: 1 1 450px;
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  
  .contact-form h2 {
    color: #ff7f50;
    margin-bottom: 1rem;
  }
  
  .contact-form label {
    display: block;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
  }
  
  .contact-form input:focus,
  .contact-form textarea:focus {
    border-color: #ff7f50;
    outline: none;
  }
  
  /* Hero: verwijder de waas of maak hem minimaal */
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.05); /* bijna transparant */
  z-index: 0;
}

/* Buttons (contact formulier) */
.contact-form button {
  display: inline-block;
  margin-top: 1.5rem;
  background: linear-gradient(90deg, #ff7f50, #ffb347);
  color: #fff;
  border: none;
  padding: 0.9rem 1.5rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transform: scale(1);
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1),
              background 0.25s ease,
              box-shadow 0.25s ease;
}

.contact-form button:hover {
  transform: scale(1.08); /* iets groter */
  background: linear-gradient(90deg, #ff9966, #ffb347);
  box-shadow: 0 6px 15px rgba(255,140,0,0.4); /* subtiel zwevend effect */
}

  
  .contact-info h3 {
    color: #ff7f50;
    margin-bottom: 1rem;
  }
  
  .contact-info p {
    line-height: 1.8;
  }
  
  /* ===================== Footer ===================== */
  footer {
    background: linear-gradient(135deg, #2c2c2c, #1f1f1f);
    color: #ffb347;
    padding: 3rem 2rem;
    box-shadow: 0 -8px 20px rgba(0,0,0,0.4);
    border-radius: 15px 15px 0 0;
  }
  
  .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
  }
  
  .footer-left, .footer-center, .footer-right {
    flex: 1 1 200px;
  }
  
  .footer-left p {
    margin: 0.3rem 0;
    font-size: 0.95rem;
  }
  
  .footer-logo {
    height: 50px;
    margin-bottom: 0.5rem;
  }
  
  .footer-center h4, .footer-right h4 {
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-size: 1.1rem;
  }
  
  .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-links li {
    margin-bottom: 0.5rem;
  }
  
  .footer-links a {
    color: #ffb347;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .footer-links a:hover {
    color: #ffffff;
  }
  
  .social-icons a {
    display: inline-block;
    margin: 0 0.5rem;
    transition: transform 0.3s, filter 0.3s;
  }
  
  .social-icons a img {
    width: 30px;
    height: 30px;
  }
  
  .social-icons a:hover {
    transform: scale(1.2);
    filter: brightness(1.3);
  }
  
  /* Responsive */
  @media (max-width: 767px) {
    .footer-container {
      flex-direction: column;
      text-align: center;
      align-items: center;
      gap: 1.5rem;
    }
  
    .footer-left, .footer-center, .footer-right {
      flex: 1 1 100%;
    }
  
    .social-icons {
      justify-content: center;
    }
  }
  
  /* ===================== Tablet / iPad layout ===================== */
@media (min-width: 768px) and (max-width: 1024px) {

  header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    
    max-width: 100%;
  }
  
  .nav-left .logo { height: 45px; }
  
  .nav-right {
    display: flex;
    gap: 1.5rem;
    margin-left: auto;
    flex-wrap: wrap;
    align-items: center;
  }
  
  .nav-right a {
    font-size: 1rem;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .nav-right a:hover,
  .nav-right a.active { color: #3f3f3f; }
}

/* ===================== Mobiel (max-width: 767px) ===================== */
@media (max-width: 767px) {
  header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3rem;
    position: relative;
  }

  .nav-left .logo {
    margin-left: 0rem;
    height: 40px;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 400; /* boven drawer */
  }

  .hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #333;
    border-radius: 3px;
    transition: all 0.4s ease;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background: #ff8c42;
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background: #ff8c42;
  }

  /* Menu drawer */
  .nav-right {
    position: fixed;
    top: 60px; /* iets onder header */
    right: 10px;
    width: 260px;
    max-width: 80%;
    height: auto; /* past zich aan inhoud aan */
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.3s ease;
    z-index: 350;
  }

  .nav-right.active {
    transform: translateX(0);
    opacity: 1;
  }

  /* Menu links */
  .nav-right a {
    display: block;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    color: #333;
    text-decoration: none;
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: all 0.25s ease;
  }

  .nav-right a:hover {
    background: rgba(255,140,66,0.85);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,140,66,0.3);
  }

  .nav-right a.active {
    background: rgba(255,140,66,0.8);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255,140,66,0.25);
  }

  /* Subtiele overlay achter menu */
  .drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.15);
    z-index: 300;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }

  .drawer-overlay.active {
    opacity: 1;
    pointer-events: all;
  }
}
