#nav-bar {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(122, 95, 150, 0.3);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(122, 95, 150, 0.15);
    line-height: 0;
}

#hamburger-menu {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(122, 95, 150, 0.3);
    box-shadow: 0 2px 6px rgba(122, 95, 150, 0.15);
}

#nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
}

#nav-logo img {
    height: 3rem;
}

#nav-links ul,
#hamburger-nav-links ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

#nav-links a,
#hamburger-nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

#nav-links a:hover,
#hamburger-nav-links a:hover {
    color: var(--primary);
}

#nav-links a:after,
#hamburger-nav-links a:after {
    bottom: -22px;
}

#nav-links li,
#hamburger-nav-links li {
    margin: 0 1rem;
}

#hamburger-button {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 2;
    margin-top: 0.3em;
}

#hamburger-button span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--white);
    border-radius: 3px;
}

#hamburger-button:hover span,
#hamburger-button.active:hover span {
    background-color: var(--primary);
}

#hamburger-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    background-color: var(--black);
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

#hamburger-nav-links ul {
    flex-direction: column;
    align-items: center;
}

#hamburger-nav-links li {
    margin: 1rem 0;
}

#hamburger-social-icons {
    margin: 1.4rem 0 0.8rem 0;
    justify-content: center;
}

@media (max-width: 960px) {
    #nav-logo {
        width: 100%;
    }

    #nav-logo img {
        width: 100%;
        height: auto;
    }

    #nav-container {
        flex-direction: column;
        padding: 1rem;
    }

    #nav-links ul {
        margin: 1rem 0;
    }
}

@media (max-width: 1026px) {
    #nav-links,
    #nav-social-links {
        display: none;
    }

    #hamburger-button {
        display: flex;
    }

    #hamburger-button.active + #hamburger-menu {
        display: flex;
    }

    #hamburger-button.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    #hamburger-button.active span:nth-child(2) {
        opacity: 0;
    }

    #hamburger-button.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}
