/* IMAGE SLIDERS */
.slider-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 0;
    box-sizing: border-box;
    overflow: hidden;
}

.slider-top, .slider-bottom {
    height: 25%;
    margin: 0 auto;
    position: relative;
    width: 100%;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.slider-middle {
    height: 45%;
    margin: 0 auto;
    position: relative;
    width: 100%;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.slide-track {
    display: flex;
    width: calc(500px * 18);
    animation: scroll 40s linear infinite;
}

.slide-track-reverse {
    display: flex;
    width: calc(1000px * 9);
    animation: scroll-reverse 40s linear infinite;
}

.slide-track:hover, .slide-track-reverse:hover {
    animation-play-state: running !important;
}

.slide, .slide-middle {
    height: 100%;
    width: 300px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    perspective: 100px;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 8px;
}

.slide-middle {
    width: 1000px;
}

.slide img, .slide-middle img {
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.slide img:hover, .slide-middle img:hover {
    transform: none !important;
    filter: none !important;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-500px * 9)); }
}

@keyframes scroll-reverse {
    0% { transform: translateX(calc(-1000px * 4.5)); }
    100% { transform: translateX(0); }
} 