/* --- Algemene Stijlen --- */
:root {
  --primary-color: #2c5e2e; /* Donkergroen */
  --accent-color: #8bc34a; /* Lichtgroen */
  --text-color: #333;
  --bg-light: #f2f2f2;
  --white: #ffffff;
  --info-color: blue;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  color: var(--text-color);
  line-height: 1.6;
}

h1, h2, h3 {
  margin-top: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

p {
  a {
    text-decoration: underline;
    color: var(--primary-color);
  }
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

section {
  padding: 60px 0;
}

/* --- Header / Navigatie --- */
header {
  background-color: var(--white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 50px;
}

.nav-links a {
  margin-left: 20px;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent-color);
}

.text-center {
  text-align: center;
}

/* --- Sectie 1: Hero (Google Maps) --- */
.hero {
  position: relative;
  height: 500px;
  background-color: #e0e0e0; /* Fallback kleur */
  /* HIER JE GOOGLE MAPS BEELD INVULLEN */
  background-image: url('DussenBuitenMaps.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Zwart laagje over de foto */
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--white);
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 20px;
  transition: background 0.3s;
  box-sizing: border-box;
  text-align: center;
  border: none;
}

.btn:hover {
  background-color: #7cb342;
}

/* --- Sectie 2: Info & Bestuur --- */
.info-section {
  background-color: var(--white);
}

.grid-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.board-member {
  text-align: center;
  background: #f2f2f2;
  padding: 20px;
  border-radius: 8px;
}

.contrib-box {
  background-color: var(--bg-light);
  border-left: 5px solid var(--primary-color);
  padding: 20px;
  border-radius: 4px;
}

/* --- Sectie 3: Agenda --- */
.agenda-section {
  background-color: var(--bg-light);
}

.event-card {
  background: var(--white);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.event-date {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 10px;
  text-align: center;
  border-radius: 5px;
  min-width: 80px;
  height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-right: 20px;
}

.event-date span.day {
  font-size: 1.5rem;
  font-weight: bold;
}

.event-date span.month {
  font-size: 0.9rem;
  text-transform: uppercase;
}

/* --- Sectie 4: Geschiedenis --- */
.history-section {
  background-color: var(--white);
  display: flex;
  align-items: center;
}

.history-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.history-text {
  flex: 1;
}

.history-img {
  flex: 1;
  height: 300px;
  background-color: #ddd; /* Placeholder */
  background-image: url('500px-Kornse_boezem.jpg');
  background-size: cover;
  border-radius: 8px;
}

.contact-section {
  background-color: var(--bg-light);
}

/* --- Sectie 5: Sponsoren --- */
.sponsors-section {
  background-color: #333;
  color: var(--white);
  text-align: center;
}

.sponsor-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 30px;
  align-items: center;
}

.sponsor-placeholder {
  background-color: #ddd;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: #bbb;
  font-size: 2.9rem;
  a {
    img {
      vertical-align: middle;
      max-width: 100%;
      max-height: 100%;
    }
  }
}

/* --- Footer --- */
footer {
  background-color: #222;
  color: #888;
  padding: 40px 0;
  text-align: center;
  font-size: 0.9rem;
}

/* --- Modal Stijlen --- */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: var(--white);
  margin: 10% auto;
  padding: 30px;
  border-radius: 8px;
  width: 80%;
  max-width: 500px;
  position: relative;
}

.close {
  position: absolute;
  right: 20px;
  top: 10px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  a {
    text-decoration: underline;
    color: var(--info-color);
  }
}

.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  /* Simpele hide voor mobiel voorbeeld */
  .grid-layout, .history-content {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .event-card {
    flex-direction: column;
    text-align: center;
  }

  .event-date {
    margin: 0 0 15px 0;
  }
}
