/* LODGE/Savannah/static/css/pages.css */

/* =========================================
   1. STRUCTURES UNIVERSELLES / GÉNÉRALES
   (Ces styles définissent le format "Bannière Interne" standard pour tout le site)
   ========================================= */

.hero-page {
    height: 334px;
    background-color: #5C5648; /* Couleur de fond de sécurité */
    
    /* L'image de fond est gérée directement dans le HTML de chaque page */
    background-size: cover;
    background-position: center;
    background-attachment: scroll; 
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    position: relative;
}

.hero-page-content {
    position: relative;
    z-index: 2;
}

.hero-page h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 10px;
    text-shadow: 0 4px 4px rgba(0,0,0,0.9);
}

.hero-page p {
    font-size: 1.1rem;
    max-width: 700px;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0,0,0,0.9);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Responsive Universel pour la bannière */
@media (max-width: 1024px) {
    .hero-page { height: 250px; }
    .hero-page h1 { font-size: 2.2rem; }
}


/* =========================================
   2. PAGE: THE LODGE (Styles Spécifiques)
   (Ces styles ne s'appliquent qu'au contenu unique de la page lodge.html)
   ========================================= */

/* Structure Zig-Zag (Texte / Image) */
.lodge-content-row {
    display: flex;
    align-items: center;
    gap: 80px;
}

/* Colonne Texte */
.lodge-text-column {
    flex: 1;
}

/* Décoration du titre H2 (trait vert) */
.lodge-text-column h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--safari-green);
    margin-top: 15px;
}

/* Colonne Image */
.lodge-image-column {
    flex: 1;
    position: relative;
}

/* Images spécifiques au layout du Lodge */
.lodge-image-column img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Classe utilitaire pour inverser l'ordre (Image à gauche) */
.lodge-row-reverse {
    flex-direction: row-reverse;
}

/* Grille des équipements (Amenities) */
.lodge-amenities-grid {
    list-style: none;
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.lodge-amenities-grid li {
    position: relative;
    padding-left: 25px;
    color: #666;
    font-size: 0.95rem;
}

.lodge-amenities-grid li::before {
    content: '•';
    color: var(--safari-green);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

/* Responsive spécifique au contenu Lodge */
@media (max-width: 1024px) {
    .lodge-content-row, .lodge-row-reverse {
        flex-direction: column;
        gap: 40px;
    }

    .lodge-image-column img {
        height: 350px;
    }
    
    .lodge-text-column h2::after { margin: 15px auto 0 auto; }
    .lodge-text-column { text-align: center; }
    .lodge-amenities-grid { display: inline-grid; text-align: left; }
}


/* =========================================
   3. PAGE: ACCOMMODATIONS (Styles Spécifiques)
   (Ces styles ne s'appliquent qu'au contenu unique de la page accommodations.html)
   ========================================= */

/* --- Disposition des Chambres (Zig-Zag) --- */
.acco-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.acco-row:last-child { margin-bottom: 0; }

.acco-image { flex: 1; position: relative; }

.acco-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.acco-content { flex: 1; }

.acco-reverse { flex-direction: row-reverse; }

.acco-content h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--earth-dark);
    margin-bottom: 10px;
}

.acco-price {
    display: inline-block;
    font-size: 1.1rem;
    color: #a13607;
    font-weight: bold;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

/* Liste des équipements spécifiques à la chambre */
.room-features {
    list-style: none;
    margin: 20px 0 30px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.room-features li {
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: center;
}

.room-features li::before {
    content: '✓';
    color: var(--safari-green);
    font-weight: bold;
    margin-right: 10px;
}

/* --- Section "Inclus Partout" --- */
.general-amenities {
    background-color: #a13607;
    color: var(--white);
    text-align: center;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.amenity-item h4 {
    color: var(--safari-gold);
    margin-bottom: 10px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.amenity-item p {
    font-size: 0.9rem;
    opacity: 0.8;
    color: #DDD;
}

/* --- Responsive Accommodations --- */
@media (max-width: 1024px) {
    .acco-row, .acco-reverse { flex-direction: column; gap: 30px; margin-bottom: 60px; }
    .acco-image img { height: 300px; }
    .acco-content { text-align: center; }
    .room-features { display: inline-grid; text-align: left; }
}

/* LODGE/Savannah/static/css/pages.css (PARTIE À AJOUTER À LA FIN) */

/* =========================================
   4. PAGE: EXPERIENCES (Styles Spécifiques)
   (Ces styles ne s'appliquent qu'au contenu unique de la page experiences.html)
   ========================================= */

/* --- Structure Zig-Zag pour les Expériences --- */
.exp-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px; /* Espace généreux entre chaque activité */
}

/* Suppression de la marge pour le dernier élément */
.exp-row:last-child {
    margin-bottom: 0;
}

/* Colonne Image */
.exp-image {
    flex: 1;
    position: relative;
}

.exp-image img {
    width: 100%;
    height: 400px; /* Hauteur fixe pour l'harmonie */
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Colonne Texte */
.exp-content {
    flex: 1;
}

/* Inversion pour le rythme visuel (droite/gauche) */
.exp-reverse {
    flex-direction: row-reverse;
}

/* Titres des activités */
.exp-content h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--earth-dark);
    margin-bottom: 15px;
}

/* Mise en avant (Couleur Brique #a13607) */
.exp-highlight {
    display: inline-block;
    font-size: 1rem;
    color: #a13607; 
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border-bottom: 1px solid #a13607;
    padding-bottom: 5px;
}

.exp-content p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.8;
}

/* Liste de détails (petits points) */
.exp-details {
    list-style: none;
    margin-bottom: 30px;
}

.exp-details li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    color: #666;
    font-style: italic;
}

.exp-details li::before {
    content: '•';
    color: var(--safari-green);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* RESPONSIVE EXPERIENCES */
@media (max-width: 1024px) {
    .exp-row, .exp-reverse {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
    }
    
    .exp-image img {
        height: 300px;
    }

    .exp-content {
        text-align: center;
    }
    
    /* Alignement de la liste au centre sur mobile */
    .exp-details {
        display: inline-block;
        text-align: left;
    }
}



/* =========================================
   5. PAGE: DINING (Styles Spécifiques)
   (Ces styles ne s'appliquent qu'au contenu unique de la page dining.html)
   ========================================= */

/* --- Structure Zig-Zag pour le Dining --- */
.dining-row {
    display: flex;
    align-items: center;
    gap: 70px;
    margin-bottom: 100px;
}

.dining-row:last-child {
    margin-bottom: 0;
}

/* Colonne Image */
.dining-image {
    flex: 1;
    position: relative;
}

.dining-image img {
    width: 100%;
    height: 450px; /* Un peu plus haut pour apprécier les détails food/déco */
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Colonne Texte */
.dining-content {
    flex: 1;
}

.dining-reverse {
    flex-direction: row-reverse;
}

/* Typographie */
.dining-content h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--earth-dark);
    margin-bottom: 15px;
}

/* La touche "Brique" (#a13607) pour les sous-titres */
.dining-highlight {
    display: inline-block;
    font-size: 1rem;
    color: #a13607; 
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border-bottom: 1px solid #a13607;
    padding-bottom: 5px;
}

.dining-content p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.8;
}

/* Liste stylisée pour les détails culinaires */
.dining-features {
    list-style: none;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Sur 2 colonnes si possible */
    gap: 10px;
}

.dining-features li {
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
}

.dining-features li::before {
    content: '♦'; /* Petit losange élégant */
    color: var(--safari-green);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* RESPONSIVE DINING */
@media (max-width: 1024px) {
    .dining-row, .dining-reverse {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 60px;
    }
    
    .dining-image img {
        height: 300px;
    }

    .dining-content {
        text-align: center;
    }
    
    .dining-features {
        display: inline-grid; 
        text-align: left;
    }
}


/* LODGE/Savannah/static/css/pages.css (PARTIE À AJOUTER À LA FIN) */

/* =========================================
   6. PAGE: GALLERY (Styles Spécifiques)
   (Ces styles ne s'appliquent qu'au contenu unique de la page gallery.html)
   ========================================= */

/* --- 1. Navigation des Filtres --- */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: 2px solid transparent; /* Bordure invisible pour la stabilité */
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    cursor: pointer;
    padding: 8px 16px;
    transition: all 0.3s ease;
    border-radius: 20px;
}

.filter-btn:hover, .filter-btn.active {
    color: var(--earth-dark);
    border-color: var(--safari-green);
}

/* --- 2. Grille de Photos (Masonry / Grid) --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    cursor: pointer;
    height: 300px; /* Hauteur uniforme */
}

/* Effet au survol : Zoom léger */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Overlay (filtre) au survol avec l'icône loupe */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(56, 52, 44, 0.4); /* Marron transparent */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-size: 2rem;
    border: 2px solid var(--white);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- 3. Lightbox (La fenêtre modale) --- */
#lightbox {
    display: none; /* Caché par défaut */
    position: fixed;
    z-index: 3000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(255,255,255,0.1);
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 45px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: var(--safari-green);
    text-decoration: none;
    cursor: pointer;
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

/* --- Responsive Gallery --- */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    .lightbox-content {
        width: 95%;
    }
}



/* =========================================
   7. PAGE: CONTACT (Styles Spécifiques)
   (Ces styles ne s'appliquent qu'au contenu unique de la page contact.html)
   ========================================= */

/* --- Layout Grille Principal --- */
.contact-container {
    display: flex;
    gap: 60px;
    margin-bottom: 80px;
}

/* Colonne Gauche : Formulaire */
.contact-form-col {
    flex: 3; /* Prend plus de place */
}

/* Colonne Droite : Infos & Accès */
.contact-info-col {
    flex: 2;
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    height: fit-content;
}

/* --- Styles du Formulaire --- */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--earth-dark);
    font-size: 0.95rem;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #CCC;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: 0.3s;
    background-color: #F9F9F9;
}

.form-input:focus, .form-textarea:focus {
    border-color: var(--safari-green);
    background-color: var(--white);
    outline: none;
}

.form-textarea {
    height: 150px;
    resize: vertical;
}

/* --- Styles de la Colonne Info --- */
.info-block {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.info-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--earth-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.info-title::before {
    content: ''; 
    display: block;
    width: 8px;
    height: 8px;
    background-color: #a13607; /* Couleur Brique */
    border-radius: 50%;
    margin-right: 10px;
}

.info-text p {
    margin-bottom: 10px;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-link {
    color: var(--earth-dark);
    font-weight: bold;
    text-decoration: none;
    border-bottom: 1px dotted #a13607;
}

/* LODGE/Savannah/static/css/pages.css (Mise à jour Section 7) */

/* ... (Garde les styles du formulaire et des infos au-dessus) ... */

/* --- Section Carte (Google Maps) Améliorée --- */
.map-section-wrapper {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 80px auto; /* Centré avec marge en bas */
}

/* Le cadre décoratif autour de la carte */
.map-frame {
    position: relative;
    padding: 15px; /* Espace entre le cadre doré et la carte */
    display: inline-block; /* S'adapte au contenu */
    width: 100%;
}

/* L'élément décoratif doré derrière */
.map-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid var(--safari-gold); /* Cadre doré */
    border-radius: calc(var(--radius) + 5px); /* Un peu plus arrondi que la carte */
    z-index: 0; /* Derrière la carte */
    box-shadow: 5px 5px 15px rgba(0,0,0,0.05); /* Ombre légère pour la profondeur */
}

/* Le conteneur de la carte lui-même */
.map-container {
    position: relative; /* Pour passer devant le cadre doré */
    z-index: 2;
    width: 100%;
    height: 450px;
    background-color: #e5e3df;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow); /* Ombre principale de la carte */
    border: 2px solid var(--white); /* Petite bordure blanche pour détacher du fond */
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive ajustement */
@media (max-width: 900px) {
    .map-container {
        height: 350px;
    }
    .map-frame {
        padding: 10px; /* Moins d'espace sur mobile */
    }
}

/* --- Section FAQ --- */
.faq-section {
    background-color: #EBE6D8; /* Fond légèrement beige pour séparer */
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.faq-item h4 {
    color: #a13607; /* Couleur Brique pour les questions */
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.faq-item p {
    font-size: 0.95rem;
    color: #555;
}

/* --- Responsive Contact --- */
@media (max-width: 900px) {
    .contact-container {
        flex-direction: column-reverse; /* Infos passent au-dessus sur mobile pour l'accès rapide */
        gap: 40px;
    }
    
    .contact-info-col {
        padding: 30px;
    }
    
    .map-container {
        height: 300px;
    }
}