/* ─────────────────────────────────────────────
   Block: Hero-karuselli  (fp_hero_carousel)
   ───────────────────────────────────────────── */

/* Slider container */
.fp-hero-slider {
    position: relative;
    overflow: hidden;
    background: #2e2e2d;
}

/* Track — slides laid out horizontally */
.fp-hero-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Individual slide */
.fp-hero-slide {
    min-width: 100%;
    position: relative;
}

/* ── Background image ── */
.fp-hero-slide-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.fp-hero-slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
    display: block;
}

/* Dark gradient overlay — strength controlled by --fp-overlay CSS variable
   (set via inline style on .fp-hero-slider from ACF; default 0.60).
   The three multipliers preserve the original gradient shape at any strength:
   top × 0.785, mid × 1.0, bottom × 0.857  (derived from 0.55 / 0.70 / 0.60). */
.fp-hero-slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(20, 20, 20, calc(var(--fp-overlay, 0.60) * 0.785)) 0%,
        rgba(20, 20, 20, var(--fp-overlay, 0.60)) 50%,
        rgba(20, 20, 20, calc(var(--fp-overlay, 0.60) * 0.857)) 100%
    );
}

/* ── Slide content ── */
.fp-hero-slide-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 72px 80px;
    position: relative;
    z-index: 2;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.fp-hero-slide-text {
    color: #fff;
    max-width: 640px;
}

/* Tag badge */
.fp-hero-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c44c4c;
    margin-bottom: 12px;
    background: rgba(155, 27, 27, 0.20);
    padding: 5px 12px;
    border-radius: 4px;
}

/* Heading — Bebas Neue display style */
.fp-hero-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.4rem;
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
    color: #fff;
}

/* Two-class selector (0,2,0) beats the theme's h2:not(:first-child) (0,1,1) */
.fp-hero-slide-text .fp-hero-heading {
    margin-top: 0;
    padding-top: 0;
}

/* Body text */
.fp-hero-text {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.70);
    margin-bottom: 28px;
}

/* CTA button */
.fp-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #b51f1f;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, transform 0.15s;
}

.fp-hero-btn:hover,
.fp-hero-btn:focus-visible {
    background: #c44c4c;
    color: #fff;
    transform: translateY(-1px);
    text-decoration: none;
}

/* ── Prev / Next arrows ── */
.fp-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.40);
    border: 1px solid rgba(255, 255, 255, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 0;
}

.fp-hero-arrow:hover,
.fp-hero-arrow:focus-visible {
    background: rgba(0, 0, 0, 0.65);
}

.fp-hero-prev { left: 20px; }
.fp-hero-next { right: 20px; }

/* ── Dot navigation ── */
.fp-hero-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.fp-hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.fp-hero-dot.active {
    background: #c44c4c;
    transform: scale(1.3);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .fp-hero-slide-inner {
        padding: 48px 60px;
        min-height: 340px;
    }
    .fp-hero-heading { font-size: 2.4rem; }
    .fp-hero-prev { left: 10px; }
    .fp-hero-next { right: 10px; }
}

@media (max-width: 500px) {
    .fp-hero-slide-inner {
        padding: 40px 24px;
        min-height: 300px;
    }
    .fp-hero-heading { font-size: 2rem; }
    .fp-hero-arrow  { display: none; }
}
