/* --- Variables & Reset --- */
:root {
    --color-primary: #2C5E4F;
    /* Vert Sapin */
    --color-secondary: #C08B5C;
    /* Bois clair / Camel */
    --color-bg: #ffffff;
    --color-bg-light: #f4f8f6;
    --color-text: #333333;
    --color-white: #ffffff;

    --font-heading: 'Merriweather', serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Utilitaires --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 70px 0;
}

.bg-light {
    background-color: var(--color-bg-light);
}

.bg-green {
    background-color: var(--color-primary);
    color: white;
}

.bg-dark {
    background-color: #1a1a1a;
}

.text-white {
    color: white;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-filled {
    background-color: var(--color-secondary);
    color: white;
    border: 2px solid var(--color-secondary);
}

.btn-filled:hover {
    background-color: #a37248;
    border-color: #a37248;
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--color-primary);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--color-primary);
}

.bg-dark .section-title h2 {
    color: white;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--color-secondary);
}

.btn-nav {
    background: var(--color-primary);
    color: white !important;
    padding: 8px 15px;
    border-radius: 4px;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--color-primary);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
    height: 85vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slogan {
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Intro --- */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.intro-text p {
    margin-bottom: 15px;
}

.distances-box {
    margin-top: 20px;
    padding: 15px;
    background: var(--color-bg-light);
    border-left: 4px solid var(--color-secondary);
    border-radius: 4px;
}

.distances-box p {
    margin: 5px 0;
    color: var(--color-primary);
}

.modern-image-container {
    width: 100%;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.modern-image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.modern-image-container:hover img {
    transform: scale(1.05);
}

/* --- Couchages --- */
.sleeping-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.sleep-card {
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-bottom: 4px solid var(--color-primary);
}

.sleep-card i {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 15px;
}

.sleep-card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* --- Galerie --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-item:hover img {
    transform: scale(1.05);
    opacity: 0.95;
}

.gallery-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
    color: white;
    padding: 20px;
    opacity: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: all 0.4s ease;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-size: 1.1rem;
}

.gallery-item:hover figcaption {
    opacity: 1;
}

/* --- Section Extérieur (Vert) --- */
.check-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-list i {
    color: var(--color-secondary);
}

/* --- Equipements --- */
.equip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.equip-cat h3 {
    color: var(--color-primary);
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.equip-cat ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.equip-cat ul li::before {
    content: "•";
    color: var(--color-secondary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* --- Activités --- */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.activity-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.activity-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.act-content {
    padding: 20px;
}

.act-content h3 {
    font-size: 1.1rem;
    color: var(--color-primary);
}

.act-content p {
    font-size: 0.9rem;
    color: #666;
}

/* --- Réservation Airbnb --- */
.airbnb-cta-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    background: white;
    border-radius: 12px;
    padding: 50px 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.airbnb-features {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.airbnb-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--color-text);
    min-width: 120px;
}

.airbnb-feature i {
    font-size: 2rem;
    color: var(--color-primary);
}

.btn-airbnb {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #FF5A5F;
    color: white;
    padding: 16px 45px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: background-color 0.3s, transform 0.2s;
}

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

.btn-airbnb i {
    font-size: 1.4rem;
}

/* --- Contact --- */
.contact-container {
    text-align: center;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.contact-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    min-width: 250px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-box i {
    font-size: 2rem;
    color: var(--color-secondary);
    margin-bottom: 15px;
}

.contact-box a {
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    transition: 0.3s;
}

.contact-box a:hover {
    color: var(--color-secondary);
}

/* --- Mobile --- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .intro-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-item img {
        height: 220px;
    }

    .gallery-item figcaption {
        opacity: 1;
        /* Always visible on mobile as hover doesn't exist */
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
        padding: 10px;
        font-size: 0.9rem;
    }

    .airbnb-features {
        gap: 25px;
    }

    .airbnb-cta-box {
        padding: 35px 20px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }
}