/* =========================
   RESET
   ========================= */

/* Verwijdert standaard browser-instellingen */
* {
  margin: 0;                 /* Geen buitenruimte */
  padding: 0;                /* Geen binnenruimte */
  box-sizing: border-box;    /* Betere sizing (padding telt mee) */
}

/* Basis stijl voor hele pagina */
body {
  font-family: 'Montserrat', sans-serif; /* Lettertype */
  background: #fff;          /* Witte achtergrond */
  color: #222;               /* Donkergrijze tekst */
}

/* =========================
   NAVBAR
   ========================= */

/* Navigatie lijst */
.navbar ul {
  list-style: none;          /* Verwijdert bolletjes */
  background-color: rgb(44, 45, 45); /* Donkere achtergrond */
  margin: 0;
  padding: 0;
  display: flex;             /* Items naast elkaar */
  align-items: center;       /* Verticaal centreren */
  justify-content: center;   /* Horizontaal centreren */
  gap: 90px;                 /* Ruimte tussen menu-items */
}

/* Titel / logo */
.navbar h1 {
  color: rgb(197, 223, 223); /* Accentkleur */
  margin: 0 40px 0 20px;     /* Ruimte links en rechts */
  font-size: 24px;           /* Grootte van titel */
}

/* Links in navigatie */
.navbar li a {
  display: block;            /* Volledig klikbaar */
  color: white;              /* Witte tekst */
  padding: 20px;             /* Klikruimte */
  text-decoration: none;     /* Geen onderlijning */
}

/* Hover effect op links */
.navbar li a:hover {
  background-color: rgb(46, 46, 51); /* Donkerder bij hover */
}

/* Main inhoud mag groeien (voor footer beneden te houden) */
.main {
  flex: 1;
}

/* =========================
   COLLECTIE
   ========================= */

/* Hoofdsectie van collectie */
.collection {
  padding: 100px 10%;        /* Ruimte rond content */
  text-align: center;        /* Tekst centreren */
}

/* Titel */
.collection h1 {
  font-size: 48px;           /* Grote titel */
  margin-bottom: 15px;
}

/* Ondertitel */
.collection p {
  font-size: 18px;
  color: #555;               /* Lichtgrijs */
  margin-bottom: 60px;
}

/* =========================
   PRODUCTEN
   ========================= */

/* Grid met producten */
.items {
  display: grid;             /* Grid layout */
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
                               /* Automatisch aantal kolommen */
  gap: 40px;                 /* Ruimte tussen producten */
  max-width: 1000px;
  margin: auto;              /* Centreren */
}

/* Product kaart */
.items article {
  background: #f9f9f9;       /* Lichtgrijze achtergrond */
  border-radius: 20px;       /* Ronde hoeken */
  padding: 20px;
  transition: transform 0.3s ease; /* Animatie */
}

/* Hover effect product */
.items article:hover {
  transform: translateY(-8px); /* Licht omhoog */
}

/* Product afbeelding */
.items img {
  width: 100%;
  height: 320px;
  object-fit: cover;         /* Mooie uitsnede */
  border-radius: 15px;
  margin-bottom: 15px;
}

/* Product titel */
.items h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

/* Product prijs */
.items p {
  font-size: 18px;
  font-weight: bold;
}

/* =========================
   KOOP NU KNOP
   ========================= */

.koop-btn {
  display: inline-block;
  padding: 12px 30px;
  background: black;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  margin-top: 15px;
}

/* Hover effect knop */
.koop-btn:hover {
  background: #333;
}

/* =========================
   POPUP
   ========================= */

/* Donkere achtergrond popup zie */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6); /* Transparant zwart */
  opacity: 0;                 /* Onzichtbaar */
  pointer-events: none;       /* Niet klikbaar */
  transition: 0.3s ease;
  z-index: 999;
}

/* Popup zichtbaar wanneer actief */
.popup:target {
  opacity: 1;
  pointer-events: auto;
}

/* Popup box */
.popup-content {
  background: white;
  width: 400px;
  padding: 30px;
  border-radius: 15px;
  position: relative;
  margin: 10% auto;
  text-align: center;
}

/* Sluit knop */
.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 26px;
  text-decoration: none;
  color: black;
}

/* =========================
   FORMULIER
   ========================= */

.ticket-form {
  display: flex;
  flex-direction: column;    /* Onder elkaar */
  gap: 15px;
}

.ticket-form label {
  text-align: left;
  font-size: 14px;
}

/* Input velden */
.ticket-form select,
.ticket-form input {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

/* Verzend knop */
.ticket-form button {
  margin-top: 10px;
  padding: 12px;
  border: none;
  background: black;
  color: white;
  border-radius: 30px;
  cursor: pointer;
}

/* Hover knop */
.ticket-form button:hover {
  background: #333;
}

/* =========================
   FOOTER
   ========================= */

footer {
  background-color: #222;    /* Donkere footer */
  color: white;
  padding: 30px 0;
}

/* Footer layout */
.footer-container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* Footer titels */
.footer-item h3 {
  margin-bottom: 10px;
  color: rgb(197, 223, 223);
}

/* Footer tekst */
.footer-item p {
  margin: 6px 0;
  font-size: 14px;
}

/* =========================
   RESPONSIVE – GSM
   ========================= */
@media (max-width: 768px) {

  /* Collectie compacter */
  .collection {
    padding: 50px 20px;
  }

  .collection h1 {
    font-size: 32px;
  }

  .collection p {
    font-size: 16px;
    margin-bottom: 40px;
  }

  /* Producten onder elkaar */
  .items {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .items article {
    padding: 18px;
  }

  /* Kleinere afbeeldingen */
  .items img {
    height: 260px;
  }

  .items h2 {
    font-size: 18px;
  }

  .items p {
    font-size: 16px;
  }

  /* Knop volledig breed */
  .koop-btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    text-align: center;
  }

  /* Popup mobiel */
  .popup-content {
    width: 90%;
    max-width: 340px;
    margin: 20% auto;
    padding: 25px;
  }

  /* Footer onder elkaar */
  .footer-container {
    flex-direction: row;
    text-align: center;
    gap: 20px;
  }
}




