.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.77);
    backdrop-filter: blur(10px);
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.navbar-logo {
    height: 50px;
    width: auto;
    transition: opacity 0.2s ease;
}

.navbar-logo:hover {
    opacity: 0.8;
}

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

.navbar-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.navbar-links a:hover {
    opacity: 1;
}

.search-bar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2500;
    opacity: 85%;
}

.search-bar input {
    padding: 0.75rem 1.25rem;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: 'Onest', sans-serif;
    width: 300px;
    transition: all 0.2s ease;
}

.search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-bar input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.category-container-navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(180px);
    z-index: 2500;
}

.category-container-navbar button#categoryBtn {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Onest', sans-serif;
    transition: all 0.2s ease;
    min-height: 48px;
    touch-action: manipulation;
}

.category-container-navbar button#categoryBtn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.category-container-navbar button#categoryBtn:active {
    transform: translateY(1px);
}

.category-dropdown-navbar {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.5rem;
    min-width: 200px;
    z-index: 2501;
}

.category-dropdown-navbar.show {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-option {
    background: rgba(255, 255, 255, 0.05);
    opacity: 85%;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Onest', sans-serif;
    transition: all 0.44s ease;
    text-align: left;
}

.category-option:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.category-option:active {
    background: rgba(255, 255, 255, 0.1);
}

.navbar .icon {
    display: none;
}

.side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(0.5px);
    z-index: 3000;
    transition: right 1.11s ease;
    padding-top: 60px;
}

.side-menu.active {
    right: 0;
}

.side-menu .close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 3rem;
    color: #f5f5f5;
    text-decoration: none;
    line-height: 1;
}

.side-menu-links {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.side-menu-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 1.7rem;
    font-family: 'Onest', sans-serif;
    font-weight: bold;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s ease;
}

.side-menu-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

@media screen and (max-width: 1024px) {
    .navbar {
        padding: 1rem 1.5rem;
    }

    .navbar-logo {
        height: 45px;
    }

    .navbar-links {
        display: none;
    }

    .navbar a.icon {
        display: block;
        position: absolute;
        right: 1.5rem;
        top: 1.25rem;
    }

    .search-bar {
        position: fixed;
        top: 1.5rem;
        left: 50%;
        transform: translateX(-50%);
        z-index: 2500;
    }

    .search-bar input {
        width: 250px;
    }



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

    .navbar-logo {
        height: 40px;
    }

    .search-bar input {
        width: 200px;
        font-size: 1rem;
        padding: 0.6rem 1rem;
    }
}