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

:root {
  --bg-overlay: rgba(255,255,255,0.95);
  --primary: #0066cc;
  --muted: #6b6b6b;
  --card-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

body {
  background-image: url("../img/gemeente.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #000;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: var(--bg-overlay);
}

.logo {
  width: 150px;
  height: auto;
}

nav {
  display: flex;
  gap: 25px;
}

nav a {
  color: #000;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--primary);
}

nav a:focus {
  outline: 3px solid rgba(0,102,204,0.15);
  outline-offset: 3px;
}


main {
  text-align: center;
  margin-top: 100px;
  background: var(--bg-overlay);
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 900px;
  margin: 40px auto;
}

main h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

main p {
  font-size: 18px;
  color: #222;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 20px;
}
.card {
  display: block;
  background: #fff;
  padding: 16px;
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  color: #222;
  text-decoration: none;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}
.card:focus {
  outline: 3px solid rgba(0,102,204,0.12);
  outline-offset: 4px;
}
.card h3 {
  margin-bottom: 8px;
}
.card p {
  font-size: 14px;
  color: var(--muted);
}

.hero {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin: 0 auto 20px auto;
}
.page-image {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 18px;
}
.card img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}


@media (max-width: 700px) {
  header {
    flex-direction: column;
    gap: 12px;
    padding: 12px 16px;
  }
  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  .logo {
    width: 120px;
  }
}


.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}
.btn:hover { background: #005bb5 }



footer {
  margin-top: auto;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  text-align: center;
  padding: 15px 0;
  font-weight: bold;
}

/* Eenvoudige styling voor het interactie-paneel (makkelijk te begrijpen) */
#simple-panel {
  border: 1px solid #c1b9b9;
  padding: 10px;
  max-width: 900px;
  margin: 12px auto;
  border-radius: 8px;
  color: #000000;
  font-size: large;
  font-weight: bolder;
  font-family: 'Times New Roman', Times, serif;
}
#simple-panel input {
  padding: 6px;
  margin-left: 6px;
}
#simple-panel button {
  padding: 6px 8px;
  margin-left: 6px;
  background-color: var(--bg-overlay)
}
