/* GALLERY ROW */
.moving-gallery {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /*firefox*/
}

.moving-gallery::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.moving-gallery img {
    height: 340px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    scroll-snap-align: center;
}

/* HOVER EFFECT */
.moving-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* LIGHTBOX */
.gallery-lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

/* IMAGE FULLSCREEN */
.gallery-lightbox-img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
}

/* CLOSE BUTTON */
.gallery-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

/*ARROWS*/
.gallery-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    font-size: 36px;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
}

.gallery-btn.left {
    left: 5px;
}

.gallery-btn.right {
    right: 5px;
}

.gallery-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {

    .gallery-btn {
        display: none;
    }

    .gallery-item {
        width: auto;

    }

    .equipment-gallery img{
        width: 150px;
        gap: 30px;
    }

}