/* Hero & Featured Slider Component for Nanu Creative Media */
.hero-slider-container {
    position: relative;
    width: 100%;
    max-width: 620px;
    height: 540px;
    margin: 0 auto;
    border-radius: 6px;
    overflow: hidden;
    background: #0d0f12;
    border: 1px solid var(--site-line);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.hero-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slider-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.6s;
    z-index: 1;
}

.hero-slider-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.hero-slider-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.hero-slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Gradient vignette & typography overlay */
.hero-slider-caption {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 12, 16, 0.92) 0%,
        rgba(10, 12, 16, 0.6) 38%,
        rgba(10, 12, 16, 0.15) 70%,
        rgba(10, 12, 16, 0) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px 26px;
    color: #ffffff;
    box-sizing: border-box;
    pointer-events: none;
}

.hero-slider-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 12px;
}

.hero-slider-tag .tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d97746;
}

.hero-slider-title {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.hero-slider-title .slide-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    font-size: 15px;
    color: #ffffff;
    transition: transform 0.2s ease, background 0.2s ease;
    flex-shrink: 0;
}

.hero-slider-link:hover .slide-arrow {
    transform: translate(3px, -3px);
    background: #d97746;
}

.hero-slider-desc {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.85);
    max-width: 440px;
}

/* Slider Controls: Arrows & Dots */
.hero-slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #16191e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    user-select: none;
}

.hero-slider-nav-btn:hover {
    background: #ffffff;
    transform: translateY(-50%) scale(1.08);
    color: #d97746;
}

.hero-slider-prev {
    left: 14px;
}

.hero-slider-next {
    right: 14px;
}

.hero-slider-footer {
    position: absolute;
    bottom: 12px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.hero-slider-counter {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(0, 0, 0, 0.45);
    padding: 3px 8px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

.hero-slider-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-slider-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
}

.hero-slider-dot.is-active {
    width: 20px;
    border-radius: 4px;
    background: #ffffff;
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
    .hero-slider-container {
        max-width: 100%;
        height: 420px;
        margin-top: 32px;
    }

    .hero-slider-title {
        font-size: 21px;
    }

    .hero-slider-caption {
        padding: 20px 18px;
    }
}

@media (max-width: 600px) {
    .hero-slider-container {
        height: 360px;
        margin-top: 24px;
    }

    .hero-slider-title {
        font-size: 19px;
    }

    .hero-slider-desc {
        font-size: 12.5px;
    }

    .hero-slider-nav-btn {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }
}
