#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 5%;
    transition: var(--transition-normal);
    z-index: var(--z-fixed);
    background: rgba(255, 255, 255, 0);
    color: var(--text-white);

}
    #navbar.scrolled {
        background: var(--glass-bg-strong);
        box-shadow: var(--shadow-md);
        backdrop-filter: var(--glass-backdrop);
        -webkit-backdrop-filter: var(--glass-backdrop);
    }
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}
.nav-link {
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: var(--transition-normal);
    cursor: pointer;
}
    .nav-link:hover {
        color: var(--color-primary);
    }

.logo {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);

}

#navbar.scrolled .nav-container {
    color: var(--text-dark);
}


/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: var(--spacing-xs);
    z-index: calc(var(--z-fixed) + 1);
    position: relative;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    transition: var(--transition-normal);
    border-radius: var(--radius-sm);
}

#navbar.scrolled .hamburger span {
    background: var(--text-dark);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation Overlay */
.nav-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: calc(var(--z-fixed) - 2);
    opacity: 0;
    transition: var(--transition-normal);
}

.nav-menu-overlay.active {
    opacity: 1;
}


/* Mobile Menu Full Screen */
.nav-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;

    background: var(--glass-bg-strong);
    box-shadow: var(--shadow-md);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(-100%);
    transition: var(--transition-slow);
    z-index: calc(var(--z-fixed) - 1);
}

    .nav-menu-overlay.active {
        transform: translateX(0);
    }

    .nav-menu-overlay .nav-link {
        color: var(--text-white);
        font-size: var(--font-size-3xl);
        margin: 1rem 0;
        opacity: 0;
        transform: translateY(var(--spacing-lg));
        transition: var(--transition-normal);
    }

    .nav-menu-overlay.active .nav-link {
        opacity: 1;
        transform: translateY(0);
    }

        .nav-menu-overlay.active .nav-link:nth-child(1) {
            transition-delay: 0.1s;
        }

        .nav-menu-overlay.active .nav-link:nth-child(2) {
            transition-delay: 0.2s;
        }

        .nav-menu-overlay.active .nav-link:nth-child(3) {
            transition-delay: 0.3s;
        }

        .nav-menu-overlay.active .nav-link:nth-child(4) {
            transition-delay: 0.4s;
        }








.navbar-logo{
    padding-left: var(--spacing-lg);
}

.navbar-button-contatta{

}