/*
Theme Name: Le Logis d'Eve
Author: Votre Nom
Description: Thème WordPress sur mesure pour Le Logis d'Eve, Gîte & Chambre d'hôtes[cite: 2].
Version: 1.0
*/

:root {
    --primary-green: #2D5A50; /* Vert du logo  */
    --accent-brown: #6B2D1E;  /* Marron du texte secondaire [cite: 2] */
    --light-bg: #FCFAF7;
    --text-dark: #333333;
}

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    font-family: 'Lora', serif;
	padding-top: 110px !important; /* Augmenté de 110px à 150px pour libérer le breadcrumb */
}

/* --- Style de la Barre de Navigation (PC) --- */

/* Augmente la hauteur globale de la barre */
.navbar {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

/* Le Logo (Le logis d'Eve) */
.navbar-brand {
    font-family: 'Dancing Script', cursive;
    color: var(--primary-green) !important;
    font-weight: 400;
    font-size: 2.5rem !important; /* Agrandissement sur PC */
    margin-right: 2rem;
}

/* Les liens du menu (Accueil, Chambre d'hôtes, etc.) */
.navbar-nav .nav-link {
    font-size: 1.15rem; /* Police plus grande */
    font-weight: 500;
    color: var(--primary-green) !important;
    padding-left: 1.2rem !important; /* Elargit l'espace entre les liens */
    padding-right: 1.2rem !important;
    transition: color 0.3s;
}

/* --- Style Spécifique Mobile (< 992px) --- */
@media (max-width: 991.98px) {
	
	body {
        padding-top: 90px !important; /* Augmenté de 90px à 120px */
    }
	
    .navbar-brand {
        font-size: 2rem !important; /* Plus visible sur mobile */
    }
    
    .navbar-nav .nav-link {
        font-size: 1.3rem; /* Police encore plus grande dans le menu déplié */
        padding: 12px 0 !important;
        border-bottom: 1px solid rgba(0,0,0,0.05); /* Petite ligne de séparation */
    }

    .lang-switcher-header img {
        width: 30px !important; /* Drapeaux plus gros pour suivre la taille du texte */
    }
}

.btn-booking {
    background-color: var(--accent-brown);
	font-size: 1.1rem !important;
    color: white;
    border-radius: 30px;
    padding: 12px 25px;
    transition: 0.3s;
}

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

.section-title {
    color: var(--primary-green);
    font-family: 'Playfair Display', serif;
}

/* Nouvelle classe CTA Marron */
.btn-cta {
    background-color: var(--accent-brown) !important; /* Marron #6B2D1E */
    color: #ffffff !important;
    border: none;
    /* On garde exactement la même police et taille que btn-light */
    font-family: 'Lora', serif; 
    transition: all 0.3s ease-in-out;
}

/* Effet au survol : Fond blanc, texte noir */
.btn-cta:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}


/* Agrandissement des drapeaux Polylang */
.lang-switcher-header ul {
    padding-left: 0;
    display: flex;
    gap: 10px;
}

.lang-switcher-header li {
    list-style: none;
}

.lang-switcher-header img {
    width: 28px !important; /* Plus gros pour mobile */
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.lang-switcher-header img:hover {
    transform: scale(1.1);
}

/* Ajustement spécifique mobile */
@media (max-width: 991px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    .lang-switcher-header {
        margin-right: 10px;
    }
}

/* Hauteur augmentée pour des images plus imposantes */
.gallery-container {
    height: 300px; 
}

.transition-img {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* Suppression du bleu des titres */
.link-hover {
    color: var(--primary-green) !important; /* Force le vert au lieu du bleu link */
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin-top: 15px;
    display: block;
    transition: color 0.3s ease;
    text-decoration: none !important;
}

/* Changement de couleur au survol (devient marron) */
.group-hover:hover .link-hover {
    color: var(--accent-brown) !important;
}

/* Accentue l'arrondi pour un côté plus "cosy" */
.rounded-4 {
    border-radius: 1.2rem !important;
}

.opacity-hover {
    transition: opacity 0.3s ease;
}

.opacity-hover:hover {
    opacity: 0.7;
    color: white !important;
}

/* --- PERSONNALISATION FAQ (SANS BLEU) --- */

/* Couleur du texte et fond de la question ouverte */
.accordion-button:not(.collapsed) {
    color: var(--primary-green) !important;
    background-color: #fcfaf7 !important; /* Crème léger pour l'ouverture */
    box-shadow: none !important;
}

/* Suppression de l'ombre bleue au clic (focus) */
.accordion-button:focus {
    border-color: var(--primary-green) !important;
    box-shadow: 0 0 0 0.25rem rgba(45, 71, 51, 0.1) !important; /* Lueur verte très légère */
}

/* Couleur de l'icône (flèche) quand c'est ouvert */
.accordion-button:not(.collapsed)::after {
    filter: sepia(100%) saturate(500%) hue-rotate(90deg); /* Transforme le bleu en vert */
}

/* Optionnel : changement de couleur au survol */
.accordion-button:hover {
    color: var(--accent-brown) !important;
}

/* --- STYLISATION DES ARTICLES DU BLOG --- */

/* Titres H2 en vert forêt */
.entry-content h2 {
    color: var(--primary-green) !important;
    font-family: serif;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Liens dans le texte en vert avec soulignement élégant */
.entry-content a {
    color: var(--primary-green) !important;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Effet au survol des liens */
.entry-content a:hover {
    color: var(--accent-brown) !important;
    text-decoration-color: var(--accent-brown);
}

/* Empêche le débordement horizontal sur tout le site */
html, body {
    overflow-x: visible !important;
    width: 100%;
    position: relative;
}

/* Stabilise les rangées Bootstrap sur mobile */
.row {
    margin-right: 0;
    margin-left: 0;
}

/* Ajustement pour la barre de réservation mobile */
@media (max-width: 767.98px) {
    body {
        /* On évite que le contenu touche la barre de réservation en bas */
        padding-bottom: 80px !important;
    }
    
    .pagination-container {
        /* On remonte un peu la pagination pour qu'elle reste bien visible */
        margin-bottom: 40px;
    }
	
	/* Force la navbar à rester bien en haut sans jitter */
    .navbar.sticky-top {
        top: 0;
        width: 100%;
    }
}



