/* website/static/website/demos/zuri_hope/css/page.css */

/* --- INNER PAGE BANNER --- */
/* --- INNER PAGE BANNER --- */
.page-banner {
    width: 100%;
    aspect-ratio: 1200 / 236; /* Garde la proportion exacte de ton image */
    
    /* --- CORRECTIONS ANTI-MENU --- */
    height: auto; /* Écrase les 80px imposés par le menu */
    position: relative; /* Écrase le mode "sticky" du menu */
    box-shadow: none; /* Enlève l'ombre du menu */
    z-index: 1; /* Remet la bannière en arrière-plan normal */
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; /* Avec le bon ratio, cover affichera 100% de l'image intacte */
}

.page-banner h1 {
    color: #ffffff;
    font-size: 5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.85);
}

/* --- GENERIC CONTENT SECTIONS --- */
.content-section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.text-block h2 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 2.3rem;
}

.text-block p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #444;
}

/* Mission & Vision Cards */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.mission-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-top: 5px solid var(--primary-color);
    text-align: center;
    transition: transform 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-10px);
}

/* --- PROGRAMS PAGE --- */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: var(--container-width);
    margin: 40px auto;
}

.program-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.program-content {
    padding: 25px;
    text-align: center;
}

.program-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}
.page-banner { position: relative; overflow: hidden; }
.page-banner h1 { position: relative; z-index: 1; }

/* --- DESKTOP : conserve le bandeau panoramique avec texte centre dessus --- */
@media (min-width: 1031px) {
    .page-banner h1 { font-size: 5rem; letter-spacing: 3px; }
}

/* --- MOBILE : Pattern 2 empile (image en haut, texte sur fond blanc dessous) --- */
@media (max-width: 1030px) {
    .page-banner {
        aspect-ratio: auto;
        height: auto;
        display: block;
        background-image: none !important;
        padding-bottom: 30px;
        background-color: #ffffff;
    }
    .page-banner img {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-banner h1 {
        color: #0A1128;
        font-size: 2rem;
        letter-spacing: 1px;
        text-shadow: none;
        text-align: center;
        padding: 25px 20px 0 20px;
        margin: 0;
    }
}
