.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: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

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

.navbar .icon {
    display: none;
}

.side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(85%, 400px);
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(0.5px);
    z-index: 3000;
    transition: right 0.4s 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: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    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;
    }
}

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

    .navbar-logo {
        height: 40px;
    }
}