/* CSS global */

@import url('https://fonts.googleapis.com/css?family=Rajdhani:300,400,500,600,700');
@import url('https://fonts.googleapis.com/css?family=Poppins:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i');
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    overflow-x: hidden;
    background-color: #f9f9f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Header */

header {
    display: flex;
    color: #fff;
    padding: 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    max-width: 100vw;
    overflow-x: auto;
    box-sizing: border-box;
}

h1 {
    margin: 0;
    color: #333;
    padding-right: 20px;
    text-align: center;
}

h2 {
    font-size: 35px;
    color: #1f698c
}


/* Container and row styles */

.container {
    max-width: 1170px;
    margin: auto;
    color: #333;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

ul {
    list-style: none;
}


/* Footer */

.footer {
    background-color: #1D6989;
    padding: 20px 0;
    margin-top: 20px;
}

.footer-col {
    width: 25%;
    padding: 0 15px;
}

.footer-col h4 {
    font-size: 18px;
    color: #ffffff;
    text-transform: capitalize;
    margin-bottom: 35px;
    font-weight: 500;
    position: relative;
}

.footer-col h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: #00A5CC;
    height: 2px;
    box-sizing: border-box;
    width: 50px;
}

.footer-col ul li:not(:last-child) {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 16px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 300;
    color: #fefe;
    display: block;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
    padding-left: 8px;
}

.footer-col .social-links a {
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 10px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.5s ease;
}

.footer-col .social-links a:hover {
    color: #24262b;
    background-color: #1D6989;
}


/* Media Query pour les appareils mobiles */

@media (max-width: 767px) {
    .footer-col {
        width: 100%;
        margin-bottom: 30px;
    }
    .container {
        padding: 0 15px;
    }
    .footer-col h4 {
        margin-bottom: 15px;
    }
    .footer-col .social-links {
        text-align: center;
    }
}


/* Media Query pour les tablettes */

@media only screen and (max-width: 768px) {
    .footer {
        padding: 20px 0;
    }
    .footer-col {
        width: 100%;
        margin-bottom: 30px;
        text-align: center;
    }
    .footer-col ul li a {
        font-size: 14px;
    }
    .footer-col .social-links a {
        margin: 5px;
        width: 35px;
        height: 35px;
        line-height: 35px;
    }
    .footer-col h4 {
        margin-bottom: 20px;
    }
    .footer-col h4::before {
        width: 30px;
        bottom: -5px;
    }
    .copyright_text {
        font-size: 14px;
        padding-top: 10px;
    }
}


/* Copyright section */

.copyright_section {
    width: 100%;
    height: auto;
    /* Ajuste automatiquement en fonction du contenu */
    background-color: #1D6989;
    overflow: hidden;
    /* Assure que rien ne dépasse */
}

.copyright_text {
    width: 100%;
    font-size: 16px;
    text-align: center;
    color: #ffffff;
    background-color: #1D6989;
    border-top: 2px solid #00A5CC;
    padding: 20px 0;
    /* Ajustement du padding pour mieux remplir la section */
    margin: 0;
    /* Supprime les marges pour éviter les espaces inutiles */
}

.copyright_text a {
    color: #ffffff;
    background-color: #1D6989;
}

.copyright_text a:hover {
    color: #ff0000;
}


/* Navigation */

nav {
    width: 100%;
    margin: 0 auto;
    background-color: #ffffff;
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

nav ul {
    display: flex;
    list-style-type: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

nav ul li {
    display: flex;
    align-items: center;
    margin-right: 20px;
    position: relative;
}

nav ul li a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000;
    border-bottom: 2px solid transparent;
    margin-right: none;
    padding: 20px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: #00A5CC;
    border-bottom: 2px solid #00A5CC;
}

nav a .logo {
    width: 160px;
    height: auto;
    margin-right: 10px;
    margin-left: 30px;
    /* Ajoute de l'espace à gauche du logo */
}


/* Styles pour l'icône 🌐 */

.langue img.logo {
    width: 20px;
    /* Adjust the size as needed */
    height: auto;
}


/* Styles pour les sous-menus */

.sous {
    display: none;
    box-shadow: 0px 1px 2px #CCC;
    background-color: #4c86a1;
    position: absolute;
    top: 100%;
    width: 180px;
    /* Ajustez la largeur selon vos besoins */
    padding: 0;
    text-align: center;
    /* Centrer le texte horizontalement */
}

nav ul li:hover .sous {
    display: block;
}

.sous li {
    float: none;
    width: 100%;
    text-align: left;
}

.sous a {
    padding: 6px;
    border-bottom: none;
}

.sous a:hover {
    border-bottom: none;
    background-color: RGBa(200, 200, 200, 0.1);
}


/* Styles pour le menu hamburger et sous-menus sur les écrans de téléphone */

@media (max-width: 768px) {
    /* Affichage du menu hamburger */
    .menu-toggle {
        display: block;
        cursor: pointer;
        font-size: 24px;
        margin-right: 20px;
        /* Ajustez l'espacement */
    }
    nav {
        padding: 0 10px;
        /* Réduction du padding horizontal sur mobile */
    }
    nav ul {
        display: none;
        /* Cache le menu principal par défaut */
        flex-direction: column;
        width: 100%;
        background-color: #ffffff;
    }
    nav.active ul {
        display: flex;
        /* Affiche le menu principal lorsque le bouton hamburger est cliqué */
    }
    nav ul li {
        position: relative;
        width: 100%;
        margin-right: 5px;
        /* Réduit l'espace entre les éléments du menu */
    }
    nav ul li a {
        padding: 15px 5px;
        /* Réduction du padding des liens */
    }
    /* Sous-menus sur les petits écrans */
    .sous {
        position: absolute;
        /* Position absolue pour afficher le sous-menu à gauche du menu principal */
        right: 100%;
        /* Afficher le sous-menu à gauche du menu principal */
        top: 0;
        /* Alignement avec le menu principal */
        width: 150px;
        /* Largeur du sous-menu */
        margin-right: 0;
        /* Réinitialiser les marges */
        padding: 0;
        display: none;
        /* Cacher le sous-menu par défaut */
    }
    .langue:hover .sous-langue {
        display: block;
    }
}


/* Styles pour l'icône Hamburger */

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
}


/* Styles pour la version mobile */

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
    }
    nav ul {
        display: none;
        flex-direction: column;
        width: 150px;
        /* Largeur du menu à droite */
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #ffffff;
        box-shadow: -2px 0px 5px rgba(0, 0, 0, 0.1);
    }
    nav ul li {
        margin: 0;
        width: 100%;
        text-align: left;
    }
    nav ul li a {
        width: 100%;
        padding: 10px 20px;
    }
    nav ul.active {
        display: flex;
    }
}


/* Slideshow styles */

.slideshow-container {
    position: relative;
    width: 100%;
    height: 480px;
    margin: 0;
    overflow: hidden;
}

.slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s, transform 5s;
    overflow: hidden;
}

.slide.active {
    display: block;
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 5s;
}


/* Slow zoom effect */

.slide.active img {
    transform: scale(1.1);
}


/* Color overlay */

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}


/* Side shadow effect */

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient( 90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 0) 90%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
    z-index: 2;
}


/* Subtle shadow */

.slide {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}


/* Slide progress indicators */

.slide-progress {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot:hover,
.dot.active {
    background-color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .slide img {
        object-fit: contain;
    }
    .controls {
        padding: 10px;
    }
    .prev,
    .next {
        padding: 10px;
    }
    .dot {
        width: 10px;
        height: 10px;
    }
}


/* Slide transition animation */

@keyframes fadeZoom {
    from {
        opacity: 0;
        transform: scale(1.1);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.slide.active {
    animation: fadeZoom 1s ease-out;
}

.btn-en-savoir-plus {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-en-savoir-plus:hover {
    background-color: #0056b3;
}

.content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 40px;
    /* Ajustez selon vos besoins */
}

.section-faq {
    background-color: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
}

.section-faq .content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.section-faq .image-container {
    width: 100%;
    height: auto;
    overflow: hidden;
    border: 2px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.section-faq .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.section-faq .text-faq {
    flex: 1;
    text-align: left;
}

.section-faq .paragraphs {
    margin-top: 20px;
    text-align: justify;
}

.section-faq .text-faq h2 {
    color: #333;
    text-align: center;
}

.section-faq .paragraphs p {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.6;
    color: #555;
}

.section-categories {
    padding: 80px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.section-categories h1 {
    margin-bottom: 40px;
    font-size: 2.5em;
    color: #333;
}

.categories-wrapper {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.category {
    flex: 1;
    max-width: 45%;
    min-width: 300px;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
    margin: 0 10px;
}

.category h2 {
    margin-bottom: 20px;
    color: #333;
}

.category img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.category p {
    margin-bottom: 20px;
    color: #666;
}

.btn-en-savoir-plus {
    display: inline-block;
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-en-savoir-plus:hover {
    background-color: #555;
}


/* Media queries pour une meilleure responsivité */

@media screen and (max-width: 768px) {
    .categories-wrapper {
        flex-direction: column;
    }
    .category {
        max-width: 100%;
    }
}

.section-produits {
    background-color: #f9f9f9;
    padding: 80px 0;
    color: #333;
}

.produits-wrapper {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.produit {
    text-align: center;
    margin-bottom: 30px;
    max-width: 300px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.produit img {
    width: 100%;
    border-radius: 8px;
}

.produit h2 {
    font-size: 1.5rem;
    margin-top: 10px;
}

.produit p {
    font-size: 1rem;
    color: #666666;
    margin-bottom: 15px;
}

.btn-voir-produit {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-voir-produit:hover {
    background-color: #0056b3;
}

.section-blog {
    padding: 80px 0;
}

.articles-wrapper {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.article {
    text-align: center;
    margin-bottom: 30px;
    max-width: 300px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.article img {
    width: 100%;
    border-radius: 8px;
}

.article h2 {
    font-size: 1.5rem;
    margin-top: 10px;
}

.article p {
    font-size: 1rem;
    color: #666666;
    margin-bottom: 15px;
}

.btn-lire-article {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-lire-article:hover {
    background-color: #0056b3;
}

.category {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.category h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.category img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.category p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.category .btn-en-savoir-plus {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.category .btn-en-savoir-plus:hover {
    background-color: #0056b3;
}

.section-bain {
    width: 100%;
    padding: 20px;
    background-color: #f8f8f8;
}

.category {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.category h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.category img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.category p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.sub-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.sub-categories li {
    width: 30%;
    margin-bottom: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
}

.sub-categories h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.sub-categories img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.sub-categories p {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 15px;
}


/* Styles spécifiques pour les petits écrans */

@media (max-width: 768px) {
    .sub-categories li {
        width: 45%;
        /* Ajuste la largeur des éléments pour qu'ils s'adaptent mieux sur les tablettes */
    }
}

@media (max-width: 480px) {
    .sub-categories li {
        width: 100%;
        /* Les éléments occupent toute la largeur de l'écran sur les téléphones mobiles */
        margin-bottom: 20px;
        /* Réduit l'espace entre les éléments */
        padding: 15px;
        /* Réduit le padding pour s'adapter à l'écran */
    }
    .sub-categories h3 {
        font-size: 18px;
        /* Ajuste la taille du texte des sous-catégories */
    }
    .sub-categories p {
        font-size: 14px;
        /* Ajuste la taille du texte du paragraphe */
    }
}

.btn-en-savoir-plus {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-en-savoir-plus:hover {
    background-color: #0056b3;
}

#contact {
    padding: 40px 20px;
    background-color: #f9f9f9;
}

#contact .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

#contact h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-info .info-item {
    flex: 1;
    min-width: 250px;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.contact-info .info-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.contact-info .info-item p {
    font-size: 1em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-info .info-item p img {
    margin-right: 10px;
}

.contact-form {
    margin-bottom: 40px;
}

.contact-form h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.contact-form .form-group label {
    display: block;
    font-size: 1em;
    margin-bottom: 5px;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button {
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.contact-form button:hover,
.contact-form button:focus {
    background-color: #555;
}

#map-container {
    text-align: center;
}

#references {
    padding: 40px 20px;
    background-color: #f9f9f9;
}

#references .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

#references h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

#references p {
    font-size: 1em;
    margin-bottom: 40px;
}

.references-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.reference-item {
    flex: 1;
    min-width: 250px;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: medium;
}

.reference-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.reference-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.reference-item p {
    font-size: 1em;
    margin-bottom: 10px;
}


/* Small devices (portrait smartphones) */

@media only screen and (max-width: 600px) {
    .container {
        grid-template-columns: 1fr;
        padding: 5px;
    }
    body {
        font-size: 0.9rem;
    }
}


/* Medium devices (landscape tablets) */

@media only screen and (min-width: 600px) and (max-width: 1024px) {
    .container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    body {
        font-size: 1rem;
    }
}


/* Large devices (desktops) */

@media only screen and (min-width: 1024px) {
    .container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    body {
        font-size: 1.1rem;
    }
}

* {
    -webkit-overflow-scrolling: touch;
}

.element-scrollable {
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
}

#change-language {
    font-size: 24px;
    /* Ajustez la taille du caractère selon vos besoins */
    padding: 20px;
    text-decoration: none;
    color: #000;
}

#change-language:hover {
    color: #00A5CC;
}


/* Style pour le bouton de changement de langue */

.langue {
    position: relative;
    /* Nécessaire pour positionner le sous-menu correctement */
}

.langue .sous-langue {
    display: none;
    position: absolute;
    top: 100%;
    width: 100px;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.langue:hover .sous-langue {
    display: block;
}

.sous-langue li {
    width: 150px;
    /* Ajustez la largeur du sous-menu si nécessaire */
}

.sous-langue a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #000;
}

.sous-langue a:hover {
    background-color: #f0f0f0;
}


/* Style du bouton de téléchargement */

.btn-catalogue {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-catalogue:hover {
    background-color: #555;
}

.btn-catalogue i {
    margin-right: 0.5rem;
}

/* SECTION COMPTE */
.section-compte {
    padding: 50px 20px;
    background: #f4f4f4;
    text-align: center;
}

.section-compte h1 {
    margin-bottom: 30px;
    font-size: 2.5em;
    color: #1D6989;
}

.form-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.form-container form {
    background: white;
    padding: 20px;
    border-radius: 15px;
    width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-container input {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.form-container button {
    background-color: #1D6989;
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.form-container button:hover {
    background-color: #14516b;
}
