/* Mobile Navigation Styles */
@media screen and (max-width: 900px) {
    .navbar {
        padding: 1rem;
        position: fixed;
        width: 100%;
        background: rgba(1, 22, 39, 0.95);
        backdrop-filter: blur(10px);
        z-index: 1000;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid rgba(64, 255, 196, 0.1);
    }

    .navbar > .hamburger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1000;
        margin-right: 20px;
    }

    .navbar > .hamburger-menu ~ .hamburger-menu {
        display: none;
    }

    .hamburger-menu span {
        width: 30px;
        height: 2px;
        background: var(--accent-color);
        border-radius: 3px;
        transition: all 0.3s ease-in-out;
        position: relative;
        transform-origin: 1px;
        box-shadow: 0 0 10px var(--accent-color);
    }

    .hamburger-menu.active span:first-child {
        transform: rotate(45deg) translate(0px, -2px);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(0px, 2px);
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100%;
        background: rgba(1, 22, 39, 0.97);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 999;
        margin: 0;
        padding: 5rem 0;
    }

    .nav-links.active {
        display: flex !important;
    }

    .nav-links li {
        margin: 2rem 0;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links li a {
        font-size: 2rem !important;
        padding: 1rem 2rem !important;
        display: block;
        text-align: center;
        transition: color 0.3s ease;
        color: var(--text-primary);
    }

    .nav-links li a:hover {
        color: var(--accent-color) !important;
    }

    /* Mobile-specific text sizes */
    @media screen and (max-width: 480px) {
        h1, .h1 {
            font-size: 2rem !important;
        }

        h2, .h2 {
            font-size: 1.8rem !important;
        }

        h3, .h3 {
            font-size: 1.6rem !important;
        }

        p, .p, .description {
            font-size: 1.2rem !important;
            line-height: 1.6 !important;
        }

        .terminal-content {
            padding: 1.5rem !important;
        }

        .project-card {
            padding: 1.5rem !important;
            margin-bottom: 1.5rem !important;
        }

        .project-header h3 {
            font-size: 1.6rem !important;
        }

        .badge {
            font-size: 1rem !important;
            padding: 0.6rem 1rem !important;
        }

        .github-link {
            font-size: 1.1rem !important;
            padding: 0.8rem 1.2rem !important;
        }

        .typing-effect {
            font-size: 1.4rem !important;
        }
    }
}

/* Show desktop navigation on larger screens */
@media screen and (min-width: 901px) {
    .nav-links {
        display: flex;
    }

    .hamburger-menu {
        display: none !important;
    }
}
