/* ============================================
   CAROUSEL - HORIZONTAL SCROLL
   ============================================ */

.slider-section {
    padding: 80px 10px;
        background: white;
}


/* ----- WRAPPER ----- */
.carousel-wrapper {
    position: relative;
    width: 100%;
}

/* ----- CONTAINER ----- */
.carousel-container {
    position: relative;
    max-width: 1400px;
    border-radius: 30px;
    margin: 0 auto;
    left: 0;
    right: 0;
    aspect-ratio: 7 / 3;
    overflow: hidden;
    background: #0a1628;
}

/* ----- TRACK - Horizontal Scroll ----- */
.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

/* ----- SLIDES ----- */
.carousel-slide {
    flex: 0 0 100%;
    height: 100%;
    scroll-snap-align: start;
    position: relative;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ----- ARROWS ----- */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
    opacity: 0.7;
}

.carousel-arrow:hover {
    background: rgba(0, 0, 0, 0.75);
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
    border-color: rgba(255, 255, 255, 0.3);
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-arrow svg {
    width: 20px;
    height: 20px;
    stroke: #ffffff;
    stroke-width: 2.5;
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/* ----- CUSTOM SCROLLBAR ----- */
.carousel-scrollbar {
    position: absolute;
    bottom: 20px;
    right: 10px;
    z-index: 10;
    width: 30px;
    max-width: 400px;
    padding: 4px 0;
}

.carousel-scrollbar-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    position: relative;
    cursor: pointer;
}

.carousel-scrollbar-thumb {
    height: 100%;
    width: 20%;
    background: #ffffff;
    border-radius: 10px;
    position: absolute;
    top: 0;
    left: 0;
    transition: width 0.3s ease;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.carousel-scrollbar-thumb:hover {
    background: #2ecc71;
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.3);
}

/* ----- SLIDE COUNTER ----- */
.carousel-counter {
    display: none;
    position: absolute;
    top: 20px;
    right: 24px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 6px 16px;
    border-radius: 40px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-counter #currentSlide {
    color: #ffffff;
    font-weight: 700;
}

.carousel-counter #totalSlides {
    color: rgba(255, 255, 255, 0.5);
}


@media screen and (max-width : 600px) {
    .carousel-arrow {
        width: 30px;
        height: 30px;
    }

    .carousel-arrow svg {
        width: 16px;
        height: 16px;
    }

    .slider-section {
        padding: 10px;
        padding-top: 80px;
    }

}