/**
 * PROFESSIONAL HEADER - Complete Redesign
 * Clean, modern, fully functional header with proper spacing and visibility
 */

/* ========================================
   RESET & BASE STYLES
   ======================================== */

header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06) !important; /* subtle single-line shadow */
    z-index: 10000 !important;
    transition: all 0.3s ease !important;
    border-bottom: 1px solid rgba(0,0,0,0.04) !important; /* subtle separator for crisp edge */
}

header nav {
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
}

header .header-container {
    display: flex !important;
    align-items: center !important;          /* hard center all children vertically */
    justify-content: space-between !important;
    min-height: 64px !important;             /* tighter desktop header */
    height: 64px !important;
    gap: 1.25rem !important;
    padding: 0 !important;                    /* remove extra vertical padding */
}

/* ========================================
   LOGO SECTION - Left Side
   ======================================== */

.logo-section {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    flex-shrink: 0 !important;
    border: none !important;
    border-left: none !important;
    border-right: none !important;
}

/* Remove any pseudo-elements that might create separators */
.logo-section::before,
.logo-section::after,
.logo-section a::before,
.logo-section a::after,
.logo-section img::before,
.logo-section img::after,
.logo-section .company-info::before,
.logo-section .company-info::after,
.logo-section .company-name::before,
.logo-section .company-name::after {
    content: none !important;
    display: none !important;
    border: none !important;
    background: none !important;
}

/* Override fallback logo and all children - no borders */
.logo-section a > div,
.logo-section a > div > *,
.logo-section div {
    border: none !important;
    border-left: none !important;
    border-right: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* CRITICAL: Remove ALL possible visual separators in logo section */
.logo-section *,
.logo-section *::before,
.logo-section *::after {
    border: none !important;
    border-left: 0px solid transparent !important;
    border-right: 0px solid transparent !important;
    border-top: 0px solid transparent !important;
    border-bottom: 0px solid transparent !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    outline-width: 0 !important;
    text-decoration: none !important;
}

/* Do not strip background-image for blinking gradient text in logo section */
.logo-section *:not(.hero-mix) {
    background-image: none !important;
}

/* Ultra-aggressive: target flex-col class that might be adding borders */
.logo-section .flex-col,
.logo-section .flex-col::before,
.logo-section .flex-col::after,
header .logo-section .flex-col,
header .logo-section .flex-col * {
    border: 0px solid transparent !important;
    border-left: 0px !important;
    border-right: 0px !important;
    border-width: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

/* Logo link styling - no visual separators */
.logo-section a {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    column-gap: 0.75rem !important;
    row-gap: 0 !important;
    text-decoration: none !important;
    transition: opacity 0.2s ease !important;
    border: none !important;
    border-left: none !important;
    border-right: none !important;
}

/* Remove any vertical separator between logo img and company-info */
.logo-section a > img + div::before,
.logo-section img + *::before,
.logo-section img + *::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.logo-section a:hover {
    opacity: 0.85 !important;
}

.logo-section img {
    width: 56px !important;                   /* balance inside 64px header */
    height: 56px !important;
    max-width: 56px !important;
    max-height: 56px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    background: transparent !important;
    border: none !important;
    border-left: none !important;
    border-right: none !important;
    padding: 0 !important;
    margin: 0 !important;
    margin-right: 4px !important;              /* small breathing room from name */
    mix-blend-mode: multiply !important;
    filter: contrast(1.1) !important;
}

/* Fallback logo div - ensure it's completely hidden and has no borders */
.logo-section a > div[style*="display: none"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.logo-section .company-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 0px !important;                 /* tighten to align visually */
    border: none !important;
    border-left: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.logo-section .company-name {
    font-family: 'Poppins', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    line-height: 1.1 !important;              /* slightly tighter baseline for centering */
    letter-spacing: 0.3px !important;
    white-space: nowrap !important;
    border: none !important;
    border-left: none !important;
}

/* Static professional color for PRINTROXX brand name */
.logo-section .company-name.brand-printroxx {
	background-image: none !important;
	-webkit-background-clip: initial !important;
	background-clip: initial !important;
	-webkit-text-fill-color: currentColor !important;
}

.logo-section .company-tagline {
    font-family: 'Poppins', sans-serif !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    color: #6b7280 !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
    border: none !important;
    border-left: none !important;
    margin-top: 1px !important;           /* micro-adjust so baseline centers under name */
}

/* ========================================
   NAVIGATION - Center
   ======================================== */

.desktop-nav {
    display: flex !important;
    align-items: center !important;           /* center nav items */
    gap: 0.75rem !important;
    flex: 1 !important;
    justify-content: center !important;
    margin: 0 0.75rem !important;
}

@media (max-width: 1024px) {
    .desktop-nav {
        display: none !important;
    }
}

.nav-link {
    position: relative !important;
    display: inline-flex !important;          /* ensure vertical centering */
    align-items: center !important;
    justify-content: center !important;
    height: 36px !important;                  /* consistent clickable height */
    padding: 0 12px !important;
    line-height: 1 !important;                /* prevent font metrics from shifting */
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #374151 !important;
    text-decoration: none !important;
    border-radius: 8px !important;            /* slightly rounder pill */
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(30, 64, 175, 0.06);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 6px;                               /* centered for 36px pill */
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

/* Services Dropdown */
.services-dropdown-container {
    position: relative;
}

.services-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.services-dropdown {
    position: absolute;
    top: calc(100% + 1rem);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    min-width: 280px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

.services-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.services-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 3px;
    box-shadow: -2px -2px 8px rgba(0, 0, 0, 0.05);
}

.services-dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 15px;
    font-weight: 500;
}

.services-dropdown a::before {
    content: attr(data-icon);
    font-size: 20px;
    transition: transform 0.2s ease;
}

.services-dropdown a:hover {
    background: rgba(30, 64, 175, 0.08);
    color: var(--primary);
    transform: translateX(4px);
}

.services-dropdown a:hover::before {
    transform: scale(1.15);
}

/* ========================================
   RIGHT SIDE ACTIONS
   ======================================== */

.header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    flex-shrink: 0 !important;
}

@media (max-width: 1024px) {
    .header-actions {
        display: none !important;
    }
}

/* Cart Button */
.cart-btn {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    padding: 0.4rem 0.75rem !important;
    color: #374151 !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

/* Amazon-style cart icon using cart.png + orange number */
.cart-icon-wrapper {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 4px !important;
}

.cart-icon-image {
    width: 30px !important;
    height: 26px !important;
    display: block !important;
    object-fit: contain !important;
}

.cart-count-number {
    position: absolute !important;
    top: -6px !important;
    right: -2px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #f59e0b !important; /* amber like Amazon */
    line-height: 1 !important;
}

.cart-btn:hover {
    background: rgba(30, 64, 175, 0.06) !important;
    color: var(--primary) !important;
}

.cart-btn .emoji {
    font-size: 16px !important;
}

/* Cart Count Badge - Visible when present */
.cart-count {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 5px !important;
    margin-left: 4px !important;
    background: #ef4444 !important;
    color: #ffffff !important;
    border-radius: 9999px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
}

@keyframes cartBadgePulse {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Dark mode cart badge */
.dark-mode .cart-count {
    border-color: #1f2937 !important;
}

/* Divider */
.header-divider {
    width: 1px !important;
    height: 20px !important;
    background: #e5e7eb !important;
    flex-shrink: 0 !important;
}

/* Primary Button (Get Quote) */
.btn-primary-header {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.5rem 1rem !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%) !important;
    border: none !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 3px rgba(37, 117, 252, 0.25) !important;
    white-space: nowrap !important;
}

.btn-primary-header:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 8px rgba(37, 117, 252, 0.35) !important;
}

/* Outline Button (Call) */
.btn-outline-header {
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    padding: 0.4rem 0.75rem !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--primary) !important;
    background: #ffffff !important;
    border: 2px solid var(--primary) !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}

.btn-outline-header:hover {
    background: linear-gradient(135deg, #b45309 0%, #facc15 100%) !important;
    color: #111827 !important;
    border-color: transparent !important;
}

.btn-outline-header .emoji {
    font-size: 14px !important;
}

/* Account Button */
.account-btn {
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    padding: 0.4rem 0.75rem !important;
    color: var(--primary) !important;
    background: #ffffff !important;
    border: 2px solid var(--primary) !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

.account-btn:hover {
    background: linear-gradient(135deg, #b45309 0%, #facc15 100%) !important;
    color: #111827 !important;
    border-color: transparent !important;
}

.account-btn .emoji {
    font-size: 16px !important;
}

/* Track Order Button */
.track-order-btn {
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    padding: 0.4rem 0.75rem !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #6366f1 !important;
    background: rgba(99, 102, 241, 0.1) !important;
    border: 2px solid #6366f1 !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}

.track-order-btn:hover {
    background: linear-gradient(135deg, #b45309 0%, #facc15 100%) !important;
    color: #111827 !important;
}

.track-order-btn .emoji {
    font-size: 14px !important;
}

/* Theme Toggle Button - CRITICAL */
.theme-toggle-btn {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    background: rgba(30, 64, 175, 0.06) !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
}

.theme-toggle-btn:hover {
    background: rgba(30, 64, 175, 0.1) !important;
    border-color: var(--primary) !important;
}

.theme-toggle-btn svg {
    width: 18px !important;
    height: 18px !important;
    color: #374151 !important;
    transition: all 0.3s ease !important;
}

.theme-icon-sun {
    position: absolute;
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-icon-moon {
    position: absolute;
    opacity: 0;
    transform: rotate(180deg) scale(0);
}

[data-theme="dark"] .theme-icon-sun {
    opacity: 0;
    transform: rotate(-180deg) scale(0);
}

[data-theme="dark"] .theme-icon-moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* ========================================
   MOBILE MENU BUTTON
   ======================================== */

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
}

@media (max-width: 1024px) {
    .mobile-menu-btn {
        display: flex !important;
    }
}

.mobile-menu-btn .hamburger {
    width: 24px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.mobile-menu-btn .hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #374151;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========================================
   MOBILE MENU
   ======================================== */

#mobileMenu {
    display: none;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 1rem 0;
    max-height: calc(100vh - 75px);
    overflow-y: auto;
}

#mobileMenu.active {
    display: block;
}

#mobileMenu a,
#mobileMenu button {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 15px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    background: none;
    border: none;
    text-align: left;
    transition: all 0.2s ease;
    cursor: pointer;
}

#mobileMenu a:hover,
#mobileMenu button:hover {
    background: rgba(30, 64, 175, 0.06);
    color: var(--primary);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1280px) {
    header nav {
        padding: 0 1.5rem !important;
    }
    
    header .header-container {
        gap: 1rem !important;
    }
    
    .desktop-nav {
        gap: 0.75rem !important;
        margin: 0 0.5rem !important;
    }
    
    .nav-link {
        padding: 0.4rem 0.6rem !important;
        font-size: 13px !important;
    }
    
    .header-actions {
        gap: 0.4rem !important;
    }
    
    .btn-primary-header,
    .btn-outline-header,
    .track-order-btn {
        padding: 0.4rem 0.75rem !important;
        font-size: 12px !important;
    }
    
    .cart-btn,
    .account-btn {
        padding: 0.3rem 0.6rem !important;
    }
}

@media (max-width: 1024px) {
    .desktop-nav,
    .header-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
}

/* Desktop search bar under header (Amazon-style) */
@media (min-width: 1024px) {
    .mobile-search-wrapper {
        margin-top: 0 !important;
        padding: 8px 2rem !important;
        background: linear-gradient(90deg, #0f172a 0%, #1e40af 35%, #4c1d95 75%, #312e81 100%) !important; /* dark blue → indigo → purple */
        border-bottom: 1px solid rgba(0,0,0,0.04) !important;
    }
    .site-search-bar {
        max-width: 900px !important;
        margin: 0 auto !important;
        display: flex !important;
        align-items: stretch !important;
        border-radius: 4px !important;
        overflow: hidden !important;
        border: 0 !important;
        background: transparent !important;
    }
    .site-search-scope {
        flex: 0 0 90px !important;
        background: transparent !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-right: 0 !important;
    }
    .site-search-scope select {
        width: 100% !important;
        padding: 6px 8px !important;
        font-size: 13px !important;
        cursor: pointer !important;
        border: 0 !important;
        outline: none !important;
        background: transparent !important;
        color: #f9fafb !important;
        box-shadow: none !important;
    }
    /* Absolute override just for the left 'All' select to kill any border/halo */
    #searchScope {
        background: transparent !important;
        color: #f9fafb !important;
        border: 0 !important;
        outline: none !important;
        box-shadow: none !important;
    }
    .site-search-input {
        flex: 1 1 auto !important;
        display: flex !important;
        align-items: center !important;
    }
    .site-search-input input[type="search"] {
        width: 100% !important;
        border: none !important;
        padding: 6px 10px !important;
        font-size: 14px !important;
        outline: none !important;
        background: #ffffff !important;
    }
    .site-search-button {
        flex: 0 0 52px !important;
        border: none !important;
        background: var(--primary) !important; /* brand blue search button */
        color: #ffffff !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        font-size: 16px !important;
    }
}

@media (max-width: 640px) {
    header nav {
        padding: 0 1rem !important;
    }
    
    header .header-container {
        min-height: 60px !important;
        max-height: 60px !important;
        height: 60px !important;
    }
    
    .logo-section img {
        width: 50px !important;
        height: 50px !important;
        max-width: 50px !important;
        max-height: 50px !important;
    }
    
    .logo-section .company-name {
        font-size: 15px !important;
    }
    
    .logo-section .company-tagline {
        display: none !important;
    }
}

/* Footer brand name: disable hero-mix gradient and use normal footer text color */
footer .footer-company-name #footerBrandMix {
	background: none !important;
	-webkit-background-clip: initial !important;
	background-clip: initial !important;
	-webkit-text-fill-color: currentColor !important;
	color: inherit !important;
}

/* Footer Contact Info heading: disable gradient and use solid white text */
footer #footerContactMixA,
footer #footerContactMixB {
	background: none !important;
	-webkit-background-clip: initial !important;
	background-clip: initial !important;
	-webkit-text-fill-color: #ffffff !important;
	color: #ffffff !important;
}

/* ========================================
   DARK MODE SUPPORT
   ======================================== */

[data-theme="dark"] header {
    background: #1f2937;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .logo-section .company-name {
    color: #f9fafb !important;
}

[data-theme="dark"] .logo-section .company-tagline {
    color: #9ca3af;
}

[data-theme="dark"] .nav-link {
    color: #d1d5db;
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
    color: #93c5fd;
    background: rgba(37, 117, 252, 0.15);
}

[data-theme="dark"] .services-dropdown {
    background: #374151;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .services-dropdown a {
    color: #d1d5db;
}

[data-theme="dark"] .services-dropdown a:hover {
    background: rgba(37, 117, 252, 0.15);
    color: #93c5fd;
}

[data-theme="dark"] .cart-btn {
    color: #d1d5db;
}

[data-theme="dark"] .account-btn {
    color: #93c5fd !important;
    background: rgba(37, 117, 252, 0.15) !important;
    border-color: #93c5fd !important;
}

[data-theme="dark"] .cart-btn:hover {
    background: rgba(37, 117, 252, 0.1);
    color: #93c5fd;
}

[data-theme="dark"] .account-btn:hover {
    background: linear-gradient(135deg, #b45309 0%, #facc15 100%) !important;
    color: #111827 !important;
    border-color: transparent !important;
}

/* Call Button in Dark Mode - Green Color */
[data-theme="dark"] .btn-outline-header {
    color: #93c5fd !important;
    background: rgba(37, 117, 252, 0.15) !important;
    border-color: #93c5fd !important;
}

[data-theme="dark"] .btn-outline-header:hover {
    background: linear-gradient(135deg, #b45309 0%, #facc15 100%) !important;
    color: #111827 !important;
    border-color: transparent !important;
}

[data-theme="dark"] .theme-toggle-btn {
    background: rgba(37, 117, 252, 0.15);
    border-color: #4b5563;
}

[data-theme="dark"] .theme-toggle-btn:hover {
    background: rgba(37, 117, 252, 0.2);
    border-color: #93c5fd;
}

[data-theme="dark"] .theme-toggle-btn svg {
    color: #d1d5db;
}

[data-theme="dark"] #mobileMenu {
    background: #1f2937;
    border-top-color: #374151;
}

[data-theme="dark"] #mobileMenu a,
[data-theme="dark"] #mobileMenu button {
    color: #d1d5db;
}

 [data-theme="dark"] #mobileMenu a:hover,
 [data-theme="dark"] #mobileMenu button:hover {
    background: rgba(37, 117, 252, 0.15);
    color: #93c5fd;
}

/* ========================================
   BRAND COLOR OVERRIDE - HEADER BUTTONS
   Use new blue / purple palette for header actions.
   ======================================== */

/* Primary CTA in header (Get Quote) */
.btn-primary-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%) !important;
    color: #111827 !important;
    border-color: transparent !important;
}

.btn-primary-header:hover {
    box-shadow: 0 3px 8px rgba(30, 64, 175, 0.35) !important;
}

/* Outline Call button */
.btn-outline-header {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

.btn-outline-header:hover {
    background: var(--primary) !important;
    color: #ffffff !important;
}

/* My Orders / Account buttons should also follow primary color */
.account-btn,
.track-order-btn {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

.account-btn:hover,
.track-order-btn:hover {
    background: var(--primary) !important;
    color: #ffffff !important;
}

/* Nav link hover/active color aligned with brand */
.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
    background: rgba(30, 64, 175, 0.06) !important;
}

.services-trigger:hover,
.services-trigger[aria-expanded="true"] {
    color: var(--primary) !important;
}

/* Accessibility: focus outlines use primary brand color */
a:focus,
button:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

[data-theme="dark"] a:focus,
[data-theme="dark"] button:focus {
    outline-color: #2575FC;
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    header {
        position: relative;
        box-shadow: none;
    }
    
    .header-actions,
    .mobile-menu-btn {
        display: none;
    }
}
