/* Fond général */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Assure que le contenu occupe au moins la hauteur de l'écran */
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #000; /* Fond noir */
    color: #fff;
}

/* Header */
.header {
    flex: 0; /* Ne s'étend pas */
    padding: 20px;
    background-color: #1a1a1a;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.festival-name {
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

/* Section Titre */
.title-section {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(to bottom, #333, #000);
}

.title-section h2 {
    font-size: 32px;
    margin: 0;
}

/* Carrousel */
.carousel-section {
    display: flex; /* Aligne les éléments sur une ligne */
    justify-content: center; /* Centrer horizontalement les éléments */
    align-items: center; /* Centrer verticalement les éléments */
    position: relative;
    padding: 10px;
    overflow: hidden;
    background-color: aqua;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out; /* Animation fluide lors du déplacement */
    gap: 10px; /* Espacement entre les éléments */
    max-width: 80%; /* Limite la largeur du carrousel */
}

.carousel-item {
    flex: 0 0 80%; /* Taille des éléments du carrousel */
    background: #1a1a1a;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    color: #fff;
}

/* Boutons de navigation */
.carousel-btn {
    position: absolute;
    top: 50%; /* Place les boutons à la même hauteur que le carrousel */
    transform: translateY(-50%); /* Centrage vertical des boutons */
    background-color: rgba(229, 188, 188, 0.5);
    border: none;
    color: #fff;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.prev-btn {
    left: 5%; /* Position à gauche */
    background-color: red;
}

.next-btn {
    right: 5%; /* Position à droite */
    background-color: rgb(101, 219, 32);
}

.carousel-btn:hover {
    background-color: rgba(255, 255, 255, 0.8); /* Changement de couleur au survol */
    color: #000; /* Texte noir au survol */
}

/* Sponsors Footer */
.footer-sponsors {
    flex: 0; /* Ne s'étend pas */
    background-color: #111;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #333;
}

.footer-sponsors h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

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

.footer-sponsors li {
    margin: 5px 0;
}

/* Footer Coordonnées */
.footer-coordinates {
    flex: 0; /* Ne s'étend pas */
    background-color: #000;
    padding: 20px;
    text-align: center;
    font-size: 14px;
    color: #999;
}

/* Responsive Design */
@media (min-width: 768px) {
    .carousel-item {
        flex: 0 0 30%; /* Taille des éléments ajustée sur les grands écrans */
    }

    .title-section h2 {
        font-size: 40px; /* Taille du titre augmentée sur les grands écrans */
    }
}
