/* --- Variables et Reset --- */
:root {
    --primary-color: #3b533d;
    /* Vert forêt */
    --secondary-color: #c9a27e;
    /* Bois chaud */
    --bg-color: #fdfdfc;
    --bg-light: #f5f3ef;
    --text-color: #333333;
    --font-heading: 'Lora', serif;
    --font-body: 'Nunito', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

/* --- Typographie --- */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
}

/* --- Boutons --- */
.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 600;
}

.btn:hover {
    background-color: #b08d6d;
}

/* --- Header et Navigation --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* Menu Burger (Mobile) */
.burger {
    display: none;
    cursor: pointer;
}

.burger .line {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px;
    transition: all 0.3s;
}

/* --- Accueil (Hero) --- */
.hero {
    height: 100vh;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
    margin-top: 60px;
}

.hero-content h1 {
    color: white;
    font-size: 4rem;
    margin-bottom: 10px;
}

.hero-content h2 {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Diaporama Héro */
.hero-slideshow {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 600px;
    margin: 0 auto 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background-color: transparent;
}

.hero-slideshow .slide,
.secondary-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slideshow .slide.active,
.secondary-slideshow .slide.active {
    opacity: 1;
}

.hero-slideshow img,
.secondary-slideshow img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

/* --- Layouts Généraux --- */
.content-split {
    display: flex;
    gap: 40px;
    align-items: center;
}

.content-split p {
    margin-bottom: 15px;
}

.amenities-card {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    border-top: 4px solid var(--primary-color);
    flex: 1;
}

.amenities-card ul {
    list-style-position: inside;
    margin-top: 15px;
}

.amenities-card li {
    margin-bottom: 10px;
}

.text-content {
    flex: 2;
}

.image-placeholder {
    flex: 1;
    height: 400px;
    background-color: #ddd;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
}

/* --- Grille Info (Bien Vivre) --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-box {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.info-box h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* --- Tarifs --- */
.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.price-card {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}

.price-card.featured {
    border: 2px solid var(--secondary-color);
    transform: scale(1.05);
}

.price-card h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.price span {
    font-size: 1rem;
    font-weight: normal;
    color: #777;
}

/* --- Calendrier et Carte --- */
.calendar-container {
    margin-top: 50px;
    text-align: center;
}

.calendar-placeholder {
    background: #eaf1fa;
    padding: 10px;
    border-radius: 8px;
    border: 2px solid #7986cb;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.map-container {
    margin-top: 25px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* --- Contact & Formulaire (Centré) --- */
.contact-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.form-container {
    width: 100%;
    max-width: 600px;
}

.form {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-body);
}

.contact-centered .contact-info {
    max-width: 800px;
    margin-top: 30px;
}

.contact-details-horizontal {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    list-style: none !important;
    padding: 0;
    font-size: 1.2rem;
    flex-wrap: wrap;
}

.contact-details-horizontal li {
    list-style-type: none !important;
}

/* --- Footer --- */
footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 20px;
}

/* =========================================
   FIX POUR LES PHOTOS A COTE DE LA CARTE 
   (N'affecte que cette section)
   ========================================= */
.interior-photos {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Ecarte les photos pour s'aligner sur la carte */
}

.interior-photos .photo-box img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================================
   ADAPTATION POUR LES MOBILES (RESPONSIVE)
   ========================================= */
@media screen and (max-width: 768px) {

    /* Navigation */
    .nav-links {
        position: absolute;
        right: 0px;
        height: 100vh;
        top: 60px;
        background-color: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.3s ease-in;
        padding-top: 50px;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    }

    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .burger {
        display: block;
    }

    /* Autres éléments Mobile */
    .hero-content h1,
    .hero h1,
    .content-section h1 {
        font-size: 2rem;
    }

    .content-split {
        flex-direction: column;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .price-card.featured {
        transform: scale(1);
    }

    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .logo-container {
        flex-direction: column;
        text-align: center;
    }

    .slider-container {
        height: 250px;
        margin-top: 30px;
    }

    .content-section {
        padding: 40px 20px;
    }

    /* Rendre les diaporamas visibles sur mobile */
    .secondary-slideshow {
        width: 100% !important;
        max-width: 100% !important;
        height: 300px !important;
        min-height: 300px !important;
        flex: none !important;
        margin-bottom: 20px !important;
    }

    .secondary-slideshow .slide img {
        object-fit: cover !important;
    }

    /* Ajustement des photos à côté de la carte sur mobile */
    .interior-photos .photo-box {
        height: 250px !important;
        /* Donne une belle taille aux photos sur mobile */
    }
}