/* ===== JKA Homepage — hero carousel ("where we started" -> "5 Years of Impact") ===== */
#banner, .jka-hero-carousel { background: var(--jka-black); }
.jka-hero-carousel { height: 100vh; }
.jka-hero-carousel .owl-stage-outer,
.jka-hero-carousel .owl-stage,
.jka-hero-carousel .owl-item,
.jka-hero-carousel .owl-item > div { height: 100%; }

.jka-hero-slide {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    background-color: var(--jka-black); /* fallback behind the video slide before the iframe paints */
}
.jka-hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.55) 100%);
    z-index: 1;
}

/* Final slide — muted autoplay video instead of a static photo */
.jka-hero-video-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none; /* clicks pass through to the slide's own buttons/nav */
}
.jka-hero-video-bg iframe {
    position: absolute;
    top: 50%; left: 50%;
    width: 100%; height: 100%;
    min-width: 177.78vh; /* 16:9 cover-fit so the video always fills the slide, no letterboxing */
    min-height: 56.25vw;
    transform: translate(-50%, -50%);
    border: 0;
}
.jka-hero-slide-content {
    position: relative;
    z-index: 2;
    padding: 0 60px 80px;
    max-width: 640px;
}
.jka-hero-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--jka-gold-light);
    background: transparent;
    border: 1px solid rgba(var(--jka-gold-rgb), .5);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.jka-hero-headline {
    font-size: 34px;
    font-weight: 700;
    color: var(--jka-white);
    line-height: 1.25;
    margin: 0 0 26px;
    text-wrap: balance;
}
.jka-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.jka-hero-actions a {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 13px 26px;
    border-radius: 3px;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.jka-hero-actions .btn-solid {
    background: var(--jka-gold-shine);
    color: var(--jka-white);
    border: 1px solid var(--jka-gold);
}
.jka-hero-actions .btn-solid:hover { background: var(--jka-gold-light); border-color: var(--jka-gold-light); color: var(--jka-black); }
.jka-hero-actions .btn-outline {
    background: transparent;
    color: var(--jka-white);
    border: 1px solid rgba(255,255,255,.5);
}
.jka-hero-actions .btn-outline:hover { border-color: var(--jka-gold); color: var(--jka-gold); }

/* Owl nav/dots — restyled flat gold, no default blue/grey theme look */
.jka-hero-carousel .owl-nav button.owl-prev,
.jka-hero-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,.35) !important;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 50%;
    color: var(--jka-white) !important;
    font-size: 20px;
    z-index: 3;
    transition: background .2s ease, border-color .2s ease;
}
.jka-hero-carousel .owl-nav button.owl-prev { left: 24px; }
.jka-hero-carousel .owl-nav button.owl-next { right: 24px; }
.jka-hero-carousel .owl-nav button:hover {
    background: var(--jka-gold) !important;
    border-color: var(--jka-gold);
    color: var(--jka-black) !important;
}
.jka-hero-carousel .owl-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
}
.jka-hero-carousel .owl-dot span {
    width: 8px; height: 8px;
    display: block;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    transition: background .2s ease, width .2s ease;
}
.jka-hero-carousel .owl-dot.active span {
    background: var(--jka-gold-shine);
    width: 22px;
    border-radius: 4px;
}

@media (max-width: 767px) {
    .jka-hero-carousel, .jka-hero-slide { height: 100vh; }
    /* Back to full-bleed cover (no letterbox bars) — bias the crop toward the
       upper-middle instead of dead-center, since that's where faces/subjects in
       these event photos usually sit, so less of the actual moment gets cropped
       away when a landscape photo fills a tall, narrow mobile screen. */
    .jka-hero-slide:not(.jka-hero-slide-video) {
        background-position: center 30%;
    }
    .jka-hero-slide-content { padding: 0 24px 56px; max-width: 100%; }
    .jka-hero-headline { font-size: 24px; }
    .jka-hero-actions a { padding: 11px 18px; font-size: 12px; }
    .jka-hero-carousel .owl-nav button.owl-prev,
    .jka-hero-carousel .owl-nav button.owl-next { width: 36px; height: 36px; font-size: 16px; }
}
