/* Style de base pour le slider */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.slider {
    width: 100%;
    height: 100vh; /* Vous pouvez ajuster la hauteur */
    overflow: hidden;
    position: relative;
    top: -70px;
}

.slides {
    display: flex;
    width: 300%; /* 3 images donc 100% x 3 */
    animation: slide 27s infinite;
    height: 100vh;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://noack-industries.com/assets/images/noack.png"); /* Remplacez par l'URL de votre image */
    background-size: cover;
    background-repeat: no-repeat;
    animation: moveBackground 60s linear infinite,
        zoomEffect 60s ease-in-out infinite;
}

@keyframes moveBackground {
    0% {
        background-position: 0 0;
    }
    25% {
        background-position: 100% 0;
    }
    50% {
        background-position: 100% 100%;
    }
    75% {
        background-position: 0 100%;
    }
    100% {
        background-position: 0 0;
    }
}

@keyframes zoomEffect {
    0% {
        transform: scale(1); /* Taille normale */
    }
    50% {
        transform: scale(1.2); /* Zoom avant (agrandissement) */
    }
    100% {
        transform: scale(1); /* Retour à la taille normale */
    }
}

.cta {
    text-align: center;
    height: 90%;
    display: flex;
    align-items: center;
}
.cta-container {
    width: 100%;
    position: absolute;
    top: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    background-color: #000000c7;
    padding-top: 140px;
}
.cta-text-container,
.cta-product {
    color: #fff;
    font-weight: bold;
    font-size: 73px;
    line-height: 1;
    font-family: sans-serif;
    padding: 20px 92px;
    letter-spacing: -5px;
}

/* Gallery */

.gallery {
    display: flex;
    overflow-x: hidden;
    cursor: grab;
    width: 100vw;
    height: 64vh;
    position: relative;
    gap: 78px;
    margin: 44px 0;
}

.img {
    min-width: 50%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.img:active {
    cursor: grabbing;
}
.img label {
    position: absolute;
    bottom: 11px;
    color: #fff;
    font-size: 27px;
    font-family: cursive;
}

.gallery .nb {
    background-image: url("https://noack.annonce-tp.org/assets/images/nb.png");
}
.gallery .nck {
    background-image: url("https://noack.annonce-tp.org/assets/images/nck.png");
}
.gallery .nfr {
    background-image: url("https://noack.annonce-tp.org/assets/images/nfr.png");
}
.gallery .np {
    background-image: url("https://noack.annonce-tp.org/assets/images/np.png");
}
.gallery .nr {
    background-image: url("https://noack.annonce-tp.org/assets/images/nr.png");
}
.gallery .nrk {
    background-image: url("https://noack.annonce-tp.org/assets/images/nrk.png");
}
.gallery .nsc {
    background-image: url("https://noack.annonce-tp.org/assets/images/nsc.png");
}
.gallery .nx {
    background-image: url("https://noack.annonce-tp.org/assets/images/nx.png");
}

.gallery .img-gallery1 {
    background-image: url("https://cdn.pixabay.com/photo/2015/09/03/20/11/excavation-921244_1280.jpg"); /* Remplacez par l'URL de votre image */
}
.gallery .img-gallery2 {
    background-image: url("https://cdn.pixabay.com/photo/2018/01/04/17/07/scoop-3061151_1280.jpg"); /* Remplacez par l'URL de votre image */
}
.gallery .img-gallery3 {
    background-image: url("https://cdn.pixabay.com/photo/2015/09/03/20/11/excavation-921244_1280.jpg"); /* Remplacez par l'URL de votre image */
}
.gallery .img-gallery4 {
    background-image: url("https://cdn.pixabay.com/photo/2015/09/03/20/11/excavation-921244_1280.jpg"); /* Remplacez par l'URL de votre image */
}
.gallery .img-gallery5 {
    background-image: url("https://cdn.pixabay.com/photo/2018/01/04/17/07/scoop-3061151_1280.jpg"); /* Remplacez par l'URL de votre image */
}
