/* =============================================
   HEADER / NAVIGATION
   Fixed nav, transparent → white on scroll
   Ignitex reference: minimal 4-item nav + hamburger
   ============================================= */

.ng-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.ng-header--scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.ng-header--scrolled .ng-logo--light { display: none; }
.ng-header--scrolled .ng-logo--dark { display: block; }
.ng-header--scrolled .ng-nav-link { color: var(--color-black, #000); }
.ng-header--scrolled .ng-nav-link--active { color: var(--color-black, #000); }
.ng-header--scrolled .ng-hamburger__line { background: var(--color-black, #000); }
.ng-header--scrolled .ng-header__location { color: var(--color-gray, #6B7280); }

.ng-header__inner {
    max-width: var(--max-width, 1280px);
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Brand / Logo */
.ng-header__brand {
    flex-shrink: 0;
}

.ng-header__logo {
    display: flex;
    align-items: center;
}

.ng-logo {
    height: 26px;
    width: auto;
}

.ng-logo--dark {
    display: none;
}

/* Center Location Text */
.ng-header__location {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-body, 'Poppins', sans-serif);
    font-weight: 300;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.04em;
    white-space: nowrap;
    display: none;
}

/* Desktop Nav */
.ng-header__nav {
    display: none;
}

.ng-nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.ng-nav-item {
    position: relative;
}

.ng-nav-link {
    font-family: var(--font-body, 'Poppins', sans-serif);
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 0;
    transition: color 0.3s ease;
    text-decoration: none;
}

.ng-nav-link--active {
    color: #fff;
}

.ng-nav-link:hover {
    color: #fff;
}

.ng-header--scrolled .ng-nav-link:hover {
    color: var(--color-blue, #4C60FF);
}

.ng-header--scrolled .ng-nav-link--active {
    color: var(--color-blue, #4C60FF);
}

.ng-nav-count {
    font-size: 11px;
    opacity: 0.5;
}

/* Hamburger — 3 lines + blue dot */
.ng-hamburger {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 4px;
    z-index: 1001;
    cursor: pointer;
    background: none;
    border: none;
}

.ng-hamburger__line {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.ng-hamburger__dot {
    position: absolute;
    top: 0;
    right: -2px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-blue, #4C60FF);
}

.ng-hamburger--active .ng-hamburger__line:nth-child(1) {
    transform: rotate(45deg) translate(5.5px, 5.5px);
}

.ng-hamburger--active .ng-hamburger__line:nth-child(2) {
    opacity: 0;
}

.ng-hamburger--active .ng-hamburger__line:nth-child(3) {
    transform: rotate(-45deg) translate(5.5px, -5.5px);
}

.ng-hamburger--active .ng-hamburger__dot {
    display: none;
}

.ng-header--scrolled .ng-hamburger__line {
    background: var(--color-black, #000);
}

/* Mobile Menu */
.ng-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-white, #fff);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

.ng-mobile-menu--active {
    opacity: 1;
    visibility: visible;
}

.ng-mobile-menu__nav {
    text-align: center;
}

.ng-mobile-nav-list {
    margin-bottom: 32px;
}

.ng-mobile-nav-link {
    display: block;
    font-family: var(--font-heading, 'Satoshi', sans-serif);
    font-size: 28px;
    font-weight: 600;
    color: var(--color-black, #000);
    padding: 12px 0;
    text-decoration: none;
}


/* =============================================
   RESPONSIVE — TABLET (768px+)
   ============================================= */
@media (min-width: 768px) {
    .ng-header__location {
        display: block;
    }
}


/* =============================================
   RESPONSIVE — DESKTOP (1024px+)
   ============================================= */
@media (min-width: 1024px) {
    .ng-header__nav {
        display: block;
    }

    /* On desktop, show hamburger alongside nav (per reference) */
    .ng-hamburger {
        display: flex;
    }
}
