

/* =========================
   ABOUT PAGE
========================= */

.about {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
    max-width: 1100px;
    margin: 8rem auto;
    padding: 0 2rem;
}

/* TESTO */
.about-text {
    flex: 1.4;
}

.about-text h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
    background: linear-gradient(#3a11de, #ffed00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text .intro {
    font-size: 2rem;
    font-weight: 500;
    max-width: 60ch;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.about-text p {
    font-size: 1.7rem;
    line-height: 1.7;
    color: var(--muted-text);
    margin-bottom: 1.5rem;
}
.about-photo {
    display: flex;
    justify-content: center;
}

/* CTA */
.about-cta {
    margin-top: 3rem;
    display: flex;
    gap: 1.5rem;
}

/* FOTO */
.about-photo {
    flex: 1;
    text-align: center;
}

.about-photo img {
    width: 100%;
    max-width: 320px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    transition: 0.3s ease;
}

.about-photo img:hover {
    transform: scale(1.03);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .about {
        flex-direction: column;
        text-align: center;
        margin: 6rem auto;
    }

    .about-text h1 {
        font-size: 3.2rem;
    }

    .about-text .intro {
        font-size: 1.8rem;
    }

    .about-cta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .about-photo img {
        max-width: 260px;
    }
}

@media (max-width: 600px) {
    .about {
        margin: 4rem auto;
    }

    .about-text h1 {
        font-size: 2.8rem;
    }

    .about-text p {
        font-size: 1.6rem;
    }
}