/* ==========================================================================
   FortiLabs Navigation CSS (Harmonized for both .site-header and .navbar)
   ========================================================================== */

.site-header,
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
    height: 72px;
    display: flex;
    align-items: center;
}

.site-header.scrolled,
.navbar--scrolled {
    background-color: rgba(5, 11, 20, 0.98);
    border-bottom-color: rgba(0, 212, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.site-header__container,
.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Brand Logo */
.site-header__logo,
.navbar-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    user-select: none;
}

.site-header__logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.site-header__logo-text,
.text-logo {
    display: inline-flex;
    align-items: center;
    font-weight: 800;
}

.site-header__logo-accent,
.text-logo__accent {
    background: linear-gradient(135deg, #00D4FF 0%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: 1px;
}

.site-header__logo-tld {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85em;
    font-weight: 600;
}

/* Navigation Menu */
.site-header__nav,
.navbar-nav {
    display: flex;
    align-items: center;
}

.site-header__nav-list,
.nav-list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-header__nav-link,
.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.925rem;
    font-weight: 500;
    padding: 0.5rem 0.25rem;
    position: relative;
    transition: color 0.2s ease;
}

.site-header__nav-link:hover,
.nav-link:hover {
    color: #00D4FF;
}

.site-header__nav-link.active,
.nav-link.active {
    color: #ffffff;
    font-weight: 600;
}

.site-header__nav-link.active::after,
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #00D4FF, #8B5CF6);
    border-radius: 2px;
}

/* Right Actions & Search */
.site-header__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-header__search-btn {
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.site-header__search-btn:hover {
    color: #00D4FF;
    background: rgba(255, 255, 255, 0.08);
}

/* Mobile Toggle Hamburger */
.site-header__mobile-toggle,
.nav__toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #ffffff;
}

.hamburger-icon {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    position: relative;
    transition: all 0.2s ease;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: #ffffff;
    left: 0;
    transition: all 0.2s ease;
}

.hamburger-icon::before { top: -7px; }
.hamburger-icon::after { bottom: -7px; }

/* Responsive Mobile Navigation */
@media (max-width: 900px) {
    .site-header__mobile-toggle,
    .nav__toggle {
        display: block;
    }

    .site-header__nav,
    .navbar-nav {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: #0A1628;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .site-header__nav.open,
    .site-header__nav--open,
    .nav__menu--open {
        display: block;
    }

    .site-header__nav-list,
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .site-header__nav-link,
    .nav-link {
        font-size: 1.05rem;
        display: block;
        width: 100%;
        padding: 0.5rem 0;
    }
}
