﻿
.hero-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 60px 0;
    margin-top: 110px;
}

.card-custom {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    background: white;
    margin-bottom: 30px;
}

.card-header-custom {
    background: linear-gradient(135deg, #0b3d20 0%, #145a32 60%, #1e8449 100%);
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.content-section {
    padding: 40px;
}

.text-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    text-align: justify;
}

    .text-content ul {
        padding-left: 20px;
        list-style-type: disc;
    }

        .text-content ul li {
            margin-bottom: 8px;
        }

.info-badge {
    background: #f8f9fa;
    border-left: 4px solid #1e8449;
    padding: 12px 18px;
    border-radius: 8px;
    margin: 10px 0;
}

    .info-badge strong {
        color: #0b3d20;
    }

.image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.director-image {
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    border: 4px solid #1e8449;
    padding: 5px;
    background: white;
    height: 300px;
    width: auto;
    object-fit: cover;
}

    .director-image:hover {
        transform: scale(1.05);
    }

.director-name {
    margin-top: 20px;
    font-size: 20px;
    font-weight: 600;
    color: #1e8449;
    text-align: center;
}

.director-title {
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

.quote-icon {
    font-size: 48px;
    color: #1e8449;
    margin-bottom: 20px;
}

.sub-directions {
    background: #f0f7f0;
    border-radius: 10px;
    padding: 15px 20px;
    margin-top: 15px;
}

    .sub-directions h6 {
        color: #0b3d20;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .sub-directions ul {
        list-style-type: none;
        padding-left: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

        .sub-directions ul li {
            background: white;
            padding: 5px 15px;
            border-radius: 20px;
            border: 1px solid #1e8449;
            color: #0b3d20;
            font-size: 14px;
        }

/*    .info-sidebar {
        background: #f8f9fa;
        border-radius: 10px;
        padding: 20px;
        border: 1px solid #e2e8f0;
    }

        .info-sidebar .info-item {
            padding: 10px 0;
            border-bottom: 1px solid #e2e8f0;
        }

            .info-sidebar .info-item:last-child {
                border-bottom: none;
            }

            .info-sidebar .info-item .label {
                font-size: 12px;
                color: #888;
                text-transform: uppercase;
                letter-spacing: 1px;
            }

            .info-sidebar .info-item .value {
                font-weight: 600;
                color: #0b3d20;
            }*/

/*    .creation-badge {
        display: inline-block;
        background: #1e8449;
        color: white;
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
    }*/

/* ===== STAFF SECTION ===== */
.staff-section {
    margin-top: 30px;
}

.staff-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #1e8449;
    margin-bottom: 30px;
    text-transform: uppercase;
    position: relative;
}

    .staff-title::after {
        content: "";
        display: block;
        width: 80px;
        height: 4px;
        background: #1e8449;
        margin: 10px auto 0;
        border-radius: 2px;
    }

.staff-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
    height: 100%;
    border: 1px solid #e8f0e8;
}

    .staff-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.15);
        border-color: #1e8449;
    }

.staff-image {
    border-radius: 10px;
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #f0f7f0;
    transition: border-color 0.3s ease;
}

.staff-card:hover .staff-image {
    border-color: #1e8449;
}

.staff-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    line-height: 1.6;
}

    .staff-name .staff-fonction {
        color: #1e8449;
        font-size: 13px;
        font-weight: 500;
        display: block;
        margin-bottom: 3px;
    }

/*    .staff-empty {
        text-align: center;
        padding: 40px 20px;
        color: #999;
        font-size: 16px;
    }

        .staff-empty i {
            font-size: 48px;
            color: #ccc;
            display: block;
            margin-bottom: 15px;
        }*/

/* Image par défaut en CSS */
.default-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f0e8, #d0e0d0);
    color: #1e8449;
    font-size: 60px;
    border-radius: 10px;
    width: 100%;
    height: 250px;
    border: 3px solid #f0f7f0;
}

.default-avatar-large {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e8449, #0b3d20);
    color: white;
    font-size: 80px;
    border-radius: 15px;
    border: 4px solid #1e8449;
    height: 300px;
    width: auto;
    aspect-ratio: 1/1;
}

/* ===== RESPONSIVE STAFF ===== */
/* Pour les grands écrans, les cartes prennent toute la largeur */
@media (min-width: 992px) {
    .staff-card {
        max-width: 100%;
    }
}

/* Pour les tablettes, les cartes sont légèrement réduites */
@media (max-width: 991px) and (min-width: 768px) {
    .staff-card {
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Pour les petits écrans, les cartes sont centrées */
@media (max-width: 767px) {
    .staff-card {
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Pour les très petits écrans, les cartes prennent toute la largeur */
@media (max-width: 576px) {
    .staff-card {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Centrage des colonnes sur mobile */
@media (max-width: 767px) {
    .staff-col {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .content-section {
        padding: 20px;
    }

    .card-header-custom {
        font-size: 20px;
    }

    .text-content {
        font-size: 15px;
    }

    .sub-directions ul {
        flex-direction: column;
    }

        .sub-directions ul li {
            text-align: center;
        }

    .director-image {
        height: 250px;
    }

    .staff-image {
        height: 200px;
    }

    .staff-card {
        padding: 15px;
    }

    .default-avatar {
        height: 200px;
        font-size: 50px;
    }

    .default-avatar-large {
        height: 250px;
        font-size: 60px;
    }
}

