/* Header Dark Design Override */
.site-header {
    background-color: #2d3748 !important;
    color: white !important;
    padding: 0 !important;
    border-bottom: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.header-logo a {
    color: white !important;
    text-decoration: none;
    font-size: 1.35rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.3s ease;
}

.header-logo a:hover {
    opacity: 0.9;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-nav .nav-link {
    color: white !important;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    background: none !important;
    border-radius: 0 !important;
}

.header-nav .nav-link:hover {
    color: #10b981 !important;
    background: none !important;
}

.theme-toggle {
    background: none !important;
    border: none;
    color: white !important;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: background-color 0.3s ease;
    position: relative;
    z-index: 100;
}

.theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    transform: none !important;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
        height: 60px;
    }

    .header-logo a {
        font-size: 1.1rem;
    }

    .header-nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: #2d3748;
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        align-items: flex-start;
    }

    .header-nav.active {
        display: flex !important;
    }

    .header-nav .nav-link {
        width: 100%;
        padding: 0.75rem 1rem !important;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}