/* NAV ICONS */
.nav a {
    display: flex;
    align-items: center;
    gap: 6px;
}

    .nav a svg {
        width: 18px;
        height: 18px;
        stroke: #0B7A3E; /* VERDE */
        transition: stroke 0.3s ease;
    }

    .nav a:hover svg {
        stroke: white;
    }

/* HERO CHI SIAMO */
.chi-hero {
    height: 60vh;
    background: url('../img/camion.png') center/cover no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 140px;
    padding-top: 40px;
}

    .chi-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.45);
    }

.chi-hero-content {
    position: relative;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 20px;
}

    .chi-hero-content h1 {
        font-size: 3rem;
        margin-bottom: 15px;
        color: white; /* DEVE RIMANERE BIANCO */
    }

    .chi-hero-content p {
        font-size: 1.3rem;
        color: white;
    }

/* MISSION */
.chi-mission p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #000; /* NERO */
}

/* VALORI */
.valori-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.valore-card {
    background: #ffffffcc;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(4px);
    transition: 0.3s;
}

    .valore-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 6px 25px rgba(0,0,0,0.15);
    }

    /* TITOLI E TESTI CARD – VERSIONE VERDE */
    .valore-card h3 {
        color: #0B7A3E; /* VERDE */
        margin-bottom: 10px;
    }

    .valore-card p {
        color: #000; /* NERO */
        font-size: 1.1rem;
        font-weight: 500;
    }

/* TITOLO "I NOSTRI VALORI" */
.chi-valori h2 {
    color: #0B7A3E !important; /* VERDE */
}

/* TIMELINE */
.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.timeline-item {
    background: #f4f4f4;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

    .timeline-item .year {
        font-size: 1.6rem;
        font-weight: 700;
        color: #0B7A3E; /* VERDE */
        display: block;
        margin-bottom: 10px;
    }

/* CTA FINALE (VERSIONE VERDE) */
.chi-cta {
    text-align: center;
    padding: 80px 20px;
    background: #062A18;
    color: white;
}

    .chi-cta h2 {
        margin-bottom: 20px;
        font-size: 2rem;
    }

/* CTA COMPATTA */
.chi-cta-compact {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.cta-box {
    background: rgba(255, 255, 255, 0.85);
    padding: 25px 30px;
    border-radius: 16px;
    max-width: 350px;
    width: 90%;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    backdrop-filter: blur(4px);
}

    .cta-box h3 {
        font-size: 22px;
        color: #0B7A3E; /* VERDE */
        margin-bottom: 15px;
        font-weight: 600;
    }

.cta-btn {
    display: inline-block;
    background: #0B7A3E;
    color: white;
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 16px;
    text-decoration: none;
    transition: 0.2s ease;
}

    .cta-btn:hover {
        background: #095f30;
    }

/* RESPONSIVE */
@media (max-width: 768px) {
    .valori-cards,
    .timeline {
        grid-template-columns: 1fr;
    }

    .chi-hero {
        height: 45vh;
    }

    .chi-hero-content h1 {
        font-size: 2.2rem;
    }

    .cta-box {
        padding: 20px;
        max-width: 90%;
    }

        .cta-box h3 {
            font-size: 20px;
        }

    .cta-btn {
        font-size: 15px;
        padding: 9px 18px;
    }
}

/* --- BLOCCO "LA NOSTRA STORIA" OPACIZZATO E DISTANZIATO --- */
.chi-mission {
    position: relative;
    z-index: 1;
    padding: 50px 40px; /* più aria */
    margin-top: 40px; /* distacco dal camion */
    border-radius: 18px;
}

    /* Overlay bianco opacizzato + vignetta morbida */
    .chi-mission::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        /* glass + vignetta verticale */
        background: linear-gradient( to bottom, rgba(255, 255, 255, 0.90) 0%, rgba(255, 255, 255, 0.80) 40%, rgba(255, 255, 255, 0.70) 70%, rgba(255, 255, 255, 0.55) 100% );
        backdrop-filter: blur(4px);
        border-radius: 18px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.12); /* effetto premium */
    }

/* Responsive: più opaco e più padding su mobile */
@media (max-width: 768px) {
    .chi-mission {
        padding: 35px 25px;
    }

        .chi-mission::before {
            background: linear-gradient( to bottom, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 40%, rgba(255, 255, 255, 0.75) 70%, rgba(255, 255, 255, 0.60) 100% );
        }
}
