/* Algemene reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background-color: #fff;
  color: #fff;
}

/* HEADER */
header {
  background-color: #f9cd1d;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10;
}

.logo {
  font-weight: bold;
  color: white;
  text-decoration: none;
  font-size: 16px;
}

.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  margin-left: auto;
  align-self: center; /* ⬅️ zorgt voor verticale centrering */
}


/* NAV */
.nav {
  display: flex;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav li {
  position: relative;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  border-bottom: 3px solid transparent;
  padding-bottom: 5px;
}

nav a.active {
  border-bottom: 3px solid white;
}

/* Dropdown Menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #3a3a3a;
  min-width: 150px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 999;
}

.dropdown-menu li {
  border-bottom: 1px solid #555;
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu a {
  display: block;
  padding: 12px 16px;
  color: white;
  text-decoration: none;
}

.dropdown-menu a:hover {
  background-color: #555;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* Hero Section */
.hero {
  height: 80vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}

.hero-overlay h1 {
  font-size: 50px;
  color: white;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.4);
}

.scroll-down {
  display: inline-block;
  margin-top: 20px;
  font-size: 32px;
  color: white;
  text-decoration: none;
}

.scroll-down:hover {
  opacity: 0.7;
}

/* Section styling */

.section {
  padding: 90px 20px;
  background-color: #2f2f2f;
  text-align: center;
}

.section h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: white;
}

.section p,
.section li {
  color: #ddd;
  font-size: 18px;
  max-width: 800px;
  margin: 10px auto;
}

hr {
  border: none;
  border-top: 1px solid #555;
  margin: 40px auto;
  width: 80%;
}

/* Donatie */
.donatie-wrapper {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
  background-color: #2f2f2f;
}

.donatie-widget {
  max-width: 500px;
  width: 100%;
}

.donorbox-iframe {
  width: 100%;
  height: 900px;
  border: none;
  display: block;
}

/* Contact */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 30px;
  justify-content: center;
}

.contact-info, .contact-map {
  flex: 1 1 300px;
  max-width: 500px;
  color: #ddd;
  text-align: left;
}

.contact-info p {
  line-height: 1.6;
}

.contact-info a {
  color: orange;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-map iframe {
  width: 100%;
  height: 250px;
  border: none;
}

/* Footer */
.footer {
  background-color: #f1c40f;
  text-align: center;
  padding: 20px 10px;
  color: #777;
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    flex-wrap: wrap;
    align-items: center;
  }

  .hamburger {
    display: block;

  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    background-color: #f9cd1d;
    padding: 10px 30px;
  }

  .nav.show {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
  }

  nav a {
    display: block;
    padding: 10px 0;
  }

  .dropdown:hover .dropdown-menu {
    position: relative;
    display: block;
    box-shadow: none;
    background-color: #f1b900;
  }

  .hero {
    height: 50vh;
  }

  .hero-overlay h1 {
    font-size: 40px;
  }

  .scroll-down {
    font-size: 28px;
  }

  .contact-container {
    flex-direction: column;
    align-items: center;
  }

  .contact-info, .contact-map {
    max-width: 100%;
    flex: 1 1 100%;
    padding: 10px;
  }

  .section p {
    font-size: 16px;
    padding: 0 10px;
  }

  iframe {
    height: 300px;
  }
}
