body {
    color: #fff;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Arial', sans-serif;
}

h1 {
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.7);
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.4);
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 10px;
    margin-top: 20px;
    position: relative;
}

.nav-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-button {
    background: linear-gradient(135deg, #6a4e23, #b47c4e);
    color: #000;
    font-size: 1.2rem;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    font-weight: bold;
}

.scrolling-agenda {
    width: 90%;
    overflow: hidden;
    margin-top: 30px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    padding: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
}

.agenda-container {
    display: flex;
    gap: 15px;
    animation: scroll-left 30s linear infinite;
}

.agenda-box {
    background-color: #333;
    color: #ffcc00;
    border-radius: 10px;
    width: 200px;
    text-align: center;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.agenda-box img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.agenda-box p {
    margin: 0;
    font-size: 1rem;
    font-weight: bold;
}

/* Animation de défilement */
@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Section Coach */
.coachs-container {
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin-top: 30px;
}

.coachs-container .coach-box {
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffcc00;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    width: 18%;
    margin: 5px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* Section Photos */
.photos-container {
    width: 90%;
    overflow-y: scroll;
    max-height: 400px;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 15px;
    border-radius: 10px;
    margin-top: 30px;
}

.photos-container img {
    width: auto; /* La largeur s'ajuste en fonction de l'image */
    max-width: 100%; /* Assure que l'image ne dépasse jamais la largeur du container */
    height: auto; /* La hauteur s'ajuste automatiquement pour garder les proportions */
    max-height: 200px; /* Limite la hauteur des images */
    object-fit: cover; /* Maintient la qualité de l'image sans déformation */
    margin: 10px 0;
    border-radius: 8px;
}

.overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.8);
display: none;
justify-content: center;
align-items: center;
z-index: 10;
transition: opacity 0.3s ease;
}

.popup {
background-color: #2f2f2f;
color: #fff;
padding: 30px;
width: 350px;
text-align: center;
border-radius: 12px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
position: relative;
transition: transform 0.3s ease;
}

.popup h2 {
font-size: 1.5rem;
margin-bottom: 15px;
}

.popup p {
font-size: 1rem;
margin-bottom: 20px;
}

.popup .close-btn {
position: absolute;
top: 10px;
right: 10px;
font-size: 1.5rem;
cursor: pointer;
color: #ff0000;
}

.close-btn:hover {
    color: #ff0000; /* Change the color on hover */
}

@media (max-width: 768px) {
    .coachs-container {
        flex-direction: column;
        align-items: center;
    }

    .coachs-container .coach-box {
        width: 80%;
        margin-bottom: 15px;
    }
}
.coach-box {
font-size: 1.2rem;
font-weight: bold;
margin-bottom: 15px;
}

.coach-name {
    font-size: 1.4rem;
    color: #333;
}

.coach-bio {
    font-size: 1rem;
    color: #666;
    margin-top: 5px;
}
.coachs-container h3 {
font-size: 1.5rem;
color: white;
margin-bottom: 20px; /* Espacement entre le titre et les coachs */
text-align: center;
font-weight: bold;
}
.popup img {
max-width: 90%; /* L'image prend au maximum 90% de la largeur de la modal */
max-height: 80vh; /* L'image prend au maximum 80% de la hauteur de la fenêtre */
object-fit: contain; /* L'image conserve ses proportions sans être déformée */
}
.photo-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.8);
display: none;
justify-content: center;
align-items: center;
z-index: 10;
}

.photo-popup {
    position: relative;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo-popup img {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.close-photo-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
}
.avis-container {
width: 90%;
margin-top: 30px;
background-color: rgba(0, 0, 0, 0.6);
padding: 20px;
border-radius: 10px;
}

.avis-box {
    background-color: #333;
    color: #ffcc00;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
}

.avis-box p {
    margin: 0;
}

.popup form {
display: flex;
flex-direction: column;
gap: 10px;
margin-top: 20px;
}
.popup label {
font-size: 1rem;
color: #ddd;
text-align: left;
}

.popup input[type="text"],
.popup input[type="tel"] {
padding: 10px;
font-size: 1rem;
border-radius: 8px;
border: 1px solid #bbb;
background-color: #333;
color: #fff;
}

.popup input[type="text"]:focus,
.popup input[type="tel"]:focus {
border-color: #ffcc00;
outline: none;
}
.popup button {
padding: 12px;
font-size: 1.1rem;
background-color: #ffcc00;
color: #333;
border: none;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.3s ease;
}

.popup button:hover {
background-color: #f0a500;
}



