@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@400;700&display=swap');

body {
    font-family: 'Urbanist', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background: #6a7450;
    color: #ffffff;
    padding: 20px;
    text-align: center;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

h1 {
    font-size: 2.5em;
    margin: 0;
}

.logo img {
    max-width: 150px;
    border-radius: 10px;
}


main {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carousel {
    position: relative;
    margin: 20px auto;
    max-width: 800px; /* Largeur maximale du carrousel */
    border-radius: 10px; /* Coins arrondis */
    overflow: hidden; /* Masquer les images qui débordent */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Ombre autour du carrousel */
}

.bien-etre-image {
    width: 100%;
    height: 400px; /* Définir la hauteur des images */
    object-fit: cover; /* Pour garder le ratio d'aspect */
    border-radius: 10px; /* Coins arrondis */
}

.carousel-images img {
    width: 100%; /* L'image prend toute la largeur du conteneur */
    border-radius: 10px; /* Coins arrondis */
    transition: opacity 0.5s ease; /* Transition douce pour le changement d'image */
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.carousel-controls button {
    background-color: rgba(106, 116, 80, 0.7);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.carousel-controls button:hover {
    background-color: rgba(106, 116, 80, 1);
}

.horaires {
    margin-top: 20px;
    background: #ffffff; /* Couleur de fond */
    padding: 20px; /* Augmenter le padding pour plus d'espace intérieur */
    border-radius: 10px; /* Arrondir les coins */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Ombre plus prononcée */
    width: 80%; /* Définir la largeur de la section */
    text-align: center; /* Centrer le texte */
}

footer {
    text-align: center;
    padding: 10px;
    background: #4a5d3c; /* Couleur plus sombre */
    color: #ffffff;
    position: relative;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2em; /* Ajuster la taille du titre pour mobile */
    }

    .carousel {
        max-width: 100%; /* S'assurer que le carrousel prend toute la largeur sur mobile */
    }

    .horaires {
        width: 90%; /* Ajuster la largeur pour mobile */
        padding: 15px; /* Réduire le padding dans les sections */
    }
}