/* 
 * header.css
 * This file contains the shared styles for the site header.
 * It is loaded by all pages to ensure a consistent look and feel.
 */

/* Header & Footer */
.site-header {
    width: 100%;
    padding: 0;
    background-color: #FFFFFF;
    border-bottom: 1px solid #EAEAEA;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.site-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.site-logo, .site-logo:hover {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    height: 40px;
    width: auto;
}

.site-nav {
    display: flex;
    align-items: center;
}

.site-nav a {
    color: #4a4a4a;
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 1rem;
    white-space: nowrap;
}

.site-nav a:hover {
    color: #000000;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1010;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-primary, #1e293b);
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .site-header-content {
        padding: 0 1.5rem;
    }
    .nav-toggle {
        display: block;
    }
    .site-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: stretch;
        border-top: 1px solid var(--border-color, #e2e8f0);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        padding: 1rem 0;
    }
    .site-nav.is-open {
        display: flex;
    }
    .site-nav a {
        padding: 1rem 2rem;
        margin: 0;
        text-align: center;
        border-bottom: 1px solid var(--border-color, #e2e8f0);
    }
    .site-nav a:last-child {
        border-bottom: none;
    }
} 

/* Override conflicting rule from style.css on mobile */
@media (max-width: 768px) {
    .site-header-content {
        flex-direction: row;
    }
} 