/* ===== Algemene instellingen ===== */
body {
  font-family: Arial, Helvetica, sans-serif;
  background: #fff8f4;
  color: #222;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* ===== Typography ===== */
h1,
h2,
h3 {
  color: #ff69b4;
  text-align: center;
  margin-bottom: 0.5em;
  position: relative;
}
h1::after,
h2::after {
  content: " ✨";
  animation: sparkle 2s infinite alternate;
}
@keyframes sparkle {
  0% {
    opacity: 1;
    text-shadow: 0 0 5px #ff69b4, 0 0 10px #ffd700;
  }
  100% {
    opacity: 0.7;
    text-shadow: 0 0 10px #ffb6c1, 0 0 20px #ffffe0;
  }
}

p,
li {
  font-size: 1.1rem;
  text-align: center;
}

/* ===== Header ===== */
.topbar {
  background: #ffb6c1;
  padding: 0.5em;
  text-align: center;
  font-size: 0.9rem;
  color: white;
}

.navbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ff69b4;
  padding: 1em;
}
.navbar .logo {
  max-width: 200px;
  margin-bottom: 0.5em;
}
.navbar nav a {
  color: white;
  margin: 0 1em;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}
.navbar nav a:focus,
.navbar nav a:hover {
  color: #ffd700;
  text-shadow: 0 0 5px #fff, 0 0 10px #ff69b4;
  outline: 2px solid #ffd700;
}

/* ===== Hero sectie ===== */
.hero {
  background: linear-gradient(145deg, #ffe6f0, #fff5fa);
  padding: 3em 1em;
  text-align: center;
  opacity: 0;
  animation: heroFadeIn 1.5s ease-in forwards;
}
@keyframes heroFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ===== Features ===== */
.features {
  background-color: #fff0f5;
  padding: 2em 1em;
  opacity: 0;
  transform: translateY(20px);
  animation: sectionFadeIn 1.2s ease forwards;
  animation-delay: 0.3s;
}

.feature-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
  margin-top: 2em;
}
.feature {
  background: white;
  border-radius: 1em;
  padding: 1.5em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 280px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature:hover,
.feature:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 0 15px #ff69b4, 0 0 30px #ffd700;
  outline: 2px solid #ff69b4;
}

/* ===== Feestjes, Workshops, About, Team, Contact ===== */
.feestjes,
.locatie2,
.about,
.team,
.contact,
.reserveer {
  padding: 2em 1em;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: sectionFadeIn 1.2s ease forwards;
}
.feestjes,
.reserveer {
  animation-delay: 0.4s;
  background: #fff;
}
.locatie2 {
  animation-delay: 0.5s;
  background: #e0ffff;
}
.about {
  animation-delay: 0.6s;
  background: #fdf5e6;
}
.team {
  animation-delay: 0.7s;
  background: #ffe4e1;
}
.contact {
  animation-delay: 0.8s;
  background: linear-gradient(135deg, #f0f8ff, #ffe4e1);
  box-shadow: inset 0 0 30px rgba(255, 182, 193, 0.3);
}

/* ===== Animaties ===== */
@keyframes sectionFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Feest Box ===== */
.feest-box {
  background: #fff0f5;
  margin: 1em auto;
  padding: 1.5em;
  border-radius: 1em;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ===== Buttons ===== */
.btn,
.button {
  display: inline-block;
  background: #ff69b4;
  color: white;
  padding: 0.7em 1.5em;
  border-radius: 2em;
  text-decoration: none;
  font-weight: bold;
  margin-top: 1em;
  font-size: 1.1em;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}
.btn:hover,
.button:hover {
  background: #ff1493;
}
.btn:focus,
.button:focus {
  outline: 2px solid #ffd700;
}
.btn::before,
.button::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;
}
@keyframes glitter-move {
  0% {
    transform: translate(0%, 0%) rotate(0deg);
  }
  100% {
    transform: translate(100%, 100%) rotate(360deg);
  }
}

/* ===== Footer ===== */
footer {
  background: linear-gradient(145deg, #ffb6c1, #ff69b4);
  color: white;
  text-align: center;
  padding: 1.5em;
  border-top: 4px solid #ffd700;
  box-shadow: 0 -3px 15px rgba(255, 105, 180, 0.3);
  position: relative;
}

footer .socials {
  margin-top: 0.5em;
  display: flex;
  justify-content: center;
  flex-wrap: nowrap; /* Don't let them wrap to the next line */
  gap: 10px; /* Even spacing between icons */
}

footer .socials a {
  margin: 0 8px;
  display: inline-block;
  text-decoration: none;
}

footer .socials img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

footer .socials img:hover {
  transform: scale(1.2) rotate(5deg);
  box-shadow: 0 0 15px #ffd700, 0 0 30px #ff69b4;
}

footer p {
  margin-top: 1em;
  font-size: 0.9rem;
  color: #fffaf0;
}

/* ===== Rainbow bar under h2 ===== */
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;
}
@keyframes rainbow {
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 100%;
  }
}

/* ===== Gallery ===== */
.gallery-section {
  background: #fff0f5;
  padding: 2em 1em;
  text-align: center;
  border-radius: 1.5em;
  box-shadow: 0 0 18px rgba(255, 105, 180, 0.1);
  margin: 2em auto;
  max-width: 1200px;
  animation: sectionFadeIn 1.2s ease forwards;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5em;
  justify-items: center;
}
.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 1em;
  transition: transform 0.3s, box-shadow 0.3s;
  background: #fff;
}
.gallery-grid img:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 0 20px #ffb6c1, 0 0 30px #ffd700;
  outline: 2px solid #ffd700;
}

/* ===== Responsive losse foto's ===== */
img:not(.logo):not(.gallery-grid img) {
  max-width: 95%;
  height: auto;
  margin: 1em auto;
  display: block;
  border-radius: 1em;
  object-fit: contain;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

img:not(.logo):not(.gallery-grid img):hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 0 20px rgba(255, 105, 180, 0.4), 0 0 30px rgba(255, 215, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

img:not(.logo):not(.gallery-grid img):active {
  transform: scale(0.98);
  box-shadow: 0 0 15px rgba(255, 105, 180, 0.3);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.feest-img {
  height: 50%;
  width: 50%;
  object-fit: cover;
  border-radius: 1em;
  margin-top: 1em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ===== Booking widget & Map ===== */
.booking-widget-container {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

.map-container {
  max-width: 600px;
  margin: 2rem auto 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}
.map-container iframe {
  width: 100%;
  height: 350px;
  border: none;
  display: block;
}

/* ===== Accessibility: Focus ===== */
a:focus,
button:focus,
.btn:focus,
.feature:focus-within {
  outline: 2px solid #ffd700;
  outline-offset: 2px;
}

/* ===== Media Queries ===== */
@media (max-width: 768px) {
  .feature-boxes {
    flex-direction: column;
    align-items: center;
    gap: 1.5em;
  }
  .navbar nav a {
    margin: 0 0.5em;
  }
  .hero,
  .features,
  .feestjes,
  .workshops,
  .about,
  .team,
  .contact .reserveer {
    padding: 1.5em 0.5em;
  }
}
