/* STAFF PAGE CUSTOM STYLES - inspired by rules.css and your screenshot */

body {
    background: #18181b;
    color: #fff;
}

.staff-section {
    margin-top: 0;
    padding-bottom: 60px;
    position: relative;
    min-height: 400px;
    background: url('../../images/header-background.png') no-repeat fixed center;
    background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -webkit-background-size: cover;
}
.staff-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(11, 11, 14, 0.55); /* overlay foncé comme rules.html */
    z-index: 0;
}
.staff-title, .staff-roles-container {
    position: relative;
    z-index: 1;
}

.staff-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.staff-roles-container {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.staff-sidebar {
    background: #1a1a1f;
    padding: 32px 0 32px 0;
    width: 320px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.staff-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 80%;
}
.staff-sidebar li {
    margin-bottom: 18px;
    font-size: 1.15rem;
    font-weight: 600;
    text-align: center;
    color: #bfc2c7;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s, background 0.2s;
    border-radius: 6px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.staff-sidebar li.active,
.staff-sidebar li:hover {
    font-weight: 700;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.18);
    /* padding: 0; */
    /* height: 56px; */
    /* font-size: 1.18rem; */
}
.staff-sidebar li.owner:hover,
.staff-sidebar li.owner.active {
    background: #c00;
    color: #fff;
}
.staff-sidebar li.developer:hover,
.staff-sidebar li.developer.active {
    background: #00eaff;
    color: #fff;
}
.staff-sidebar li.manager:hover,
.staff-sidebar li.manager.active {
    background: #ffb700;
    color: #fff;
}
.staff-sidebar li.admin:hover,
.staff-sidebar li.admin.active {
    background: #ff6666;
    color: #fff;
}
.staff-sidebar li.moderator:hover,
.staff-sidebar li.moderator.active {
    background: #3c7cff;
    color: #fff;
}
.staff-sidebar li.helper:hover,
.staff-sidebar li.helper.active {
    background: #ff3cd5;
    color: #18181b;
}
.staff-sidebar li.gerant:hover,
.staff-sidebar li.gerant.active {
    background: #c00;
    color: #fff;
}

.staff-main {
    flex: 1;
    padding-left: 40px;
}

.staff-role-block {
    margin-bottom: 48px;
}
.staff-role-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.staff-role-title::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 32px;
    border-radius: 2px;
    margin-right: 8px;
}
.staff-role-title.gerant::before {
    background: #c00;
}
.staff-role-title.developer::before {
    background: #00eaff;
}
.staff-role-title.admin::before {
    background: #ff6666;
}
.staff-role-title.moderator::before {
    background: #3c7cff;
}
.staff-role-title.helper::before {
    background: #ff3cd5;
}
/* Add more role colors as needed */

.staff-members {
    display: flex;
    gap: 48px;
    align-items: flex-end;
}
.staff-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.staff-member img {
    width: 120px;
    height: 180px;
    object-fit: contain;
    background: #222;
    border-radius: 8px;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.18);
}
.staff-member-name {
    font-size: 1.1rem;
    color: #bfc2c7;
    font-weight: 600;
    margin-top: 4px;
}

/* Animation fade pour le texte du footer */
.footer-fade-scroll {
    background: #232328 !important;
    color: #fff !important;
    opacity: 1 !important;
    transition: none !important;
}
.footer-fade-scroll .copyright,
.footer-fade-scroll .social-links {
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(.77,0,.18,1);
}
.footer-fade-scroll.visible .copyright,
.footer-fade-scroll.visible .social-links {
    opacity: 1;
}

@media (max-width: 900px) {
    .staff-roles-container {
        flex-direction: column;
        gap: 24px;
        align-items: stretch;
    }
    .staff-sidebar {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        padding: 16px 0;
        margin-bottom: 0;
    }
    .staff-sidebar ul {
        display: flex;
        gap: 12px;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    .staff-sidebar li {
        margin-bottom: 0;
        min-width: 120px;
        font-size: 1rem;
        height: 44px;
    }
    .staff-main {
        padding-left: 0;
        width: 100%;
    }
    .staff-role-title {
        font-size: 1.3rem;
        justify-content: center;
    }
    .staff-members {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }
    .staff-member img {
        width: 90px;
        height: 120px;
    }
}
