
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 4rem;
    }

    .hero-visual {
        height: 400px;
    }

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

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

/* Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

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

    .hero-visual {
        height: 350px;
    }

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

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

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

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

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

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

    .timeline {
        padding-left: 2rem;
    }

    .timeline-item {
        padding-left: 1.5rem;
    }

    .timeline-item::before {
        left: -2.5rem;
    }

    .contact-content {
        gap: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .code-content {
        font-size: 0.75rem;
        padding: 1rem;
    }
}

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

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

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }
}