/**
 * Header Component Styles
 * Academic Legal Website
 * 
 * Professional sticky header with logo and branding
 */

/* ============================================================================
   HEADER CONTAINER
   ========================================================================= */

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    transition: box-shadow var(--transition-normal);
}

/* Add shadow when scrolled */
.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) 0;
    gap: var(--space-md);
}

/* ============================================================================
   LOGO & BRANDING
   ========================================================================= */

.site-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.site-logo:hover {
    opacity: 0.85;
}

.site-logo:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: var(--font-bold);
    color: var(--primary);
    line-height: var(--leading-tight);
}

.logo-tagline {
    font-size: 0.7rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.125rem;
    display: none; /* Hidden on mobile */
}

/* Tablet and up */
@media (min-width: 768px) {
    .logo-text {
        font-size: 1.5rem;
    }
    
    .logo-tagline {
        display: block;
    }
    
    .header-inner {
        padding: var(--space-lg) 0;
    }
}