/********************************************/
/*** BONAMED KARUSEL DÜZƏLİŞİ (sol menyu + sağ karusel) ***/
/********************************************/

/* Ümumi konteyner – sol menyu + sağ karusel */
.carousel-layout {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 0;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
  margin: 20px auto;
  position: relative;
  z-index: 2;
}

/* Sol tərəf – kateqoriya menyusu */
.carousel-sidebar {
  width: 22%;
  background: #ffffff;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: inset -2px 0 6px rgba(0, 0, 0, 0.04);
  padding: 15px 20px;
}

.carousel-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.carousel-sidebar li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  cursor: pointer;
  color: #333;
  font-weight: 500;
  transition: 0.3s;
}

.carousel-sidebar li:hover {
  color: #0066CC;
  padding-left: 8px;
}

/* Sağ tərəf – karusel */
.carousel-main {
  width: 78%;
  position: relative;
  overflow: hidden;
}

/* Karusel arxa fon kölgəsi */
.carousel-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: -10px;
  width: calc(100% + 20px);
  height: 100%;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.08);
  border-radius: 0 8px 8px 0;
  z-index: 1;
}

/* Karusel şəkilləri */
.carousel-main img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 8px 8px 0;
  z-index: 2;
}

/* Karusel yazıları */
.carousel-caption {
  z-index: 3;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 8px;
  padding: 20px 30px;
  text-align: center;
}

.carousel-caption h2 {
  color: #ffffff;
  font-weight: 700;
  font-size: 30px;
}

.carousel-caption p {
  color: #f2f2f2;
  font-size: 16px;
}

/* Mobil uyumluluq */
@media (max-width: 767.98px) {
  .carousel-layout {
    flex-direction: column;
    box-shadow: none;
  }

  .carousel-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .carousel-main {
    width: 100%;
  }
}
/********************************************/
/*** BONAMED KARUSEL DÜZƏLİŞİ (sol menyu + sağ karusel) ***/
/********************************************/

/* Ümumi konteyner – sol menyu + sağ karusel */
.carousel-layout {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 0;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
    margin: 20px auto;
    position: relative;
    z-index: 2;
}

/* Sol tərəf – kateqoriya menyusu */
.carousel-sidebar {
    width: 22%;
    background: #ffffff;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: inset -2px 0 6px rgba(0, 0, 0, 0.04);
    padding: 15px 20px;
}

.carousel-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.carousel-sidebar li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    color: #333;
    font-weight: 500;
    transition: 0.3s;
}

.carousel-sidebar li:hover {
    color: #0066CC;
    padding-left: 8px;
}

/* Sağ tərəf – karusel */
.carousel-main {
    width: 78%;
    position: relative;
    overflow: hidden;
}

/* Karusel arxa fon kölgəsi */
.carousel-main::before {
    content: "";
    position: absolute;
    top: 0;
    left: -10px;
    width: calc(100% + 20px);
    height: 100%;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.08);
    border-radius: 0 8px 8px 0;
    z-index: 1;
}

/* Karusel şəkilləri */
.carousel-main img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0 8px 8px 0;
    z-index: 2;
}

/* Karusel yazıları */
.carousel-caption {
    z-index: 3;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 8px;
    padding: 20px 30px;
    text-align: center;
}

.carousel-caption h2 {
    color: #ffffff;
    font-weight: 700;
    font-size: 30px;
}

.carousel-caption p {
    color: #f2f2f2;
    font-size: 16px;
}

/* Mobil uyumluluq */
@media (max-width: 767.98px) {
    .carousel-layout {
        flex-direction: column;
        box-shadow: none;
    }

    .carousel-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .carousel-main {
        width: 100%;
    }
}
/**************************************/
/******* BONAMED KARUSEL BLOKU ********/
/**************************************/
.bonamed-section {
    margin-top: 1px;
    /* üst paneldən məsafə */
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Layout — sol kateqoriya və sağ karusel */
.carousel-layout {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: space-between;
}

/* Sol KATEQORİYA */
.carousel-sidebar {
    width: 25%;
    background: #f8f9fa;
    border-right: 1px solid #e0e0e0;
    padding: 25px 0;
}

.carousel-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.carousel-sidebar li {
    padding: 12px 25px;
    font-size: 15px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.carousel-sidebar li:hover {
    background: #e8f2ff;
    color: #0066CC;
    font-weight: 600;
}

/* Sağ KARUSEL */
.carousel-main {
    width: 75%;
    position: relative;
}

.carousel-main img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 0;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.4);
    padding: 20px 25px;
    border-radius: 8px;
    bottom: 25px;
    left: 25px;
    right: auto;
    text-align: left;
}

.carousel-caption h2 {
    color: #fff;
    font-weight: 700;
    font-size: 28px;
}

.carousel-caption p {
    color: #eee;
    font-size: 16px;
    margin-bottom: 0;
}

/* Indicator nöqtələr */
.carousel-indicators li {
    background-color: #0066CC;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.carousel-indicators .active {
    background-color: #004c99;
}

/* Oxlar */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 102, 204, 0.7);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-size: 50% 50%;
}

/* Mobil uyğunlaşma */
@media (max-width: 991.98px) {
    .carousel-layout {
        flex-direction: column;
    }

    .carousel-sidebar {
        display: none;
        /* Mobil versiyada kateqoriya gizlədilir */
    }

    .carousel-main {
        width: 100%;
    }

    .carousel-main img {
        height: 300px;
    }
}