/*
=> Carousel photo 
*/
.carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: #1F4E3D;
    padding: 20px 0;
}

.carousel {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scroll-carousel 40s linear infinite;
}

.carousel-img {
    width: 250px;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.carousel-img:hover {
    transform: scale(1.05);
}

@keyframes scroll-carousel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    z-index: 1000;
}

/*
=> Carousel logo 
*/

.carousel-marques-container {
    width: 470px;
    height: 100px;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.carousel-marques {
    display: flex;
    width: max-content;
    animation: slide-marques 10s linear infinite;
    gap: 20px;
}

.carousel-marques img {
    height: 100px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

/* Animation fluide continue */
@keyframes slide-marques {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media only screen and (max-width: 1024px) {

    .info-reference{
        flex-direction: column;
        justify-content: center;
    }
    .carousel-marques-container{
        width: 99vw;
        margin: 25px 0px;
    }
}

  






