/* style.css - Groen, modern en responsive */

/* Basiseigenschappen */
body {
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #eaf3ea;
  color: #2f4a2f;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* Hyperlinks */
a {
  color: #3a7d3a;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #1f4a1f;
  text-decoration: underline;
}

/* Navigatiebalk */
.topnav {
  background-color: #2f5932;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.topnav a {
  color: #d8e9d9;
  padding: 14px 18px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  flex: 1 0 120px;
  max-width: 150px;
  border-right: 1px solid #3f7040;
  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: #a5d484;
  color: #174617;
}

/* Hamburger icoon (standaard verborgen) */
.topnav .icon {
  display: none;
  cursor: pointer;
  color: #d8e9d9;
  font-size: 26px;
  padding: 14px 18px;
}

/* Header */
header {
  background: linear-gradient(90deg, #76b852 0%, #a3d981 100%);
  color: #fff;
  text-align: center;
  padding: 40px 10px;
}

header h1 {
  margin: 0;
  font-size: 2.8rem;
  font-weight: 900;
}

header p {
  margin-top: 8px;
  font-size: 1.2rem;
}

/* Hoofdinhoud en Sidebar Layout */
main {
  max-width: 1100px;
  margin: 25px auto;
  display: flex;
  gap: 30px;
  padding: 0 10px;
  flex-wrap: wrap;
  color: #355c35;
}

/* Content sectie */
.showslisting.left {
  background-color: #e3f0d9;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(80,120,80,0.15);
  flex: 2 1 600px;
}

/* Sidebar */
aside.left {
  background-color: #d3e4c4;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(80,120,80,0.1);
  flex: 1 1 300px;
}

aside.left h2,
aside.left p {
  font-weight: 600;
  margin-top: 1em;
  margin-bottom: 0.5em;
}

aside.left ul {
  list-style: none;
  padding-left: 0;
}

aside.left li {
  margin-bottom: 0.7em;
}

aside.left a {
  font-weight: 600;
}

aside.left a:hover {
  text-decoration: underline;
}

/* Afbeeldingen */
.thumbnail {
  max-width: 100%;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(60,100,60,0.1);
  margin-bottom: 10px;
}

/* Footer */
footer {
  background: #2f5932;
  color: #d8e9d9;
  text-align: center;
  padding: 25px 15px;
  font-size: 0.9rem;
}

footer a {
  color: #acd799;
  margin: 0 8px;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  main {
    flex-direction: column;
  }

  aside.left,
  .showslisting.left {
    flex: 1 1 100%;
  }

  .topnav a:not(.icon) {
    display: none;
  }

  .topnav a.icon {
    display: block;
  }

  .topnav.responsive a {
    display: block;
    text-align: left;
    padding-left: 15px;
    border: none;
  }
}

@media screen and (max-width: 400px) {
  header h1 {
    font-size: 1.8rem;
  }

  header p {
    font-size: 1rem;
  }

  footer {
    font-size: 0.85rem;
  }
}
/* Extra stijlen voor specifieke elementen */
.feature {
  background-color: #d4edda;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(80,120,80,0.1);
  margin: 20px 0;                                                                                                               