/* ================================
   ALGEMEEN
   ================================ */

/* Basis styling voor de hele website */
body {
  margin: 0; /* Verwijdert standaardmarges van browser */
  font-family: 'Poppins', Arial, sans-serif; /* Lettertype voor de hele site */
  background: white; /* Achtergrondkleur van de pagina */
  color: black; /* Tekstkleur standaard */
}

/* ================================
   HEADER
   ================================ */
header {
  position: fixed; /* Header blijft bovenaan zichtbaar */
  top: 0;
  width: 100%; /* Vult de volledige breedte */
  background: black; /* Achtergrond header */
  color: white; /* Tekstkleur header */
  text-align: center; /* Tekst centreren */
  padding: 15px; /* Binnenruimte in header */
  z-index: 1000; /* Zorgt dat header boven andere content blijft */
}

/* Logo afbeelding */
.logo img {
  height: 70px; /* Hoogte logo */
  display: block;
  margin: 0 auto; /* Gecentreerd horizontaal */
}

/* Hamburger knop */
.menu-toggle {
  display: none; /* Standaard niet zichtbaar, alleen op mobiel */
  font-size: 28px; /* Grootte ☰ icoon */
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  margin-top: 10px;
}

/* Navigatie links */
nav a {
  color: white; /* Tekstkleur links */
  text-decoration: none; /* Geen onderstreping */
  margin: 0 10px; /* Ruimte tussen links */
}

/* ================================
   MAIN / HOOFDINHOUD
   ================================ */
main {
  padding-top: 160px; /* Ruimte onder header zodat content niet eronder zit */
  text-align: center; /* Alles centreren */
}

/* Home sectie styling */
.home {
  min-height: 70vh; /* Minimaal 70% van de schermhoogte */
  display: flex; /* Flexbox voor centreren van inhoud */
  flex-direction: column; /* Stacking van elementen verticaal */
  justify-content: center; /* Verticaal centreren */
  align-items: center; /* Horizontaal centreren */
  background: black; /* Achtergrond van home sectie */
  color: white; /* Tekstkleur home */
  text-align: center;
  padding: 40px 20px;
}

.home h1 {
  font-size: 48px; /* Grote titel */
  margin-bottom: 15px;
}

.home p {
  font-size: 20px; /* Slogan tekst */
  margin-bottom: 25px;
}

/* Knoppen */
.btn {
  background: white;
  color: black;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s; /* Hover effect */
}

.btn:hover {
  background: #f4f4f4; /* Licht grijs bij hover */
}

/* Algemene secties */
section {
  padding: 40px 20px;
}

section h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

section p {
  font-size: 18px;
  line-height: 1.6;
}

/* Footer */
footer {
  background: black;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
}

/* ================================
   RESPONSIVE / HAMBURGER MENU
   ================================ */
@media (max-width: 768px) {
  .menu-toggle {
    display: inline-block; /* Hamburger zichtbaar op mobiel */
  }

  nav {
    display: none; /* Menu standaard dicht op mobiel */
    flex-direction: column; /* Links onder elkaar */
    background: black;
    padding: 10px 0;
  }

  nav.open {
    display: flex; /* Menu opent bij klikken op hamburger */
  }

  nav a {
    display: block;
    margin: 10px 0;
    font-size: 18px;
  }

  /* Home sectie op mobiel */
  .home h1 {
    font-size: 36px; /* Iets kleinere titel */
  }

  .home p {
    font-size: 18px;
  }
}

/* ================================
   SHOP & TIPS GRIDS
   ================================ */

/* Zorgt dat grids op mobiel 1 per rij zijn */
.products,
.tips-grid {
  grid-template-columns: 1fr;
}

/* Shop producten grid desktop */
.products-container {
  display: grid; /* Grid layout */
  grid-template-columns: repeat(3, 1fr); /* 3 producten naast elkaar */
  gap: 25px; /* Ruimte tussen producten */
  margin-top: 20px;
}

.product {
  background: white;
  border-radius: 15px;
  padding: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Schaduw voor diepte */
  text-align: center;
}

.product img {
  width: 100%; /* Breedte past in de grid */
  height: 180px; /* Hoogte afbeelding */
  object-fit: cover; /* Hele div vullen, afbeelding wordt bijgesneden */
  border-radius: 10px;
  margin-bottom: 10px;
}

/* Tips grid desktop */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 20px;
}

.tip-card {
  background: white;
  border-radius: 15px;
  padding: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center;
}

.tip-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

/* Responsive grids mobiel */
@media (max-width: 768px) {
  .products-container,
  .tips-grid {
    grid-template-columns: 1fr; /* 1 product/tip per rij */
  }
  .product img,
  .tip-card img {
    height: 200px; /* iets hoger op mobiel voor overzicht */
  }
}
