/* TABLETS (max-width: 992px) */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-photo {
        grid-row: 1;
        margin-bottom: 30px;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}


/* MOBILE (max-width: 768px) */
@media (max-width: 768px) {
    .main-nav, .header-cta {
        display: none;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .mobile-nav-toggle.is-active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .mobile-nav-toggle.is-active span:nth-child(2) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .mobile-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-dark);
        z-index: 99;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transform: translateX(100%);
        transition: transform var(--transition-speed) ease-in-out;
    }

    .mobile-nav.is-active {
        transform: translateX(0);
    }

    .mobile-nav a {
        color: var(--text-primary);
        text-decoration: none;
        font-size: 1.5rem;
        font-weight: 600;
    }
    
    body.no-scroll {
        overflow: hidden;
    }

    .hero {
        text-align: center;
        padding-top: 120px;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-links {
        justify-content: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .skills-list {
        grid-template-columns: 1fr;
    }

    .contact-email {
        font-size: 1.2rem;
    }
}
