/* ============================================================
   Hero Slider – Front-end styles
   ============================================================ */

/* ---- Container ---- */
.hs-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #111;
    font-family: inherit;
    /* Default height – override in theme CSS if needed */
    height: 580px;
}

/* ---- Track ---- */
.hs-track {
    display: flex;
    height: 100%;
    transition: transform 0.65s cubic-bezier(0.77, 0, 0.175, 1);
    will-change: transform;
}

/* ---- Slide ---- */
.hs-slide {
    flex: 0 0 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---- Overlay ---- */
.hs-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* ---- Content ---- */
.hs-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 40px 24px;
    max-width: 820px;
    width: 100%;
    animation: hs-fade-up 0.55s ease both;
}

/* Re-trigger animation when slide becomes active */
.hs-slide.is-active .hs-content {
    animation: hs-fade-up 0.55s ease both;
}

@keyframes hs-fade-up {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hs-title {
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 16px;
    text-shadow: 0 2px 12px rgba(0,0,0,.5);
    letter-spacing: -0.02em;
}

.hs-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    line-height: 1.6;
    margin: 0 0 28px;
    opacity: .9;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 6px rgba(0,0,0,.4);
}

.hs-btn {
    display: inline-block;
    background: #fff;
    color: #111;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 36px;
    border-radius: 3px;
    transition: background 0.25s, color 0.25s, transform 0.2s;
}

.hs-btn:hover,
.hs-btn:focus {
    background: #111;
    color: #fff;
    transform: translateY(-2px);
    text-decoration: none;
}

/* ---- Arrows ---- */
.hs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: background 0.2s, transform 0.2s;
    backdrop-filter: blur(6px);
    padding: 0;
}

.hs-arrow svg {
    width: 22px;
    height: 22px;
    pointer-events: none;
}

.hs-arrow:hover {
    background: rgba(255,255,255,.28);
    transform: translateY(-50%) scale(1.08);
}

.hs-arrow-prev { left: 20px; }
.hs-arrow-next { right: 20px; }

/* ---- Dots ---- */
.hs-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

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

.hs-dot.is-active {
    background: #fff;
    transform: scale(1.3);
}

/* ---- Empty state ---- */
.hs-empty {
    text-align: center;
    color: #666;
    padding: 40px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .hs-slider { height: 420px; }
    .hs-arrow { width: 38px; height: 38px; }
    .hs-arrow svg { width: 16px; height: 16px; }
    .hs-arrow-prev { left: 10px; }
    .hs-arrow-next { right: 10px; }
}

@media (max-width: 480px) {
    .hs-slider { height: 340px; }
    .hs-btn { padding: 11px 24px; font-size: 0.85rem; }
}
