/* css/style-volontariato.css (Versione Completa e Professionale) */

/* --- HEADER DI PAGINA --- */
.hero-volontariato {
    padding: 80px 0;
    background: linear-gradient(rgba(40, 50, 60, 0.85), rgba(20, 25, 30, 0.9)), url('https://picsum.photos/1600/600?random=505') center center/cover;
    color: white;
    text-align: center;
    margin-bottom: 60px;
}
.hero-volontariato h1 { margin: 0; font-size: 48px; text-shadow: 2px 2px 5px rgba(0,0,0,0.4); }
.hero-volontariato p { margin: 10px auto 0 auto; font-size: 20px; opacity: 0.9; max-width: 700px; }

/* --- TITOLO DI SEZIONE GENERALE --- */
.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #004080;
    position: relative;
    padding-bottom: 15px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #0056b3;
    border-radius: 2px;
}

/* --- SEZIONE INTERVENTI --- */
.interventi-section { margin-bottom: 80px; }
.intervento-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}
.intervento-card.reverse .intervento-image { order: 2; }
.intervento-image {
    min-height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.intervento-content { padding: 20px; }
.intervento-icon { color: #0056b3; margin-bottom: 20px; }
.intervento-content h3 { font-size: 28px; margin: 0 0 15px 0; }
.intervento-content p { font-size: 17px; line-height: 1.8; color: #495057; }

/* --- SEZIONE "COME FUNZIONA" --- */
.how-to-section { text-align: center; margin-bottom: 80px; }
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.step-card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}
.step-card h3 { font-size: 20px; margin: 0 0 15px 0; color: #0056b3; }
.step-card p { font-size: 16px; line-height: 1.7; color: #6c757d; margin: 0; }

/* --- SEZIONE "PERCHÉ FARLO" --- */
.why-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    margin-bottom: 80px;
}
.why-image { min-height: 450px; background-size: cover; background-position: center; }
.why-content { padding: 40px; }
.why-content .section-title { text-align: left; }
.why-content .section-title::after { left: 0; transform: none; }
.why-content ul { list-style: none; padding: 0; margin: 0; }
.why-content li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #333;
}
.why-content li svg {
    color: #28a745;
    flex-shrink: 0;
    margin-top: 4px;
}

/* --- SEZIONE CTA FINALE --- */
.cta-section {
    background-color: #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) {
    .intervento-card, .intervento-card.reverse, .why-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .intervento-card.reverse .intervento-image { order: 0; }
    .intervento-image { min-height: 300px; }
    .why-image { grid-row: 1; min-height: 300px; }
    .why-content { padding: 30px; }
}
@media (max-width: 767px) {
    .hero-volontariato h1 { font-size: 36px; }
    .hero-volontariato p { font-size: 18px; }
    .section-title, .cta-section h2 { font-size: 28px; }
}