/* ===================== 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 ===================== */
header {
    background: rgba(255, 255, 255, 0.3);
    padding: 1rem 2rem;
    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;
    transition: background 0.3s ease;
}

header nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 100%;
}

.nav-left .logo { height: 50px; }

.nav-right {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin-left: auto;
    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;
}


/* Hamburger voor mobiel */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 20;
}

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

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

/* ===================== Hero sectie ===================== */
.hero {
    position: relative;
    background: url('/Fotos/brooke-lark-4J059aGa5s4-unsplash.jpg') no-repeat center/cover;
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 70vh;
    width: 100%;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    text-align: left;
    color: #ffffff;
    margin-top: 2rem;
    margin-left: 4rem;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #f0f0f0;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 10px;
    background: linear-gradient(90deg, #ff7f50, #ffb347);
    color: white;
    text-decoration: none;
    cursor: pointer;
    transform: scale(1);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                background-position 0.25s ease;
    background-size: 200% 100%;
}

.btn-primary:hover {
    transform: scale(1.1);
    background-position: right center;
}

/* ===================== Waarom Mijn Weekmenu ===================== */
.features {
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(145deg, #e4e4e4, #f2f2f2);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    max-width: 1000px;
    margin: -2rem auto 4rem auto;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
    position: relative;
    z-index: 1;
}

.features.visible {
    opacity: 1;
    transform: translateY(0);
}

.features h2 {
    margin-top: -2rem;
    color: #2c2c2c;
    margin-bottom: 2.5rem;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(145deg, #ccdede, #7cbeca);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(255,140,0,0.6);
}

.feature-card h3,
.feature-card p {
    color: #ffffff;
    text-align: center;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

/* ===================== About Us ===================== */
.about {
    padding: 2rem 0rem;
    max-width: auto;
    margin: -6rem auto 4rem auto;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.about-text {
    flex: 1 1 500px;
    color: #333;
}

.about-text h1 {
    font-size: 2.5rem;
    margin-bottom: -1.5rem;
    color:#7cbeca;
}

.about-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #555;
}

.about-text p {
    font-size: 1rem;
    margin-bottom: 2.5rem;
    color: #666;
    line-height: 1.6;
}

.about-image {
    flex: 1 1 400px;
}

.about-image img {
  width: 100%;
  max-width: 700px; /* maximale breedte */
  height: auto;
  border-radius: 15px;
  margin-left: 3rem;   /* schuift de foto naar rechts */
}

/* ===================== Fotocollage ===================== */
.photo-collage {
  display: flex;
  flex-direction: column;
  align-items: center;       
  justify-content: center;   
  text-align: center;
  padding: 2rem 2rem 4rem 2rem; 
  width: 100%;
  min-height: 70vh;  /* minimaal 70% van het scherm, kan kleiner worden */
  box-sizing: border-box;
  background: linear-gradient(to bottom, #7cbeca 0%, #f0f0f0 100%);
}


.photo-collage h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
}

.collage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 150px);
    gap: 1rem;
    position: relative;
    z-index: 1;
    justify-content: center;    /* center de hele grid horizontaal */
    align-content: center;      /* center de hele grid verticaal binnen min-height */
}

.collage-grid .grid-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
.collage-grid .grid-item:nth-child(2) { grid-column: 3 / 4; grid-row: 1 / 2; }
.collage-grid .grid-item:nth-child(3) { grid-column: 3 / 4; grid-row: 2 / 3; }
.collage-grid .grid-item:nth-child(4) { grid-column: 4 / 5; grid-row: 1 / 2; }
.collage-grid .grid-item:nth-child(5) { grid-column: 1 / 3; grid-row: 3 / 4; }
.collage-grid .grid-item:nth-child(6) { grid-column: 3 / 4; grid-row: 3 / 4; }
.collage-grid .grid-item:nth-child(7) { grid-column: 4 / 5; grid-row: 2 / 4; }

.collage-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.4s, box-shadow 0.4s;
}

.collage-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(255,140,0,0.4);
}

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

.text-photos {
  padding: 4rem 2rem;
  text-align: center;
  max-width: auto;
  margin: -8rem auto 4rem auto;
  background-color: #f4f4f4;
  border-radius: 15px;
  margin-top: -5.5rem;
}

.text-photos-content h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #7cbeca;
  margin-top: -1.8rem;
}

.text-photos-content h2 {
  font-size: 1.8rem;
  margin-top: -0.4rem;
  margin-bottom: 1rem;
  color: #555;
}

.text-photos-content p {
  font-size: 1rem;
  margin-bottom: 4rem;
  color: #666;
  line-height: 1.6;
  padding-left: 10rem;
  padding-right: 10rem;
  margin-top: 3rem;
}

.photos-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.photo-item {
  flex: 1 1 30%;
  min-width: 200px;
  height: 500px; /* vaste hoogte voor alle foto's */
  overflow: hidden;
  border-radius: 12px;
}

.photo-item img {
  width: 100%;
  height: 100%; /* vult de vaste hoogte */
  object-fit: cover; /* netjes bijsnijden zonder vervorming */
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.text-photos .btn-primary {
  /* stijl hier */
  margin-top: 2rem;
  background-color: #7cbeca;
  color: white;
  padding: 1rem 2rem;
  border-radius: 10px;
  display: inline-block;
  text-decoration: none;
}

.preferences {
  display: flex;
  gap: 3rem;
  padding: 4rem 2rem;
  background: #ffffff;
  border-radius: 15px;
  max-width: 1200px;
  margin: 4rem auto;
  flex-wrap: wrap;
}

/* Linkerkant (tekst) */
.preferences-left {
  flex: 1 1 450px;
}

.preferences-left h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #7cbeca;
}

.preferences-left h2 {
  font-size: 1.8rem;
  margin-bottom: 3rem;
  color: #555;
  margin-top: -0.6rem;
}

.preferences-left p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  padding-right: 2rem;
}

/* Rechterkant (accordion menu) */
.preferences-right {
  flex: 1 1 450px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pref-item {
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  background: #f8f8f8;
  transition: box-shadow 0.3s;
}

.pref-item.open {
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.pref-title {
  width: 100%;
  background: #7cbeca;
  color: white;
  padding: 1rem;
  text-align: left;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background 0.3s;
}

.pref-title:hover {
  background: #5aaab0;
}

.pref-content {
  max-height: 0;
  overflow: hidden;
  background: white;
  padding: 0 1rem;
  transition: max-height 0.35s ease, padding 0.3s ease;
}

.pref-item.open .pref-content {
  max-height: 300px;
  padding: 1rem;
}


/* Responsive */
/* ===================== Mobiel (max-width: 767px) ===================== */
/* ===================== Mobiel (max-width: 767px) ===================== */
@media (max-width: 767px) {
  header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  position: relative;
  }
  
  .nav-left .logo { height: 40px; }
  
  .hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 400;
  }
  
  .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; }
  
  .nav-right {
  position: fixed;
  top: 60px;
  right: 10px;
  width: 260px;
  max-width: 80%;
  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; }
  
  .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); }
  
  .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; }
  
  .hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  min-height: 80vh;
  background-position: center center !important;
  }
  
  .hero-content {
  margin: 0 auto !important;
  text-align: center !important;
  transform: none !important;
  max-width: 90%;
  color: #fff;
  }
  
  .hero h2 { font-size: 2rem; margin: 0 auto 1rem; }
  .hero p { font-size: 1rem; margin: 0 auto 1.5rem; }
  .btn-primary { display: inline-block; margin: 0 auto; }

  .preferences {
    display: flex;
    flex-direction: column;      /* items onder elkaar */
    align-items: center;         /* center horizontaal */
    justify-content: center;     /* optioneel verticaal centreren */
    gap: 2rem;                   /* ruimte tussen items */
    padding: 2rem 1rem;          /* padding rondom */
    width: 100%;                 /* volle breedte */
    max-width: 100%;             /* geen beperkingen */
    margin: 0 auto;              /* horizontaal centreren */
    box-sizing: border-box;
    text-align: center;          /* tekst centreren */
    overflow: hidden;            /* voorkomt dat content buiten valt */
    
    margin-top: -2rem;
  }

  .preferences-left,
  .preferences-right {
    flex: 1 1 100%;              /* vullen volledige breedte */
    max-width: 100%;             /* zeker binnen scherm */
    margin: 0;                   /* geen extra margin */
    padding: 0;                  /* geen padding die tekst laat overlopen */
    text-align: center;          /* centreren van tekst en accordion */
    box-sizing: border-box;
    word-wrap: break-word;       /* lange woorden breken zodat ze binnen blijven */
  }

  .preferences-left p {
    padding: 0;                  /* tekst volledig binnen scherm */
  }

  .pref-item {
    width: 100%;                 /* accordion vult hele breedte */
    max-width: 100%;             /* geen beperking */
  }

  .pref-title {
    text-align: center;          /* accordion titel centreren */
  }
  
  /* ===================== About sectie mobiel ===================== */
  .about {
    display: flex;
    flex-direction: column;
    align-items: center;       /* center sectie horizontaal */
    text-align: center;
    width: 100%;
    max-width: 800px;          /* maximale breedte sectie */
    margin: 0 auto;            /* center horizontaal */
    padding: 2rem 1rem;        /* ruimte boven/onder */
    box-sizing: border-box;
  }

  .about-content {
    display: flex;
    flex-direction: column;    /* afbeelding boven tekst */
    align-items: center;       /* center horizontaal */
    justify-content: center;   /* center verticaal */
    gap: 1.5rem;               /* ruimte tussen afbeelding en tekst */
    width: 100%;
    margin: 0;
  }

  .about-image {
    display: flex;
    justify-content: center; /* horizontaal centreren */
    width: 100%;
    margin: 0 auto;           /* sectie en afbeelding centreren */
  }

  .about-image img {
    display: block;           /* block zodat margin auto werkt */
    margin: 0 auto;           /* horizontaal centreren */
    width: 100%;
    max-width: 400px;         /* maximale breedte */
    height: auto;
    border-radius: 15px;
    object-fit: cover;
  }

  .about-text {
    flex: 1 1 auto;
    width: 100%;
    margin: 0;
    text-align: center;
    color: #333;
  }
  
  /* ===================== Photo collage mobiel ===================== */
  .photo-collage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
  }
  
  .photo-collage h2 { font-size: 2rem; margin-bottom: 2rem; }
  
  .collage-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 95%;
  }
  
  .collage-grid .grid-item:nth-child(n+5) { display: none; }
  .collage-grid img { width: 100%; height: auto; border-radius: 15px; display: block; }
  
  /* Footer mobiel */
  .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; }
  
  .text-photos { padding: 2rem 1rem; margin-top: 0rem; }
  .text-photos-content h1 { font-size: 2.5rem; margin-top: 1.5rem; }
  .text-photos-content h3 { font-size: 1.2rem; }
  .text-photos-content p { padding: 0 0.7rem; font-size: 0.9rem; }
  
  .photos-row { flex-direction: column; gap: 1rem; }
  .photo-item { flex: 1 1 100%; }
  
  .features {
  max-width: 95%;
  margin: -3rem auto 3rem auto !important;
  padding: 3rem 1.5rem 2rem 1.5rem;
  opacity: 1 !important;
  transform: translateY(0) !important;
  box-sizing: border-box;
  }
  
  .preferences { flex-direction: column; padding: 2rem 1rem; }
  .preferences-left p { padding-right: 0; }
  }
  
  /* ===================== Tablet (768px - 1024px) ===================== */
  @media (min-width: 768px) and (max-width: 1024px) {
  header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: 100%;
  padding: 0;
  }
  
  .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: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s;
  }
  .nav-right a:hover, .nav-right a.active { color: #3f3f3f; }
  
  .text-photos-content h1 { font-size: 2rem; }
  .text-photos-content h3 { font-size: 1.3rem; }
  .text-photos-content p { padding: 0; font-size: 0.95rem; }
  
  /* ===================== About sectie tablet ===================== */
  .about {
  display: flex;
  flex-direction: column;
  padding: 3rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
  gap: 2rem;
  }
  
  .about-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  }
  
  .about-text {
  flex: 1 1 50%;
  text-align: left;
  }
  .about-text h1 { font-size: 2rem; }
  .about-text h2 { font-size: 1.5rem; }
  .about-text p { font-size: 1rem; line-height: 1.6; }
  
  .about-image {
  flex: 1 1 50%;
  display: flex;
  justify-content: flex-end;
  }
  .about-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 15px;
  display: block;
  }
  
  /* Photo collage tablet */
  .photo-collage { padding: 3rem 2rem; text-align: center; }
  .photo-collage h2 { font-size: 2rem; margin-bottom: 2rem; }
  
  .collage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 120px);
  gap: 0.8rem;
  max-width: 1000px;
  margin: 0 auto;
  }
  
  .collage-grid .grid-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
  .collage-grid .grid-item:nth-child(2) { grid-column: 3 / 4; grid-row: 1 / 2; }
  .collage-grid .grid-item:nth-child(3) { grid-column: 3 / 4; grid-row: 2 / 3; }
  .collage-grid .grid-item:nth-child(4) { grid-column: 4 / 5; grid-row: 1 / 2; }
  .collage-grid .grid-item:nth-child(5) { grid-column: 1 / 3; grid-row: 3 / 4; }
  .collage-grid .grid-item:nth-child(6) { grid-column: 3 / 4; grid-row: 3 / 4; }
  .collage-grid .grid-item:nth-child(7) { grid-column: 4 / 5; grid-row: 2 / 4; }
  
  .collage-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 15px; display: block; }
  
  .features {
  max-width: 800px;
  margin: -4rem auto 4rem;
  padding: 3rem 2rem 2rem;
  opacity: 1 !important;
  transform: translateY(0) !important;
  box-sizing: border-box;
  }
  }
  