/* Image d'arrière-plan */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background: url('images/background.png') no-repeat center center fixed;
    background-size: cover;
    color: #505050; /* Couleur du texte pour la lisibilité */
}

/* Contenu principal */
main {
    background-color: rgba(255, 255, 255, 0.3); /* Fond semi-transparent */
    border-radius: 10px; /* Coins arrondis */
    padding: 20px;
    margin: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* Ombre subtile */
}

a {
    color: #6D4C41; /* Brun foncé */
    font-weight: bold;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.7); /* Fond semi-transparent */
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    display: inline-block; /* Empêche le texte de chevaucher */
    margin: 5px 0; /* Ajoute de l'espace au-dessus et en dessous */
    transition: background-color 0.3s ease, color 0.3s ease;
}

a:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: #8B5E54; /* Brun plus clair au survol */
}
/* Formulaire de contact */
/* Conteneur du formulaire */
.content-form {
    margin: 20px auto;
    padding: 20px; /* Espace interne pour aérer le contenu */
    max-width: 600px; /* Largeur maximale pour le formulaire */
    background-color: rgba(255, 228, 218, 0.7); /* Rose-pêche pastel transparent */
    border-radius: 10px; /* Coins arrondis */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Ombre subtile */
    border: 1px solid rgba(255, 173, 150, 0.6); /* Bordure rose-pêche */
}

/* Champs de formulaire */
.content-form input,
.content-form textarea {
    width: 100%; /* Champs prennent toute la largeur du formulaire */
    padding: 10px; /* Espace interne pour confort d’écriture */
    margin-bottom: 15px; /* Espace entre chaque champ */
    border: 1px solid rgba(200, 200, 200, 0.5); /* Bordure subtile */
    border-radius: 5px; /* Coins arrondis */
    font-size: 1em; /* Taille du texte dans les champs */
    background-color: rgba(245, 245, 245, 0.8); /* Fond légèrement transparent */
    box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.1); /* Ombre interne subtile */
    color: #333333; /* Couleur du texte */
    box-sizing: border-box; /* Inclut le padding dans la largeur */
}

/* Effet de focus */
.content-form input:focus,
.content-form textarea:focus {
    background-color: rgba(255, 255, 255, 0.9); /* Fond blanc opaque au focus */
    border-color: #FF6347; /* Bordure orange vif au focus */
    outline: none; /* Supprime le contour par défaut */
}

/* Bouton d’envoi */
.content-form .submit-button {
    width: 100%; /* Bouton prend toute la largeur */
    padding: 10px; /* Hauteur confortable */
    background-color: #FF6347; /* Orange pastel */
    color: white; /* Texte blanc */
    font-size: 1.2em; /* Taille légèrement plus grande pour le bouton */
    font-weight: bold; /* Texte en gras */
    border: none; /* Pas de bordure */
    border-radius: 5px; /* Coins arrondis */
    cursor: pointer; /* Curseur pointeur */
    transition: background-color 0.3s ease, transform 0.1s ease; /* Transition fluide */
}

.content-form .submit-button:hover {
    background-color: #FF4500; /* Orange vif au survol */
}

.content-form .submit-button:active {
    transform: scale(0.98); /* Effet de pression */
}


/* Carte Google Maps */
.content-map iframe {
    width: 100%;
    max-width: 600px;
    height: 450px;
    border: 0;
    display: block;
    margin: 0 auto; /* Centré */
}

/* Section Nom des professionnels */
.content-name {
    margin-bottom: 20px;
    font-size: 1.2em;
    text-align: center;
}

.content-title {
    display: flex; /* Positionne l'icône et le texte en ligne */
    align-items: center; /* Centre verticalement */
    justify-content: center; /* Centre horizontalement */
    margin: 25px 0 20px; /* Ajoute un espacement en haut pour éviter le chevauchement */
}

/* Conteneur principal */
.content {
    padding: 20px;
    max-width: 800px; /* Limite la largeur totale du contenu */
    margin: 0 auto; /* Centre horizontalement le contenu */
}

/* Titre principal */
.content-title h1 {
    font-size: 2.5em;
    font-weight: bold;
    color: #FF6347;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin: 20px auto; /* Évite les débordements */
}

/* Titre principal spécifique pour la page Conventionnement */
.content-title h1.small-title {
    font-size: 2em; /* Taille réduite uniquement pour ce titre */
    font-weight: bold;
    color: #FF6347; /* Orange doux */
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin: 20px auto; /* Évite les débordements */
    padding: 0 10px; /* Ajoute de l'espace latéral */
    word-wrap: break-word; /* Permet d'éviter les débordements de mots longs */
}


/* Sous-titre */
.content-description h2 {
    font-size: 1.8em; /* Taille légèrement réduite */
    color: #FF4500; /* Orange vif */
    text-align: center;
    margin: 10px 0;
}

.content-description p {
    font-size: 1em;
    text-align: center;
    color: #505050; /* Texte gris */
    margin: 10px 0;
}

//* Section Contact */
.content-contact h3 {
    font-size: 1.5em;
    text-align: center;
    color: #FF6347;
}

.content-contact p {
    text-align: center;
    font-size: 1em;
    color: #505050;
}

/* Adresse dans la section Contact */
.content-contact address {
    font-style: normal; /* Supprime l’italique */
    color: #505050; /* Couleur principale */
    font-size: 1em; /* Taille standard pour les écrans larges */
    line-height: 1.5; /* Espacement standard */
    text-align: center; /* Centré */
}

.content-location address {
    font-style: normal; /* Supprime l'italique par défaut */
    color: #505050; /* Harmonise avec le style global */
    font-size: 1em; /* Taille classique */
    line-height: 1.5; /* Espacement agréable */
    text-align: center; /* Centre l'adresse */
}

/* Icône alignée avec le titre */
.icon-container {
    font-size: 1.5em;
    margin-right: 10px;
    vertical-align: middle;
    color: #FF4500;
}

/* Image stylisée */
.content-image {
    text-align: center; /* Centre l'image horizontalement */
    margin-top: 20px;
}

.content-image img.responsive-image {
    max-width: 100%; /* Image responsive */
    height: auto; /* Respecte les proportions */
    border-radius: 10px; /* Coins arrondis */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Ombre subtile */
}


/* Bouton téléphone */
.phone-button {
    display: inline-block;
    color: white;
    background-color: #FF4500; /* Orange vif pour attirer l'attention */
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none; /* Pas de soulignement */
    padding: 10px 15px;
    border-radius: 8px; /* Coins arrondis pour un aspect moderne */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* Ombre subtile */
    transition: background-color 0.3s ease, transform 0.1s ease;
}

/* Bouton email */
.email-button {
    display: inline-flex; /* Assure que l'icône et le texte restent sur la même ligne */
    align-items: center; /* Centre verticalement l'icône et le texte */
    color: white;
    background-color: #87BECF; /* Bleu pastel */
    font-size: 1em; /* Taille légèrement réduite */
    font-weight: bold;
    text-decoration: none;
    padding: 8px 12px; /* Ajuste l'espacement interne */
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.email-button:hover {
    background-color: #A4D4D9;
    text-decoration: underline;
}

.email-button:active {
    transform: scale(0.95);
}


/* Page de confirmation */
.content-success {
    text-align: center;
    margin: 20px auto;
    padding: 30px;
    max-width: 600px;
    background-color: rgba(255, 228, 218, 0.7); /* Rose-pêche pastel transparent */
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Ombre subtile */
    border: 1px solid rgba(255, 173, 150, 0.6); /* Bordure harmonisée */
}

.content-success h1 {
    font-size: 2.5em;
    color: #FF6347; /* Orange pastel */
    margin-bottom: 20px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1); /* Ombre subtile */
}

.content-success p {
    font-size: 1.2em;
    color: #505050; /* Gris pour un bon contraste */
    margin-bottom: 20px;
}

.content-success .button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FF6347; /* Orange pastel */
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.content-success .button:hover {
    background-color: #FF4500; /* Orange vif */
    transform: scale(1.05); /* Zoom léger */
}


/* Bouton hamburger */
.hamburger-menu {
    position: fixed;
    top: 10px;
    left: 10px;
    background: #87BECF;
    border-radius: 8px;
    color: white;
    width: 40px;
    height: 40px;
    font-size: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.hamburger-menu:hover {
    background: #A4D4D9;
}

/* Bouton "Fermer" */
.close-menu {
    position: absolute;
    top: 10px;
    left: 10px;
    background: none;
    border: 2px solid #6D4C41;
    border-radius: 50%;
    font-size: 1.2em;
    color: #6D4C41;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-menu:hover {
    background: #F9CBBE;
    color: #FFFFFF;
}

.close-menu:active {
    transform: scale(0.9);
    background: #FFB07D;
    border-color: #5A3A31;
}

/* Menu déroulant */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 200px;
    height: 100%;
    background-color: #F9CBBE;
    border-radius: 0 10px 10px 0;
    color: #505050;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

/* Alignement des éléments du menu */
nav ul {
    margin-top: 50px;
    padding: 0;
    list-style: none;
}

nav ul li {
    padding: 10px 20px;
    text-align: left;
}

nav ul li a {
    color: #6D4C41; /* Couleur brun clair */
    font-size: 1em; /* Taille légèrement augmentée */
    text-decoration: none; /* Pas de soulignement */
    display: block; /* Chaque lien occupe toute la largeur */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); /* Ombre subtile */
    transition: color 0.3s ease; /* Transition fluide */
}


nav ul li a:hover {
    color: #FF6347;
}


/* Liens du menu hamburger */
.nav-menu a {
    color: #505050; /* Gris foncé */
    background-color: transparent;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px; /* Espacement à droite ajusté */
    display: block;
    text-align: left;
    margin: 5px 0;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #FF6347; /* Orange doux */
    background-color: rgba(255, 255, 255, 0.1);
}


/* Affichage du menu */
nav:not(.hidden) {
    transform: translateX(0);
}

.hidden {
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}




/* Media queries */
@media (max-width: 480px) {
    .content-contact address {
        font-size: 1.2em; /* Taille pour mobile */
        line-height: 1.8;
        color: #333333; /* Contraste suffisant pour la lisibilité */
        text-align: center;
        padding: 15px;
        background-color: rgba(248, 228, 216, 0.8); /* Beige doux légèrement transparent */
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Ombre subtile */
        border-radius: 10px; /* Coins arrondis */
        border: 1px solid rgba(255, 173, 150, 0.5); /* Bordure inspirée des tons rose-pêche */
    }
}