/* =========================================================
   Indivation — shared site navigation (used on every page)
   Self-contained: no dependency on a page's CSS variables.
   ========================================================= */

#navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 18px 48px;
    display: flex; align-items: center; justify-content: space-between;
    transition: all 0.4s ease;
    background: transparent;
}
#navbar.scrolled {
    background: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(20px);
    padding: 12px 48px;
    box-shadow: 0 1px 0 rgba(255, 107, 53, 0.2), 0 8px 32px rgba(0, 0, 0, 0.5);
}
/* Inner pages have no hero behind the nav — keep it readable from the start. */
#navbar.is-solid {
    background: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255, 107, 53, 0.2);
}

.nav-logo {
    display: flex; align-items: center; cursor: pointer; text-decoration: none;
    transition: filter 0.3s; z-index: 2;
}
.nav-logo:hover { filter: drop-shadow(0 0 8px rgba(255, 107, 53, 0.6)); }
.nav-logo img { height: 40px; width: auto; display: block; }

.nav-right { display: flex; align-items: center; gap: 16px; z-index: 2; }

.nav-linkedin {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 8px;
    color: #999999; text-decoration: none;
    transition: color 0.3s, background 0.3s;
}
.nav-linkedin:hover { color: #FF6B35; background: rgba(255, 107, 53, 0.08); }
.nav-linkedin svg { width: 20px; height: 20px; }

.nav-links {
    display: flex; gap: 32px; list-style: none; margin: 0; padding: 0;
    position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-links a {
    color: #999999; text-decoration: none; font-size: 0.875rem;
    font-weight: 500; letter-spacing: 0.04em;
    position: relative; padding-bottom: 4px;
    transition: color 0.3s;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1.5px;
    background: linear-gradient(90deg, #FF6B35, #FF8C5A);
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}
.nav-links a:hover { color: #FF6B35; }
.nav-links a:hover::after { width: 100%; }
.nav-links a.is-active { color: #FF6B35; }
.nav-links a.is-active::after { width: 100%; }

/* Connect button — nav-scoped so page button styles stay untouched. */
.nav-cta {
    background: #FF6B35; color: #000000;
    border: none; border-radius: 50px;
    padding: 10px 20px; font-size: 0.82rem; font-weight: 700;
    letter-spacing: 0.02em; cursor: pointer;
    text-decoration: none; display: inline-block;
    transition: all 0.3s;
}
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.25), 0 0 0 4px rgba(255, 107, 53, 0.15);
}

.hamburger {
    display: none; flex-direction: column; gap: 5px; cursor: pointer;
    padding: 8px; border: none; background: none;
}
.hamburger span {
    display: block; width: 24px; height: 2px;
    background: #FF6B35; border-radius: 2px;
    transition: all 0.35s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(5, 10, 24, 0.98); backdrop-filter: blur(20px);
    z-index: 999; flex-direction: column; align-items: center;
    justify-content: center; gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    color: #FFFFFF; font-size: 1.4rem; font-weight: 600;
    text-decoration: none; letter-spacing: 0.06em;
    transition: color 0.3s;
}
.mobile-menu a:hover { color: #FF6B35; }

/* Inner pages: push content below the fixed nav. */
.has-fixed-nav { padding-top: 96px; }

@media (max-width: 900px) {
    #navbar { padding: 14px 20px; }
    #navbar.scrolled { padding: 10px 20px; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .nav-right .nav-cta { display: none; }
    .has-fixed-nav { padding-top: 80px; }
}
