/* =========================
   Algemeen & Body
========================= */
html {
  scroll-behavior: auto !important;
}

body {
  margin-top: 60px; 
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 14px;
}

/* =========================
   Kolommen & Boxes
========================= */
.col-left, .col-right, .inner-box, .klein-text, h4, h5, h6, p, button {
  font-family: 'Montserrat', sans-serif;
}

.klein-text {
  font-size: 12px;
  font-weight: 600;
}

.col-left, .col-right {
  background-color: #FFF;
  height: 100%;
  position: relative;
  margin-top: 25px;
  margin-bottom: 35px;
}

.inner-box {
  position: relative;
  background-color: #FFF;
  border-radius: 6px;
  margin-top: 12px;
  margin-bottom: 40px;
  border: 1px solid #FBC8BB;
  padding: 20px;
  text-align: left;
  top: -10px;
}

.inner-box img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 10px auto;
}

.floating-btn {
  position: absolute;
  top: -24px;        /* hoe ver hij boven de box uitsteekt */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  margin-bottom: 84px;
  background-color: #FCEBE7;
  color: #000;
  margin-top: 4px;
  border: 1px solid #FBC8BB;
}

.floating-btn:hover {
  position: absolute;
  top: -24px;        /* hoe ver hij boven de box uitsteekt */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  margin-bottom: 84px; 
  background-color: #FBC8BB;
  color: #000;
  margin-top: 4px;  
  border: 1px solid #FBC8BB;
  cursor: default;
}

 
.rodeline { border: 1px solid #FF0000; }

/* =========================
   Navbar & Header
========================= */
.navbar {
  font-family: 'Montserrat', sans-serif; 
  font-weight: 500;
  letter-spacing: 0.5px;
  background-color: #d32f2f;
  border-bottom: 1px solid #000;
}

.logo-img {
  border-radius: 50%;
  border: 2px solid white; 
  padding: 3px; 
}

.anchor { 
  height: 60px;
}
/* =========================
   Mega-menu / Submenu
========================= */

 .mega-menu {
  display: none;
  background: #333;
  width: 100%;
  padding: 10px 0;
}

.mega-menu.active {
  display: block;
}

.mega-menu a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 5px 20px;
}

.mega-menu a:hover {
  color: #dc3545;
}

/* Desktop overlay */
@media (min-width: 992px) {
  .nav-item.position-static {
    position: relative;
  }

  .mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
  }
}

/* Mobile */
@media (max-width: 991.98px) {
  .mega-menu {
    position: static;
  }
}
 
 
/* =========================
   Footer
========================= */
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #212529;
  color: #fff;
  padding: 4px 0;
  font-size: 12px;
  z-index: 9999;
}
[id] {
  scroll-margin-top: 90px;
}

 
/* =========================
   Carousel
========================= */
/* Carousel algemene styling */
.carousel-item{
    text-align:center;
}

/* Responsive images */
.carousel-item img{
    width:100%;
    height:auto;
    display:block;
}

/* Carousel indicators (puntjes) */
.carousel-indicators [data-bs-target]{
    background-color:red;
}

/* Optioneel: pijlen zwart, als ooit nodig */
.carousel-control-prev-icon,
.carousel-control-next-icon{
    filter: invert(0);
}

/* ========================= Mobile fix ======================== */
@media (max-width:768px){
  #carouselBooks .carousel-item img{
    height:240px;
    object-fit:cover;
    border-radius: 12px;  /* изображенията не изпълзяват извън ъглите */
    background-color: #ffffff;
  }
}
#carouselBooks {
    border-radius: 12px;       /* заоблени ъгли на целия carousel */
    overflow: hidden;          /* изображенията не изпълзяват извън ъглите */
    background-color: #ffffff; /* бял фон */
       /* леко разстояние вътре, опционално */
}

/* Заобляне на самите изображения */
#carouselBooks .carousel-item img {
    border-radius: 10px;
}

#carouselExample .carousel-img{
    max-width:300px;
    width:100%;
    height:auto;
}