/* ── Hero Banner Slider ─────────────────────────────────────────────────── */

.hbs-slider-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    /* Reset everything — JS will set exact pixel values */
    box-sizing: border-box;
    padding: 0 !important;
    margin-top: 0;
    margin-bottom: 0;
}

/* Track holds all slides side by side */
.hbs-track {
    display: flex;
    width: 100%;
    height: 100%;
    will-change: transform;
}

/* Individual slide */
.hbs-slide {
    position: relative;
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0s;
}

.hbs-slide.hbs-active {
    opacity: 1;
}

/* Dark overlay */
.hbs-overlay {
    position: absolute;
    inset: 0;
}

/* Content wrapper */
.hbs-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 60px;
    box-sizing: border-box;
    z-index: 2;
}

.hbs-align-left   { align-items: flex-start; text-align: left; }
.hbs-align-center { align-items: center;      text-align: center; }
.hbs-align-right  { align-items: flex-end;    text-align: right; }

/* Typography */
.hbs-title {
    margin: 0 0 16px;
    font-size: clamp(28px, 5vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: inherit;
    text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

.hbs-subtitle {
    margin: 0 0 28px;
    font-size: clamp(15px, 2vw, 22px);
    line-height: 1.5;
    color: inherit;
    max-width: 640px;
    text-shadow: 0 1px 6px rgba(0,0,0,.3);
    opacity: .92;
}

/* Button */
.hbs-btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: transform .2s, box-shadow .2s, opacity .2s;
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
    cursor: pointer;
}
.hbs-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
    opacity: .92;
}

/* ── Arrows ─────────────────────────────────────────────────────────────── */
.hbs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.45);
    color: #fff;
    border: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, transform .2s;
    line-height: 1;
    padding: 0;
}
.hbs-arrow:hover {
    background: rgba(0,0,0,.75);
    transform: translateY(-50%) scale(1.1);
}
.hbs-prev { left: 20px; }
.hbs-next { right: 20px; }

/* ── Dots ───────────────────────────────────────────────────────────────── */
.hbs-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.hbs-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    border: 2px solid rgba(255,255,255,.8);
    cursor: pointer;
    padding: 0;
    transition: background .25s, transform .25s;
}
.hbs-dot-active,
.hbs-dot:hover {
    background: #fff;
    transform: scale(1.25);
}

/* ── Fade transition ────────────────────────────────────────────────────── */
.hbs-track.hbs-fade .hbs-slide {
    position: absolute;
    inset: 0;
    min-width: 100%;
    transition: opacity .8s ease;
}
.hbs-track.hbs-fade .hbs-slide.hbs-active {
    opacity: 1;
    z-index: 2;
}
.hbs-track.hbs-fade .hbs-slide:not(.hbs-active) {
    opacity: 0;
    z-index: 1;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .hbs-content { padding: 28px 24px; }
    .hbs-arrow { width: 40px; height: 40px; font-size: 16px; }
}
