
/* EVCar MyDrive - Main Header */

.site-header {
    width: 100%;
    max-width: 1080px;
    min-height: 76px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: #ffffff;
    border: 1px solid #e8eee9;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(20, 50, 30, 0.05);
    box-sizing: border-box;
    position: relative;
    z-index: 100;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.site-brand img {
    display: block;
    width: 132px;
    height: auto;
    object-fit: contain;
}

.main-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}

.main-navigation a {
    display: inline-flex;
    align-items: center;
    padding: 10px 13px;
    color: #34443a;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.main-navigation a:hover {
    color: #168744;
    background: #f0f8f2;
}

.main-navigation a.active {
    color: #ffffff;
    background: #1fa84f;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 40px;
    padding: 9px;
    border: 1px solid #e2eae4;
    border-radius: 9px;
    background: #ffffff;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    margin: 4px auto;
    background: #1d6338;
    border-radius: 3px;
}

@media (max-width: 760px) {
    .site-header {
        min-height: 66px;
        padding: 10px 15px;
        border-radius: 11px;
        gap: 12px;
    }

    .site-brand img {
        width: 118px;
    }

    .nav-toggle {
        display: block;
        flex-shrink: 0;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        padding: 10px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: #ffffff;
        border: 1px solid #e8eee9;
        border-radius: 12px;
        box-shadow: 0 10px 25px rgba(20, 50, 30, 0.10);
    }

    .main-navigation.is-open {
        display: flex;
    }

    .main-navigation a {
        padding: 12px 13px;
        font-size: 14px;
    }
}
