body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f8f8f8;
    overflow-x: hidden;
}

/* En-tête */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #002654; /* Bleu */
    color: white;
}

header img {
    height: 50px;
}

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

nav ul li {
    display: inline;
}

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

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

.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;
}

.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;
}

.button:hover {
    background-color: #B11313; /* Rouge */
    color: white;
}

/* 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;
}

/* Section Costumes */
.costumes-section {
    padding: 50px 20px;
    text-align: center;
}

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

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

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

.costume-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.costume-card {
    background-color: #002654; /* Bleu */
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
    width: 300px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.costume-card:hover {
    transform: scale(1.05);
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.3);
}

.costume-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.costume-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.costume-card p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: beige;
}

.costume-card button {
    background-color: #FFD700; /* Or */
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    width: 100%;
}

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

/* Pied de page */
footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap; /* Permet de gérer le responsive */
}

.footer-section {
    flex: 1;
    padding: 0 20px;
    min-width: 200px; /* Assure une taille minimale pour les sections */
}

.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;
    }
}


/* Carousel container */
.carousel {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: visible; /* Changez 'hidden' par 'visible' */
    padding: 20px 0; /* Ajoute de l'espace en haut et en bas */
}

.carousel-track {
    display: flex;
    align-items: center; /* Aligne verticalement les cartes */
    transition: transform 0.5s ease;
}

.costume-card img {
    width: 100%;
    height: auto; /* Assurez-vous que les images gardent leur ratio */
}

.costume-card {
    min-width: 250px;
    margin: 0 10px;
    text-align: center;
    overflow: visible; /* Permet d'afficher le contenu qui dépasse */
}


/* Boutons de navigation */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 5px;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}



/* Costume card styles */
.costume-card {
    min-width: 250px;
    margin: 0 10px;
    text-align: center;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Carte principale centrée */
.carousel-track .costume-card.active {
    transform: scale(1.1);
    opacity: 1;
    overflow: visible;
}


/* Cartes latérales avec opacité réduite */
.carousel-track .costume-card.inactive {
    opacity: 0.5;
    transform: scale(0.9);
}

/* 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 */
    }
}
