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

/* Variables globales */
:root {
    --primary-color: #4a6741;
    --secondary-color: #8b9e83;
    --accent-color: #e6a65d;
    --warm-glow: #ffd700;
    --text-color: #333;
    --light-bg: #ffffffc9;
    --white: #ffffff;
    --warm-bg: #faf6f1;
}

html {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

main {
    flex: 1;
    background-color: var(--warm-bg);
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: normal;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: auto;
}

.nav-links li {
    display: block;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: normal;
    transition: color 0.3s ease;
    font-size: 1rem;
    display: block;
}

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

.btn-reservation {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-reservation:hover {
    background-color: var(--secondary-color);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 60px 20px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40vh;
    background-color: var(--warm-bg);
}

.hero-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center;
}

.hero-content h2 {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.2;
}

.hero-content p {
    font-size: clamp(0.9rem, 3vw, 1.3rem);
    margin: 0 auto;
    max-width: 700px;
    padding: 0 10px;
    line-height: 1.5;
}

@media screen and (max-width: 768px) {
    .hero {
        padding-top: 80px;
    }
    
    .hero-content {
        padding: 0 10px;
    }
}

@media screen and (max-width: 480px) {
    .hero-content {
        padding: 0 5px;
    }
}

/* Video Section */
.video-section {
    width: 100%;
    padding: 1rem 0;
    background-color: var(--warm-bg);
    text-align: center;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.video-container video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.video-container video:hover {
    transform: scale(1.01);
}

/* Media queries */
@media screen and (max-width: 768px) {
    /* Navigation */
    .navbar {
        padding: 0.5rem 3%;
    }

    .nav-links {
        position: fixed;
        right: 0;
        height: 100vh;
        top: 0;
        background-color: var(--white);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 70%;
        transform: translateX(100%);
        transition: transform 0.3s ease-in;
        padding-top: 60px;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .burger {
        display: block !important;
        z-index: 1000;
    }
}

/* Small phones */
@media screen and (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.8rem;
        padding: 0 10px;
        margin: 0 5px;
        max-width: calc(100% - 10px);
    }

    .hero-content p {
        font-size: 0.9rem;
        padding: 0 10px;
        max-width: calc(100% - 20px);
    }
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 5%;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Burger Menu pour Mobile */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Animation pour le menu burger */
.nav-active {
    transform: translateX(0%);
}

/* Styles pour la page de réservation */
.reservation-container {
    display: flex;
    flex-direction: column; /* Empile les enfants verticalement */
    align-items: center; /* Centre les enfants horizontalement */
    gap: 2rem; /* Espace entre les cards */
    padding: 2rem 1rem; /* Un peu d'aération autour */
    max-width: 900px; /* Limite la largeur maximale sur grand écran */
    margin: 0 auto; /* Centre le conteneur lui-même */
}

.calendar-card,
.info-card,
.form-all {
    width: 100%; /* Les cards prennent toute la largeur disponible dans le conteneur */
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Styles pour la nouvelle info-card, reprenant ceux de tarifs.css si besoin */
/* La règle vide .info-card .additional-info a été supprimée pour corriger un lint. */

.info-card .info-grid {
    display: grid;
    grid-template-columns: 1fr; /* Une seule colonne par défaut pour mobile */
    gap: 1.5rem;
}

.info-card .info-section h3, /* Ajustement pour le h3 dans info-card */
.info-card .info-section h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.info-card .info-section ul {
    list-style: none;
    padding-left: 0;
}

.info-card .info-section ul li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card .info-section ul li i {
    color: var(--primary-color);
}

/* Pour les écrans plus larges, on peut remettre les info-sections côte à côte */
@media screen and (min-width: 768px) {
    .info-card .info-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 2 colonnes si assez de place */
    }
}
