/* Style pour les bannières de page */
.page-banner {
    height: 350px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px; /* Pour compenser la hauteur du header fixe */
    margin-bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.page-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    z-index: 0;
}

.page-banner .container {
    position: relative;
    z-index: 1;
}

.page-banner h3 {
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInDown 1.2s ease;
}

.page-banner p {
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    animation: fadeInUp 1.2s ease;
}

.page-banner .breadcrumb {
    background: transparent;
    padding: 10px 20px;
    border-radius: 20px;
    display: inline-flex;
    animation: fadeIn 1.5s ease;
}

.page-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.8);
}

.page-banner .breadcrumb-item a {
    color: #21912d;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 5px 15px;
    border-radius: 15px;
    transition: all 0.3s ease;
    font-weight: 500;
    text-decoration: none;
}

.page-banner .breadcrumb-item a:hover {
    background-color: #21912d;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-banner .breadcrumb-item.active {
    color: white;
    padding: 5px 15px;
    background-color: rgba(33, 145, 45, 0.8);
    border-radius: 15px;
    font-weight: 500;
}

@media (max-width: 767px) {
    .page-banner {
        height: 280px;
        margin-top: 60px;
    }
    
    .page-banner h3 {
        font-size: 2rem !important;
    }
    
    .page-banner p {
        font-size: 0.95rem !important;
    }
    
    .page-banner .breadcrumb {
        padding: 5px 10px;
    }
}

/* Animations pour la bannière */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
