/* CSS: styles.css */

body {
    font-family: 'Ubuntu', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #fff;
}

header {
    background-color: #8fd3e6;
    padding: 0px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #8fd3e6;
}

.logo img {
    height: 50px;
    width: auto;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    background-color: #8fd3e6;
    position: relative;
}

nav ul li {
    position: relative;
    margin: 0 20px;
    font-size: 12px;
}

nav ul li a {
    color: #191919;
    text-decoration: none;
    font-weight: bold;
    padding: 15px;
    display: block;
    transition: background 0.3s;
}

nav ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.menu-toggle {
    display: none;  /* Cacher par défaut */
}
/* Pour la version mobile */
@media screen and (max-width: 768px) {
    /* Menu mobile : afficher / masquer */
    nav ul {
        display: none;  /* Cacher le menu par défaut */
        flex-direction: column;
        background-color: #f8f9fb;
        position: absolute;
        top: 60px;
        left: 0;  /* Forcer le menu à être aligné à gauche */
        width: 100%; /* S'assurer que le menu occupe toute la largeur */
        z-index: 1001;
    }

    /* Afficher le menu lorsqu'il a la classe 'show' */
    nav ul.show {
        display: block;  /* Afficher le menu */
    }

    nav ul li {
        margin: 10px 0;
        text-align: left;  /* Aligner les éléments du menu à gauche */
        font-size: 14px;
    }

    nav ul li a {
        padding: 10px;
        display: block;
        font-size: 16px;
    }

    /* Sous-menus - cachés par défaut */
    nav ul li ul.submenu {
        display: none;  /* Cacher les sous-menus */
        position: relative;  /* Position relative pour le sous-menu */
        top: 0;
        left: 0;  /* Sous-menu aligné à gauche du parent */
        background-color: #121212;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        width: 200px;
    }

    /* Afficher le sous-menu lorsque le parent a la classe 'active' */
    nav ul li.active > ul.submenu {
        display: block;  /* Afficher le sous-menu */
    }

    /* Icône du menu hamburger visible uniquement sur mobile */
    .menu-toggle {
        display: block;
        cursor: pointer;
        font-size: 24px;
        color: #1c1919;
        position: absolute;  /* Positionner l'icône à droite */
        right: 20px;  /* Décaler l'icône du bord droit de 20px */
        top: 20px;  
    }

    /* S'assurer que le menu est bien aligné à gauche dans le conteneur */
    .nav-container {
        display: flex;
        justify-content: flex-start; /* Aligner tout le contenu du menu à gauche */
        align-items: flex-start;  /* Assurer l'alignement au-dessus */
        padding: 10px 20px;
        width: 100%;
    }

    /* Logo, ajuster selon ta préférence */
    .logo img {
        height: 40px;
        width: auto;
    }
}



/* Submenu */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #0A192F;
    list-style: none;
    padding: 10px 0;
    min-width: 200px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 1px;
    z-index: 1000;
}

nav ul li:hover .submenu {
    display: block;
}

.submenu li {
    margin: 0;
    text-align: left;
}

.submenu li a {
    padding: 12px 15px;
    color: #fff;
    display: block;
    transition: background 0.3s;
    font-size: 12px;
    font-weight: bold;
}

.submenu li a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hero {
    background: #8fd3e6;
    text-align: center;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 70px;
}


.hero-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: left;
}
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: lighter;
    color: #fff;
}

.hero-container img {
    max-width: 700px;
    height: auto;
}

.hero2 {
    background: url("/gallou.jpg") center/cover no-repeat;
    height: 500px; /* Ajuste selon besoin */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}
.hero2-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: left;
}
@media (max-width: 768px) {
    .hero2-container {
        flex-direction: column;
        text-align: center;
    }
}

.hero2 h1 {
    font-size: 2.5rem;
    font-weight: lighter;
    color: #fff;
}



.hero3 {
    background: url("/maestro_solo.jpg") center/cover no-repeat;
    height: 600px; /* Ajuste selon besoin */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.herospa {
    background: url("/spa_clairazur.jpg") center/cover no-repeat;
    height: 600px; /* Ajuste selon besoin */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.herosolista {
    background: url("/solista.jpg") center/cover no-repeat;
    height: 600px; /* Ajuste selon besoin */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.overlay {
    background: rgba(0, 0, 0, 0.5); /* Assombrit l'image pour mieux voir le texte */
    padding: 20px;
    border-radius: 5px;
}

.hero3 h1 {
    font-size: 2.5rem;
    font-weight: lighter;
    color: white;
    z-index: 2;
}




.herotrait {
    background: #a1e68f;
    text-align: center;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 70px;
    height: 400px; /* Ajuste selon besoin */
}


.herotrait-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: left;
}
@media (max-width: 768px) {
    .herotrait-container {
        flex-direction: column;
        text-align: center;
    }
}

.herotrait h1 {
    font-size: 2.5rem;
    font-weight: lighter;
    color: #fff;
}

.herotrait-container img {
    max-width: 450px;
    height: auto;
}





.slogan {
    background: #e0e0e0;
    text-align: center;
    padding: 30px 20px;
    font-size: 1.5rem;
    font-weight: lighter;
    color: #333;
}
.sloganfaq {
    background: #e0e0e0;
    text-align: center;
    padding: 30px 20px;
    font-size: 1.5rem;
    font-weight: lighter;
    color: #333;
    margin-top: 70px;
}

.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 50px 20px;
    justify-content: center;
}

@media (max-width: 1024px) {
    .products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .products {
        grid-template-columns: repeat(1, 1fr);
    }
}

.products article {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.products article h2 {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 5px;
}
.products article p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 5px;
}

.products article ul {
    list-style-type: disc;
    padding-left: 20px;
    text-align: left;
    font-size: 0.8rem;
    color: #555;
}

.products article ul li {
    margin-bottom: 5px;
}

.products article:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
}

.products img {
    max-width: 100px;
    height: auto;
    margin-bottom: 15px;
}

.product-details {
    padding: 50px 20px;
}

.product-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 5%;
    gap: 50px;
}

.gray-bg {
    background-color: #f5f5f5;
}

.white-bg {
    background-color: #ffffff;
}

.product-row img {
    max-width: 40%;
    height: auto;
}

.product-text {
    max-width: 50%;
}

.product-text h2 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

.product-text p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    text-align: justify;
}

.learn-more {
    display: inline-block;
    margin-top: 15px;
    color: #8fd3e6;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}

.learn-more:hover {
    color: #334c97;
}

@media (max-width: 1024px) {
    .product-row {
        flex-direction: column;
        text-align: center;
    }
    .product-row img {
        max-width: 80%;
    }
    .product-text {
        max-width: 100%;
    }
}

.interoperability {
    padding: 60px 20px;
    background: #f9f9f9;
    text-align: center;
}

.interoperability-header {
    margin-bottom: 40px;
}

.interoperability-header h2 {
    font-size: 1.5rem;
    color: #333;
}

.interoperability-header p {
    font-size: 1.2rem;
    color: #666;
}

.interop-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 20px 0;
    justify-content: center;
}

@media (max-width: 1024px) {
    .interop-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .interop-content {
        grid-template-columns: repeat(1, 1fr);
    }
}

.interop-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 250px;
    transition: transform 0.3s ease-in-out;
}

.interop-item:hover {
    transform: translateY(-5px);
}

.interop-item img {
    max-width: 80px;
    height: auto;
    margin-bottom: 15px;
}

.interop-item h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}

.interop-item p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

.remote-access {
    background: #fff;
    padding: 50px 20px;
    margin-top: 40px;
    text-align: center;
}

.remote-access h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.remote-access p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 20px;
}

.remote-access ul {
    list-style: none;
    padding: 0;
}

.remote-access ul li {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
    padding-left: 20px;
    text-align: left;
    display: inline-block;
    width: 100%;
    position: relative;
}

.remote-access ul li::before {
    content: '\2714';
    color: #8fd3e6;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.compatibility {
    background: #f9f9f9;
    padding: 50px 20px;
    margin-top: 40px;
    text-align: center;
}

.compatibility h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.compatibility p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 20px;
}

.compatibility ul {
    list-style: none;
    padding: 0;
}

.compatibility ul li {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
    padding-left: 20px;
    text-align: left;
    display: inline-block;
    width: 100%;
    position: relative;
}

.compatibility ul li::before {
    content: '\2714';
    color: #8fd3e6;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Section Pro avec Texte à Gauche et Bouton à Droite */
.pro {
    background: #8fd3e6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 60px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.pro p {
    margin: 0;
    flex: 1;
    text-align: left;
}

.rectangle-button {
    display: inline-block;
    padding: 15px 30px;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    font-weight: lighter;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    font-size: 1.2rem;
}

.rectangle-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

footer {
    background-color: #111211;
    text-align: center;
    padding: 15px 0;
    margin-top: 30px;
    color: #fff;
}
/* page calculateur */


.calculateur {
    background: #8fd3e6;
    text-align: center;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 70px;
}
.container {
    max-width: 600px;
    margin: auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.container p {
    font-size: 1rem;
    color: #faf7f7;
    line-height: 1.8;
    text-align: justify;
}
.equipment {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.price {
    font-size: 24px;
    font-weight: bold;
    color: #e4f5fc;
    margin-top: 20px;
}

/* page contact */
.form-group {
    margin-top: 15px;
    text-align: left;
}
label {
    display: block;
    font-weight: bold;
}
input, textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
button {
    margin-top: 15px;
    padding: 10px 20px;
    border: none;
    background-color: #2a1c30;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}
button:hover {
    background-color: #0077A8;
}

.interface {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 50px 20px;
    justify-content: center;
}

@media (max-width: 1024px) {
    .interface {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .interface {
        grid-template-columns: repeat(1, 1fr);
    }
}

.interface article {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.interface article h2 {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 5px;
}
.interface article p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 5px;
}

.interface article ul {
    list-style-type: disc;
    padding-left: 20px;
    text-align: left;
    font-size: 0.8rem;
    color: #555;
}

.interface article ul li {
    margin-bottom: 5px;
}

.interface article:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
}

.interface img {
    max-width: 200px;
    height: auto;
    margin-bottom: 15px;
}

.interface-details {
    padding: 50px 20px;
}

.interface-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 5%;
    gap: 50px;
}

/* Style du modal */
#modal {
    position: fixed;
    top: 10;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Fond noir semi-transparent */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* Contenu du modal */
.modal-content {
    position: relative;
    background: rgba(0, 0, 0, 0.6); /* Ajoute une légère opacité pour lisibilité */
    padding: 20px;
    text-align: center;
    border-radius: 8px;
}

/* Bouton de fermeture */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 25px;
    color: white;
    cursor: pointer;
}

/* Titre du modal */
.modal-title {
    color: white;
    font-size: 24px;
    margin-bottom: 15px;
}

/* Ajustement du GIF */
.modal-gif {
    width: 40%; /* Ajuste la taille du GIF selon tes besoins */
}
/* Style du conteneur vidéo */
       
/* Conteneur de la section avec la vidéo */
.video-section {
    position: relative;
    width: 100%;
    height: 500px; /* Ajuste la hauteur selon tes besoins */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

/* Vidéo en arrière-plan */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-section-spa {
    position: relative;
    width: 100%;
    height: 900px; /* Ajuste la hauteur selon tes besoins */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contenu au-dessus de la vidéo */
.video-content {
    position: relative;
    z-index: 1;
    font-size: 24px;
    font-family: Arial, sans-serif;
    background: rgba(0, 0, 0, 0.4); /* Ajoute une légère opacité pour lisibilité */
    padding: 20px;
    border-radius: 10px;
}

/* Conteneur principal */
.tech-section {
    max-width: 1200px;
    margin: auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Disposition en deux colonnes */
.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Chaque colonne */
.tech-column {
    flex: 1;
    min-width: 300px;
}

/* Titres des catégories */
.tech-title {
    font-size: 18px;
    font-weight: bold;
    color: #004080;
    margin-top: 12px;
    margin-bottom: 8px;
    border-bottom: 2px solid #004080;
    padding-bottom: 5px;
}

/* Tableau technique */
.tech-table {
    width: 100%;
    border-collapse: collapse;
}

.tech-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #ddd;
}

.tech-table td:first-child {
    font-weight: bold;
    width: 60%;
}

/* Responsive : passage en une colonne sur mobile */
@media (max-width: 768px) {
    .tech-grid {
        flex-direction: column;
    }
}



.contact {
    background: #d3d3d3;
    text-align: center;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 70px;
}
.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.container p {
    font-size: 1rem;
    color: #0e0e0e;
    line-height: 1.8;
    text-align: justify;
}
.equipment {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.price {
    font-size: 24px;
    font-weight: bold;
    color: #2f2f2f;
    margin-top: 20px;
}

/* page contact */
.form-group {
    margin-top: 15px;
    text-align: left;
}
label {
    display: block;
    font-weight: bold;
}
input, textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
button {
    margin-top: 15px;
    padding: 10px 20px;
    border: none;
    background-color: #2a1c30;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}
button:hover {
    background-color: #0077A8;
}

.faq-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    background: #8fd3e6;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #0086c3;
}

.faq-answer {
    display: none;
    padding: 15px;
    background: white;
    border-left: 4px solid #8fd3e6;
    border-radius: 5px;
    margin-top: 5px;
    line-height: 1.6;
    font-size: 0.95rem;
    color: #444;
}

.faq-answer p {
    margin: 5px 0;
}

.toggle-icon {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

/* Animation pour afficher les réponses */
.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

.pump-compatibility {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.pump-compatibility h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

#searchPump {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

th {
    background: #8fd3e6;
    color: white;
    text-transform: uppercase;
}

tbody tr:nth-child(odd) {
    background: #f2f2f2;
}

tbody tr:hover {
    background: rgba(0, 174, 239, 0.2);
}

.comparison-table {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.comparison-table h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: center;
    font-size: 1rem;
}

th {
    background: #8fd3e6;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
}

.price {
    font-size: 0.9rem;
    color: #002F5E;
    display: block;
    margin-top: 5px;
    font-weight: normal;
}

td:first-child {
    font-weight: bold;
    text-align: left;
    background: #EAF6FB;
}

tbody tr:nth-child(odd) {
    background: #f2f2f2;
}

tbody tr:hover {
    background: rgba(0, 174, 239, 0.2);
}

/* Icônes checkmarks */
.checkmark {
    font-size: 1.5rem;
    color: #8fd3e6;
    font-weight: bold;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    th, td {
        padding: 10px;
        font-size: 0.9rem;
    }
}