/* En-tête de la page Services */
#services-header {
    text-align: center;
    color: #191916;
    background-color: #f7f9f9; 
    padding: 60px 20px; 
    border-bottom: 3px solid #007bff; 
    margin-top: 0; 
}
#services-header h1{
    color: #f0c040;
}
/* === Section Hébergement === */
#service-hebergement {
    padding: 60px 20px;
    background-color: #ffffff; 
    text-align: center;
}

#service-hebergement h2 {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 20px;
}

#service-hebergement p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}

/* === Grille des services (chambres) === */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center; 
}

/* === Carte individuelle === */
.service-item {
    width: 30%;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.service-item img {
    width: 100%;
    border-radius: 8px;
    height: 250px;
}

.service-item h3 {
    color: #333;
    margin-top: 10px;
    font-size: 1.4rem;
}

.service-item p {
    font-size: 1rem;
    color: #666;
    margin-top: 8px;
}

/* === Effet au survol === */
.service-item:hover {
    transform: scale(1.05);
}

/* === Responsive === */
@media (max-width: 1024px) {
    .service-item {
        width: 45%; 
    }
}

@media (max-width: 768px) {
    .services-grid {
        flex-direction: column;
        align-items: center;
    }

    .service-item {
        width: 90%;
    }

    #service-hebergement h2 {
        font-size: 1.8rem;
    }

    #service-hebergement p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .service-item {
        width: 100%; 
    }
}
/* === Section Équipements des Chambres === */
#service-equipements {
    padding: 60px 20px;
    background-color: #f9f9f9; 
    text-align: center;
}

#service-equipements h2 {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 20px;
}

/* === Liste des équipements === */
#service-equipements ul {
    list-style: none; 
    padding: 0;
    max-width: 600px;
    margin: auto;
    text-align: left;
}

#service-equipements li {
    font-size: 1.2rem;
    color: #555;
    padding: 12px 15px;
    border-left: 4px solid #007bff;
    margin-bottom: 10px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease-in-out;
}

.hover:hover {
    transform: scale(1.1) rotate(0deg);
}
/* === Responsive === */
@media (max-width: 768px) {
    #service-equipements h2 {
        font-size: 1.8rem;
    }


    #service-equipements ul {
        max-width: 100%;
        padding: 0 20px;
    }

    #service-equipements li {
        font-size: 1.1rem;
        padding: 10px;
    }
}
/* === Section Restauration & Loisirs === */
#service-restauration {
    padding: 60px 20px;
    background-color: #ffffff; /* Fond blanc pour un contraste propre */
    text-align: center;
}

#service-restauration h2 {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 20px;
}

/* === Grille des services (Restauration & Loisirs) === */
#service-restauration .services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center; /* Centre les éléments */
}

/* === Carte individuelle === */
#service-restauration .service-item {
    width: 30%;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

#service-restauration .service-item img {
    width: 100%;
    border-radius: 8px;
}

#service-restauration .service-item h3 {
    color: #333;
    margin-top: 10px;
    font-size: 1.4rem;
}

#service-restauration .service-item p {
    font-size: 1rem;
    color: #666;
    margin-top: 8px;
}

/* === Effet au survol === */
#service-restauration .service-item:hover {
    transform: scale(1.05);
}

/* === Responsive === */
@media (max-width: 1024px) {
    #service-restauration .service-item {
        width: 45%; /* 2 colonnes sur tablette */
    }
}

@media (max-width: 768px) {
    #service-restauration .services-grid {
        flex-direction: column;
        align-items: center;
    }

    #service-restauration .service-item {
        width: 90%;
    }

    #service-restauration h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    #service-restauration .service-item {
        width: 100%; /* Pleine largeur sur mobile */
    }
}
/* === Section Espaces de Réunion & Connectivité === */
#service-reunion {
    padding: 60px 20px;
    background-color: #f9f9f9; /* Fond gris clair pour différencier la section */
    text-align: center;
}

#service-reunion h2 {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 20px;
}

#service-reunion p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 20px;
}

/* === Liste des équipements === */
#service-reunion ul {
    list-style: none; 
    padding: 0;
    max-width: 600px;
    margin: auto;
    text-align: left;
}

#service-reunion li {
    font-size: 1.2rem;
    color: #555;
    padding: 12px 15px;
    border-left: 4px solid #007bff; 
    margin-bottom: 10px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease-in-out;
}

/* === Responsive === */
@media (max-width: 768px) {
    #service-reunion h2 {
        font-size: 1.8rem;
    }

    #service-reunion p {
        font-size: 1.1rem;
    }

    #service-reunion ul {
        max-width: 100%;
        padding: 0 20px;
    }

    #service-reunion li {
        font-size: 1.1rem;
        padding: 10px;
    }
}
/* === Section Infrastructures Modernes === */
#service-infrastructures {
    padding: 60px 20px;
    background-color: #ffffff; /* Fond blanc pour un contraste propre */
    text-align: center;
}

#service-infrastructures h2 {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 20px;
}

/* === Grille des infrastructures === */
#service-infrastructures .services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center; /* Centre les éléments */
}

/* === Carte individuelle === */
#service-infrastructures .service-item {
    width: 40%;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

#service-infrastructures .service-item img {
    width: 100%;
    border-radius: 8px;
}

#service-infrastructures .service-item h3 {
    color: #333;
    margin-top: 10px;
    font-size: 1.4rem;
}

#service-infrastructures .service-item p {
    font-size: 1rem;
    color: #666;
    margin-top: 8px;
}

/* === Effet au survol === */
#service-infrastructures .service-item:hover {
    transform: scale(1.05);
}

/* === Responsive === */
@media (max-width: 1024px) {
    #service-infrastructures .service-item {
        width: 45%; /* 2 colonnes sur tablette */
    }
}

@media (max-width: 768px) {
    #service-infrastructures .services-grid {
        flex-direction: column;
        align-items: center;
    }

    #service-infrastructures .service-item {
        width: 90%;
    }

    #service-infrastructures h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    #service-infrastructures .service-item {
        width: 100%; /* Pleine largeur sur mobile */
    }
}

.image-slider {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 12px;
}

.image-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
}

.image-slider img.active {
    opacity: 1;
}
