:root {
    --warm-beige: rgb(141, 121, 77);
    --soft-grey: rgb(186, 180, 142);
    --light-grey: rgb(222, 227, 216);
    --dark-charcoal: rgb(40, 40, 32);
    --muted-olive: rgb(79, 74, 54);
}

body {
    font-family: 'Arial', sans-serif;
    color: var(--dark-charcoal);
    background-color: var(--light-grey);
    margin: 0;
    padding: 0;
}

a {
    color: var(--warm-beige);
    text-decoration: none;
}

a:hover {
    color: var(--muted-olive);
}

header {
    background-color: var(--dark-charcoal);
    color: var(--light-grey);
    padding: 20px 0;
}

/* Stylisation des sous-menus */
.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

.navbar li {
    position: relative;
    margin: 0 20px;
}

/* Style du menu déroulant */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--soft-grey);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.9);
    z-index: 1;
}

.dropdown-content a {
    color: var(--dark-charcoal);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: var(--warm-beige);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropbtn {
    color: var(--warm-beige);
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    background-color: var(--dark-charcoal);
}

.dropdown:hover .dropbtn {
    background-color: var(--muted-olive);
}

.logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
}


.container {
    padding: 20px;
    background-color: var(--soft-grey);
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid var(--dark-charcoal);
}

button {
    background-color: var(--muted-olive);
    color: var(--light-grey);
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

button:hover {
    background-color: var(--warm-beige);
}


/* Main Content Styles */
.main-content {
    padding: 20px;
}

/* Form Styles */
#contact-form .form-group {
    margin-bottom: 20px;
}

#contact-form label {
    display: block;
    margin-bottom: 10px;
}

#contact-form input, #contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--dark-charcoal);
    border-radius: 5px; /* Ajout de bordures arrondies */
    box-sizing: border-box; /* Assure que le padding ne change pas la largeur */
}

#contact-form button {
    background-color: var(--muted-olive);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Transition pour l'effet de survol */
}

#contact-form button:hover {
    background-color: var(--warm-beige);
}

/* Alert Styles */
.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: var(--light-grey);
    color: var(--dark-charcoal);
}

.alert-danger {
    background-color: var(--muted-olive);
    color: var(--light-grey);
}


.alert {
    padding: 15px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: var(--light-grey);
    color: var(--dark-charcoal);
}

.alert-danger {
    background-color: var(--muted-olive);
    color: var(--light-grey);
}

.contact-banner {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    background-color: var(--soft-grey);
}

.contact-banner-item h4,
.contact-banner-item p {
    margin: 0;
    text-align: center;
}


/* Stylisation de la section de localisation */
.localisation {
    background-color: var(--soft-grey); /* Utilisation d'une couleur de fond */
    padding: 20px; /* Ajout d'un peu de padding pour l'espace */
    margin: 20px 0; /* Ajout d'un peu de marge pour séparer les sections */
    border-radius: 8px; /* Bordures arrondies pour un look moderne */
}

.localisation h2 {
    text-align: center; /* Centrer le titre de la section */
    color: var(--dark-charcoal); /* Couleur du texte */
    margin-bottom: 20px; /* Espacement après le titre */
}

/* Stylisation de l'image de la carte */
.localisation img {
    display: block; /* Assure que l'image est bien en block */
    max-width: 100%; /* Pour s'assurer que l'image ne dépasse pas de son conteneur */
    height: auto; /* Pour conserver les proportions de l'image */
    margin: 0 auto; /* Centrage de l'image dans le conteneur */
}

/* Ajout de styles pour les informations de contact sous la carte */
.localisation .contact-banner {
    display: flex; /* Utilisation de flexbox pour aligner les éléments côte à côte */
    justify-content: space-around; /* Espacement équitable entre les éléments */
    padding-top: 20px; /* Espace au-dessus de la première ligne d'éléments */
}

.localisation .contact-banner-item {
    text-align: center; /* Centrage du texte à l'intérieur de chaque élément */
}




/* Footer Styles */
footer {
    background-color: var(--dark-charcoal);
    color: var(--light-grey);
    padding: 20px 0;
    text-align: center;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0; /* Supprime les marges par défaut */
}

footer ul li {
    display: inline-block; /* Affiche les éléments de liste en ligne */
    margin: 0 10px;
}

footer ul li a {
    color: var(--light-grey);
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: var(--warm-beige);
}

footer p {
    margin-top: 20px; /* Ajoute un peu d'espace au-dessus du texte additionnel */
}
