/* =========================================
   1. GLOBAL RESET & TYPOGRAPHY
   ========================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Quicksand", sans-serif;
  background: #fff8f4;
  color: #222;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* =========================================
   2. HEADERS & TEXT
   ========================================= */
h1,
h2,
h3 {
  color: #ff69b4;
  text-align: center;
  margin-bottom: 0.5em;
  position: relative;
  font-weight: 600;
}

h1::after,
h2::after {
  content: " ✨";
  animation: sparkle 2s infinite alternate;
}

p {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 1em auto;
}

h2::before {
  content: "";
  display: block;
  position: absolute;
  width: 80px;
  height: 4px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    #ff69b4,
    #ffd700,
    #adff2f,
    #00ffff,
    #ff69b4
  );
  border-radius: 2px;
  bottom: -10px;
  animation: rainbow 4s linear infinite;
}

/* =========================================
   3. NAVIGATION (TOPBAR & NAVBAR)
   ========================================= */
.topbar {
  background: #ffb6c1;
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: white;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.topbar a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
.topbar a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.navbar {
  background: #ff69b4;
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.logo {
  max-width: 140px;
  height: auto;
  display: block;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: 0.3s;
  padding: 0.5rem;
  border-radius: 5px;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #ffd700;
  background-color: rgba(255, 255, 255, 0.1);
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background-color: white;
  border-radius: 3px;
}

/* =========================================
   4. SECTIONS (General)
   ========================================= */
section {
  padding: 3em 1em;
  opacity: 0;
  animation: sectionFadeIn 1.2s ease forwards;
}

.hero {
  background: linear-gradient(145deg, #ffe6f0, #fff5fa);
  padding: 4em 1em;
  text-align: center;
  animation: heroFadeIn 1.5s ease-in forwards;
}

.features {
  background-color: #fff0f5;
  animation-delay: 0.3s;
}
.locatie2 {
  background: #e0ffff;
  animation-delay: 0.5s;
}
.team {
  background: #ffe4e1;
  animation-delay: 0.7s;
}
.contact {
  background: linear-gradient(135deg, #f0f8ff, #ffe4e1);
  animation-delay: 0.8s;
}

.feature-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
  margin-top: 2em;
}

.feature {
  background: white;
  border-radius: 1em;
  padding: 2em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  flex: 1 1 280px;
  max-width: 350px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(255, 105, 180, 0.2);
  outline: 2px solid #ff69b4;
}

/* =========================================
   5. FEESTJES GRID & BOXES (FIXED FOTO'S)
   ========================================= */
.feestjes {
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feestjes-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch; /* DIT IS DE TRUC: Rekt alle roze boxen uit tot dezelfde hoogte */
  gap: 2em;
  max-width: 1200px;
  width: 100%;
  margin: 2em auto;
}

.feest-box {
  background: #fff0f5;
  padding: 2em;
  border-radius: 1em;
  flex: 1 1 300px;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
  border: 1px solid rgba(255, 105, 180, 0.1);
}

.feest-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 105, 180, 0.25);
}

.feest-box h3 {
  margin-top: 0;
  color: #ff1493;
}

.feest-box ul {
  text-align: left;
  width: 100%;
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}

.feest-box li {
  text-align: left;
  font-size: 1rem;
  margin-bottom: 0.5em;
}

/* === DE FIX VOOR OVER ONS FOTO'S === */
.feest-img {
  width: 100%;
  height: 300px; /* Vaste hoogte: Iedere foto is nu even groot */
  object-fit: cover; /* Vul het vakje volledig (geen randjes) */
  object-position: top center; /* BELANGRIJK: Focus op de bovenkant (hoofden), snij benen eraf */
  border-radius: 10px;
  margin-top: auto; /* Duwt foto netjes naar beneden */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Prijzen lijst specifiek */
.prijs-lijst {
  list-style: none;
  padding: 0;
  width: 100%;
}
.prijs-lijst li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #ffb6c1;
  padding: 0.5em 0;
}
.optie-titel {
  margin-top: 1em;
  font-weight: bold;
  color: #ff69b4;
  border-bottom: none !important;
}
.prijs {
  font-weight: bold;
  color: #ff69b4;
  min-width: 60px;
  text-align: right;
}

/* =========================================
   6. BUTTONS & UI
   ========================================= */
.btn,
.button {
  display: block;
  width: fit-content;
  margin: 1.5em auto;
  background: #ff69b4;
  color: white;
  padding: 0.8em 2em;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.btn:hover {
  background: #ff1493;
  transform: scale(1.05);
}

.btn::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.4) 0%,
    transparent 80%
  );
  animation: glitter-move 3s infinite;
  pointer-events: none;
}

/* Algemene plaatjes - Behalve specifieke classes */
img:not(.logo):not(.gallery-grid img):not(.feest-img):not(.hero-img) {
  max-width: 100%;
  height: auto;
  margin: 1.5em auto;
  display: block;
  border-radius: 1em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* === DE FIX VOOR INDEX HERO FOTO === */
.hero-img {
  width: 100%;
  max-width: 800px;
  height: auto; /* Was max-height 400px - nu vrij */
  object-fit: contain; /* Geen cropping meer */
  margin-bottom: 2em;
  border-radius: 1em;
  box-shadow: 0 4px 15px rgba(255, 105, 180, 0.2);
}

.feest-img-main {
  max-width: 100%;
  height: auto;
  border-radius: 1em;
}

.divider {
  border: 0;
  border-top: 2px dashed #ffb6c1;
  margin: 3em auto;
  width: 60%;
}

/* =========================================
   7. FOOTER
   ========================================= */
footer {
  background: linear-gradient(145deg, #ffb6c1, #ff69b4);
  color: white;
  text-align: center;
  padding: 2em 1em;
  border-top: 5px solid #ffd700;
  margin-top: auto;
}
footer .socials {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 1em;
}
footer .socials img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  transition: transform 0.3s;
  background: white;
  padding: 2px;
  margin: 0;
  box-shadow: none;
}
footer .socials img:hover {
  transform: scale(1.2) rotate(5deg);
}
.footerlink a {
  color: #ffd700;
  text-decoration: none;
  font-weight: bold;
}

/* =========================================
   8. ANIMATIES
   ========================================= */
@keyframes sparkle {
  0% {
    opacity: 1;
    text-shadow: 0 0 5px #ff69b4;
  }
  100% {
    opacity: 0.7;
    text-shadow: 0 0 15px #ffd700;
  }
}
@keyframes rainbow {
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 100%;
  }
}
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes sectionFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes glitter-move {
  0% {
    transform: translate(0%, 0%) rotate(0deg);
  }
  100% {
    transform: translate(100%, 100%) rotate(360deg);
  }
}

/* =========================================
   9. EXTRA'S (K-Pop, Modal)
   ========================================= */
/* Gallery Sectie (Home) */
.gallery-section {
  background: #fff0f5;
  border-radius: 1.5em;
  margin: 2em auto;
  max-width: 1200px;
}

/* K-Pop Slider Logic */
.feest-box .kpop-slider {
  width: 100%;
  margin: 12px auto 0;
  display: grid;
  gap: 10px;
}
.feest-box .kpop-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0;
}
.feest-box .kpop-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}
.feest-box .kpop-controls button {
  background: #ff69b4;
  color: #fff;
  border: none;
  padding: 8px 15px;
  border-radius: 10px;
  cursor: pointer;
}
.feest-box .kdot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff69b44d;
}
.feest-box .kdot.active {
  background: #ff69b4;
}

/* Booking / Maps */
.booking-widget-container,
.map-container {
  max-width: 800px;
  margin: 2rem auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* =========================================
   10. POP-UP MODAL (Voorwaarden)
   ========================================= */
.voorwaarden-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.hidden {
  display: none !important;
}
.voorwaarden-modal {
  background-color: #fff;
  max-width: 600px;
  width: 90%;
  padding: 20px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.2);
}
.voorwaarden-content {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  overflow-y: auto;
  max-height: 50vh;
  text-align: left;
}
.voorwaarden-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid #eee;
  padding-top: 10px;
}
body.no-scroll {
  overflow: hidden;
}

/* =========================================
   11. MOBILE RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background-color: #ff69b4;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 2rem 0;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-menu a {
    font-size: 1.5rem;
    width: 100%;
    display: block;
    padding: 1rem;
  }
  .navbar {
    padding: 0.5rem 1rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }
}

/* =========================================
   POP-UP MODAL (De reparatie!)
   ========================================= */

/* De achtergrond van de pop-up (standaard verborgen) */
.voorwaarden-overlay {
  position: fixed; /* Blijft vast op het scherm staan */
  inset: 0; /* Vult het hele scherm */
  background-color: rgba(0, 0, 0, 0.6); /* Donkere achtergrond */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000; /* Zorgt dat hij BOVEN alles ligt */
}

/* De klasse die hem verbergt */
.hidden {
  display: none !important;
}

/* Het witte venster zelf */
.voorwaarden-modal {
  background-color: #fff;
  max-width: 600px;
  width: 90%;
  padding: 20px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.2);
}

/* De tekst met scrollbalk */
.voorwaarden-content {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  overflow-y: auto; /* Zorgt voor scrollbalk als tekst te lang is */
  max-height: 50vh;
  text-align: left; /* Zorgt dat de voorwaarden tekst leesbaar links staat */
}

/* De knoppen onderin de pop-up */
.voorwaarden-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid #eee;
  padding-top: 10px;
}
