

/* ==========================
   Een menu item rood kleuren
========================== */
/* Custom class voor rood menu-item */
.nav-item .nav-link.red-item {
  background-color: #dc3522; /* rood */
  color: white !important;    /* tekst wit */
  border-radius: 0.25rem;
}
.nav-item .nav-link.red-item:hover {
  background-color: #b72b1e; /* donkerder rood bij hover */
}


.thumbnail {
  margin-bottom: 20px;
}
.thumbnail img {
  width: 100%;
  border-radius: 5px;
  transition: transform 0.3s;
}
.thumbnail img:hover {
  transform: scale(1.05);
}
.caption {
  padding-top: 5px;
  text-align: center;
}
/* Modal styling */
#modalOverlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 1050;
}
#modalOverlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 5px;
}


/* ==========================
   Buttons & Hover Effects
========================== */
.btn-hover {
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-hover:hover {
  background-color: #1a73e8;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-hover i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.btn-hover:hover i {
  transform: translateX(5px) rotate(15deg);
}

.btn-hover .hover-text {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 0.85rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.btn-hover:hover .hover-text {
  opacity: 1;
}

.btn-success {
  background: linear-gradient(135deg, #28a745, #2ecc71);
  border: none;
  transition: all 0.3s ease;
}

.btn-success:hover {
  background: linear-gradient(135deg, #23963a, #27ae60);
  transform: scale(1.03);
}

/* ==========================
   Cards & Images
========================== */
.card-img-top {
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.card-img-top:hover {
  transform: scale(1.02);
}

.card-body {
  max-height: 600px;
  overflow-y: auto;
}


/* ==========================
   Zorgt dat agenda en nieuwsblok even groot blijven
========================== */


/* ==========================
   Swiper / Slides
========================== */
.swiper-container {
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vw;
  overflow: hidden;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================
   Spacing & Misc
========================== */
.regelafstandVan20pixels {
  padding-bottom: 20px;
}

.divan {
  height: 700px;
  overflow-x: hidden;
  overflow-y: scroll;
}

/* ==========================
   Responsive Table
========================== */
@media(max-width: 500px) {
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { margin-bottom: 15px; }
  .table td { text-align: left; padding-left: 50%; position: relative; }
  .table td::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    width: 50%;
    padding-left: 15px;
    font-size: 15px;
    font-weight: bold;
  }
}

/* ==========================
   Flipdown
========================== */
.flipdown__digit { font-size: 1.5rem; }
.flipdown__rotor-group-heading { font-size: 0.6rem; text-transform: lowercase; }

/* ==========================
   Extra styling (optioneel)
========================== */
.letterkleur_wit { color: white; font-size: 1px; } /* wellicht aanpassen */
.container-bg { background: #e6e6e6; }
.jumbotron { background-color: yellow; padding: 1rem 3rem; margin-bottom: 2rem; border-radius: .3rem; }
.carousel-inner { display: block; width: 600px; margin: auto; }

