/* --- Styles spécifiques à la page Tarifs (fr-tarifs.php) --- */

/* Section Héro Tarifs */
.hero-tarifs {
    padding: 3rem 0;
    text-align: center;
}

.hero-tarifs h1 {
    font-size: 3em; /* Grande taille pour le titre principal */
    margin-bottom: 0.5rem;
    color: #333;
}

.hero-tarifs h2 {
    font-size: 1.5em; /* Sous-titre "1 à 4 personnes" */
    margin-bottom: 1.5rem;
    color: #555;
}

/* Picto Euro et Lignes (similaire au picto lit) */
.euro-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 20px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-icon-euro {
    font-size: 2.5em;
    color: #FFD700; /* Jaune or pour l'icône euro */
    margin: 0 15px;
    flex-shrink: 0;
}

.euro-icon-wrapper .line {
    flex-grow: 1;
    height: 2px;
    background-color: #FFD700;
    max-width: 50%;
}

/* Bouton "Demander un devis" */
.btn-primary {
    display: inline-block;
    background-color: #FFD700; /* Jaune or */
    color: #fff;
    padding: 15px 30px;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 2rem; /* Espace au-dessus du bouton */
}

.btn-primary:hover {
    background-color: #FFC400; /* Jaune légèrement plus foncé au survol */
    transform: translateY(-2px);
}

/* Galerie Nature (images alignées, disparaît sur mobile) */
.nature-gallery {
    padding: 3rem 0;
    overflow: hidden; /* Pour gérer les flottants si besoin, bien que grid le gère mieux */
}

.nature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colonnes pour desktop */
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.nature-item {
    width: 100%;
    height: 200px; /* Hauteur fixe pour l'uniformité */
    object-fit: cover; /* Assure que l'image couvre l'espace sans déformation */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Section Tarifs des Gîtes (tableau) */
.gite-tarifs-overview {
    padding: 3rem 0;
}

.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colonnes pour desktop */
    gap: 30px; /* Espacement entre les cartes de tarifs */
    margin-bottom: 3rem; /* Espace sous la grille des tarifs */
}

.gite-tarif-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.gite-tarif-card h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.6em;
}

.tarif-table-container {
    overflow-x: auto; /* Permet le défilement horizontal sur les petits écrans */
}

.gite-tarif-card table {
    width: 100%;
    border-collapse: collapse; /* Supprime les doubles bordures */
    margin-bottom: 1rem;
    font-size: 0.9em; /* Police légèrement plus petite pour les tableaux */
}

.gite-tarif-card th,
.gite-tarif-card td {
    border: 1px solid #eee;
    padding: 10px;
    text-align: center;
}

.gite-tarif-card th {
    background-color: #f8f8f8;
    color: #666;
    font-weight: bold;
}

/* Informations Complémentaires */
.additional-info {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    max-width: 800px; /* Limite la largeur */
    margin-left: auto;
    margin-right: auto;
}

.additional-info h3 {
    text-align: center;
    color: #333;
    margin-bottom: 1.5rem;
}

.additional-info ul {
    list-style: none; /* Supprime les puces par défaut */
    padding: 0;
    line-height: 1.8;
}

.additional-info li {
    margin-bottom: 0.8rem;
    font-size: 1em;
}

.additional-info li:last-child {
    margin-bottom: 0;
}


/* Cadre des exemples de tarification */
.example-box {
    background-color: #eef; /* Fond légèrement grisé bleu */
    border: 1px solid #ccd;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 2rem;
    font-style: italic; /* Texte en italique */
    font-size: 0.9em; /* Texte plus petit */
    line-height: 1.6;
    color: #555;
    max-width: 800px; /* Limite la largeur */
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.example-box h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: #444;
    font-size: 1.4em;
    font-style: normal; /* Le titre n'est pas en italique */
}

/* Lien "Demander un devis" en fin de page */
.contact-quote {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.1em;
    color: #333;
}

.btn-inline-link {
    color: #FFD700; /* Jaune or */
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.btn-inline-link:hover {
    color: #FFC400; /* Jaune plus foncé au survol */
    text-decoration: none;
}

/* Section 3 Images alignées */
.align-images-section {
    padding: 3rem 0;
    text-align: center; /* Pour centrer les images sur desktop si elles ne prennent pas toute la largeur */
}

.align-images-section .container {
    display: flex;
    flex-wrap: wrap; /* Pour empiler sur mobile */
    gap: 20px; /* Espacement entre les images */
    justify-content: center; /* Centre les images */
    max-width: 1000px; /* Limite la largeur max du conteneur d'images */
    margin-left: auto;
    margin-right: auto;
}

.aligned-image {
    flex: 1 1 calc(33.333% - 20px); /* 3 colonnes pour desktop */
    max-width: calc(33.333% - 20px);
    height: 250px; /* Hauteur fixe */
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Section Texte 3 Colonnes */
.three-columns-text-section {
    padding: 3rem 0;
}

.three-columns-text-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #444;
}

.three-columns-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colonnes */
    gap: 30px; /* Espacement entre les colonnes */
    max-width: 1000px; /* Limite la largeur max */
    margin: 0 auto;
}

.column-text {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.column-text p {
    font-size: 0.95em;
    line-height: 1.7;
}


/* --- Media Queries pour la Responsivité --- */

/* Pour les tablettes (largeur max 768px) */
@media (max-width: 768px) {
    .hero-tarifs h1 {
        font-size: 2.5em;
    }
    .hero-tarifs h2 {
        font-size: 1.3em;
    }
    .hero-icon-euro {
        font-size: 2em;
    }
    .btn-primary {
        padding: 12px 25px;
        font-size: 1em;
    }

    /* Galerie Nature (cachée sur mobile) */
    .nature-gallery {
        display: none; /* Cache toute la section nature sur tablette/mobile */
    }

    /* Tarifs des Gîtes - 1 colonne sur tablette */
    .tarifs-grid {
        grid-template-columns: 1fr; /* 1 colonne */
        gap: 20px;
    }

    /* 3 Images alignées - 1 colonne sur tablette */
    .align-images-section .container {
        flex-direction: column; /* Empile les images */
        align-items: center; /* Centre les images empilées */
    }

    .aligned-image {
        flex: 1 1 100%; /* Prend toute la largeur */
        max-width: 100%; /* S'assure qu'elle ne dépasse pas */
        height: 200px; /* Ajuste la hauteur sur mobile */
    }

    /* Texte 3 Colonnes - 1 colonne sur tablette */
    .three-columns-grid {
        grid-template-columns: 1fr; /* 1 colonne */
        gap: 20px;
    }
}

/* Pour les smartphones (largeur max 480px) */
@media (max-width: 480px) {
    .hero-tarifs h1 {
        font-size: 2em;
    }
    .hero-tarifs h2 {
        font-size: 1.2em;
    }
    .hero-icon-euro {
        font-size: 1.8em;
    }
    .btn-primary {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    /* Les tableaux de tarifs peuvent être plus compacts */
    .gite-tarif-card table {
        font-size: 0.8em;
    }

    .gite-tarif-card th,
    .gite-tarif-card td {
        padding: 8px;
    }

    /* Ajustement de la taille de texte pour les infos complémentaires et exemples */
    .additional-info li,
    .example-box p {
        font-size: 0.9em;
    }

    .example-box h3 {
        font-size: 1.2em;
    }

    .contact-quote {
        font-size: 1em;
    }
}

/* Cadre des informations sur les saisons */
.season-info-box {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 2rem; /* Espace sous ce cadre */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    max-width: 800px; /* Limite la largeur comme les autres cadres */
    margin-left: auto;
    margin-right: auto;
}

.season-info-box h3 {
    text-align: center;
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.5em; /* Taille du titre */
}

.season-info-box ul {
    list-style: none;
    padding: 0;
    line-height: 1.8;
}

.season-info-box li {
    margin-bottom: 0.8rem;
    font-size: 1em;
}

.season-info-box li:last-child {
    margin-bottom: 0;
}

/* Ajustement pour les Media Queries (optionnel) */
@media (max-width: 480px) {
    /* ... vos autres règles existantes ... */

    .season-info-box h3 {
        font-size: 1.3em;
    }

    .season-info-box li {
        font-size: 0.9em;
    }
}

