/* ALGEMEEN */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f5fbf7;
  color: #333;
  line-height: 1.6;
}

/* HEADER */
.kids-header {
  background-color: rgba(230, 246, 221, 0.9);
  border-bottom: 3px dashed #a1d6af;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  padding: 20px;
}

.header-content-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  text-align: center;
}

.logo {
  height: 100px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.header-text h1 {
  font-family: 'Fredoka One', cursive;
  font-size: 2rem;
  color: #2d7a41;
}

.rainbow-letters span {
  font-family: 'Fredoka One', cursive;
  font-size: 2.2rem;
  font-weight: bold;
  margin: 0 2px;
}

.r1 { color: #044719; }
.r2 { color: #1c6b3f; }
.r3 { color: #307b42; }
.r4 { color: #1e6525; }
.r5 { color: #0e700f; }
.r6 { color: #0f552d; }
.r7 { color: #0a7633; }
.r8 { color: #094519; }

/* ACHTERGROND */
.kids-page-bg {
  background: url("../images/lokaal.png") no-repeat center top;
  background-size: cover;
  background-attachment: fixed;
  min-height: 100vh;
  padding-top: 40px;
}

/* INTRO */
.intro-box {
  background-color: white;
  padding: 30px 20px;
  margin: 20px auto;
  border-left: 5px solid #66cc66;
  border-radius: 12px;
  max-width: 750px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
}

/* LESSECTIE */
.lesson-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
}

.lesson-box {
  background: #fafafa;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  width: 340px;
  padding: 30px;
  border: 3px solid #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lesson-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

.lesson-box:nth-child(1) {
  border-color: #ffddf4;
}

.lesson-box:nth-child(2) {
  border-color: #e3d0ff;
}

.lesson-type {
  background: #e5f3ff;
  color: #2266aa;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.lesson-box h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #2e4b37;
}

.lesson-box p {
  color: #444;
  font-size: 0.95rem;
  flex-grow: 1;
}

/* KNOP */
.btn-aanmelden {
  display: inline-block;
  padding: 12px 24px;
  background: #66cc66;
  color: white;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  margin-top: 20px;
  transition: background 0.3s ease;
}

.btn-aanmelden:hover {
  background: #4aa24a;
}

/* FOOTER */
.site-footer {
  background-color: #f3f1ec;
  padding: 30px 15px;
  text-align: center;
  border-top: 2px dashed #a1d6af;
  font-size: 0.95rem;
  margin-top: 60px;
  color: #2e4b37;
}

.footer-container {
  max-width: 900px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}

.footer-links a {
  color: #2e4b37;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #4aa24a;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .header-content-row {
    flex-direction: column;
  }

  .logo {
    height: 80px;
  }

  .lesson-box {
    width: 90%;
  }

  .rainbow-letters span {
    font-size: 1.8rem;
  }

  .btn-aanmelden {
    width: 100%;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}
