/* 🌿 Algemene stijl */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  color: #333;
  background: url("menu-bg.jpg") no-repeat center center fixed;
  background-size: cover;
}

/* 🌸 Header + navigatie */
header {
  background: url("natuur.jpg") no-repeat center center;
  background-size: cover;
  color: #fff;
  padding: 20px;
  text-align: center;
}

header h1 {
  color: #4B0082;  /* donkerblauw */
  font-size: 2.2rem;
  font-weight: bold;
  text-align: center;

  /* gloed voor contrast */
  text-shadow: 
    0 0 6px rgba(255,255,255,0.8),   /* witte gloed */
    1px 1px 3px rgba(0,0,0,0.6);     /* lichte donkere schaduw */
}

/* Navigatie */
nav {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

nav a {
  display: inline-block;
  padding: 12px 20px;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 6px;
  transition: background 0.3s ease;
}

nav a:hover,
nav a.active {
  background: rgba(0, 0, 0, 0.8);
}

/* ✨ Intro & links (homepagina) */
.intro, .links {
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  margin: 20px;
  border-radius: 8px;
}

.links a {
  display: inline-block;
  padding: 14px 24px;
  margin: 10px 5px;
  background: #5a2a70;
  color: #fff;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.links a:hover {
  background: #3e1c50;
}

/* 📝 Formulieren (wensen & dromen) */
form {
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  margin: 20px auto;       /* center horizontaal */
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 12px;

  /* Nieuw toegevoegd voor compact formaat */
  width: 90%;              /* vult bijna het hele scherm op mobiel */
  max-width: 400px;        /* blijft klein en netjes gecentreerd */
}


input, textarea, select, button {
  padding: 12px;
  font-size: 1rem;
  border-radius: 4px;
  border: 1px solid #ccc;
}

button {
  background: #5a2a70;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: #3e1c50;
}

/* 📋 Overzicht - Filters */
.filters {
  background: rgba(255, 255, 255, 0.95);
  padding: 15px;
  margin: 20px auto;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  max-width: 900px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.filters label {
  font-weight: bold;
}

.filters select,
.filters button {
  padding: 8px 12px;
  font-size: 1rem;
  border-radius: 4px;
  border: 1px solid #ccc;
}

/* 📋 Compactere kaarten */
.card {
  background: rgba(255, 255, 255, 0.95);
  padding: 8px;                /* kleiner i.p.v. 20px */
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: left;
  font-size: 0.85rem;          /* kleinere tekst */
  line-height: 1.3;
  max-width: 300px;            /* voorkom reuzenkaarten */
  margin: 10px auto;
}

/* 📝 Titels & tekst */
.card h3 {
  margin: 4px 0;
  font-size: 1rem;
  font-weight: bold;
}

.card p {
  margin: 4px 0;
  font-size: 0.85rem;
}

/* 📸 Thumbnails – forceren klein */
.card img.thumbnail {
  width: 100%
  height: auto;
  object-fit: cover;
  border-radius: 3px;
  display: block;
  margin: 6px auto;            /* onderaan gecentreerd */
  cursor: pointer;
}

/* 🔹 Meta-informatie */
.card .meta {
  font-size: 0.7rem;
  color: #666;
  margin-top: 4px;
  text-align: center;
}
/* 📐 Grid voor overzicht */
.grid {
  display: grid;
  gap: 20px;
  margin: 20px auto;
  max-width: 1400px;
}

/* Desktop: 3 naast elkaar */
@media (min-width: 1025px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet: 2 naast elkaar */
@media (max-width: 1024px) and (min-width: 769px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobiel: 1 per rij, kleinere thumbnails */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .card img.thumbnail {
    width: 180px;
    height: 180px;
    margin-left: auto;
    margin-right: auto;
  }

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

  nav a {
    padding: 16px;
    font-size: 18px;
    text-align: center;
  }
}

/* 🔍 Lightbox */
#lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.9);
}

#lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  font-weight: bold;
  color: white;
  cursor: pointer;
}
.card img {
  width: 100%;
  height: auto;
}
/* Bovenste titel in de header (donkerpaars + subtiele schaduw) */
header h1 {
  text-align: center;
  color: #a64ca6;   /* donkerpaars */
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
text-shadow: 0 0 6px rgba(0,0,0,0.6);
}

/* Subtitels in main (lichtpaars + lichte gloed) */
main h2 {
  text-align: center;
  color: #3e1c50;   /* lichtpaars */
  font-size: 1.4rem;
  font-weight: bold;
  margin: 20px 0;
 text-shadow: 0 0 6px rgba(255,255,255,0.6);
}
/* 📋 Grid met 6 kolommen op desktop */
.grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* 6 kaarten per rij */
  gap: 15px;
  padding: 15px;
  margin: 0 auto;
  max-width: 1400px; /* centreren en max breedte */
}

/* 📋 Kaarten */
.grid .card {
  background: rgba(255, 255, 255, 0.95);
  padding: 10px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  text-align: center;
  font-size: 0.9rem;
}

/* 📸 Thumbnails */
.grid .card img.thumbnail {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
  margin: 6px auto;
  cursor: pointer;
}

/* 📱 Mobiel: 2 kolommen */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 📱 Tablet: 3 kolommen */
@media (min-width: 769px) and (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* 📱 Forceren mobiele weergave */
@media (max-width: 768px) {
  body.innerpage .grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important; /* 2 kolommen */
    gap: 12px !important;
    padding: 10px !important;
  }

  body.innerpage .card {
    max-width: 100% !important;
    padding: 8px !important;
    font-size: 0.85rem !important;
  }

  body.innerpage .card img.thumbnail {
    width: 50px !important;
    height: 50px !important;
    object-fit: cover !important;
  }
}
<!DOCTYPE html>
<html lang="nl">
<head>
  <meta charset="UTF-8">
  <title>Droom plaatsen - Amonshare</title>
  <link rel="stylesheet" href="style.css">
  <style>
    form {
      background: rgba(255, 255, 255, 0.95);
      padding: 20px;
      margin: 20px auto;
      border-radius: 8px;
      max-width: 600px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    form label {
      font-weight: bold;
      display: block;
      margin-top: 10px;
    }

    form input, 
    form select, 
    form textarea, 
    form button {
      width: 100%;
      margin-top: 6px;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 4px;
      font-size: 1rem;
    }

    /* ✅ Alleen het omschrijving-veld compacter */
    form textarea#content {
      height: 80px;       /* korter, ongeveer 3 regels */
      resize: none;       /* niet groter slepen */
      font-size: 0.9rem;
      line-height: 1.3;
      max-width: 100%;
    }

    form button {
      background: #5a2a70;
      color: white;
      border: none;
      margin-top: 15px;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    form button:hover {
      background: #3e1c50;
    }

    .success-message {
      background: #d4edda;
      color: #155724;
      border: 1px solid #c3e6cb;
      padding: 10px;
      margin: 15px auto;
      border-radius: 6px;
      max-width: 600px;
      display: none;
      text-align: center;
    }
/* 🎯 Alleen het omschrijving/bijschrijving-veld compacter maken */
form textarea#content {
  height: 80px;       /* korter, ongeveer 3 regels */
  resize: none;       /* niet groter slepen */
  font-size: 0.9rem;  /* iets compacter */
  line-height: 1.3;   /* nettere regelafstand */
  max-width: 100%;    /* altijd passend in formulier */
}
/* 📱 Grotere en duidelijkere knoppen op mobiel (alleen index & overzicht) */
@media (max-width: 768px) {
  body.index nav a,
  body.overzicht nav a {
    display: block;
    padding: 20px;         /* grote klikbare zone */
    font-size: 22px;       /* duidelijke tekst */
    font-weight: bold;
    background: #5a2a70;   /* opvallende achtergrond */
    color: #fff;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
    margin: 10px 0;        /* ruimte tussen knoppen */
  }

  body.index nav a:hover,
  body.overzicht nav a:hover {
    background: #3e1c50;
  }
}
/* ✨ Overschrijf regels voor de tekstvelden in formulieren */
textarea[name="content"] {
  resize: vertical;       /* alleen verticaal groter maken */
  max-height: 200px;      /* houdt compact */
  min-height: 100px;      /* niet te klein */
  font-size: 1rem;
}

/* ✨ Hinttekst onder textarea */
form small {
  display: block;
  margin-top: -6px;
  margin-bottom: 12px;
  color: #666;
  font-size: 0.85rem;
  font-style: italic;
}
/* 🚀 FORCE nav knoppen mobiel overal */
@media (max-width: 768px) {
  header nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 14px !important;
    margin-top: 12px !important;
  }

  header nav a {
    display: block !important;
    width: 92% !important;
    padding: 18px !important;
    font-size: 20px !important;
    font-weight: bold !important;
    text-align: center !important;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 10px !important;
    margin: 6px 0 !important;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3) !important;

    /* 👇 overschrijft paars, geeft wazig grijs */
    background: rgba(50, 50, 50, 0.6) !important;
    backdrop-filter: blur(4px) !important;
  }

  header nav a:hover {
    background: rgba(50, 50, 50, 0.8) !important;
  }
}
@media (max-width: 1000px) {
  nav {
    display: flex !important;
    flex-direction: column !important; /* 👉 zet knoppen onder elkaar */
    align-items: center !important;
    gap: 14px !important;
    margin-top: 12px !important;
  }

  nav a {
    display: block !important;
    width: 92% !important;
    padding: 18px !important;
    font-size: 20px !important;
    font-weight: bold !important;
    text-align: center !important;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 10px !important;
    margin: 6px 0 !important;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3) !important;

    /* 👇 wazig grijs */
    background: rgba(50, 50, 50, 0.6) !important;
    backdrop-filter: blur(4px) !important;
  }

  nav a:hover {
    background: rgba(50, 50, 50, 0.8) !important;
  }
}
/* 📱 Navigatieknoppen overal even groot */
@media (max-width: 1000px) {
  nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important;
  }

  nav a {
    display: block !important;
    width: 92% !important;
    padding: 26px !important;     /* 👉 langer maken */
    font-size: 26px !important;   /* 👉 grotere tekst */
    font-weight: bold !important;
    text-align: center !important;
    border-radius: 10px !important;
    margin: 6px 0 !important;
    background: rgba(50, 50, 50, 0.65) !important;
    backdrop-filter: blur(4px) !important;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3) !important;
    color: #fff !important;
    text-decoration: none !important;
  }

  nav a:hover {
    background: rgba(50, 50, 50, 0.85) !important;
  }
}
/* 📱 Navigatieknoppen mobiel: maximaal groot en duidelijk */
@media (max-width: 1000px) {
  nav {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  nav a {
    display: block !important;
    width: 100% !important;        /* 👉 volledige breedte */
    padding: 30px 0 !important;    /* 👉 extra hoogte */
    font-size: 28px !important;    /* 👉 grotere tekst */
    font-weight: bold !important;
    text-align: center !important;
    border-radius: 0 !important;   /* 👉 strak tot aan de rand */
    background: rgba(50, 50, 50, 0.7) !important;
    backdrop-filter: blur(4px) !important;
    color: #fff !important;
    text-decoration: none !important;
    border-bottom: 2px solid rgba(255,255,255,0.2) !important;
  }

  nav a:hover {
    background: rgba(50, 50, 50, 0.9) !important;
  }
}
/* Overschrijf alleen de H1 tekstkleur */
header h1 {
  color: #4B0082 !important;   /* donkerblauw */
  font-size: 2.2rem;
  font-weight: bold;
  text-align: center;

  /* witte gloed voor leesbaarheid */
  text-shadow:
    0 0 6px rgba(255,255,255,0.8),
    1px 1px 3px rgba(0,0,0,0.6);
}
.site-logo {
  display: block;       /* logo krijgt eigen regel */
  margin: 0 auto 10px;  /* centreren + ruimte onder logo */
  height: 150px;        /* maak logo groter, pas waarde naar wens aan */
}

header {
  text-align: center;   /* titel en logo gecentreerd */
  padding: 20px;
}/* Standaard (desktop) */
.site-logo {
  display: block;
  margin: 0 auto 10px;
  height: 150px; /* normale grootte */
}

/* Op schermen kleiner dan 768px (mobiel): logo groter */
@media (max-width: 768px) {
  .site-logo {
    height: 140px; /* maak groter op mobiel */
  }
}