/* ===================== Algemene layout ===================== */
html, body {
  width: 100%;
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #333333;
  box-sizing: border-box;
}

/* ===================== Header / Navigatie consistente uitlijning ===================== */
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: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 160"><path fill="%23ffffff" d="M0,60 C360,0 1080,120 1440,60 L1440,160 L0,160 Z"/></svg>') repeat-x;
  background-size: cover;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  max-width: 700px;
  width: 90%;
  padding: 2rem;
}

.hero-content h1 { font-size: 2.4rem; margin-bottom: 1rem; }
.hero-content p { font-size: 1.2rem; line-height: 1.6; }

/* ===================== Info secties ===================== */
.info-section, .reverse-section {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 4rem auto;
  flex-wrap: wrap;
  padding: 0 2rem;
}

.info-section .text, .reverse-section .text {
  flex: 1 1 500px;
  text-align: left;
}

.info-section .image, .reverse-section .image {
  flex: 1 1 400px;
  text-align: center;
}

.info-section .image img, .reverse-section .image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
}

.info-section .text h2, .reverse-section .text h2 {
  font-size: 2rem;
  color: #ff7f50;
  margin-bottom: 0.5rem;
}

.info-section .text h3, .reverse-section .text h3 {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 1rem;
}

.info-section .text p, .reverse-section .text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

/* Reverse layout (desktop) */
.reverse-section { flex-direction: row; } 

/* ===================== 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;
  }
}

/* ===================== Responsive ===================== */
@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; }
}

.info-section, .reverse-section {
  flex-direction: row; /* dezelfde als desktop */
  gap: 2rem; /* iets smaller dan desktop */
  max-width: 90%; /* past beter op tablet */
  margin: 3rem auto; /* centreren */
  padding: 0 1rem; /* wat minder padding */
}

.info-section .text, .reverse-section .text,
.info-section .image, .reverse-section .image {
  flex: 1 1 45%; /* iets smaller dan desktop */
}

.info-section .image img, .reverse-section .image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
}


/* ===================== Mobiel / Hamburger menu ===================== */
@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;
  }
  .info-section, .reverse-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 1.5rem;
    max-width: 100%;
  }

  /* Tekst boven de afbeelding voor alle secties */
  .info-section .text, .reverse-section .text {
    order: 1;
    flex: 1 1 100%;
    text-align: center; /* tekst centreren */
  }

  .info-section .image, .reverse-section .image {
    order: 2;
    flex: 1 1 100%;
    text-align: center;
  }

  .info-section .image img, .reverse-section .image img {
    max-width: 90%;
    margin: 0 auto;
    border-radius: 15px;
    height: auto;
  }
}
