/* Gallery Section */
.gallery-section {
    padding: 60px 0;
    background-color: #fff;
    overflow: hidden;
}

.gallery-container {
    width: 100%;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    gap: 20px;
    animation: slideGallery 30s linear infinite;
    will-change: transform;
}

/* Pause animation on hover */
/* .gallery-track:hover {
    animation-play-state: paused;
} */

@keyframes slideGallery {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.gallery-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-shrink: 0;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.gallery-item.tall {
    width: 250px;
    height: 500px;
}

.gallery-item.medium {
    width: 250px;
    height: 240px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.overlay-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-section {
        padding: 40px 0;
    }

    .gallery-track {
        gap: 15px;
        animation-duration: 25s;
    }

    .gallery-column {
        gap: 15px;
    }

    .gallery-item.tall {
        width: 200px;
        height: 400px;
    }

    .gallery-item.medium {
        width: 200px;
        height: 190px;
    }

    .overlay-text {
        font-size: 20px;
        bottom: 15px;
        left: 15px;
    }
}

@media (max-width: 480px) {
    .gallery-track {
        gap: 10px;
        animation-duration: 20s;
    }

    .gallery-column {
        gap: 10px;
    }

    .gallery-item.tall {
        width: 150px;
        height: 300px;
    }

    .gallery-item.medium {
        width: 150px;
        height: 145px;
    }

    .overlay-text {
        font-size: 16px;
        bottom: 10px;
        left: 10px;
    }
}