/* === RESET GÉNÉRAL === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === TYPOGRAPHIE ET COULEURS DE BASE === */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f8f8;
    color: #333;
    line-height: 1.6;
}

/* === EN-TÊTE === */

/* Bouton hamburger (par défaut masqué) */
.hamburger {
    display: none; /* Ne s'affiche que sur les petits écrans */
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #002654; /* Bleu */
    color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

header img {
    height: 50px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: #FFD700; /* Or */
}

.cta-button {
    background-color: #FFD700; /* Or */
    color: #002654;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background-color 0.3s, transform 0.3s;
}

.cta-button:hover {
    background-color: #B11313; /* Rouge */
    color: white;
    transform: scale(1.05);
}

/* === SECTION PRESTATIONS === */
.prestations-section {
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(to bottom, #ffffff, #f0f4f8);
}

.prestations-section h1 {
    color: #002654; /* Bleu */
    font-size: 2.5rem;
    margin-bottom: 15px;
    animation: fadeIn 1s ease-out forwards;
}

.prestations-section p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
}

.prestation-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px 0;
}

.prestation-row {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* === CARTE PRESTATION === */
.prestation-card {
    background-color: #002654; /* Bleu */
    color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
    width: 80%;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.prestation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.3);
}

.prestation-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.prestation-card p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #cfcfcf;
}

/* Liste des éléments */
.prestation-card ul {
    display: flex; /* Aligne les éléments de la liste sur une ligne */
    flex-wrap: wrap; /* Passe à une ligne suivante si nécessaire */
    list-style: none;
    justify-content: center;
    gap: 30px; /* Espace entre les éléments */
    padding: 0;
    margin: 10px 0 20px;
}

.prestation-card ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #eaeaea;
    font-size: 1rem;
    text-align: center;
    margin: 0;
}

.prestation-card ul li img.icon {
    width: 300px;
    height: 300px;
    margin-bottom: 5px;
}

/* Bouton Découvrir */
.prestation-card button {
    background-color: #FFD700; /* Or */
    color: #002654; /* Bleu */
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s, transform 0.3s;
    width: 100%;
}

.prestation-card button:hover {
    background-color: #B11313; /* Rouge */
    color: white;
    transform: scale(1.05);
}

/* === SWIPER CONTAINER === */
.carousel-description {
    margin-top: 20px;
    font-size: 1.2rem;
    color: #FFD700; /* Couleur dorée */
    text-align: center;
    font-weight: bold;
    animation: fadeIn 0.5s ease-out;
}

.swiper-container {
    width: 80%; /* Limite la largeur du carousel */
    max-width: 900px;
    margin: auto;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
    align-items: center;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 15px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.swiper-slide img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

/* Flèches de navigation */
.swiper-button-prev,
.swiper-button-next {
    color: #FFD700; /* Couleur dorée */
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
}

/* Pagination */
.swiper-pagination-bullet {
    background: #FFD700;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background: #B11313; /* Point actif */
}

/* Zoom sur l'image active */
.swiper-slide-active {
    transform: scale(1.2); /* Zoom sur le slide actif */
    opacity: 1;
}

.swiper-slide-prev,
.swiper-slide-next {
    transform: scale(0.9);
    opacity: 0.7;
}

/* === ANIMATIONS === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .prestation-card {
        width: 100%;
    }
}

/* === PIED DE PAGE === */
footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    padding: 0 20px;
    min-width: 200px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #FFD700; /* Or */
}

.footer-section p,
.footer-section ul,
.footer-section a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 5px;
}

.footer-section ul li a:hover {
    color: #FFD700;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.social-icons a img {
    transition: transform 0.3s;
}

.social-icons a img:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .footer-content {
        display: flex;
        flex-direction: column;
        justify-content: center; /* Centre verticalement */
        align-items: center; /* Centre horizontalement */
        text-align: center; /* Centre le texte */
    }

    .footer-section {
        padding: 10px 0;
        text-align: center; /* Assure que chaque section a son texte centré */
    }

    .footer-section ul {
        list-style: none; /* Supprime les puces des listes */
        padding: 0;
    }

    .footer-section ul li {
        margin: 5px 0; /* Ajoute un peu d'espacement entre les éléments de la liste */
    }

    .social-icons {
        display: flex;
        justify-content: center; /* Centre les icônes socialement */
        gap: 15px;
        margin-bottom: 10px;
    }

    .social-icons a img {
        width: 30px; /* Ajuste la taille des icônes si nécessaire */
        height: 30px;
    }
}

/* Responsive pour les petits écrans */
@media (max-width: 768px) {
    nav ul {
        display: none; /* Cache le menu classique */
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 20px;
        background-color: #002654;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
        max-height: calc(100vh - 90px); /* Limite la hauteur pour s'adapter à l'écran */
        overflow-y: auto; /* Active le défilement si nécessaire */
        z-index: 1000; /* Assure que le menu reste au-dessus d'autres éléments */
    }

    nav ul.active {
        display: flex; /* Affiche le menu lorsqu'il est activé */
    }

    .hamburger {
        display: block; /* Affiche le bouton hamburger */
    }

    nav ul li {
        margin-bottom: 10px;
    }

    nav ul li a {
        color: white;
        text-decoration: none;
        font-weight: 600;
        padding: 10px;
        border-radius: 5px;
        text-align: center;
        display: block;
        transition: background-color 0.3s;
    }

    nav ul li a:hover {
        background-color: #FFD700; /* Or */
    }
}

