/* Réinitialisation des styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Styles globaux */
body {
    margin: 0;
    margin-left: 10%; /* Marge à gauche pour toutes les pages */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f7f4;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #8b4513; /* Marron */
}

/* Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.menu-list {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.menu-list a {
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

.menu-list a:hover {
    color: #8b4513;
}

.languages {
    display: flex;
    gap: 0.5rem;
}

.languages img {
    width: 24px;
    height: 16px; /* Hauteur fixe pour uniformiser les proportions */
    object-fit: cover; /* Conserve les proportions */
}

/* Main content */
main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    margin-bottom: 3rem;
}

h1 {
    font-size: 2.5rem;
    color: #8b4513;
    margin-bottom: 1rem;
    text-align: center;
}

h2 {
    font-size: 2rem;
    color: #8b4513;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #8b4513;
    padding-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    text-align: justify;
}

/* Image de présentation */
.presentation-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin: 1rem 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Cartes des gîtes */
.gites-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gite-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gite-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gite-card h3 {
    color: #8b4513;
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5rem;
    background-color: #8b4513;
    color: #fff;
    margin-top: 2rem;
}

/* Responsive : Mobile */
@media (max-width: 768px) {
    header {
        padding: 1rem;
    }

    .menu-toggle {
        display: block;
    }

    .menu-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        padding: 1rem;
        z-index: 1000;
    }

    .menu-list.active {
        display: flex;
    }

    .menu-list li {
        padding: 0.5rem 0;
    }

    .languages {
        margin-top: 1rem;
    }

    main {
        padding: 1rem;
    }

    .gites-container {
        grid-template-columns: 1fr;
    }
}