.gallery {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.strip {
    display: flex;
    width: max-content;
    height: 150px;
    align-items: center;
    position: relative;
}

.strip img {
    height: 100%;
    margin: 0 10px;
    object-fit: cover;
}

/* Top strip (k images) - moves right to left */
.top-strip {
    animation: scrollLeft 60s linear infinite;
}

/* Bottom strip (i images) - moves left to right */
.bottom-strip {
    animation: scrollRight 60s linear infinite;
}

/* Pause animation on hover */
.strip:hover {
    animation-play-state: paused;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Duplicate images to create seamless loop */
.strip::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    pointer-events: none;
}
