/* ============================================================
   HERO SLIDER - U Tẻn
   ============================================================ */

/* Wrapper */
.uten-hero-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    font-family: inherit;
}

/* ─── Main Slides ─── */
.uten-slides-container {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 600px;
}

.uten-slide {
    position: absolute;
    inset: 0;                       /* top/right/bottom/left = 0 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    z-index: 1;
}

.uten-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Gradient overlay bên trái để chữ dễ đọc */
.uten-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.30) 50%,
        rgba(0, 0, 0, 0.00) 100%
    );
    z-index: 1;
}

/* Nội dung văn bản */
.uten-slide-body {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 0 80px;
    max-width: 650px;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 2s ease-in-out, transform 2s ease-out;
}

.uten-slide.is-active .uten-slide-body {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.6s;
}

.uten-slide-sub {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 14px;
    color: var(--uten-secondary, #f28200);
}

.uten-slide-title {
    font-size: clamp(2rem, 4vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 18px;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.uten-slide-desc {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    margin: 0 0 30px;
}

.uten-slide-desc p { margin: 0; }

/* CTA Button */
.uten-slide-btn {
    display: inline-block;
    padding: 14px 36px;
    background: var(--uten-secondary, #f28200);
    color: #fff !important;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(242,130,0,0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.uten-slide-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(242,130,0,0.55);
}

/* ─── Thumbnail Nav ─── */
.uten-thumbs-nav {
    position: absolute;
    bottom: 36px;
    right: 40px;
    z-index: 10;
    display: flex;
    gap: 12px;
}

.uten-thumb-btn {
    width: 110px;
    height: 70px;
    border: 3px solid rgba(255,255,255,0.35);
    border-radius: 10px;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.55;
    padding: 0;
    outline: none;
}

.uten-thumb-btn:hover {
    opacity: 0.85;
    transform: scale(1.05);
}

.uten-thumb-btn.is-active {
    border-color: #fff;
    opacity: 1;
    transform: scale(1.08);
    box-shadow: 0 4px 18px rgba(0,0,0,0.4);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .uten-slides-container {
        height: 70vh;
        min-height: 480px;
    }

    .uten-slide-body {
        padding: 0 24px;
        max-width: 100%;
    }

    .uten-slide-title {
        font-size: 2rem;
    }

    .uten-thumbs-nav {
        bottom: 16px;
        right: 16px;
        gap: 8px;
    }

    .uten-thumb-btn {
        width: 72px;
        height: 46px;
    }
}
