/* Google Font: Nunito */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&display=swap');

:root {
  --bg-light:    #FFF5EB;
  --text-dark:   #333333;
  --primary:     #FF6F3D;
  --secondary:   #6B8E23;
  --hover-light: #FFDAB9;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;  /* smooth scroll voor anchor-links */
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Nunito', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.6;
}

/* Sticky navigatie */
.sticky-nav {
  position: sticky;
  top: 0;
  background-color: var(--primary);
  z-index: 1000;
}

.sticky-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0.75em 0;
}

.sticky-nav li {
  margin: 0 1em;
}

.sticky-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.sticky-nav a:hover {
  text-decoration: underline;
}

/* Header */
header {
  background-color: var(--primary);
  color: #fff;
  text-align: center;
  padding: 1em;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Scroll-naar-sectie knoppen */
.scroll-buttons {
  display: flex;
  justify-content: center;
  gap: 1em;
  padding: 1em 0;
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.scroll-buttons button {
  background-color: var(--secondary);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.8em 1.4em;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s;
}

.scroll-buttons button:hover {
  background-color: var(--hover-light);
  color: var(--text-dark);
}

/* Secties */
h1, h2, h3 {
  margin-bottom: 0.5em;
  font-weight: 700;
}

p, label, button, select, input {
  font-weight: 400;
}

section {
  padding: 2em 1em;
}

.filter {
  margin-bottom: 1em;
}

.filter label {
  margin-right: 0.5em;
}

.filter select {
  padding: 0.4em;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Agenda items & initiatief-tiles */
.agenda-item,
.initiative-tile {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  margin-bottom: 1em;
  padding: 1em;
  border-left: 4px solid var(--secondary);
}

.initiatives-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
}

.initiative-buttons {
  margin-top: 1em;
}

.poll {
  margin-top: 0.5em;
}

/* Footer */
footer {
  background-color: var(--primary);
  color: #fff;
  text-align: center;
  padding: 1.5em 1em;
  margin-top: 2em;
  font-size: 0.9em;
}

footer p {
  margin: 0.25em 0;
  font-weight: 400;
}

/* Footer links (optioneel) */
footer a {
  color: #fff;
  text-decoration: underline;
  transition: opacity 0.2s;
}

footer a:hover {
  opacity: 0.8;
}

/* Responsive breakpoints */
/* Tot 768px: 2 kolommen */
@media (max-width: 768px) {
  .initiative-tile {
    width: calc(50% - 1em);
  }
}

/* Tot 600px: 1 kolom, full-width tiles */
@media (max-width: 600px) {
  .initiative-tile {
    width: 100%;
    margin: 0.75em auto;
  }
}

/* Tot 480px: fallback */
@media (max-width: 480px) {
  .initiative-tile {
    width: 100%;
  }
}
