/* Algemene basis */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #f8f8f8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  padding-bottom: 100px;
  box-sizing: border-box;
}

header, footer {
  background-color: #FFC90E;
  color: #000;
  padding: 15px;
  text-align: center;
  position: relative;
}

/* Navigatie */
nav {
  background-color: #333;
}

nav ul.menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  justify-content: center;
}

nav ul.menu li {
  margin: 0;
}

nav ul.menu li a {
  display: block;
  padding: 12px 20px;
  color: white;
  text-decoration: none;
}

nav ul.menu li a:hover {
  background-color: #444;
}

/* Mobiele navigatie */
.menu-toggle {
  display: none;
  padding: 10px;
  background-color: #444;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  ul.menu {
    display: none;
    flex-direction: column;
    align-items: center;
  }
  ul.menu.active {
    display: flex;
  }
}

/* Bestuursleden grid */
.bestuur-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  padding: 20px;
}

/* Lidkaart */
.lid {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 520px;
  background-color: white;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.2s ease;
  border-top: 5px solid #ccc;
}

.lid:hover {
  transform: translateY(-4px);
}

/* Kleuren per functie */
.lid.voorzitter     { border-top-color: #1E90FF; }
.lid.secretaris     { border-top-color: #32CD32; }
.lid.lid-algemeen   { border-top-color: #FF8C00; }
.lid.vacature       { border-top-color: #B22222; }

/* Portretfoto */
.foto {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-size: 70%;
  background-position: top center;
  background-repeat: no-repeat;
  background-color: #f0f0f0;
  margin: 0 auto 12px;
  box-shadow: 0 0 4px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}

.foto:hover {
  transform: scale(1.05);
}

/* Naam en functie styling */
.naam {
  font-size: 1.1em;
  font-weight: bold;
  margin: 8px 0 4px 0;
}

.functie {
  font-size: 0.95em;
  margin: 0 0 8px 0;
  color: #555;
}

/* Contactknop onderin */
.contactknop {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 20px;
  background-color: #FFC90E;
  color: black;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.contactknop:hover {
  background-color: #e5b800;
}

/* Beschrijving tekst */
.beschrijving {
  font-size: 0.95em;
  line-height: 1.5;
  margin-top: 8px;
  margin-bottom: 16px;
}

.hero-container {
  max-height: 70vh; /* maximaal 50% van schermhoogte */
  overflow: hidden;
}

/* Hoofdfoto op indexpagina */
.hoofdfoto {
  width: 100%;
  height: auto;
  object-fit: cover; /* vult de ruimte mooi, snijdt eventueel af */
  display: block;
}