/* desktop first*/
/* Style général de la page */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif; 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    background-color: #e9ecef; 
    color: #343a40; 
    line-height: 1.6; 
}

/*HEAD*/
/* Style de l'en-tête */
header {
    background: linear-gradient(to right, #495057, #343a40);
    color: #f8f9fa;
    padding: 1em 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Style de la navigation */
nav {
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 0 1em; 
}

#titre-logo {
    display: flex;
    flex-direction: row;
}

/* Style du logo */
#logo img {
    text-decoration: none;
    height: 5em;
}

/* Style de l'image dans le logo */
nav img {
    height: 40px;
    margin-right: 10px; 
}

/* Style du titre */
nav h1 {
    margin: 0; 
    font-size: 1.75em; 
    color: #f8f9fa;
    align-self: center;
    margin-right: auto ;
}

nav h1 a {
    color: #f8f9fa;
    text-decoration: none;
}

/* Style de la navigation */
#navtop {
    display: flex; 
    list-style: none; /* Enlève les puces */
    margin: 0; 
    padding: 0; 
    font-size: 1.15em;
}

/* Style des éléments de la navigation */
#navtop li {
    margin: 0 15px; 
}

/* Style des liens dans la navigation */
#navtop a {
    color: #f8f9fa; 
    text-decoration: none; 
    font-weight: bold;
    transition: color 0.3s ease; 
}

/* Changement de couleur au survol des liens */
#navtop a:hover {
    color: #adb5bd; 
}


/*MAIN*/
/* Style de la section principale */

/*main de la page index */
#index {
    padding: 20px;
    max-width: 1200px; 
    margin: 20px auto; 
    text-align: center; 
    background: #ffffff; 
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombre portée */
}

/* Style des titres de la section principale */
main h2 {
    color: #495057; 
    margin-bottom: 20px; 
}

/* Style des paragraphes dans la section principale */
main p {
    font-size: 1.2em; 
    margin-bottom: 20px; 
}
/*SECTION GLOBALE*/
section#services {
    background-color: #ffffff; 
    padding: 5px; /* Espacement interne */
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombre portée */
    margin-top: 10px; 
}

/* SECTION INDEX */
/* gestion des services*/
section#services {
    background-color: #ffffff; 
    padding: 5px; /* Espacement interne */
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombre portée */
    margin-top: 10px; 
}

/* Style des listes non ordonnées */
section#services ul {
    list-style: none; 
    padding: 0; 
}

/* Style des éléments de liste */
section#services li {
    background-color: #6c757d;
    color: #ffffff; 
    margin: 15px 0; /* Espacement vertical entre les éléments */
    padding: 25px; /* taille bloc */
    border-radius: 5px; 
    font-weight: bold; 
    transition: 0.5s;
    margin: 2.5em;
}

section#services h3 {
    font-size: 1.5em ;
}

/* Style des paragraphes à l'intérieur des éléments de liste */
section#services li p {
    margin: 10px 0 0; 
    padding: 10px; 
    color: #d4dbe2; 
    border-radius: 5px; 
}

/* effet shadow */
section#services li:hover {
    box-shadow: 0 0 20px 0 rgba(0,0,0,0.5);
    transform: translateY(-10px);
}

/*4 image section index*/
#bagarre-solo {
    margin : 100px auto;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(assets/img/bagarre_ordi.webp);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    padding: 100px 0;
}

#bagarre-groupees {
    margin : 100px auto;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(assets/img/bagarre_groupees.webp);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    padding: 100px 0;
}

#voisin-vnr {
    margin : 100px auto;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(assets/img/voisin_vnr.webp);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    padding: 100px 0;
}

#bodyguard {
    margin : 100px auto;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(assets/img/quatre_heros_taille_ordi.webp);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    padding: 100px 0;
}

/*SECTION TARIF*/
#tarif {
    background-color: #ffffff; 
    padding: 5px; /* Espacement interne */
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombre portée */
    margin-top: 10px;
}

#tarif ul {
    list-style: none; 
    padding: 0; 
}
    
#tarif li {
    background-color: #6c757d;
    color: #ffffff; 
    margin: 15px 0; /* Espacement vertical entre les éléments */
    padding: 25px; /* taille bloc */
    border-radius: 5px; 
    font-weight: bold; 
    transition: 0.5s;
    margin: 2.5em;
    display: flex;
    text-align: start;
    align-items: center;
    justify-content: space-between;
    font-size: 1em;
    gap: 1.25em
}

#ordi a {
    padding: 0.5em;
}

#tel a {
    padding: 0.5em;
}

#tel {
    margin-top: 3em;
}

/*MAIN EQUIPE*/
#main-equipe {
    padding: 20px;
    margin: 20px auto; 
    text-align: center; 
    background: #ffffff; 
    border-radius: 10px; 
    max-width: 1200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombre portée */
}


/* SECTION EQUIPE*/
#equipe {
    margin-top: 5em;
}
/* Style de la section "equipe" */
#equipe-contenu {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Espace entre les articles */
}

.equipe-membre {
    flex: 1 1 200px; /*grandissent pour remplir espace */
    margin: 10px;
    background-color: #f8f9fa; 
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombre */
    padding: 20px; /* Espacement interne */
    text-align: center; 
}

/* Style des images dans les articles */
.equipe-membre img {
    height: 15em;
    width: auto; /*conserve propotio*/
    border-radius: 4%;
    margin-bottom: 10px; /* Espace bas images */
}

/* Style des titres dans les articles */
.equipe-membre h3 {
    margin: 10px 0;
    color: #343a40; 
}

/* Style des paragraphes dans les articles */
.equipe-membre p {
    color: #6c757d; 
}

#membre-star {
    margin-top: 5em;
}

/* MAIN A PROPOS*/
#a-propos {
    padding: 20px;
    margin: 20px auto; 
    background: #ffffff; 
    border-radius: 10px; 
    max-width: 1200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombre portée */
    text-decoration: none;
}

a[href^="mailto"], a[href^="tel"] {
    text-decoration: none;
    color: #343a40;
}

#wireframe img {
    width: 15em;
}

#a-propos h2 {
    margin-bottom: 2em;
    font-size: 2.5em;
    text-align: center;
}

.contenu-a-propos {
    margin-bottom: 3em;
}

.contenu-a-propos h3 {
    font-size: 1.5em;
}

.contenu-a-propos p {
    font-size: 1.25em;
}

.contenu-a-propos li {
    font-size: 1.25em;
}

#wireframe h3 {
    font-size: 1.5em;
}

#wireframe h4 {
    font-size: 1.10em;
}

#wireframe {
    margin-top: 3em;
}

/*FOOTER*/
footer {
    background-color: #343a40; 
    color: #f8f9fa; 
    padding: 20px 0; 
    margin-top: 10px; 
}

/* Style du texte dans le pied de page */
footer p {
    margin: 0; 
    text-align: center; 
}

/*div général dans footer */

#div-papa {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

#div-papa h2 {
    font-size: 1.5em;
}

#div-papa a {
    font-size: 1.5em;
}

#footer-links, #reseaux-sociaux {
    align-items: center;
}

footer div  {
    margin-bottom: 20px; 
}

footer div a {
    color: #adb5bd; 
    text-decoration: none; 
    margin: 0 10px;
    font-weight: bold; 
    transition: color 0.3s ease; /* Transition pour le changement de couleur */
}

footer div a:hover {
    color: #f8f9fa; 
}

#logo-footer img {
    height: 12.5em;
}

/* STYLE ancre */
/*flèche de l'ancre vers le top */
#back-to-top {
    position: fixed; 
    display: none; /* Masqué, apparaît grâce à JS */
    bottom: 20px; 
    right: 0.25em; 
    background-color: #6c757d; 
    color: #ffffff; 
    padding: 10px; 
    border-radius: 50%; 
    cursor: pointer; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombre */
    transition: background-color 0.3s; /* Transition pour le changement de couleur */
    text-align: center; 
    text-decoration: none; 
    font-size: 24px; 
    line-height: 24px; 
}

#back-to-top:hover {
    background-color: #495057; 
}

html {
    scroll-behavior: smooth;
}

/* Style pour lightbox js */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-backdrop-filter: blur(8px); /* Compatible avec safari */
    backdrop-filter: blur(8px); /* Pas compatible avec safari */
    background-color: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: zoomIn 0.3s ease;
}

.lightbox img {
    max-width: 60vw;
    max-height: 60vh;
    min-height: 45vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
    transform: scale(1.2); /* Zoom plus fort */
}

/*MEDIA QUERY*/
/*mobile/tablette -700px*/
@media (max-width: 700px) {

    body {
        max-width: 700px; 
    }
    /* HEADER*/
    nav {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #navtop {
        flex-direction: column;
        margin-top: 0.1em;
        align-items: center;
    }

    #navtop li {
        margin: 10px 0;
        margin-left: 2.0rem;
    }


    /*MAIN*/
    main {
        padding: 1em;
    }

    #services ul {
        flex-direction: column;
    }

    #services li {
        width: auto;
    }

    #services {
        width: 100%;
    }

    #bagarre-solo, #bagarre-groupees, #voisin-vnr, #bodyguard {
        padding: 50px 0;
    }



    /*Section services*/
    section#services li {
        font-size: 1em;
    }

    section#services h3 {
        font-size: 1.2em;
    }

    section#services li p {
        font-size: 0.9em;
    }

    #bodyguard {
        margin : 100px auto;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(assets/img/quatre_heros.webp);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    padding: 100px 0;
    }

    #bagarre-solo {
        margin : 100px auto;
        background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(assets/img/bagarre_solo_bon.webp);
        background-position: center;
        background-size: cover;
        border-radius: 10px;
        padding: 100px 0;
    }

    

    /*Equipe */
    .equipe-membre img{
        max-width: 200px;
        height: 240px;
    }

    /*FOOTER -700*/
    #div-papa {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 1.5em;
    }

    #logo-footer img {
        height: 8em;
    }

    #logo-footer {
        display: flex;
        order: 2;
    }

    #div-papa h2{
        font-size: 24px;
    }

    #div-papa a {
        font-size: 16px;
    }
}