body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: #f3f3f3;
  color: #222;
}

/* NAVIGATIEBALK */
.topnav {
  background-color: #fff;
  border-bottom: 1px solid #ccc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  flex-wrap: nowrap; /* standaard geen wrap */
}

.topnav .logo {
  height: 50px;
  order: 0;
}

.topnav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 20px;
  order: 1;
  margin-left: auto; /* zorgt dat ul zo ver mogelijk rechts staat */
}

.topnav ul li a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  transition: all 0.2s ease;
}

.topnav ul li a:hover {
  border-color: #2e3ccc;
  color: #2e3ccc;
}

/* Actieve pagina styling */
.topnav ul li a.active {
  color: #2e3ccc !important;
  border-color: #2e3ccc !important;
  font-weight: 700;
  pointer-events: none;
}

/* Toggle knop - standaard verborgen */
.nav-toggle {
  background: none;
  border: none;
  font-size: 24px;
  color: #222;
  cursor: pointer;
  display: none; /* verberg standaard */
  order: 2; /* zorg dat knop rechts staat */
}

/* HEADER */
header {
  background: url('https://hartvoorterneuzen.nl/uploads/header.jpg') center center / cover no-repeat;
  color: white;
  padding: 140px 20px 100px;
  text-align: center;
}

header h1 {
  font-size: 48px;
  font-weight: bold;
  margin: 0;
  text-shadow: 2px 2px 8px #000;
}

header p {
  font-size: 18px;
  margin-top: 10px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 5px #000;
}

.content {
  background: white;
  max-width: 900px;
  margin: -60px auto 40px auto;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.content p {
  line-height: 1.7;
  margin-bottom: 1em;
}

.content ul {
  margin-top: 20px;
}

.content ul li {
  margin-bottom: 0.5em;
}

/* Buttons horizontaal naast elkaar */
.buttons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  justify-content: flex-start;
}

.buttons a {
  background-color: #2e3ccc;
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  transition: background 0.2s;
  white-space: nowrap;
}

.buttons a:hover {
  background-color: #1c2799;
}

.video-container {
  margin-top: 40px;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* FOOTER */
footer {
  background: #fff;
  border-top: 1px solid #ddd;
  padding: 40px 20px;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1100px;
  margin: auto;
  gap: 30px;
}

.footer-column {
  flex: 1;
  min-width: 220px;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 10px;
  border-bottom: 3px solid #2e3ccc;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-column p,
.footer-column a {
  font-size: 15px;
  color: #222;
  text-decoration: none;
}

.footer-column a:hover {
  text-decoration: underline;
}

.search-group {
  display: flex;
  margin-top: 10px;
}

.search-group input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px 0 0 4px;
}

.search-group button {
  background: #2e3ccc;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

.copyright {
  text-align: center;
  font-size: 13px;
  margin-top: 30px;
  color: #666;
}

.social {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 10px;
}

/* Social media icons in footer */
footer .social a {
  color: #bbb;
  margin: 0 12px;
  font-size: 24px;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer .social a:hover {
  color: #2e3ccc;
}

/* MOBILE STYLING */
@media (max-width: 768px) {
  /* NAVIGATIE */
  .topnav {
    flex-wrap: wrap;
    padding: 10px 15px;
  }
  .topnav .logo {
    height: 70px; /* logo groter */
    order: 0;
  }
  .topnav ul {
    display: none; /* standaard verborgen */
    flex-direction: column;
    width: 100%;
    gap: 10px;
    order: 1;
    margin-left: 0;
    margin-top: 10px;
  }
  .topnav ul.show {
    display: flex; /* zichtbaar als .show */
  }
  .topnav ul li {
    text-align: center;
  }

  /* Toggle knop tonen */
  .nav-toggle {
    display: block;
  }

  /* HEADER */
  header {
    padding: 80px 15px 60px;
  }
  header h1 {
    font-size: 32px;
  }
  header p {
    font-size: 16px;
    max-width: 90%;
  }

  /* CONTENT */
  .content {
    margin: -40px 10px 30px;
    padding: 25px 20px;
    max-width: 100%;
    border-radius: 8px;
  }

  /* KNOPPEN */
  .buttons {
    flex-direction: column;
    gap: 12px;
  }
  .buttons a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 0;
    font-size: 16px;
  }

  /* VIDEO */
  .video-container {
    margin-top: 30px;
    padding-bottom: 56.25%; /* 16:9 verhouding blijft goed */
  }

  /* FOOTER */
  .footer-columns {
    flex-direction: column;
    gap: 20px;
  }
  .footer-column {
    min-width: 100%;
  }
}

/* Nieuws / blog */
.post-card{border-bottom:1px solid #ddd;padding:25px 0;overflow:hidden}
.post-card h2{margin:5px 0 8px}
.post-card .thumb{width:200px;height:130px;object-fit:cover;float:left;margin:0 16px 10px 0;border-radius:6px}
.post-card .button{display:inline-block;background:#2e3ccc;color:#fff;padding:6px 18px;border-radius:24px;text-decoration:none}
.post-card .button:hover{background:#1c2799}
.date{color:#666;font-size:.9em;margin-bottom:6px}
.hero{max-width:100%;margin:15px 0;border-radius:8px}
.content-text{line-height:1.7}


/*Nieuws reacties*/
/* COMMENTS */
.comments {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

.comments h2 {
  margin-bottom: 15px;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}

.comment-form input,
.comment-form textarea {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-family: inherit;
}

.comment-form textarea {
  min-height: 100px;
  resize: vertical;
}

.comment-form button {
  align-self: flex-start;
  background: #2e3ccc;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
}

.comment-form button:hover {
  background: #1c2799;
}

.comment {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 8px;
  color: #555;
}