@media(max-width: 1024px) {

    .hero-content,
    .hero-image,
    .about-text,
    .about-image,
    .gallery-item {
        grid-column: span 12;
    }

    .about-image {
        margin-top: 50px;
    }

    .hero-image {
        margin-top: 50px;
    }

    .hero h1 {
        font-size: 4.5rem;
    }
}

@media(max-width: 760px) {

    section {
        padding: 90px 0;
    }

    .nav-links {
        gap: 14px;
        font-size: 0.92rem;
    }

    .hero {
        text-align: center;
    }

    .hero h1 {
        font-size: 3.4rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .profile-wrapper {
        width: 240px;
        height: 240px;
    }

    .contact-card {
        padding: 35px;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 1.5rem;
    }
}