.banner {
    width: 100%;
    height: 500px;
    background: url('https://placehold.co/1200x500') center/cover;
}

@media screen and (max-width: 768px) {
    .banner {
        height: 300px;
    }
}

@media screen and (max-width: 480px) {
    .banner {
        height: 200px;
    }
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
}

.slides {
    display: flex;
    transition: transform 0.3s ease-out;
    height: 100%;
    cursor: grab;
}

.slides:active {
    cursor: grabbing;
}

.slide {
    min-width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    color: white;
    font-size: 18px;
    transition: background 0.3s;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.dot.active {
    background: white;
}

@media screen and (max-width: 768px) {
    .banner-slider {
        height: 300px;
    }
    
    .slider-btn {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .banner-slider {
        height: 200px;
    }
}