/* Header Component */
.site-header {
    background-color: transparent;
    height: 7vh;
    display: flex;
    align-items: center;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
    background-color: rgba(17, 12, 8, 0.85); /* Matches --background #110C08 */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.site-branding {
    display: flex;
    align-items: center;
}

.site-branding .site-title a {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
}

.site-branding img {
    max-height: 40px;
    width: auto;
}

/* Navigation */
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2.5rem;
}

.main-navigation a {
    color: #ffffff; /* White for inactive links */
    font-size: 0.9rem;
    font-weight: 300;
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: var(--primary); /* Orange for active/hovered link */
}

/* Button */
.header-action .header-btn {
    background-color: var(--primary);
    color: #ffffff;
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
    text-decoration: none;
    border-radius: 0;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.header-action .header-btn:hover {
    background-color: #c9511e; /* Slightly darker orange */
    transform: translateY(-2px);
    text-decoration: none;
}

.mobile-header-action {
    display: none;
}

/* Mobile Responsive */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
@media (max-width: 1024px) {
    .site-header {
        height: 10vh;
    }
    .menu-toggle {
        display: flex; /* Show hamburger icon */
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 0;
    }
    .main-navigation {
        display: none;
        position: fixed;
        top: 10vh; /* matches header height */
        left: 0;
        right: 0;
        width: 100%;
        max-width: none;
        height: 50vh; /* Half screen vertically */
        box-sizing: border-box;
        background-color: rgba(17, 12, 8, 0.95); /* Matches #110C08 */
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        z-index: 99;
        flex-direction: column;
        justify-content: flex-start;
        animation: fadeInDown 0.3s ease forwards;
    }
    .main-navigation.is-active {
        display: flex;
    }
    .main-navigation ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        width: 100%;
        margin-bottom: auto; /* Push bottom content down */
    }
    .main-navigation a {
        font-size: 1.1rem;
        font-weight: 300;
        display: block;
        width: 100%;
    }
    .header-action {
        display: none; /* Hide top button on mobile */
    }
    .mobile-header-action {
        display: block;
        width: 100%;
        margin-top: 2rem;
    }
    .mobile-header-action .header-btn {
        display: block;
        width: 100%;
        text-align: center;
        background-color: var(--primary);
        color: #ffffff;
        padding: 1.2rem;
        font-size: 1rem;
        text-decoration: none;
        border-radius: 0;
        border: none;
        box-sizing: border-box;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
