.navbar {
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.navbarContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 100%;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.05em;
    z-index: 101;
    color: var(--foreground);
    text-decoration: none;
    transition: opacity 0.2s;
    cursor: pointer;
}

.logo:hover {
    opacity: 0.8;
}

.menuButton {
    display: none;
    background: none;
    border: none;
    color: var(--foreground);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

.menuButton:hover {
    opacity: 0.8;
}

.overlay {
    display: none;
}

.navLinks {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.link {
    font-size: 0.9rem;
    color: var(--foreground-muted);
    transition: color 0.2s;
}

.link:hover {
    color: var(--foreground);
}

/* Mobile menu elements - hidden on desktop */
.mobileMenuHeader,
.mobileMenuTitle,
.closeMenuButton {
    display: none;
}

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

    .menuButton {
        display: block;
    }

    .navLinks {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 300px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
        padding-top: 5rem;
        gap: 1.5rem;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 102;
        border-left: 1px solid var(--border);
        overflow-y: auto;
    }

    .mobileMenuHeader {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin-bottom: 0.5rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--border);
    }

    .mobileMenuTitle {
        display: block !important;
        font-weight: 600;
        font-size: 1rem;
        color: var(--foreground);
    }

    .closeMenuButton {
        display: flex !important;
        background: none;
        border: none;
        color: var(--foreground);
        cursor: pointer;
        padding: 0.5rem;
        border-radius: 0.25rem;
        transition: background 0.2s;
        align-items: center;
        justify-content: center;
    }

    .closeMenuButton:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 101;
        backdrop-filter: blur(2px);
    }

    .navLinksOpen {
        transform: translateX(0);
    }

    .link {
        font-size: 1rem;
        width: 100%;
        padding: 0.75rem 0;
    }
}

@media (max-width: 480px) {
    .navbarContainer {
        padding: 1rem;
    }

    .logo {
        font-size: 1.1rem;
    }

    .navLinks {
        max-width: 100%;
        padding: 1rem;
        padding-top: 4rem;
    }

    .mobileMenuHeader {
        padding-bottom: 0.75rem;
    }
}

