/* CSS: styles.css */

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

header {
    background-color: #060606;
    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: #060606;
}

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

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

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

nav ul li a {
    color: #fff;
    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);
}

/* Submenu */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #c6662c;
    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(11, 11, 11, 0.2);
}

.hero {
    background: #F7931E;
    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;
}

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

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


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


.herotrait-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: left;
}


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

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



@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
}

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

.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: #289eff;
    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: #F7931E;
    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: #F7931E;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Section Pro avec Texte à Gauche et Bouton à Droite */
.pro {
    background: #F7931E;
    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: #F7931E;
    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: #c6662c;
}

.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: 60%; /* 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-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: 1000px;
    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: #c6662c;
    margin-top: 12px;
    margin-bottom: 8px;
    border-bottom: 2px solid #c6662c;
    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: 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: #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: #c6662c;
}