/* ============================================
   Shared Navigation Header Styles
   ============================================ */

:root {
    --color-ink: #1a1a1a;
    --color-terra: #8b7355;
    --color-border: #d4d4d4;
    --font-serif: 'Crimson Text', 'Georgia', 'Times New Roman', serif;
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
}

.site-nav {
    background: black;
    border-bottom: 1px solid var(--color-ink);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-xl);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    text-decoration: none;
    color: white;
    transition: opacity 0.2s;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.3em;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.logo-subtitle {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    line-height: 1.3;
    max-width: 500px;
}

@media (max-width: 768px) {
    .logo-subtitle {
        display: none;
    }
}

.nav-logo:hover {
    opacity: 0.7;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family:'Courier New', Courier, monospace;
    font-size: 1.3em;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #008C9E;
}

.nav-links {
    display: flex;
    gap: var(--space-xl);
    align-items: center;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    font-size: 0.95em;
    transition: color 0.2s;
    position: relative;
}

.nav-link:hover {
    color: white;
}

.nav-link.active {
    color: white;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -17px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-terra);
}

@media (max-width: 768px) {
    .nav-container {
        padding: var(--space-sm) var(--space-md);
    }
    
    .logo-text {
        display: none;
    }
    
    .nav-links {
        gap: var(--space-md);
    }
    
    .nav-link {
        font-size: 0.9em;
    }
}