/* ============================================================
   AktívBalaton – Hero Szekció Widget CSS  v2.0.0
   ============================================================ */

/* ── Alap hero konténer ───────────────────────────────────── */
.ab-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ── Magasság variánsok ───────────────────────────────────── */
.ab-hero--compact    { min-height: 320px; }
.ab-hero--medium     { min-height: 480px; }
.ab-hero--large      { min-height: 640px; }
.ab-hero--fullscreen { min-height: 100vh; }

/* ── Parallax ─────────────────────────────────────────────── */
.ab-hero--parallax { background-attachment: fixed; }
@media (max-width: 768px) {
    .ab-hero--parallax { background-attachment: scroll; }
}

/* ── Overlay ──────────────────────────────────────────────── */
.ab-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.ab-overlay--gradient {
    background: linear-gradient(to bottom, rgba(5,20,50,0.15) 0%, rgba(5,20,50,0.72) 100%) !important;
}
.ab-overlay--vignette {
    background: radial-gradient(ellipse at center, transparent 40%, rgba(5,20,50,0.75) 100%) !important;
}

/* ── Inner: elrendezés ────────────────────────────────────── */
.ab-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    width: 100%;
    box-sizing: border-box;
    padding: 80px 40px;
    /* a stats-bar mindig az aljára kerül */
    justify-content: space-between;
    gap: 40px;
}

/* ── Szövegtartalom ───────────────────────────────────────── */
.ab-hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 760px;
    text-align: center;
}

.ab-hero-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #F5A623;
    margin-bottom: 12px;
}

.ab-hero-title {
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    margin: 0 0 16px;
}

.ab-hero-subtitle {
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.65;
    color: rgba(255,255,255,0.82);
    margin: 0 0 32px;
}

/* ── CTA Gombok ───────────────────────────────────────────── */
.ab-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.ab-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
    white-space: nowrap;
}
.ab-hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    opacity: 0.92;
}
.ab-hero-btn--primary {
    background-color: #1A6EA3;
    color: #ffffff;
}
.ab-hero-btn--secondary {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255,255,255,0.75);
}
.ab-hero-btn--secondary:hover {
    background-color: rgba(255,255,255,0.12);
    border-color: #ffffff;
    opacity: 1;
}
.ab-hero-btn--secondary.ab-btn-ghost {
    border-color: transparent;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── Statisztika sáv ──────────────────────────────────────── */
.ab-hero-stats-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    max-width: 600px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 20px 32px;
    box-sizing: border-box;
}

.ab-hero-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.ab-hero-stat-num {
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.ab-hero-stat-label {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.65);
    text-align: center;
    line-height: 1.3;
}

.ab-hero-stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.25);
    flex-shrink: 0;
    margin: 0 8px;
}

/* ── Hullám ───────────────────────────────────────────────── */
.ab-hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 3;
    line-height: 0;
    overflow: hidden;
}

.ab-hero-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

.ab-hero-wave path,
.ab-hero-wave polygon {
    fill: #ffffff; /* az overlay_color selector felülírja */
}

/* ── Reszponzív ───────────────────────────────────────────── */
@media (max-width: 768px) {
    .ab-hero--compact    { min-height: 260px; }
    .ab-hero--medium     { min-height: 380px; }
    .ab-hero--large      { min-height: 500px; }

    .ab-hero-stats-bar {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }
    .ab-hero-stat-divider {
        width: 80px;
        height: 1px;
        margin: 0;
    }
    .ab-hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    .ab-hero-btn {
        text-align: center;
        justify-content: center;
    }
}
