/* Tablet */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

    .profile-placeholder {
        margin: 0 auto;
        width: 250px;
        height: 250px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .cta-buttons {
        justify-content: center;
    }

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

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* Mobile */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .subtitle {
        font-size: 1rem;
    }

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

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .profile-placeholder {
        width: 200px;
        height: 200px;
    }

    .profile-placeholder span {
        font-size: 1rem;
    }

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

    .project-card {
        margin-bottom: 1rem;
    }

    .modal-content {
        margin: 10% 1rem;
        padding: 1.5rem;
    }

    .contact-links {
        max-width: 100%;
    }
}
