/* ===== BASIS (mobiel standaard) ===== */
body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: #333;
}

.bg-gray-50 {
  --tw-bg-opacity: 1;
  background-image: url("background77.png?1760774892");
  background-position: top left;
  background-repeat: repeat;
  background-size: auto;
}

.container {
  width: 95%;
  margin: 0 auto;
  padding: 0.5rem;
}

.nieuws-artikel {
  border-bottom: 0.1rem solid #2258dd;
  padding: 0.5rem 0;
  margin-bottom: 0.5rem;
}

.volledig-artikel {
  max-width: 100%;
  margin: 0 auto;
}

.artikel-meta {
  color: #666;
  font-size: 0.9em;
  font-style: italic;
}

.artikel-inhoud {
  margin: 1rem 0;
  display: inline-block;
}

.titel {
  display: inline-block;
  background: #0066cc;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.2rem;
  margin-top: 0.6rem;
}

.lees-meer,
.terug-link {
  display: block;
  width: 100%;
  background: #0066cc;
  color: white;
  padding: 0.5rem 1rem;
  text-align: center;
  border-radius: 0.2rem;
  margin-top: 0.6rem;
}

.lees-meer:hover,
.terug-link:hover {
  background: #0055aa;
}

.lees-meer-link, .lees-minder-link {
  display: block;
 
  background: #0066cc;
  color: white;
  padding: 0.5rem 1rem;
  text-align: center;
  border-radius: 0.2rem;
  margin-top: 0.6rem;
}

.lees-meer-link:hover, .lees-minder-link:hover {
    color: #3498db;
}

.hidden {
    display: none;
}


.paginering {
  margin: 2rem 0;
  text-align: center;
}

.paginering a {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin: 0.2rem;
  background: #f0f0f0;
  color: #333;
  text-decoration: none;
  border-radius: 0.2rem;
}

.paginering a.actief {
  background: #0066cc;
  color: white;
}

.paginering a:hover:not(.actief) {
  background: #ddd;
}

.site-header {
/*  background-color: #dbdde3db; */
/*  background-image: url('../images/mooikom3.jpg'); */

background: linear-gradient(to bottom, #AFDFF0 0%, #F58E59 200%);
    position: relative;
    color: white;
    display: flex;
    align-items: center;
    padding: 0 40px;
    font-family: "Segoe UI", sans-serif;

    /* diepte */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    
  padding: 0.5rem 0;
  box-shadow: 0 0.1rem 0.2rem #2258dd;
  text-align: center;
}

.site-header .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.site-logo {
  max-width: 80%;
  height: auto;
}

.site-header h1 {
  margin: 0;
  font-size: 1.4rem;
}

.site-header h1 a {
  color: #2258dd;
  text-decoration: none;
}

/* MAIN NAVIGATION STYLES - MOBILE FIRST */
.main-nav ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
  gap: 1rem;
}

.main-nav a {
  color: #2258dd;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s;
  display: block;
  padding: 0.5rem 0;
}

.main-nav a:hover {
  color: #3498db;
}

/* SUBMENU STYLES - MOBILE FIRST */
.has-submenu {
  position: relative;
}

.submenu {
  display: none;
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  min-width: 220px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15), 0 5px 10px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  z-index: 1000;
  padding: 0.75rem 0;
  margin: 0.75rem 0 0 1.5rem;
  animation: fadeInUp 0.3s ease-out;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  display: block;
}

.submenu li {
  list-style: none;
  margin: 0;
  position: relative;
}

.submenu li:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #e2e8f0 50%, transparent 100%);
}

.submenu a {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  color: #4a5568;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.submenu a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #2258dd, #3498db);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.submenu a:hover {
  background: linear-gradient(135deg, #2258dd 0%, #3498db 100%);
  color: white;
  transform: translateX(5px);
  box-shadow: -5px 0 15px rgba(34, 88, 221, 0.3);
}

.submenu a:hover::before {
  transform: scaleY(1);
}

.submenu a:hover::after {
  content: '→';
  margin-left: auto;
  font-weight: bold;
  opacity: 0.8;
}

.has-submenu > a {
  position: relative;
  padding-right: 1.5rem;
}

.has-submenu > a::after {
/*  content: " ▸"; */
  font-size: 0.9em;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.has-submenu:hover > a::after {
  transform: translateY(-50%) rotate(90deg);
}

/* Subtiele animatie voor submenu */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== UITBREIDING VOOR TABLET EN DESKTOP (≥768px) ===== */
@media (min-width: 768px) {
  .main-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
    margin: 0;
  }

  /* SUBMENU STYLES - DESKTOP */
  .has-submenu {
    position: relative;
  }
  
  .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    margin: 10px 0 0 0;
    min-width: 240px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 10px 20px rgba(0, 0, 0, 0.05);
    border-radius: 16px;
  }
  
  .has-submenu > a::after {
/*    content: " ▾"; */
    position: static;
    transform: none;
    float: none;
    margin-left: 0.5rem;
  }
  
  .has-submenu:hover > a::after {
    transform: rotate(180deg);
  }

  /* Subtiele pijltje boven submenu op desktop */
  .submenu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
    border-top: 1px solid #e2e8f0;
    border-left: 1px solid #e2e8f0;
    z-index: -1;
  }
}

/* Extra styling voor actieve submenu items */
.submenu a:active {
  transform: translateX(3px) scale(0.98);
}

/* Focus states voor toegankelijkheid */
.submenu a:focus {
  outline: 2px solid #2258dd;
  outline-offset: -2px;
}

.has-submenu:focus-within .submenu {
  display: block;
}

/* Zorg dat submenu's standaard verborgen zijn */
.main-nav .submenu {
  display: none !important;
}

/* Toon submenu alleen bij hover */
.main-nav .has-submenu:hover .submenu {
  display: block !important;
}

/* Voor touch devices */
.main-nav .has-submenu:focus-within .submenu {
  display: block !important;
}
.admin-link {
  font-weight: bold;
  color: #f1c40f !important;
}

/* Tooltipkleuren aanpassen */
.tippy-box[data-theme~='custom'] {
  background-color: #F1F3F5;
  color: #2258dd;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  padding: 6px 10px;
}

.tippy-box[data-theme~='custom'] .tippy-arrow {
  color: #2258dd;
}

.hidden {
  display: none;
}

/* Decoratieve vlinders - mobiel klein en gecentreerd */
.vlinder1-img,
.vlinder2-img,
.vlinder3-img,
.bloemen-img {
  display: none;
  position: relative;
  width: 40px;
  height: auto;
  margin: 1rem auto;
}

.note-float-left {
  margin: 0.6rem 1rem;
}

/* Globaal responsive images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

video {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px; /* optioneel, voor stijl */
}

/* Project specifieke stijlen */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.prose {
  max-width: 100%;
  line-height: 1.6;
}

.prose p {
  margin-bottom: 1.25em;
}

/* Status badges */
.bg-green-100 { background-color: #dcfce7; }
.text-green-800 { color: #166534; }
.bg-blue-100 { background-color: #dbeafe; }
.text-blue-800 { color: #1e40af; }
.bg-yellow-100 { background-color: #fef9c3; }
.text-yellow-800 { color: #854d0e; }

/* ===== UITBREIDING VOOR TABLET EN DESKTOP (≥768px) ===== */
@media (min-width: 768px) {
  .container {
    width: 70%;
    padding: 0.2rem;
  }

  .volledig-artikel {
    max-width: 44rem;
  }

  .lees-meer,
  .terug-link {
    display: inline-block;
    width: auto;
  }

  .site-header .container {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 3rem;
  }

  .site-logo {
    height: 10rem;
    width: auto;
  }

  .site-header h1 {
    font-size: 1.8rem;
  }

  /* MAIN NAVIGATION - DESKTOP */
  .main-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    margin: 0;
  }

  /* SUBMENU STYLES - DESKTOP */
  .has-submenu {
    position: relative;
  }
  
  .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    margin: 0;
  }
/*  
  .has-submenu > a::after {
    content: " ▾";
    float: none;
  }
*/
  /* Decoratieve vlinders - desktop vaste positie */
  .vlinder1-img {
    display: block;
    width: 2.5rem;
    position: fixed;
    left: 11rem;
    bottom: 15rem;
    transform: rotate(30deg);
  }

  .vlinder2-img {
    display: block;
    width: 3rem;
    position: fixed;
    left: 12rem;
    bottom: 17rem;
    transform: rotate(270deg);
  }

  .vlinder3-img {
    display: block;
    width: 2rem;
    position: fixed;
    left: 10.1rem;
    bottom: 18rem;
    transform: rotate(360deg);
  }

  .bloemen-img {
    display: block;
    position: fixed;
    width: 15rem;
    left: 6rem;
    bottom: 10rem;
    margin: 1rem auto;
  }

  .search-box {
    width: auto;
    margin-top: 0;
  }

  .prose {
    max-width: 65ch;
  }
}

/* footer styles */
.site-footer {
    background-color: #f8f9fa;
    padding: 2px 0;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    border-top: 1px solid #e9ecef;
    z-index: 100;
}

.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.site-footer p {
    margin: 0 0 1px 0;
    color: #6c757d;
    font-size: 11px;
}

.footer-nav {
    display: flex;
    gap: 15px;
}

.footer-nav a {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}

.footer-nav a:hover {
    text-decoration: underline;
}

/* Extra ruimte voor content boven de footer */
body {
    padding-bottom: 100px;
}

/* styles voor de cookie-popup */           
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 600px;
    width: 90%;
    background-color: #fff;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    font-size: 14px;
    z-index: 9999;
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
  
/* Basisstijl voor desktop */
.whatsapp-button {
  position: fixed;
  bottom: 2px; /* iets hoger dan onderkant */
  right: 20px;
  z-index: 99;
  background: #25D366;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.whatsapp-button img {
  width: 40px;
  height: 40px;
}

/* Mobile-first aanpassing */
@media (max-width: 768px) {
  .whatsapp-button {
    bottom: 40px;       /* iets meer afstand van onderkant */
    right: 10px;        /* iets meer ruimte van rand */
    padding: 8px 12px;  /* kleinere padding */
  }

  .whatsapp-button img {
    width: 10px;        /* kleinere icon */
    height: 10px;
  }
}