/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--background);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header-content {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    gap: 0.75rem;
}

.logo-img {
    height: 56px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--primary-color);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none; /* Hidden by default */
    cursor: pointer;
    padding: 10px;
    transition: 0.4s;
}

.hamburger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
}

.hamburger-menu.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Navigation Styles */
.mobile-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100% - var(--header-height)); /* Full height below header */
    background-color: var(--background); /* Or a color from your theme */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
    transform: translateY(-100%); /* Hide by default */
    transition: transform 0.3s ease-in-out;
    z-index: 999; /* Below header */
    overflow-y: auto; /* Allow scrolling if menu is long */
}

.mobile-nav.active {
    transform: translateY(0); /* Show when active */
}

.mobile-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    padding: 1rem 0;
    width: 80%; /* Center links */
    text-align: center;
    border-bottom: 1px solid #eee; /* Optional separator */
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav a:hover {
    color: var(--primary-color);
}

/* Responsive Design for Header/Nav */
@media (max-width: 768px) {
    .nav {
        display: none; /* Hide regular nav on mobile */
    }

    .hamburger-menu {
        display: block; /* Show hamburger on mobile */
    }
} 