/* Homepage banner carousel — matches ethiopian-corporate-redesign.html hero */

.hban {
    --hban-green-900: var(--green-900, #13401a);
    --hban-gold: var(--gold, #f2b632);
    --hban-font-serif: var(--font-serif, Fraunces, Georgia, serif);
    position: relative;
    background: var(--hban-green-900);
    overflow: hidden;
}

.hban-slides {
    position: relative;
    width: 100%;
    height: clamp(520px, 40vw, 720px);
}

.hban-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s ease;
    pointer-events: none;
}

.hban-slide.is-active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}

.hban-slide img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Soft bottom fade on all slides */
.hban-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(13, 45, 18, 0.55), transparent 45%);
    pointer-events: none;
}

/* Main banner: stronger left + bottom gradient */
.hban-slide.is-main::after {
    background:
        linear-gradient(90deg, rgba(10, 32, 13, 0.92) 0%, rgba(10, 32, 13, 0.78) 35%, rgba(10, 32, 13, 0.45) 65%, rgba(10, 32, 13, 0.25) 100%),
        linear-gradient(to top, rgba(10, 32, 13, 0.6) 0%, transparent 45%),
        rgba(0, 0, 0, 0.15);
}

.hban-copy {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hban-copy-inner {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.hban-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hban-gold);
}

.hban-eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--hban-gold);
    border-radius: 2px;
}

.hban-title {
    font-family: var(--hban-font-serif);
    color: #fff;
    font-size: clamp(32px, 4.6vw, 60px);
    line-height: 1.06;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 14px 0 18px;
    max-width: 640px;
}

.hban-desc {
    color: rgba(255, 255, 255, 0.92);
    font-size: 17px;
    max-width: 560px;
    margin-bottom: 26px;
    line-height: 1.55;
}

.hban-desc p {
    margin: 0 0 0.75rem;
    color: inherit;
}

.hban-desc p:last-child {
    margin-bottom: 0;
}

.hban-cta-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 56px;
    z-index: 2;
}

.hban-cta-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.hban-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15px;
    padding: 13px 22px;
    border-radius: 999px;
    margin-left: 30px;
    border: 0;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
    cursor: pointer;
    text-shadow: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.hban-btn-gold {
    background: var(--hban-gold);
    color: var(--hban-green-900);
}

.hban-btn-gold:hover {
    background: #ffc94f;
    color: var(--hban-green-900);
    text-decoration: none;
    transform: translateY(-2px);
}

.hban-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.hban-btn:hover svg {
    transform: translateX(3px);
}

/* Controls */
.hban-ctrl {
    position: absolute;
    z-index: 5;
    bottom: 28px;
    left: 0;
    right: 0;
}

.hban-ctrl-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

.hban-dots {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-right: 4px;
}

.hban-dot {
    width: 28px;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.4);
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s ease, width 0.3s ease;
}

.hban-dot.is-active {
    background: var(--hban-gold);
    width: 48px;
}

.hban-arrow,
.hban-play {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    padding: 0;
    flex-shrink: 0;
}

.hban-arrow:hover,
.hban-play:hover {
    background: var(--hban-gold);
    color: var(--hban-green-900);
    border-color: var(--hban-gold);
}

.hban-arrow svg,
.hban-play svg {
    width: 18px;
    height: 18px;
}

.hban-play .hban-icon-play {
    display: none;
}

.hban-play.is-paused .hban-icon-pause {
    display: none;
}

.hban-play.is-paused .hban-icon-play {
    display: block;
}

@media (max-width: 720px) {
    .hban-slides {
        height: 600px !important;
    }

    .hban-slide.is-main::after {
        background: linear-gradient(to top, rgba(10, 32, 13, 0.95) 15%, rgba(10, 32, 13, 0.7) 55%, rgba(10, 32, 13, 0.4));
    }

    .hban-copy {
        align-items: flex-end;
        padding-bottom: 90px;
    }

    .hban-desc {
        font-size: 15px;
    }

    .hban-cta-bar {
        bottom: 72px;
    }

    .hban-ctrl-inner {
        justify-content: center;
    }
}
