/* ========================================
   Gallery Component - Horizontal Scroll Carousel
   ======================================== */

.gallery {
    background-color: var(--color-light);
    overflow: hidden;
    padding: var(--space-xl) 0;
}

.gallery__wrapper {
    width: 100%;
    overflow: hidden;
}

.gallery__track {
    display: flex;
    gap: var(--space-md);
    width: max-content;
    will-change: transform;
}

.gallery__item {
    flex-shrink: 0;
    width: 400px;
    height: 300px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery__item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .gallery__item {
        width: 300px;
        height: 225px;
    }
}

@media (max-width: 480px) {
    .gallery__item {
        width: 250px;
        height: 188px;
    }
}
