/* Font + reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #000; /* sécurité si image ne charge pas */
    color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
}

/* Page d'accueil */
body.home {
    background-image: url('../img/back-4.jpg');
}

/* Page contact */
body.contact {
    background-image: url('../img/back-13.jpg');
}

/* Page à propos */
body.apropos {
    background-image: url('../img/back-10.jpg');
}

/* Page à RGPD */
body.RGPD {
    background-image: url('../img/back-14.jpg');
}

/* Page à employer */
body.employer {
    background-image: url('../img/back-15.jpg');
}

/* Page à quisuisje */
body.quisuisje {
    background-image: url('../img/back-16.jpg');
}


/* HEADER */

header {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 0 0 10px 10px;
    padding: 1rem;
    text-align: center;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}


.nav-left {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.nav-left .logo {
    height: 60px;
    border-radius: 10px;
}

nav {
    position: relative; /* pour que .nav-left en absolute fonctionne correctement */
    display: flex;
    justify-content: center; /* le menu reste centré ou tu laisses ton style */
    align-items: center;
    padding: 1rem;
}

nav {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* autorise le passage sur 2 lignes si besoin */
    padding: 1rem;
}

.nav-left {
    flex: 0 0 auto;
    min-width: 65px; /* ou plus selon ton logo */
}

.nav-menu {
    flex: 1 1 auto;
    display: flex;
    justify-content: center; /* centrer le menu */
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}











/* FIN HEADER /*





/*  Block MAIN */
main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.services-list-home a {
    text-decoration: none; /* Retirer soulignement*/
}
a {
    text-decoration: none; /* Retirer soulignement pour tous */
}



.content-box {
    max-width: 600px;
    background-color: rgba(0, 0, 0, 0.7); /* même que le footer */
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    color: #f5f5f5;
    box-shadow: 0 0 15px rgba(124, 253, 215, 0.5); /* halo blanc autour */
}


.services-list li {
    margin-bottom: 1.5rem;
}

.service-item {
    display: flex;
    align-items: center;
    background-color: rgba(185, 183, 183, 0.4);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    gap: 1rem;
}

.service-item:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.service-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.service-item span {
    font-size: 1.1rem;
    color: #fff;
}



.content-box h1 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.content-box p {
    font-size: 1.2rem;
    line-height: 1.5;
}

.content-box h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
}

.services-list li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #45a049;
}


.services-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
}

.services-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.services-list img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* effet fluide */
}

.services-list img:hover {
    transform: scale(2.2); /* agrandissement  */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); /* renforce l'ombre */
}


.services-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
}

.services-list li {
    margin-bottom: 1.5rem;
}

.service-item {
    display: flex;
    align-items: flex-start;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.service-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 1rem;
    flex-shrink: 0;
}

.service-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    color: #fff;
}

.service-content p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
    color: #ddd;
}


.back-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.6rem 1.2rem;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background-color: #45a049;
}


/* HOME */
.services-list-home .service-item {
    display: flex;
    align-items: center; /* clé : centre verticalement image + bloc texte */
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    min-height: 120px; /* pour bien caler la hauteur */
    gap: 1rem;
}

.services-list-home .service-item:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.4);
}

.services-list-home .service-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.services-list-home .service-content {
    display: flex;
    flex-direction: column;
    justify-content: center; /* centre le texte verticalement dans le bloc */
    flex: 1; /* pour que le texte prenne toute la place disponible */
}

.services-list-home .service-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: #fff;
}

.services-list-home .service-content p {
    margin: 0;
    font-size: 1rem;
    color: #ddd;
    line-height: 1.4;
}











/* APROPO */
.services-list-apropos {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.services-list-apropos li {
    margin-bottom: 1.5rem;
}

.services-list-apropos .service-item {
    display: flex;
    align-items: flex-start;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-list-apropos .service-item:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.services-list-apropos .service-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 1rem;
    flex-shrink: 0;
}

.services-list-apropos .service-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    color: #fff;
}

.services-list-apropos .service-content p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
    color: #ddd;
}
.services-list-apropos img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* effet fluide */
}

.services-list-apropos img:hover {
    transform: scale(6.2); /* agrandissement  */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); /* renforce l'ombre */
}


/* FIN APROPO */

/* CONTACT*/

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-item img {
    width: 30px;
    height: 30px;
    margin-right: 0.8rem;
}

.contact-item a {
    color: #f5f5f5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #4CAF50;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    padding: 0.75rem;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #45a049;
}

.contact-form select {
    appearance: none; /* enlève le style par défaut (important pour Chrome/Firefox) */
    -webkit-appearance: none; /* pour Safari */
    -moz-appearance: none; /* pour Firefox */

    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 8px; /* BORD ARRONDI */
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
    margin-bottom: 1rem; /* espace entre les champs */
}

.contact-form select:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.contact-form select:focus {
    outline: none;
    box-shadow: 0 0 0 2px #4CAF50; /* joli focus en vert */
}



/* FIN CONTACTE*/



/* EMPLOYER + QUISUISJE */

.employee-profile {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: 20px;
}

.employee-photo {
    width: 150px;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;  /* Animation fluide */
}

.employee-photo:hover {
    transform: scale(1.15);  /* Agrandissement léger (5%) */
}


.employee-content {
    max-width: 600px;
}

.employer-name {
    border: 2px solid #19452a7b;   /* Bordure grise foncée */
    padding: 5px 10px;             /* Espace intérieur */
    border-radius: 8px;            /* Coins arrondis */
    background-color: #2828287c;   /* Fond clair */
    display: inline-block;         /* Pour que la taille du bloc s'adapte au texte */
    font-size: 1.5em;              /* Taille du texte */
    color: #ffffff;                /* Couleur du texte */
    margin-bottom: 15px;           /* Espace en dessous */
}

.employer-diplome {
    border: 2px solid #19452a7b;   /* Même couleur de bordure */
    padding: 5px 10px;             /* Moins d'espace intérieur */
    border-radius: 8px;            /* Coins arrondis identiques */
    background-color: #2828287c;   /* Même fond */
    display: inline-block;         /* Pour encadrer juste le texte */
    color: #ffffff;                /* Même couleur de texte */
    margin-bottom: 10px;           /* Un peu moins d'espace en dessous */
}

.employer-bio {
    border: 2px solid #19452a7b;   /* Même couleur que les autres box */
    padding: 10px 15px;            /* Espace intérieur confortable */
    border-radius: 8px;            /* Coins arrondis */
    background-color: #2828287c;   /* Même fond que les autres box */
    color: #ffffff;                /* Couleur du texte */
    text-align: left;           /* Justification du texte */
    margin-bottom: 15px;           /* Espace en dessous */
    line-height: 1.6;              /* Meilleure lisibilité */
}

/* FIN EMPLOYER + QUISUISJE */







/* Fin MAIN */









/* BANNER */
#banner {
    position: relative; /* plus de fixed */
    margin: 1rem auto; /* centrage horizontal + espace sous header */
    max-width: 800px; /* largeur max */
    background-color: rgba(0, 0, 0, 0.7); /* fond bien visible */
    color: #f5f5f5;
    text-align: center;
    padding: 1rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 1; /* plus besoin de 9999 */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.banner-content {
    flex: 1;
    margin: 0; /* pas besoin de marge gauche */
}

#minimizeBanner {
    background-color: #333;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease, border 0.3s ease;
    font-size: 0.9rem;
}

#minimizeBanner:hover {
    background-color: #6e6e6e;
    border: 1px solid #4CAF50;
}
/* FIN BANNER */








/* FOOTER */

.credit-button {
    text-align: center;
    margin-top: 1rem;
}

.credit-button a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #1d5726b3;
    color: white;
    border-radius: 5px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background-color 0.3s;
}

.credit-button a:hover {
    background-color: #29b948;
}



footer {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px 10px 0 0;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
}


.footer-image {
    margin-top: 1rem;
}

.footer-image img {
    height: 100px; /* tu peux ajuster la taille */
    border-radius: 8px;
    opacity: 0.8; /* légèrement transparent, plus discret */
    transition: opacity 0.3s ease;
}

.footer-image img:hover {
    opacity: 1;
}


/* FIN FOOTER */


/* Responsive mobile */
@media (max-width: 600px) {
    /* Menu déroulant en colonne, toujours visible */
    nav {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-menu {
        width: 100%;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: stretch;
        background-color: rgba(0, 0, 0, 0.8);
        padding: 1rem;
        border-radius: 10px;
        gap: 0.5rem;
        position: static;
        display: flex !important;
    }

    .nav-menu li {
        text-align: center;
    }

    .nav-menu a {
        display: block;
        width: 100%;
    }

    .nav-left {
        margin-bottom: 1rem;
        text-align: center;
    }

    /* Images au-dessus du texte */
    .service-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .service-item img {
        margin: 0 0 1rem 0;
    }

    .service-content {
        align-items: center;
    }

    /* Réduction des marges et tailles pour mobile */
    .content-box {
        padding: 0.5rem;
    }

    .content-box h1 {
        font-size: 1.5rem;
    }

    .content-box h2 {
        font-size: 1.3rem;
    }

    .content-box p {
        font-size: 1rem;
    }

    .services-list,
    .services-list-apropos {
        margin: 0;
        padding: 0;
    }

    .services-list li,
    .services-list-apropos li {
        margin-bottom: 0.6rem;
    }

    .service-item {
        padding: 0.5rem;
        margin: 0.3rem 0;
    }

    /* Ajustement page "quisuisje" */
    .employee-profile {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .employee-photo {
        width: 140px;
    }

    .employee-content {
        max-width: 100%;
        text-align: center;
    }

    .employer-diplome,
    .employer-bio {
        font-size: 1rem;
        padding: 0.5rem;
    }

    .services-list-apropos li .service-item img {
        width: 180px !important;
        height: 180px !important;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .services-list-apropos li .service-item img:hover {
        transform: scale(1.05);
        transition: transform 0.3s ease-in-out;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
        cursor: pointer;
    }


}