/* Navigation Bar */

a.logo {
    font-family: "Orbitron", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: #00f0ff;
    /* Bright futuristic cyan */
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: transparent;
    box-sizing: border-box;
    z-index: 1000;
    /* Keeps it above all sections */
}

.navbar .logo {
    color: #ffffff;
    font-size: 3rem;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.navbar .logo:hover {
    color: #e0e0e0;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Navigation Links */
.nav-links {
    font-family: "Orbitron", sans-serif;
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: #ffffff;
}

.nav-links a[aria-current="page"] {
    font-weight: bold;
}

/* Orange Bordered CTA Button (Screenshot 1) */
.start-project-btn {
    font-family: "Orbitron", sans-serif;
    background: transparent;
    color: #ffffff;
    border: 1px solid #ff6600;
    padding: 12px 24px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 102, 0, 0.2);
    border-radius: 2px;
}

.start-project-btn:hover {
    background: rgba(255, 102, 0, 0.15);
    box-shadow: 0 0 20px rgba(255, 102, 0, 0.5);
    color: #ffffff;
}

/* Hamburger Toggle Button (Hidden on Desktop) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1002;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: #ffffff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Media Query (Mobile / Tablet Layout) */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .navbar {
        padding: 15px 20px;
    }

    /* Transform nav-right into a full-screen dark drawer */
    .nav-right {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background-color: rgba(5, 5, 8, 0.98);
        backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1001;
    }

    .nav-right.is-open {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        margin: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .start-project-btn {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .search-container {
        width: 100%;
        justify-content: center;
    }

    .search-container input[type="search"],
    .search-container input[type="text"] {
        width: 60%;
    }

    /* Animate hamburger into an 'X' when active */
    .menu-toggle.is-active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}