
/* =========================================
   HORIZONT BETON – FEJLÉC
   Kizárólag a navigáció stílusai
   ========================================= */

.hb-header {
    position: relative;
    z-index: 100;
    width: 100%;
    padding: 22px 24px;
    background: #fff;
}

.hb-header-inner {
    width: min(100%, 1280px);
    min-height: 82px;
    margin: 0 auto;
    padding: 12px 20px 12px 28px;
    display: flex;
    align-items: center;
    gap: 30px;
    background: #151b1d;
    border-radius: 20px;
}

.hb-header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: 175px;
}

.hb-header-logo img {
    display: block;
    width: 100%;
    max-height: 55px;
    object-fit: contain;
    object-position: left center;
}

.hb-header-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(14px, 2vw, 30px);
    flex: 1;
}

.hb-header-nav > a {
    color: #f4f5f4;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.hb-header-nav > a:hover,
.hb-header-nav > a:focus-visible {
    color: #91ff00;
}

.hb-header-nav > .hb-header-cta {
    padding: 16px 20px;
    border-radius: 11px;
    background: #91ff00;
    color: #111719;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.3px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hb-header-nav > .hb-header-cta:hover {
    color: #111719;
    background: #b3ff4b;
    transform: translateY(-2px);
}

/* Mobilmenü gomb */
.hb-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    margin-left: auto;
    border: 0;
    border-radius: 10px;
    background: #293133;
    cursor: pointer;
}

.hb-menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    border-radius: 2px;
    background: #91ff00;
}

/* Tablet és mobil */
@media (max-width: 1050px) {
    .hb-header {
        padding: 14px 16px;
    }

    .hb-header-inner {
        position: relative;
        min-height: 72px;
        padding: 12px 18px;
        border-radius: 16px;
    }

    .hb-header-logo {
        width: 155px;
    }

    .hb-menu-toggle {
        display: block;
    }

    .hb-header-nav {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        padding: 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border-radius: 16px;
        background: #151b1d;
        box-shadow: 0 16px 35px rgba(0,0,0,0.15);
    }

    .hb-header-nav.is-open {
        display: flex;
    }

    .hb-header-nav > a {
        padding: 14px 10px;
        font-size: 14px;
    }

    .hb-header-nav > .hb-header-cta {
        margin-top: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hb-header {
        padding: 12px;
    }

    .hb-header-logo {
        width: 135px;
    }
}
