.salon-carousel {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(36, 1, 41, 0.2);
    position: relative;
    transition: all 0.4s ease;
}

.salon-carousel:hover {
    box-shadow: 0 25px 80px rgba(36, 1, 41, 0.35);
    transform: translateY(-2px);
}

.salon-carousel .carousel-item {
    transition: transform 0.6s ease-in-out;
    position: relative;
}

.salon-carousel .carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
        rgba(36, 1, 41, 0) 0%,
        rgba(36, 1, 41, 0.1) 40%,
        rgba(36, 1, 41, 0.4) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.salon-carousel:hover .carousel-item.active::after {
    opacity: 1;
}

.salon-carousel .carousel-item img {
    height: 500px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.6s ease;
}

.salon-carousel:hover .carousel-item.active img {
    transform: scale(1.03);
}

.salon-carousel .carousel-control-prev,
.salon-carousel .carousel-control-next {
    background: linear-gradient(135deg, rgba(36, 1, 41, 0.7), rgba(0, 0, 0, 0.6));
    backdrop-filter: blur(10px);
    width: 45px;
    height: 45px;
    border-radius: 12px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.salon-carousel:hover .carousel-control-prev,
.salon-carousel:hover .carousel-control-next {
    opacity: 0.9;
}

.salon-carousel .carousel-control-prev {
    left: 15px;
}

.salon-carousel .carousel-control-next {
    right: 15px;
}

.salon-carousel .carousel-control-prev:hover,
.salon-carousel .carousel-control-next:hover {
    opacity: 1;
    background: linear-gradient(135deg, var(--pb-accent), var(--pb-primary));
    transform: translateY(-50%) scale(1.1);
    border-color: var(--pb-green-custom);
}

.salon-carousel .carousel-indicators {
    margin-bottom: 15px;
}

.salon-carousel .carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 4px;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 0.6;
    border: none;
    transition: all 0.3s ease;
}

.salon-carousel .carousel-indicators button.active {
    opacity: 1;
    background-color: var(--pb-gold);
    transform: scale(1.4);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.carousel-caption-custom {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: calc(100% - 80px);
    max-width: 500px;
    background: linear-gradient(135deg, rgba(36, 1, 41, 0.92), rgba(0, 0, 0, 0.88));
    backdrop-filter: blur(20px);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    border: 2px solid rgba(212, 175, 55, 0.4);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.salon-carousel .carousel-item.active .carousel-caption-custom {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.salon-carousel:hover .carousel-item.active .carousel-caption-custom {
    transform: translateX(-50%) translateY(-5px) scale(1.02);
    border-color: var(--pb-green-custom);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 175, 55, 0.3);
    background: linear-gradient(135deg, rgba(36, 1, 41, 0.95), rgba(0, 0, 0, 0.92));
}

.carousel-caption-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--pb-gold), transparent);
    border-radius: 16px 16px 0 0;
}

.carousel-caption-custom h5 {
    color: var(--pb-gold);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: capitalize;
}

.carousel-caption-custom p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
    font-weight: 300;
}

#reviewsCarousel .carousel-control-prev,
#reviewsCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

#reviewsCarousel .carousel-control-prev {
    left: -60px;
}

#reviewsCarousel .carousel-control-next {
    right: -60px;
}

@media (max-width: 991px) {
    #reviewsCarousel .carousel-control-prev {
        left: 10px;
    }

    #reviewsCarousel .carousel-control-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .salon-carousel .carousel-item img {
        height: 300px;
    }

    .salon-carousel .carousel-control-prev,
    .salon-carousel .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .salon-carousel .carousel-control-prev {
        left: 10px;
    }

    .salon-carousel .carousel-control-next {
        right: 10px;
    }

    .carousel-caption-custom {
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        padding: 0.6rem 0.7rem;
        max-width: 90vw;
        text-align: center;
        font-size: 0.9rem;
        background: linear-gradient(135deg, rgba(36,1,41,0.82), rgba(0,0,0,0.65));
        border: 2px solid rgba(212,175,55,0.18);
        box-shadow: 0 4px 18px rgba(36,1,41,0.12);
    }

    .carousel-caption-custom h5 {
        font-size: 1rem;
    }

    .carousel-caption-custom h5 {
        font-size: 0.95rem;
    }
    .carousel-caption-custom p {
        font-size: 0.75rem;
    }
}
