.gallery-section {
    padding: 50px 20px;
    text-align: center;
    overflow: hidden;
}

.gallery-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.gallery-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scrollGallery 30s linear infinite;
}

.gallery-track:hover {
    animation-play-state: paused;
}

.gallery-track img {
    width: 300px;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: transform .4s ease;
}

.gallery-track img:hover {
    transform: scale(1.05);
}

@keyframes scrollGallery {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.9);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: all .4s ease;
    z-index: 9999;
}

.lightbox.active {
    visibility: visible;
    opacity: 1;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    transform: scale(.5);
    transition: transform .4s ease;
}

.lightbox.active img {
    transform: scale(1);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}