/* Image Slider Section */
.image_slider_section {
    width: 100%;
    padding: 60px 0;
}

.image-slider-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    position: relative;
}

.image-slider-wrapper.is-draggable {
    cursor: grab;
}

.image-slider-wrapper.is-dragging,
.image-slider-wrapper.is-dragging * {
    cursor: grabbing;
    user-select: none;
}

.image-slider-wrapper.is-dragging {
    scroll-behavior: auto;
}

/* Scrollbar styling - Webkit browsers (Chrome, Safari, Edge) */
.image-slider-wrapper::-webkit-scrollbar {
    height: 8px;
}

.image-slider-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.image-slider-wrapper::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
    cursor: grab;
}

.image-slider-wrapper::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Firefox scrollbar */
.image-slider-wrapper {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

.image-slider-container {
    display: flex;
    gap: 20px;
    padding: 0 20px 20px 20px;
    min-width: min-content;
}

.image-slider-item {
    flex: 0 0 auto;
    width: 300px;
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
    background: #f5f5f5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.image-slider-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.image-slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.image-slider-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    cursor: zoom-in;
    border-radius: 8px;
    overflow: hidden;
}

.image-slider-link:focus-visible {
    outline: 3px solid #285262;
    outline-offset: -3px;
}

.image-slider-item:hover img {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1024px) {
    .image-slider-item {
        width: 250px;
        height: 200px;
    }
    
    .image_slider_section {
        padding: 40px 0;
    }
}

@media (max-width: 768px) {
    .image-slider-item {
        width: 200px;
        height: 160px;
    }
    
    .image-slider-container {
        gap: 15px;
        padding: 0 15px 15px 15px;
    }
    
    .image_slider_section {
        padding: 30px 0;
    }
    
    .image_slider_section .section-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .image-slider-item {
        width: 150px;
        height: 120px;
    }
    
    .image-slider-container {
        gap: 10px;
        padding: 0 10px 10px 10px;
    }
}
