/* css/style-missione.css */

/* --- HEADER DI PAGINA --- */
.hero-missione {
    padding: 100px 0;
    background: linear-gradient(rgba(40, 50, 60, 0.8), rgba(20, 25, 30, 0.9)), url('https://picsum.photos/1600/700?random=606') center center/cover;
    color: white;
    text-align: center;
    margin-bottom: 80px;
}
.hero-missione h1 { margin: 0; font-size: 52px; text-shadow: 2px 2px 6px rgba(0,0,0,0.5); }
.hero-missione p { margin: 15px auto 0 auto; font-size: 22px; opacity: 0.9; max-width: 700px; }

/* --- TITOLO DI SEZIONE E SOTTOTITOLO --- */
.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: #004080;
}
.subtitle {
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
    color: #495057;
    max-width: 800px;
    margin: 0 auto 80px auto;
}

/* --- SEZIONE MISSIONE PRINCIPALE --- */
.core-mission-section {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 500px;
    margin-bottom: 80px;
}
.core-mission-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
}
.core-mission-content {
    position: relative;
    width: 55%;
    margin-left: auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.core-mission-icon { color: #0056b3; margin-bottom: 20px; }
.core-mission-content h3 { font-size: 28px; margin: 0 0 15px 0; }
.core-mission-content p { font-size: 17px; line-height: 1.8; color: #495057; margin-bottom: 1em; }
.core-mission-content p:last-child { margin-bottom: 0; }

/* --- SEZIONE IMPATTO --- */
.impact-section { margin-bottom: 80px; }
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}
.impact-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
}
.impact-icon { color: #0056b3; margin-bottom: 20px; }
.impact-card h4 { font-size: 20px; margin: 0 0 10px 0; color: #333; }
.impact-card p { font-size: 16px; line-height: 1.7; color: #6c757d; margin: 0; }

/* --- SEZIONE CTA FINALE --- */
.cta-section {
    background: #2c3e50;
    color: #ffffff;
    padding: 60px 30px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 40px;
}
.cta-section h2 { font-size: 32px; margin: 0 0 15px 0; }
.cta-section p { font-size: 18px; opacity: 0.9; max-width: 600px; margin: 0 auto 30px auto; }
.cta-button {
    background-color: #d12727;
    color: white;
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: background-color 0.2s, transform 0.2s;
    display: inline-block;
}
.cta-button:hover { background-color: #a71f1f; transform: scale(1.05); }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .core-mission-section {
        flex-direction: column;
        min-height: auto;
    }
    .core-mission-image {
        position: relative;
        width: 100%;
        min-height: 300px;
        margin-bottom: -100px; /* Sovrappone leggermente il box di testo */
    }
    .core-mission-content {
        width: 90%;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .hero-missione h1 { font-size: 36px; }
    .hero-missione p { font-size: 18px; }
    .section-title, .cta-section h2 { font-size: 28px; }
    .core-mission-content { width: 100%; padding: 30px; }
}