/* Style global */

/* Toujours actif */

html, body {
    height: 100%; /* Assurer que le body prend toute la hauteur */
    /* font-family: 'Pattaya', sans-serif; */
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    margin: 0; /* Supprimer les marges par défaut du body */
    padding: 0; /* Supprimer le padding par défaut du body */
    box-sizing: border-box; /* S'assurer que la bordure ne pousse pas le contenu hors de la zone visible */
    overflow-x: hidden;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* Container principal */
.container {
    width: 100%; /* Le conteneur occupe toute la largeur */
    max-width: 1200px; /* Largeur maximale pour les grands écrans */
    margin: 0 auto; /* Centre le conteneur horizontalement */
    padding: 20px; /* Espacement intérieur */
    flex: 1; /* Le contenu de la page prend tout l'espace restant */
    background-color: #fff; /* Fond blanc à l'intérieur de l'encadré */
}


/* Style du header avec une image de fond */
header {
    background-image: url('assets/images/bergerieVue.jpeg'); 
    background-size: cover; /* L'image couvre toute la surface du header */
    background-position: center; /* L'image est centrée */
    background-repeat: no-repeat; /* L'image ne se répète pas */
    color: white;
    text-align: center;
    padding: 80px 20px 20px; /* Augmenter l'espacement en haut pour que l'image ne soit pas trop écrasée par le texte */
}

/* Titre dans le header */
header h1 {
    font-family: 'Gwendolyn', serif;
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Ombre pour améliorer la lisibilité */
}

/* Navigation du header */
header nav {
    background-color: rgba(255, 255, 255, 0.6); /* Fond transparent noir */
    padding: 10px;
    border-radius: 10px; /* Coins arrondis */
    display: inline-block;
    margin-top: 20px; /* Espacement au-dessus de la nav */
}

/* Liste de la navigation */
header nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav{
    margin-top: 50px;
}

header nav ul li {
    margin: 0 15px;
}

/* Liens avec effet de survol */
header nav ul li a {
    font-family :'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    text-decoration: none;
    color: black;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Effet de survol sur les liens */
header nav ul li a:hover {
    background-color: #9D2933; /* Rouge foncé au survol */
    color: white;
}

/* Mise en page du footer */
footer {
    background-color: #9D2933;
    color: white;
    text-align: center;
    padding: 10px;
    width: 100%;
    position: relative;
    bottom: 0;
}

footer a {
    color: inherit;
    text-decoration: none;
}

/* Galerie responsive */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    padding: 20px 0;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Section Contact */
.contact-info,
.contact-form {
    background-color: rgba(255, 255, 255, 0.8); /* Fond blanc semi-transparent */
    padding: 20px;
    border-radius: 10px; /* Coins arrondis */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombre douce */
    margin-bottom: 20px; /* Espacement en bas */
}

/* Encadré pour chaque info de contact */
.contact-info .info-item {
    background-color: rgba(0, 0, 0, 0.1); /* Fond gris clair pour chaque info */
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px; /* Espacement entre l'icône et le texte */
}

.contact-info .info-item i {
    font-size: 1.5rem;
    color: #9D2933; /* Icône rouge foncé */
}

/* Formulaire de contact vertical */
.contact-form {
    display: flex;
    flex-direction: column; /* Aligner les éléments en colonne */
    gap: 15px; /* Espacement entre les champs */
    margin-top: 20px;
}

/* Changement des styles des champs de formulaire */
.contact-form input,
.contact-form textarea {
    padding: 12px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%; /* Faire en sorte que les champs prennent toute la largeur disponible */
}

/* Bouton de soumission du formulaire */
.contact-form button {
    padding: 12px;
    background-color: #9D2933;
    color: white;
    font-size: 1.2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%; /* Le bouton prend toute la largeur */
}

/* Effet de hover sur le bouton */
.contact-form button:hover {
    background-color: #7a1f26;
}



/* Style des tarifs */
.tarifs-table {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Deux colonnes par ligne */
    gap: 20px;
    padding: 20px 0;
}

/* Style pour chaque élément tarif */
.tarif-item {
    background-color: #f4f4f4; /* Fond clair */
    border: 2px solid #9D2933; /* Bordure rouge foncé */
    border-radius: 10px; /* Coins arrondis */
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombre légère */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animation au survol */
}

.tarif-item:hover {
    transform: translateY(-10px); /* Légère élévation au survol */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Ombre plus marquée au survol */
}

/* Titre du tarif */
.tarif-item h2 {
    font-size: 1.5rem;
    color: #9D2933; /* Couleur du titre */
    font-weight: bold;
    margin-bottom: 10px;
}

/* Prix du tarif */
.tarif-item .prix {
    font-size: 2rem;
    color: #2a5d44; /* Vert profond pour le prix */
    font-weight: bold;
    margin-bottom: 15px;
}

/* Description du tarif */
.tarif-item .description {
    font-size: 1rem;
    color: #333;
    margin-bottom: 20px;
}

/* Style général */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Titres */
.page-title {
    text-align: center;
    font-size: 2.5rem;
    color: #9D2933;
}

/* Sections */
.activity-section {
    margin-bottom: 40px;
}

/* Cartes d'activités */
.activity-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #9D2933;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
    margin-top: 10px;
}

.btn:hover {
    background: #7a1f26;
}

/* Galerie */
.gallery {
    display: grid;
    /* grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); */
    gap: 10px;
    margin-top: 10px;
}

.gallery-item img {

        width: 300px; /* Taille fixe */
        height: 300px;
        object-fit: cover;
        border-radius: 8px;
    }
    

/* Responsive : pour les petits écrans, afficher un tarif par ligne */
@media (max-width: 768px) {
    .tarifs-table {
        grid-template-columns: 1fr;
    }

    .container {
        max-width: 100%;
    }

    header h1 {
        font-size: 2rem;
    }

    header nav ul {
        flex-direction: column;
        margin-top: 10px;
    }

    header nav ul li {
        margin: 10px 0;
    }

    .contact-form {
        margin-top: 30px;
    }
}
}



