/* Style général */
body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(to right, #004d00, #002d66); /* Dégradé du vert foncé au bleu */
    margin: 0;
    padding: 20px;
    color: #ffffff; /* Texte blanc pour contraste */
}

/* En-tête */
header {
    text-align: left;
    padding: 20px;
    position: relative;
}

#header-logo {
    position: absolute;
    right: 30px;
    top: 20px;
    width: 18vw; /* Taille réactive en fonction de la largeur de l’écran */
    height: auto;
}

/* Bienvenue */
.welcome-section {
    text-align: left;
    margin: 20px 0;
}

.welcome-section h2 {
    font-size: 36px;
    color: #ffffff; /* Blanc pour le titre */
    margin: 0;
}

.welcome-section p {
    font-size: 20px;
    line-height: 1.5;
    margin: 5px 0;
}

/* À propos de nous */
.about-container {
    background-color: #ffffff;
    color: #333333; /* Texte en noir pour le contraste */
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.about-container h2 {
    font-size: 24px;
    color: #004d00;
}

.about-container p {
    font-size: 16px;
    line-height: 1.5;
}

/* Services */
.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.service-card {
    background-color: #ffffff;
    color: #333333; /* Texte en noir pour contraste */
    border-radius: 8px;
    margin: 10px;
    padding: 10px;
    text-align: center;
    width: 250px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    font-size: 20px;
    color: #2C3E50;
}

.service-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Pourquoi nous */
.pourquoi-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.pourquoi-item {
    background-color: #ffffff;
    color: #333333; /* Texte noir */
    border-radius: 8px;
    margin: 10px;
    padding: 10px;
    text-align: center;
    width: 180px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.pourquoi-item h3 {
    font-size: 18px;
    color: #004d00; /* Vert foncé */
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    color: #080808;
    background: linear-gradient(to right, #004d00, #002d66);
}

.modal-content {
    background-color: hsl(0, 0%, 97%);
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Contact */
#contact {
    background-color: #ffffff;
    color: #333333;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#contact h2 {
    color: #004d00;
    text-align: center;
}

#contact ul {
    list-style-type: none; /* Supprime les puces */
    padding: 0; /* Pas de rembourrage */
    margin: 0; /* Pas de marge */
    text-align: center; /* Centrer le texte */
}

#contact li {
    margin: 10px 0; /* Marge supérieure et inférieure */
    font-size: 18px; /* Taille de la police */
    color: #333; /* Couleur du texte */
    display: flex; /* Utiliser flexbox pour l'alignement */
    align-items: center; /* Aligner verticalement */
    justify-content: center; /* Centrer horizontalement */
}

#contact i {
    margin-right: 8px; /* Marge à droite des icônes */
    color: #004d00; /* Couleur des icônes */
    font-size: 20px; /* Taille des icônes */
}

#contact a {
    text-decoration: none; /* Supprime le soulignement */
    color: #004d00; /* Couleur du lien */
    transition: color 0.3s; /* Transition douce pour le changement de couleur */
}

#contact a:hover {
    color: #003300; /* Couleur du lien au survol */
}

#contact form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#contact label {
    font-weight: bold;
}

#contact input[type="text"],
#contact input[type="email"],
#contact textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

#contact button {
    background-color: #004d00;
    color: #ffffff;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#contact button:hover {
    background-color: #003300;
}

#contact p {
    text-align: center;
    margin-top: 10px;
}

/* Pied de page */
footer {
    text-align: center;
    margin-top: 20px;
    color: #ffffff;
}
