/* === Algemene basis === */
html, body {
  height: 100%;
  margin: 0;
  font-family: 'Fredoka', sans-serif;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  color: #222;
  background-image: url('../img/confetti-bg.jpg');
  background-size: cover;
  background-attachment: fixed;
}

/* === Layout === */
main {
  flex: 1;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* === Header === */
.site-header {
  background: linear-gradient(to right, #d60000, #e6c200, #007000);
  color: #fff;
  text-align: center;
  padding: 40px 20px;
}

.site-header h1 {
  font-size: 2.5em;
  margin: 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.site-header p {
  font-size: 1.1em;
  margin-top: 10px;
}

/* === Navigatie === */
.main-nav {
  background: linear-gradient(to right, #d60000, #e6c200, #007000);
  padding: 10px 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}

.main-nav a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* === Inhoudssecties === */
.intro, .highlight {
  background-color: #ffffffcc;
  padding: 20px;
  border-left: 6px solid #d60000;
  border-right: 6px solid #007000;
  margin-bottom: 30px;
  border-radius: 10px;
}

.highlight {
  border-left-color: #e6c200;
  border-right-color: #e6c200;
}

/* === Knoppen === */
.button {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #e6c200;
  color: #222;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s, color 0.3s;
}

.button:hover {
  background: linear-gradient(to right, #d60000, #e6c200, #007000);
  color: #fff;
}

/* === Footer === */
.site-footer {
  background: linear-gradient(to right, #d60000, #e6c200, #007000);
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
}

/* === Bolletjesdecoratie === */
.bolletjes-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 40px 0;
}

.bol {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

.bol.rood { background-color: #d60000; }
.bol.geel { background-color: #e6c200; }
.bol.groen { background-color: #007000; }

/* === Teamsectie === */
.leden-categorie {
  margin: 60px 0;
  text-align: center;
}

.leden-categorie h3 {
  font-size: 1.8em;
  color: #d60000;
  margin-bottom: 20px;
}

.leden-categorie h3::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  margin: 10px auto 0;
  background: linear-gradient(to right, #d60000, #e6c200, #007000);
  border-radius: 5px;
}

.leden-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  justify-items: center;
  padding: 0 20px;
}

.lid-card {
  background: #fff;
  border: 2px solid #e6c200;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lid-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.lid-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 2px solid #007000;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
}

.lid-card h3, .lid-card h4 {
  font-size: 1.3em;
  margin-bottom: 5px;
  color: #d60000;
}

.lid-card .rol {
  font-weight: bold;
  color: #007000;
  margin-bottom: 10px;
}

.lid-card .omschrijving {
  font-size: 0.95em;
  color: #333;
}

/* === Responsiveness === */
@media (max-width: 600px) {
  main {
    padding: 20px;
  }

  .lid-card {
    padding: 15px;
  }

  .lid-card img {
    width: 90px;
    height: 90px;
  }

  .leden-categorie h3 {
    font-size: 1.5em;
  }
}
