/* Corps général */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #1b1b1b;
    color: #f4f4f4;
    line-height: 1.6;
    text-align: center;
}

/* Navigation */
nav {
    position: fixed; /* Fixer la barre en haut de la page */
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    padding: 15px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* Ombre pour visibilité */
}

nav .menu-toggle {
    display: none;
    background: #f05454;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 1.2em;
    cursor: pointer;
    border-radius: 5px;
}

nav ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 10px;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    text-decoration: none;
    color: #f4f4f4;
    font-weight: bold;
    font-size: 1em;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #f05454;
}

nav ul.show-menu {
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.9);
    padding: 10px;
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/*Section Pack */
#pack-section {
    text-align: center;
    padding: 120px 20px 40px; /* Ajoute un espace sous la barre de navigation */
    background: url('photo7.jpg') center center/cover no-repeat;
    color: #000000;
    min-height: 100vh; /* S'assure que la section occupe tout l'écran */
    position: relative;
}

#pack-section h1 {
    color: #000000;
    font-size: 2.5em;
}

#pack-section h2 {
    color: #ffffff;
    font-size: 1.5em;
}
/* Section Sponsors */
#sponsors-section1 {
    text-align: center;
    padding: 120px 20px 40px; /* Ajoute un espace sous la barre de navigation */
    background: url('WP8.JPG') center center/cover no-repeat;
    color: #000000;
    min-height: 100vh; /* S'assure que la section occupe tout l'écran */
    position: relative;
}

#sponsors-section1 h1 {
    margin-bottom: 30px;
    font-size: 2.5em;
}

#sponsors-section2 {
    text-align: center;
    padding: 120px 20px 40px; /* Ajoute un espace sous la barre de navigation */
    background: url('WP7.jpg') center center/cover no-repeat;
    opacity: 100%;
    color: #000000;
    min-height: 100vh; /* S'assure que la section occupe tout l'écran */
    position: relative;
}

#sponsors-section2 h1 {
    margin-bottom: 30px;
    font-size: 2.5em;
    color: #ffffff;
}


.sponsors-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 0 auto;
    max-width: 1250px;
}

.sponsor-item {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    flex: 1 1 calc(25% - 20px); /* 4 items par ligne */
    max-width: 210px; /* Limite la largeur maximale */
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    padding: 20px;
    height: 250px; /* Uniformité des cartes */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sponsor-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.8);
}

.sponsor-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 150px; /* Taille fixe pour uniformiser */
    margin-bottom: 10px;
}

.sponsor-item p {
    font-size: 1em;
    color: #000000;
}

/* Footer */
footer {
    text-align: center;
    background: rgba(0, 0, 0, 0.9);
    color: #f4f4f4;
    padding: 10px; /* Réduit la hauteur */
    font-size: 0.9em;
    position: relative;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: #000000;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 500px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.modal-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.modal-body img {
    max-width: 100px;
    height: auto;
    margin-right: 20px;
    object-fit: contain;
}

.modal-description {
    flex: 1;
    text-align: left;
}

.modal-description p {
    font-size: 1em;
    color: #ffffff;
}

.modal-content a {
    color: #f05454; /* Couleur du lien */
    text-decoration: none; /* Supprime le soulignement */
    font-weight: bold; /* Rend le texte gras */
    display: block; /* Permet de gérer l'alignement sur toute la largeur */
    text-align: right; /* Aligne le texte à droite */
    margin-top: 10px; /* Ajoute de l'espace au-dessus du lien */
}

.modal-content ul {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 10px;
    color: #ffffff;
    font-size: 1em;
}

.modal-content ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}
.modal-description .price {
    font-size: 1.2em;
    color: #f4f4f4;
    font-weight: bold;
    margin-top: 15px;
}

.sponsor-advantages p {
    margin-bottom: 10px;
    font-size: 1em;
    color: #ffffff;
}


.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 1.5em;
    color: #333;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sponsors-grid {
        gap: 15px;
    }

    .sponsor-item {
        flex: 1 1 calc(50% - 20px); /* 2 items par ligne */
        max-width: none;
    }

    .modal-body {
        flex-direction: column;
        text-align: center;
    }

    .modal-body img {
        margin: 0 0 10px;
    }
} 