
/* ------------------------------------------- home ------------------------------------------- */

.home {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: center;
    z-index: -1;
    height: 100%;
}

.home img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center;
}
    /* width: 100%;
   
    object-fit: cover; */
    /* transform: translateY(calc((-1 * (100% - 100vh) / 2))); */





/* ------------------------------------------- slogan ------------------------------------------- */

.slogan {
    background-color: transparent;
    padding: 0px 0 50px; 
    position: relative;
    
}
.slogan h1 {
    font-size: 50px;
    font-family: 'poppins', sans-serif;
    font-weight: 200;
    color: #ffffff;
    padding-left: 30px;
    position: relative;
    /* line-height: 1.1; */
}
.slogan .orange {
    font-size: 50px;
    font-weight: 700;
}
/* ------------------------------------------- compétences ------------------------------------------- */

.compétences {
    background-color: #f9f9f9;
    font-family: 'Roboto', sans-serif;
    font-size: 1.3rem;
    padding: 100px; 
    position: relative;
    color: black;
}

.compétences-list {
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-evenly;
    gap: 30px;
}

.compétences-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.compétences-icon {
    width: 60px;
    margin-bottom: 10px;
}

.compétences-item span {

    color: #333;
    text-align: center;
}



/* .compétences-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: 0 auto;
} */

/* 
.compétences-icon {
    width: 160px;
    height: 160px;
    margin-bottom: 10px;
} */



/* ------------------------------------------- carousel ------------------------------------------- */
body, html {
    margin: 0;
    padding: 0;
    /* overflow: hidden; */
    width: 100%;
    /* height: 100%; */
    
}

.section-carousel {
    width: 100%;
    /* overflow: hidden; */
     position: relative;
     overflow-x: hidden;

}

.carousel {
    position: relative;
    width: 100%;
    height: auto;
    /* overflow: hidden; */
}

.carousel-inner {
    display: flex;
    width: 500%; /* 5 items (3 original + 2 clones) */
    transition: transform 0.4s ease-out;
}

.carousel-item {
    width: 100vw;
    height: auto;
    flex-shrink: 0;
}

.carousel-item img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel__nav {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
}

.carousel__nav label {
    border: 1px solid #fff;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.5);
}

.carousel__prev, .carousel__next {
    position: absolute;
    top: 0;
    width: 10%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    color: #fff;
    cursor: pointer;
    user-select: none;
    /* background: rgba(0, 0, 0, 0.2); */
    transition: background 0.3s ease;
}

.carousel__prev:hover, .carousel__next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.carousel__prev {
    left: 0;
}

.carousel__next {
    right: 0;
}

/* ------------------------------------------- frise ------------------------------------------- */
.service {
    background-color: #f5f5f5;
}

.lined-title {
    display: flex;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    font-size: 2em;
    color: #333;
}

.lined-title::before {
    content: '';
    flex-grow: 1;
    height: 2px;
    background-color: #333;
    margin-right: 10px;
}

.lined-title span {
    white-space: nowrap;
}

.section__frise {
    padding: 20px;
    max-width: 900px;
    margin: auto;
    position: relative;
}

.frise-text {
    display: flex;
    flex-direction: column; 
    height: 100%;
    justify-content: center;
    font-family: 'Roboto', sans-serif;
    /* font-size: 1rem; */
    font-weight: 300;
    text-align: justify;
    
}

.frise-text hr {
    margin: 5px 0;
    width: 50px;
    border-top: 4px solid rgb(145, 129, 76);
}

.frise {
    margin: 20px 0;
    position: relative;
    height: 250px;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    
}

.frise.left {
    padding-left: 120px;
}

.frise.right {
    padding-right: 120px;
}

.frise::before {
    content: '';
    display: flex;
    height: 250px;
    width: 100px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 0;
}

.frise.left::before {
    left: 0;
}

.frise.right::before {
    right: 0;
}

.frise-01::before {
    background-image: url('/images/imgm1.png');
}

.frise-02::before {
    background-image: url('/images/imgm2.png');
}

.frise-03::before {
    background-image: url('/images/imgm3.png');
}

.frise-04::before {
    background-image: url('/images/imgm4.png');
}

.frise-05::before {
    background-image: url('/images/imgm5.png');
}

.frise-06::before {
    background-image: url('/images/imgm6.png');
}



/* ----------------------------------------------------------------------------------------------------- */
/* ------------------------------------------- Media queries ------------------------------------------- */
/* ----------------------------------------------------------------------------------------------------- */

/* ------------------------------------------- home ------------------------------------------- */

@media screen and (min-width: 700px){
/* 
    .home {
        transform: translateY(500px);
    } */
    .home img {
        content: url('/images/Kayak4k-spectaculaire.jpeg');
        
        /* transform: translateY(calc((-1 * (100% - 100vh) / 2))); */
    }
}

/* ------------------------------------------- slogan ------------------------------------------- */

@media (min-width: 700px) {
    .slogan h1 {
        font-size: 120px;
        padding-left: 50px;
    }
   .slogan .orange {
        font-size: 120px;
    }
}
@media (min-width: 1080px) {
    .slogan h1 {
        font-size: 120px;
        padding-left: 70px;
    }
    .slogan .orange {
        font-size: 120px;
    }
}
/* ------------------------------------------- compétence ------------------------------------------- */
@media (min-width: 700px) {
    .compétences {
        font-size: 2rem;
    }
    
    .compétences-icon {
            width: 80px;
            margin-bottom: 20px;
    }
}    


/* ------------------------------------------- frise ------------------------------------------- */
@media screen and (min-width: 700px) {
    .section__frise {
        padding: 20px;
    }
    .frise-text {
        font-size: 1.2rem;
        font-weight: 300;
    }
    .frise {
        height: 250px;
    }
    .frise.left {
        padding-left: 350px;
    }
    
    .frise.right {
        padding-right: 350px;
    }    
    .frise::before {
        height: 250px;
        width: 280px;
    }
}