/* ==========================================================================
   USAFI Global Variables
   ========================================================================== */
:root {
    /* Brand Colors */
    --usafi-primary: #0a2540;
    --usafi-accent: #00d4ff;
    --usafi-bg: #f4f7f6;

    /* Midnight Luxury Variables */
    --lux-bg: #0a0f16;
    --lux-surface: #131b26;
    --lux-surface-hover: #1a2433;
    --lux-accent: #00d4ff; 
    --lux-text: #e2e8f0;
    --lux-muted: #94a3b8;
    --lux-border: rgba(255, 255, 255, 0.05);

    /* UI Defaults */
    --radius-lg: 12px;
    --shadow-float: 0 20px 40px rgba(0,0,0,0.4);
}

body.usafi-dark-mode {
    background-color: var(--lux-bg);
    color: var(--lux-text);
}

/* ==========================================================================
   USAFI Header Navigation & Auth UI
   ========================================================================== */

/* 1. Main Navigation Container */
.site-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Pushes nav to the right, assuming logo is on the left */
    gap: 40px; /* Space between the WP menu and the Auth buttons */
}

/* 2. WordPress Primary Menu Styling */
.primary-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-menu li {
    margin: 0;
    padding: 0;
}

.primary-menu a {
    color: var(--lux-text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a {
    color: var(--lux-accent);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3); /* Subtle premium glow */
}

/* 3. Header Auth Container (Includes the No-Wrap Fix) */
.header-auth {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap !important; /* Prevents button stacking */
    flex-shrink: 0; /* Prevents container from squishing */
    border-left: 1px solid var(--lux-border, rgba(255,255,255,0.05));
    padding-left: 30px; /* Separator between nav and auth */
}

/* 4. Text Link (Log In) */
.lux-auth-link {
    color: var(--lux-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap !important;
    transition: color 0.3s ease;
}

.lux-auth-link:hover {
    color: #ffffff;
}

/* 5. Luxury Button Component (Get Started / Client Portal) */
.lux-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 8px; /* Matches your premium inputs */
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap !important;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

/* Primary Button Variant (Cyan Accent) */
.lux-btn-primary {
    background-color: var(--lux-accent);
    color: #000000; /* High contrast text on cyan */
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
}

.lux-btn-primary:hover {
    background-color: #ffffff;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px); /* Slight hover lift */
}

/* ==========================================================================
   Mobile Responsiveness (Basic Toggle Logic)
   ========================================================================== */
@media (max-width: 992px) {
    .site-navigation {
        display: none; /* Hide by default on mobile, handled by your JS toggle */
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 20px;
        padding-top: 20px;
    }

    .primary-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        width: 100%;
    }

    .header-auth {
        width: 100%;
        border-left: none;
        border-top: 1px solid var(--lux-border);
        padding-left: 0;
        padding-top: 20px;
        justify-content: flex-start;
    }
}