/* ========================================
   HEADER STYLES
   ======================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(249, 248, 244, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 1px 0 var(--light-gray);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: var(--serif-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ink-black);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.main-navigation a {
    font-family: var(--sans-ui);
    font-size: 0.875rem;
    color: var(--charcoal);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--ink-black);
    transition: width 0.3s ease;
}

.main-navigation a:hover {
    color: var(--ink-black);
}

.main-navigation a:hover::after {
    width: 100%;
}

.cta-button {
    font-family: var(--sans-ui);
    font-size: 0.875rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--ink-black);
    background: transparent;
    color: var(--ink-black);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: var(--ink-black);
    color: var(--bg-paper);
}

.cta-button-filled {
    background: var(--ink-black);
    color: var(--bg-paper);
}

.cta-button-filled:hover {
    background: var(--charcoal);
    border-color: var(--charcoal);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 24px;
    height: 1px;
    background: var(--ink-black);
    transition: all 0.3s ease;
}

/* Mobile Navigation */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-paper);
    z-index: 2000;
    padding: 6rem 2rem 2rem;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav a {
    display: block;
    padding: 1rem 0;
    font-family: var(--serif-display);
    font-size: 1.5rem;
    color: var(--ink-black);
    text-decoration: none;
    border-bottom: 1px solid var(--light-gray);
}

.close-menu {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 30px;
    height: 30px;
    cursor: pointer;
    background: none;
    border: none;
}

.close-menu::before,
.close-menu::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: var(--ink-black);
    top: 50%;
    left: 0;
}

.close-menu::before {
    transform: rotate(45deg);
}

.close-menu::after {
    transform: rotate(-45deg);
}

/* Responsive */
@media (max-width: 1024px) {
    .header-inner {
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 900px) {
    .main-navigation {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
}
