/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    /*font-family: 'Cormorant Garamond';*/
}

body {
    background-color: #F5F5F5;
    color: #333333;
    line-height: 1.6;
    /*overflow-x: hidden; /* Désactive le défilement horizontal */
}

/* Polices */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* En-tête */
header {
    background-color: #2C2C2C;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 0.1rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, #8B9A7A, #D4A574, #8B9A7A);
    background-size: 100% 2px;
    margin: 2rem 0;
}

/* hr {
    border: none;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' fill='%23D4A574' opacity='.25'/%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.75,30.5,62.32,60.67,93.29,32.45,37.47-7.67,65.08-24.28,93.67-39.84,28.66-15.42,48.1-34.8,66.06-53.67C321.34,189.67,345.25,168.28,375,143.8c29.73-24.42,67.5-45.85,104.45-49.31C549.14,65.5,605.84,46.5,660.5,26.05c36.15-12.15,72.05-24.88,108.77-29.34,37.93-4.65,76.27,9.6,114.4,25.94,37.93,16.28,75.22,32.42,112.45,48.56C989.49,125,1113,145.47,1200,145.47V0Z' fill='%238B9A7A' opacity='.5'/%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' fill='%23D4A574'/%3E%3C/svg%3E");
    background-size: 100% 10px;
    background-repeat: no-repeat;
    margin: 2rem 0;
} */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fbde57;
    text-decoration: none;
}

.logo-img {
    height: 200px;
    width: auto; /* Conserve les proportions */
    margin-left: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #D4A574;
}

/* Section héro */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(44, 44, 44, 0.7), rgba(44, 44, 44, 0.7)), url('img/background-v2.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: #FFFFFF;
    padding-top: 8rem;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #fbde57;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.hero h3 {
    font-size: 2rem;
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.btn {
    display: inline-block;
    background-color: #fbde57;
    color: #444;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    transition: background-color 0.3s, transform 0.3s;
}

.btn:hover {
    background-color: #B8956A;
    transform: translateY(-2px);
}

/* Section À propos */
.about {
    padding: 6rem 0;
    background-color: #FFFFFF;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 600;
    color: #2C2C2C;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-text .me {
    margin: 1.1rem;
}

.about-text p {
    margin-bottom: 2rem;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    height: 50%;
    display: block;
    max-width: 100%; /* Empêche les images de dépasser la largeur de leur conteneur */
    display: block; /* Évite les espaces indésirables sous les images */
}

/* Section Services */
.services {
    padding: 5rem 0;
    background-color: #F5F5F5;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #8B9A7A;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-card i {
    font-size: 2.5rem;
    /* color: #8B9A7A; */
    color: #B8860B;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #2C2C2C;
}

.service-card p {
    color: #555;
}

/* Style pour les listes dans .service-card */
.service-card ul {
    list-style-type: none; /* Supprime les puces par défaut */
    padding: 0;
    margin: 0.5rem 0 0 0;
    text-align: left; /* Aligne le texte à gauche */
}

.service-card li {
    margin-bottom: 0.5rem; /* Espacement entre les éléments de la liste */
    padding-left: 1.2rem; /* Espacement pour l'icône ou l'indentation */
    position: relative; /* Permet de positionner les puces personnalisées */
    color: #555; /* Couleur du texte */
    font-size: 0.9rem;
}

.service-card li::before {
    content: "•"; /* Puce personnalisée */
    color: #8B9A7A; /* Couleur vert sage pour les puces */
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -0.1rem;
}

.service-card .price {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333333;
}

/* Galerie */
.gallery {
    padding: 5rem 0;
    background-color: #FFFFFF;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1rem;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: auto; /* Conserve la hauteur naturelle */
    max-height: 500px; /* Limite la hauteur maximale pour éviter les images trop grandes */
    object-fit: cover; /* Affiche toute l'image sans la couper (contrairement à "cover") */
    display: block;
}

/* Espace formulaire */
.form-section {
    padding: 5rem 0;
    background-color: #F5F5F5;
    text-align: center;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #8B9A7A;
}

.form-container h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
    color: #2C2C2C;
}

.form-container p {
    margin-bottom: 2rem;
    color: #555;
}

/* Style du formulaire */
form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

form div {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

form label {
    font-weight: 500;
    color: #2C2C2C;
    font-size: 0.9rem;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"] {
    padding: 0.8rem;
    border: 1px solid #8B9A7A;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #FFFFFF;
    color: #333333;
    transition: border-color 0.3s;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="tel"]:focus {
    outline: none;
    border-color: #D4A574;
}

form input[type="checkbox"] {
    margin-right: 0.5rem;
    accent-color: #D4A574; /* Couleur de la case cochée */
}

form div:last-of-type {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

form div:last-of-type label {
    font-size: 0.85rem;
    color: #555;
}

form button[type="submit"] {
    background-color: #D4A574;
    color: #FFFFFF;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    align-self: flex-start;
}

form button[type="submit"]:hover {
    background-color: #B8956A;
    transform: translateY(-2px);
}

/* Anti-spam caché */
form input[name="_gotcha"] {
    display: none;
}

/* Pied de page */
footer {
    background-color: #2C2C2C;
    color: #FFFFFF;
    padding: 2rem 0;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0rem;
}

.social-links a {
    color: #FFFFFF;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #D4A574;
}

/* Responsive */
@media (max-width: 768px) {
    /* Réinitialise les largeurs et marges */
    body {
        overflow-x: hidden;
    }

    .container {
        padding: 0 1rem;
        max-width: 100%;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 6rem;
        padding-bottom: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        max-width: 100%;
        padding: 0 1rem;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image img {
        height: auto;
    }

    .gallery-grid, .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gallery-item img {
        max-height: 250px; /* ou 300px si tu préfères */
        width: 100%;
        object-fit: contain;
    }

    .form-container {
        max-width: 100%;
        padding: 1.5rem;
    }

    .logo-img {
        height: 40px;
        max-width: 100%;
    }

    .nav-links {
        display: none; /* Cache les liens de navigation sur mobile */
    }
}