/* Header Variables - Using the same color scheme as style.css */
:root {
    --main-color: white;
    --bg-color: #FDF0D5;
    --text-color: #003049;
    --accent-color: #C1121F;
    --secondary-accent: #780000;
    --link-color: #669BBC;
}

/* Header Styles */
.site-header {
    background-color: var(--bg-color);
    color: var(--main-color);
    padding: 1rem 0;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo-container {
    z-index: 20;
}

.logo {
    height: 40px;
    width: auto;
}

/* Navigation Styles */
.main-nav {
    transition: all 0.3s ease;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.nav-item {
    margin-left: 1.5rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600; /* Made text bolder */
    transition: color 0.3s ease;
    padding: 0.5rem;
    display: block;
    position: relative;
}

/* Added active class styling */
.nav-link.active {
    color: var(--accent-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
}

.nav-link:hover, .nav-link:focus {
    color: var(--accent-color);
}

/* Hamburger Menu Toggle Button */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 20;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-color); /* Changed to match text color */
    transition: all 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--bg-color);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 10;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .nav-item {
        margin: 1rem 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 0.75rem;
        width: 100%;
    }
    
    .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    /* Hamburger Menu Animation */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-link.active {
        color: var(--accent-color);
        background-color: rgba(255, 255, 255, 0.1);
    }
}

/* Medium and Large Screens */
@media (min-width: 769px) {
    .header-container {
        width: 80%;
    }
}
