@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');



/* apparition au scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}



/* Styles pour la section principale */
body {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    color: #200030;
    overflow-x: hidden;
    line-height: 1.5;
    font-family: 'Montserrat', sans-serif;

    /* Configuration de l'effet parallaxe */
    background-image: url('src/fond_parallax.png');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}



/* utilisation 1 : présentation page */
.page {
    margin-top: 0px;
    background-color: rgb(255, 233, 250);
    width: 80%;
    min-height: 100px;
    height: auto;
    border-radius: 0% 0% 25px 25px;
    box-shadow: 6px 6px 10px 1px rgb(0 0 0 / 0.5);
}



/* utilisation 2 : chiffres page */
.page2 {
    padding-bottom: 35px;
    padding-top: 15px;
    color: #ffe9fa;
    background-color: rgba(32, 0, 48, 0.4);
    width: 80%;
    min-height: 100px;
    height: auto;
}



/* utilisation 3 : Quelques créations */
.page3 {
    box-shadow: 6px -6px 10px 1px rgb(0 0 0 / 0.5);
    margin-top: 0px;
    background-color: rgb(255, 233, 250);
    width: 80%;
    min-height: 100px;
    height: auto;
    border-radius: 25px 25px 0% 0%;
}



/* Styles pour les titres */
h2 {
    font-size: 36px;
    padding-left: 50px;
}



/* Styles pour l'en-tête */
header {
    box-shadow: 6px 6px 10px 1px rgb(0 0 0 / 0.5);
    z-index: 100;
    width: 100%;
    min-height: 75px;
    max-height: 75px;
    background-color: rgba(51, 0, 89, 0.6);
    padding: 15px 0;
    align-items: center;
    justify-content: center;
    display: flex;

}

.entete {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 78%;
    margin: 0 auto;
    text-align: center;
}

.logoIMG {
    width: 75px;
    height: 75px;
}

.logoIMG:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px #ffb3f0);
}

.lien {
    display: flex;
    gap: 50px;
}

.lien a {
    color: #ffe9fa;
    text-decoration: none;
    font-size: 24px;
    transition: color 0.3s ease;
}

.lien a:hover {
    color: #ffb3f0;
    text-shadow: 0 0 10px #ffb3f0, 0 0 20px #3d0059;
}


/* Alignement du logo et du nom du club */
.logo a {
    display: flex;
    align-items: center;
    gap: 15px; /* Espace entre le logo et le texte */
    text-decoration: none;
}

.nomClub {
    color: #ffe9fa; /* Même couleur claire que tes liens de navigation */
    font-size: 24px;
    font-weight: 700; /* Écriture en gras */
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

/* Optionnel : effet de survol si on passe la souris sur le bloc logo/nom */
.logo a:hover .nomClub {
    color: #ffb3f0; 
    text-shadow: 0 0 10px #ffb3f0;
}


/* Styles pour le footer */
footer {
    box-shadow: 6px -6px 10px 1px rgb(0 0 0 / 0.5);
    z-index: 100;
    width: 100%;
    min-height: 75px;
    background-color: rgba(51, 0, 89, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;

}

.piedDePage {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 78%;
    margin: 0 auto;
    color: #ffe9fa;
    font-size: 16px;
}

.lienBas a {
    color: #ffe9fa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.lienBas a:hover {
    color: #ffb3f0;
    text-shadow: 0 0 10px #ffb3f0;
}



/* Styles pour la section "Présentation" */
.presentation {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 25px;
}

#presentation {
    margin-bottom: 10px;
}

.textePresentation {
    font-size: 22px;
    text-align: justify;
    flex: 60%;
}

.imgPresentation {
    max-width: 100%;
    height: auto;
    clip-path: polygon(0 0, 100% 15%, 100% 85%, 0 100%);
    
}




/* Styles pour la section "Quelques chiffres" */
.incrementation {
    display: flex;
    align-items: center;
    padding-left: 50px;
    padding-right: 50px;
    justify-content: space-between;
}

.page2 p {
    font-size: 22px;
    margin: 10px 0;
    text-align: center;
}

.compteur {
    margin-top: 38px;
    font-weight: bold;
    gap: 30px;
    font-size: 28px;
}



/* Styles pour "Quelques créations" */
.carrouselContainer {
    width: 90%;
    margin: 0 auto;
    padding-top: 30px;
    padding-bottom: 50px;
}

.splide__slide img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
}

.splide__slide img:hover {
    transform: scale(1.05) !important;
}

.splide__track {
    padding-bottom: 25px;
}












/* --- SECTION GALERIE --- */

.texteIntroG {
    font-size: 20px;
    padding: 0 50px;
    margin-bottom: 40px;
    text-align: center;
}

/* Grille adaptative qui s'ajuste automatiquement selon la taille de l'écran */
.grilleGalerie {
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 25px;
    padding: 0 50px 50px 50px;
}

/* Conteneur de chaque image pour gérer le survol */
.itemGalerie {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
    height: 250px;
}

/* Style de l'image */
.itemGalerie img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Voile de couleur violette au survol (overlay) */
.overlayGalerie {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(61, 0, 89, 0.75);
    color: #ffe9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Animations au survol de la souris (Hover) */
.itemGalerie:hover img {
    transform: scale(1.1);
}

.itemGalerie:hover .overlayGalerie {
    opacity: 1;
}

/* Le fond de la modale */
.modale {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(32, 0, 48, 0.9);
    align-items: center;
    justify-content: center;
}

/* L'image agrandie */
.contenuModale {
    max-width: 85%;
    max-height: 85%;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(255, 179, 240, 0.3);
    animation: zoomIn 0.3s ease;
}

/* Bouton de fermeture (la croix) */
.fermerModale {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #ffe9fa;
    font-size: 60px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.fermerModale:hover {
    color: #ffb3f0;
}

/* Animation d'ouverture fluide */
@keyframes zoomIn {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}





/* page contact */
.telephone-lien {
    color: #200030; 
    text-decoration: underline;
}

.liste-horaires {
    list-style: none; 
    padding: 0; 
    line-height: 2;
}

.conteneur-carte {
    width: 90%; 
    margin: 0 auto; 
    padding-top: 10px; 
    padding-bottom: 50px;
}

.adresse-contact {
    font-size: 20px; 
    margin-bottom: 20px; 
    padding-left: 10px;
}

.iframe-carte-wrapper {
    position: relative; 
    width: 100%; 
    height: 400px; 
    border-radius: 15px; 
    overflow: hidden; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.iframe-carte-wrapper iframe {
    border: 0;
}



/* --- page mentions légales --- */
.conteneur-legales {
    width: 85%;
    margin: 0 auto;
    padding-bottom: 60px;
}

.bloc-legal {
    margin-bottom: 35px;
}

.bloc-legal h3 {
    font-size: 18px;
    color: #200030;
    margin-bottom: 10px;
    border-left: 4px solid #3d0059;
    padding-left: 10px;
}

.bloc-legal p {
    font-size: 15px;
    line-height: 1.7;
    margin: 5px 0;
}






/* Responsive (version tablette et téléphone) */

@media screen and (max-width: 1024px) {
    .page, .page2, .page3 {
        width: 90%;
    }

    .entete, .piedDePage {
        width: 90%;
    }

    .grilleGalerie {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 30px 30px 30px;
    }
}



@media screen and (max-width: 768px) {
    .page, .page2, .page3 {
        width: 95%;
    }

@media screen and (max-width: 768px) {


    
    h2 {
        font-size: 26px; 
        padding-left: 15px;
        padding-right: 15px;
        text-align: center;
        word-spacing: normal;
        line-height: 1.3;
    }

    .carrouselContainer {
        padding-top: 10px;
        padding-bottom: 20px;
        width: 95%;
    }

    .splide__slide img {
        height: 320px;
        object-fit: cover;
        width: 100%;
    }
    
    .splide__track {
        padding-bottom: 10px;
    }
}


    header {
        max-height: none;
        padding: 15px 0;
    }

    .entete {
        flex-direction: column;
        gap: 15px;
    }

    .lien {
        gap: 25px;
    }

    .lien a {
        font-size: 18px;
    }

    .presentation {
        flex-direction: column;
        padding-left: 15px;
        padding-right: 15px;
    }

    .textePresentation {
        font-size: 16px;
        text-align: left;
    }

    .imgPresentation {
        max-width: 90%;
        margin-top: 10px;
    }

    .incrementation {
        flex-direction: column;
        gap: 20px;
        padding: 0;
    }

    .page2 p {
        font-size: 18px;
    }

    .compteur {
        margin-top: 10px;
    }

    .texteIntroG {
        font-size: 16px;
        padding: 0 20px;
    }

    .grilleGalerie {
        grid-template-columns: 1fr;
        padding: 0 20px 30px 20px;
        gap: 15px;
    }

    .itemGalerie {
        height: 200px;
    }

    .liste-horaires {
        padding: 0 20px;
        font-size: 16px;
    }

    .conteneur-carte {
        width: 100%;
        padding-bottom: 30px;
    }

    .adresse-contact {
        font-size: 16px;
        padding-left: 20px;
    }

    .iframe-carte-wrapper {
        height: 300px;
        border-radius: 0;
    }

    /* Pied de page */
    .piedDePage {
        flex-direction: column;
        gap: 10px;
        font-size: 14px;
        padding: 15px 0;
    }
}