/* Styles pour le conteneur principal du carousel */
.homepage-carousel {
    position: relative;
    width: 100%;
    height: 30vh;
}

.central-logo {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;

}

.central-logo img {
    width: 47%;
}

.logo.bottom-right {
    bottom: -5px;
    right: 33px;
    width: 20%;
    justify-content: center;
    align-items: center;
    display: flex;
    height: 50%;
}

/* Styles pour le conteneur Swiper */
.homepage-carousel .swiper-container {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

/* Styles pour le wrapper Swiper */
.homepage-carousel .swiper-wrapper {
    display: flex;
    height: 100%;
}

/* Styles pour chaque slide */
.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    /* Occuper toute la hauteur de la div parent */
    background-size: cover;
    /* S'assurer que le background couvre bien toute la surface */
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    /* Nécessaire pour le positionnement des logos */
}

/* Styles pour les contenus des slides */
.slide-content {
    width: 100%;
    height: 100%;
    /* Occuper toute la hauteur de la div parent */
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    object-fit: cover;
    /* Pour les images et vidéos dans le slide-content */
}

/* Pour les vidéos dans les slides */
.slide-content iframe {
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover;
    /* S'assurer que la vidéo couvre bien toute la surface */
    display: block;
}

/* Styles pour les logos */
.logo {
    position: absolute;
    width: 40px;
}

.logo.top-left {
    top: 10px;
    left: 10px;
}


.logo.top-right {
    top: 0px;
    right: 136px;
}

.logo.bottom-left {
    bottom: 10px;
    left: 10px;
}

.logo.bottom-right {
    bottom: -5px;
    right: 32px;
}

/* Styles pour la section CTA */
.cta-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: var(--gap-m);
    margin-top: -10px;
    z-index: 2;
}

.cta {
    padding: 10px 20px;
    color: var(--text-light-color);
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid var(--text-light-color);
    text-align: center;
    width: auto;
    min-width: 160px;
    font-size: var(--text-size-m);
    font-family: var(--font-family);

    text-transform: uppercase;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.3);
}

.cta-1 {
    background-color: var(--primary-color);
}

.cta-2 {
    background-color: var(--secondary-color);
}

/* Navigation du carousel */
.nav-carousel {
    position: absolute;
    bottom: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    gap: var(--gap-xxl);
    padding: 10px;
}

.custom-swiper-button-next,
.custom-swiper-button-prev {
    width: 30px;
    height: 30px;
    z-index: 10;
    cursor: pointer;
}

.custom-swiper-button-prev {
    transform: rotate(180deg);
}

/* Pagination Dots */
.nav-carousel .swiper-pagination-bullet {
    background-color: var(--text-light-color);
    width: 13px;
    height: 13px;
    opacity: 1;
    transition: transform .3s;
    margin: 0 9px;
}

.nav-carousel .swiper-pagination-bullet-active {
    transform: scale(1.1);
}


/* Pagination Dots Container */
.nav-carousel .swiper-pagination.swiper-pagination-horizontal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: static;
    width: max-content;
    z-index: 10;
}

/* img.img-bas-gauche {
    width: 30%;
} */
/* Styles Responsive */

@media (min-width: 768px) {
    .logo.bottom-right {
        bottom: 5px;
        right: 10px;
    }

    .logo.top-right {
        top: 10px;
        right: 110px;
    }

    .homepage-carousel {
        position: relative;
        width: 100%;
        min-height: 70vh;
    }

    .central-logo {
        display: flex;
        width: 100%;
        height: 100%;
        align-items: flex-end;
        justify-content: center;
        margin-bottom: 20%;
    }

    .central-logo img {
        width: 40%;
    }

    .nav-carousel {
        bottom: 65px;
    }

    .custom-swiper-button-next {
        right: 200px;
    }

    .custom-swiper-button-prev {
        left: 200px;
    }

    .cta-container {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        gap: var(--gap-m);
        margin-top: -35px;
        z-index: 2;
    }

    .cta-container .cta {
        padding: 17px 20px;
        min-width: 245px;
    }

    .logo.top-left {
        top: 10px;
        left: 10px;
        width: 30%;
        justify-content: center;
        align-items: center;
        display: flex;
        height: 50%;
    }

    .logo img {

        object-fit: contain;
        object-position: center;
        width: 100%;
        max-height: 160px;
    }

    .logo.top-right {
        top: 10px;
        right: 10px;
        width: 30%;
        justify-content: center;
        align-items: center;
        display: flex;
        height: 50%;
    }

    .logo.bottom-right {
        bottom: 5px;
        right: 10px;
        width: 20%;
        justify-content: center;
        align-items: center;
        display: flex;
        height: 50%;
    }

    .logo.bottom-left {
        bottom: 5px;
        left: 10px;
        width: 20%;
        justify-content: center;
        align-items: center;
        display: flex;
        height: 50%;
    }

}

/* Mobile First Styles */
.page-banner {
    background-size: cover;
    background-position: center;
    padding: 55px 23px;
    text-align: center;
    color: var(--text-light-color);
    position: relative;
}

.page-banner-content {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-size: var(--text-size-xl);
    font-family: var(----font-family);
    font-weight: var(--font-weight-bold);
    /* Médium */
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
    color: var(--text-light-color);
}

/* Styles pour la bannière sans image de fond */
.page-banner.no-background {
    background: none;
}

/* Styles for larger screens */
@media (min-width: 768px) {

    .page-banner {
        min-height: 40vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .page-banner h1 {
        font-size: 2.5rem;
        /* Adjust font size for tablets and desktops */
    }

}

@media (min-width: 1024px) {
    .page-banner {
        padding: 60px;
    }

    .page-banner h1 {
        font-size: 3rem;
        /* Adjust font size for larger desktops */
    }
}