/* ==========================================================================
   NAVBAR.CSS - Header Navigation, Custom SVG Brand Logo & Menu Styles
   ========================================================================== */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(4, 4, 9, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* === BRAND LOGO COMPONENT === */
.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.brand-logo:hover {
    transform: translateY(-2px) scale(1.02);
}

.brand-logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    filter: drop-shadow(0 0 10px rgba(0, 247, 255, 0.45));
    transition: filter 0.3s ease;
}

.brand-logo:hover .brand-logo-icon {
    filter: drop-shadow(0 0 16px rgba(0, 247, 255, 0.75));
}

.brand-svg {
    width: 100%;
    height: 100%;
}

.brand-logo-text {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.brand-name {
    font-size: 1.35rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
    font-family: 'Outfit', sans-serif;
}

.brand-role-tag {
    font-size: 0.62rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    background: rgba(0, 247, 255, 0.12);
    border: 1px solid rgba(0, 247, 255, 0.4);
    color: var(--primary);
    padding: 0.1rem 0.4rem;
    border-radius: 6px;
    letter-spacing: 0.5px;
    box-shadow: 0 0 8px rgba(0, 247, 255, 0.25);
}

/* === NAVIGATION LINKS === */
nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

nav ul li.nav-theme-item {
    display: flex;
    align-items: center;
}

nav a {
    color: var(--light);
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 600;
    position: relative;
    transition: all 0.3s;
}

nav a:hover {
    color: var(--primary);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Light Mode Overrides for Logo */
body.light-mode header {
    background-color: rgba(255, 255, 255, 0.82) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

body.light-mode .brand-name {
    background: linear-gradient(90deg, #0284c7, #7c3aed) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
}

body.light-mode .brand-role-tag {
    background: rgba(2, 132, 199, 0.1) !important;
    border-color: #0284c7 !important;
    color: #0284c7 !important;
}
