/* style2.css - groene styling met behoud van structuur en links */

/* Basis body en kleur */
body {
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #f0f7f1;
  color: #234d20;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* Navigatiebalk */
.topnav {
  background-color: #1e4d17; /* gekozen groen */
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.topnav a {
  color: #d0e8c0;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-weight: 600;
  border-right: 1px solid #5ec45e;
  flex: 1 0 auto;
  max-width: 150px;
  box-sizing: border-box;
  transition: background-color 0.3s ease;
}

.topnav a:last-child {
  border-right: none;
}

.topnav a.active,
.topnav a:hover,
.topnav a:focus {
  background-color: #a3cfa1; /* lichtere groene hover */
  color: #0a2207;
}

/* Hamburger menu icoon */
.topnav .icon {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #d0e8c0;
  padding: 14px 16px;
}

/* Header */
header {
  background: linear-gradient(90deg, #76b852 0%, #8dc26f 100%);
  color: #fff;
  text-align: center;
  padding: 40px 15px;
}

header h1 {
  margin: 0;
  font-weight: 900;
  font-size: 2.8rem;
}

header p {
  font-size: 1.2rem;
  margin-top: 8px;
}

/* Main content en sidebar */
main {
  max-width: 1100px;
  margin: 25px auto;
  padding: 0 15px;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  color: #254322;
}

.showslisting.left {
  flex: 2 1 600px;
  background: #e4f0db;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(60, 100, 50, 0.1);
}

aside.left {
  flex: 1 1 250px;
  background-color: #d9eddb;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 12px rgba(123, 187, 126, 0.2);
  color: #2a5c2b;
}

aside.left p {
  font-weight: 700;
  margin-top: 15px;
  margin-bottom: 8px;
}

aside.left ul {
  list-style: none;
  padding-left: 0;
}

aside.left ul li {
  margin: 7px 0;
}

aside.left ul li a {
  color: #3a6e3a;
  font-weight: 600;
  transition: color 0.3s ease;
}

aside.left ul li a:hover,
aside.left ul li a:focus {
  color: #164b16;
  text-decoration: underline;
}

aside.left img.thumbnail {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 4px 8px rgba(50, 100, 50, 0.12);
}

/* Footer */
footer {
  background-color: #1e4d17;
  color: #d0e8c0;
  text-align: center;
  padding: 20px 10px 40px 10px;
  font-size: 0.95rem;
  margin-top: 40px;
}

footer a {
  color: #a4dba7;
  margin: 0 10px;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover,
footer a:focus {
  text-decoration: underline;
  color: #5a8f5a;
}

.topnav.responsive a { 
  display: block; 
  text-align: left; 
}

@media (max-width: 768px) {
  .topnav a:not(.icon) { 
    display: none; 
  }
  .topnav.responsive a:not(.icon) {
    display: block;
  }
  .topnav .icon {
    float: right;
    display: block;
  }
}

/* Responsive */
/* Tablet en kleiner */
