/* =========================
   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
========================= */

.nav {
  display: flex;             /* Zorgt dat de items horizontaal staan */
  align-items: center;       /* Verticaal centreren van alle items */
  gap: 10px;                 /* Optioneel: ruimte tussen de items */
}

.nav-item .flag-bg {
  width: 35px;
  height: 35px;
  display: inline-block;
  background-image: url('https://www.barrydoor.nl/website/pictures/bg-vlag.png'); /* of laat dit al via CSS class staan */
  background-size: cover;
  background-position: center;
}




.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;
}
.order-form{
padding:20px;
border-radius:10px;
background:#fff;
border:1px solid #FBC8BB;
}

.form-input,
.form-textarea{
width:100%;
padding:12px;
margin-bottom:14px;
border:1px solid #e0e0e0;
border-radius:8px;
font-size:14px;
font-family:'Montserrat',sans-serif;
transition:all .2s;
}

.form-input:focus,
.form-textarea:focus{
border-color:#d32f2f;
outline:none;
box-shadow:0 0 0 2px rgba(211,47,47,0.1);
}

.form-textarea{
min-height:90px;
resize:vertical;
}

.btn-order{
width:100%;
padding:12px;
background:#d32f2f;
border:none;
border-radius:8px;
font-weight:600;
color:#fff;
transition:0.25s;
}

/* Accordion item border */
.accordion-item {
  border: 1px solid #dc3545;
}

/* Accordion knop standaard */
.accordion-button {
  background-color: #ffffff;
  color: #000;
  border: none;
}

/* Hover effect */
.accordion-button:hover {
  background-color: #f8d7da;
}

/* Wanneer accordion open staat */
.accordion-button:not(.collapsed) {
  background-color: #dc3545;
  color: #ffffff;
  border-color: #dc3545;
}

/* Focus (verwijdert blauwe Bootstrap glow) */
.accordion-button:focus {
  box-shadow: none;
  border-color: #dc3545;
}

/* Pijltje aanpassen */
.accordion-button::after {
  filter: grayscale(100%);
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

/* Accordion body */
.accordion-body {
  border-top: 1px solid #dc3545;
}

/* ===== FLAG BUTTONS ===== */
.btn-circle {
  width:90px;
  height:90px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:bold;
  text-align:center;
  color:white;
  text-decoration:none;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  border:none;
}

.btn-circle:hover {
  transform:scale(1.08);
}

/* ===== FLAGS ===== */
.flag-bg {
 background-image:url("https://www.barrydoor.nl/website/pictures/bg-vlag.png");
}

.flag-en {
 background-image:url("https://www.barrydoor.nl/website/pictures/en-vlag.png");
}

.flag-nl {
 background-image:url("https://www.barrydoor.nl/website/pictures/nl-vlag.png");
 color:black;
}

  /* Hover effect voor lichte knopjes */
  .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #333 !important; /* donkere vlagkleur op hover */
    transform: scale(1.1);
    transition: all 0.2s ease-in-out;
	border-color:#EFEFEF;
  }