/* ========== HEADER ========== */
.main-header {
    background: linear-gradient(135deg, var(--oil-black) 0%, #252528 100%);
    border-bottom: 4px solid var(--rust-orange);
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    position: sticky;
    top: 0;
    z-index: 700;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    position: relative;
}

.header-decoration {
    font-size: 3em;
    color: var(--rust-orange);
    opacity: 0.3;
    flex-shrink: 0;
}

.header-text {
    text-align: center;
    flex: 1;
}

.header-text h1 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 3em;
    color: var(--rust-orange);
    text-transform: uppercase;
    letter-spacing: 8px;
    text-shadow: 3px 3px 0 var(--dark-rust);
    margin-bottom: 5px;
}

.subtitle {
    font-size: 0.9em;
    color: #888;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.stats-bar {
    display: flex;
    justify-content: space-around;
    padding: 15px 20px;
    background: var(--steel-gray);
    border-top: 1px solid #555;
    position: relative;
    z-index: 300;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-label {
    font-size: 0.85em;
    color: #888;
    margin-right: 8px;
}

.stat-value {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2em;
    font-weight: 700;
    color: var(--warning-yellow);
}

/* Logout button in header */
.logout-btn {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.9em;
    padding: 8px 16px;
    background: var(--rust-orange);
    color: #FFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logout-btn:hover {
    background: #D46B3E;
    transform: translateY(-2px);
}

.user-info {
    color: var(--warning-yellow);
}

/* Staff Menu Dropdown */
.staff-menu-container {
    position: relative;
}

.staff-menu-toggle {
    background: linear-gradient(135deg, #DC3545 0%, #C82333 100%);
    border: 2px solid #FFF;
    color: #FFF;
    padding: 8px 15px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.staff-menu-toggle:hover {
    background: linear-gradient(135deg, #C82333 0%, #A71D2A 100%);
    transform: scale(1.05);
}

.staff-menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--oil-black);
    border: 2px solid var(--rust-orange);
    box-shadow: 0 4px 12px rgba(0,0,0,0.8);
    min-width: 150px;
    z-index: 700;
    display: none;
}

.staff-menu-dropdown.show {
    display: block;
}

.staff-menu-dropdown a {
    display: block;
    padding: 12px 20px;
    color: #FFF;
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    transition: all 0.3s;
    border-bottom: 1px solid #444;
}

.staff-menu-dropdown a:last-child {
    border-bottom: none;
}

.staff-menu-dropdown a:hover {
    background: var(--rust-orange);
    padding-left: 25px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .staff-menu-dropdown {
        right: auto;
        left: 0;
    }
}

/* Split header sections - ON DESKTOP they appear as one unit */
@media (min-width: 769px) {
    .header-title-section {
        background: linear-gradient(135deg, var(--oil-black) 0%, #252528 100%);
        border-bottom: none; /* No border between sections */
        box-shadow: none; /* Shadow on bottom section only */
        position: sticky;
        top: 0;
        z-index: 700;
    }
    
    .header-stats-section {
        background: var(--steel-gray);
        position: sticky;
        top: 0; /* Sticks with title section */
        z-index: 700;
        border-bottom: 4px solid var(--rust-orange); /* Orange separator below stats */
        box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    }
}

/* Mobile styling handled in mobile-header-nav.css */
