/* Basisinstellingen */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #e8f5e9; /* lichte, frisse groene achtergrond */
  color: #142b1b; /* donkerdere groene tint voor tekst */
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* Links */
a {
  color: #388e3c; /* heldergroene links */
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover,
a:focus {
  color: #1b5e20; /* donkerder groen op hover */
  text-decoration: underline;
}

/* Navigatie */
.topnav {
  background-color: #2e7d32; /* modern, iets feller groen */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(46, 125, 50, 0.6);
  font-weight: 700;
}

.topnav a {
  color: #dcedc8;
  padding: 14px 20px;
  text-align: center;
  text-decoration: none;
  flex: 1 0 auto;
  max-width: 160px;
  border-right: 1px solid #448c46;
  box-sizing: border-box;
  transition: background-color 0.3s ease;
}
.topnav a:last-child {
  border-right: none;
}
.topnav a:hover,
.topnav a.active {
  background-color: #7dad46; /* lichtere accentkleur */
  color: #1b5e20;
}

.topnav .icon {
  display: none;
  cursor: pointer;
  font-size: 26px;
  padding: 14px 20px;
  color: #dcedc8;
}

/* Koptekst */
header {
  background: linear-gradient(90deg, #66bb6a, #047408);
  color: white;
  padding: 40px 1rem;
  text-align: center;
}

header h1 {
  font-weight: 900;
  font-size: 2.8rem;
  margin-bottom: 0.3rem;
}

header p {
  font-size: 1.25rem;
  font-weight: 500;
}

/* Hoofdinhoud */
main {
  max-width: 1100px;
  margin: 2rem auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 0 1rem;
  color: #2e5533;
}

/* Content sectie */
.showslisting.left {
  background-color: #f1f8e9;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(101, 172, 109, 0.3);
  flex: 2 1 600px;
}

/* Sidebar */
aside.left {
  background-color: #dcedc8;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(101, 172, 109, 0.2);
  flex: 1 1 280px;
}

aside.left p {
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

aside.left ul {
  list-style: none;
  padding: 0;
}

aside.left ul li {
  margin-bottom: 0.5rem;
}

aside.left ul li a {
  color: #33691e;
  font-weight: 600;
}

aside.left ul li a:hover,
aside.left ul li a:focus {
  color: #1b5e20;
  text-decoration: underline;
}

/* Afbeeldingen stijl */
.thumbnail {
  max-width: 100%;
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(46, 125, 50, 0.2);
  margin-bottom: 1rem;
}

/* Footer */
footer {
  background-color: #2e7d32;
  color: #c8e6c9;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

footer a {
  color: #aed581;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

footer a:hover,
footer a:focus {
  color: #33691e;
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  main {
    flex-direction: column;
  }
  .showslisting.left,
  aside.left {
    flex: 1 1 100%;
  }

  .topnav a:not(.icon) {
    display: none;
  }

  .topnav .icon {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
  }

  .topnav.responsive a {
    display: block;
    text-align: left;
    padding-left: 1.5rem;
    border: none;
  }
}

@media (max-width: 400px) {
  header h1 {
    font-size: 2rem;
  }
  header p {
    font-size: 1rem;
  }
  footer {
    font-size: 0.8rem;
    padding: 1rem;
  }
}
@media (max-width: 600px) {
  .topnav a {
    flex: 1 0 100%;
    max-width: none;
    border-right: none;
    border-bottom: 1px solid #4caf50;
  }
  .topnav a:last-child {
    border-bottom: none;
  }
}   