.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
    z-index: 1000;
    transition:
        height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        padding 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        background-color 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        backdrop-filter 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        -webkit-backdrop-filter 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scrolled Navbar with enhanced elevation & depth */
.navbar.scrolled {
    height: 60px;
    padding: 0 25px;
    background-color: rgba(175, 175, 175, 0);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(2px);
}

.logo {
    display: flex;
    align-items: center;
    overflow: visible;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transform: scale(1.28);
    transform-origin: left center;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.85)) drop-shadow(0 4px 20px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 2px rgba(0, 0, 0, 0.9));
    will-change: height, transform;
    transition:
        height 0.45s cubic-bezier(0.36, 1, 0.66, 1),
        transform 0.45s cubic-bezier(0.36, 1, 0.66, 1),
        filter 0.45s cubic-bezier(0.36, 1, 0.66, 1);
}

.navbar.scrolled .logo img {
    height: 42px;
    transform: scale(1.15);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.75)) drop-shadow(0 4px 14px rgba(0, 0, 0, 0.5));
}

.logo a {
    display: flex;
    align-items: center;
    line-height: 0;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-lang {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: color .3s var(--ease);
    font-weight: 500;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.75));
}

.nav-lang:hover {
    color: var(--accent);
}

.nav-lang svg.globe-icon {
    width: 22px;
    height: 22px;
}

.menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1001;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.75));
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-bars {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 30px;
    height: 18px;
}

.menu-bars span {
    width: 30px;
    height: 2.5px;
    background: #ffffff;
    display: block;
    border-radius: 1px;
    transform-origin: center center;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        background 0.3s ease;
}

.menu-bars span:nth-child(3) {
    display: none !important;
}

.menu-icon:hover .menu-bars span {
    background: var(--accent);
}


/* ===== RESPONSIVE NAVBAR ===== */
@media (max-width: 1024px) {
    .navbar {
        height: 70px;
        padding: 0 28px;
    }

    .navbar.scrolled {
        height: 60px;
        padding: 0 28px;
    }

    .menu-icon {
        width: 28px;
        height: 28px;
    }

    .menu-bars {
        width: 28px;
    }

    .menu-bars span {
        width: 28px;
        height: 2.5px;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 56px;
        padding: 0 20px;
    }

    .navbar.scrolled {
        height: 52px;
        padding: 0 20px;
    }

    .logo img {
        height: 44px;
        transform: scale(1.15);
    }

    .navbar.scrolled .logo img {
        height: 40px;
        transform: scale(1.1);
    }

    .nav-actions {
        gap: 16px;
    }

    .menu-icon {
        width: 24px;
        height: 24px;
    }

    .menu-bars {
        width: 24px;
    }

    .menu-bars span {
        width: 24px;
        height: 2px;
    }

}

@media (max-width: 480px) {
    .navbar {
        height: 52px;
        padding: 0 16px;
    }

    .navbar.scrolled {
        height: 48px;
        padding: 0 16px;
    }

    .logo img {
        height: 38px;
        transform: scale(1.08);
    }

    .navbar.scrolled .logo img {
        height: 34px;
        transform: scale(1.02);
    }

    .menu-icon {
        width: 22px;
        height: 22px;
    }

    .menu-bars {
        width: 22px;
    }

    .menu-bars span {
        width: 22px;
        height: 2px;
    }
}

/* ==========================================================
   HIGH RESOLUTION & TV DISPLAYS (1920px+, 2560px+, 3840px+ 4K UHD)
   ========================================================== */
@media (min-width: 1920px) {
    .navbar {
        height: 94px;
        padding: 0 60px;
    }

    .navbar.scrolled {
        height: 82px;
    }

    .logo img {
        height: 58px;
    }

    .navbar.scrolled .logo img {
        height: 48px;
    }

    .nav-lang {
        font-size: 14px;
    }
}

@media (min-width: 2560px) {
    .navbar {
        height: 116px;
        padding: 0 80px;
    }

    .navbar.scrolled {
        height: 98px;
        padding: 0 80px;
    }

    .logo img {
        height: 72px;
    }

    .navbar.scrolled .logo img {
        height: 60px;
    }

    .nav-actions {
        gap: 36px;
    }

    .nav-lang {
        font-size: 17px;
        letter-spacing: 1.5px;
    }

    .menu-icon {
        width: 36px;
        height: 36px;
    }

    .menu-bars {
        width: 36px;
        height: 22px;
    }

    .menu-bars span {
        width: 36px;
        height: 2.5px;
    }
}

@media (min-width: 3840px) {
    .navbar {
        height: 148px;
        padding: 0 120px;
    }

    .navbar.scrolled {
        height: 126px;
        padding: 0 120px;
    }

    .logo img {
        height: 94px;
    }

    .navbar.scrolled .logo img {
        height: 78px;
    }

    .nav-actions {
        gap: 52px;
    }

    .nav-lang {
        font-size: 22px;
        letter-spacing: 2px;
    }

    .menu-icon {
        width: 48px;
        height: 48px;
    }

    .menu-bars {
        width: 48px;
        height: 30px;
    }

    .menu-bars span {
        width: 48px;
        height: 3.5px;
    }
}