/* ==========================================================================
   VIODUS HOMEPAGE LUXURY HERO SLIDER
   Ultra-Premium Architectural Design (Visual-First)
   ========================================================================== */

/* Accessibility / SEO Screen Reader Only Utility */
.viodus-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.viodus-hero-slider-wrap {
    position: relative;
    width: 100%;
    height: 580px;
    min-height: 520px;
    max-height: 640px;
    background-color: #0c111a;
    color: #ffffff;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    font-family: inherit;
}

@media (min-width: 1600px) {
    .viodus-hero-slider-wrap {
        height: 620px;
    }
}

/* SLIDES CONTAINER */
.viodus-slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* INDIVIDUAL SLIDE */
.viodus-hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.85s;
    z-index: 1;
}

.viodus-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

/* BACKGROUND IMAGE & GRADIENT */
.viodus-slide-bg-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.viodus-slide-bg-wrap picture {
    display: block;
    width: 100%;
    height: 100%;
}

.viodus-slide-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    transform: scale(1.025);
    transition: transform 6.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.viodus-hero-slide.is-active .viodus-slide-bg {
    transform: scale(1.0);
}

.viodus-slide-gradient {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(12, 17, 26, 0.94) 0%, rgba(12, 17, 26, 0.78) 32%, rgba(12, 17, 26, 0.2) 65%, transparent 100%);
    pointer-events: none;
}

/* INNER CONTAINER */
.viodus-slide-inner {
    position: relative;
    z-index: 3;
    max-width: 1380px;
    margin: 0 auto;
    height: 100%;
    padding: 0 36px;
    display: flex;
    align-items: center;
}

/* CONTENT BLOCK */
.viodus-slide-content {
    max-width: 580px;
    padding-bottom: 24px;
}

/* STAGGERED FADE-IN ANIMATION */
.viodus-eyebrow-row,
.viodus-slide-title,
.viodus-slide-subtitle,
.viodus-slide-actions {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.viodus-hero-slide.is-active .viodus-eyebrow-row {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

.viodus-hero-slide.is-active .viodus-slide-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.25s;
}

.viodus-hero-slide.is-active .viodus-slide-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.35s;
}

.viodus-hero-slide.is-active .viodus-slide-actions {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.45s;
}

/* EYEBROW WITH GOLD ACCENT */
.viodus-eyebrow-row {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.viodus-gold-bar {
    display: inline-block;
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #f59e0b);
    border-radius: 2px;
}

.viodus-eyebrow-text {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: #e5c05b;
}

/* DISPLAY TITLE */
.viodus-slide-title {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.14;
    color: #ffffff;
    letter-spacing: -0.4px;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

@media (min-width: 1400px) {
    .viodus-slide-title {
        font-size: 50px;
    }
}

/* SUBTITLE */
.viodus-slide-subtitle {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0 0 32px 0;
    letter-spacing: 0.2px;
}

/* ACTIONS */
.viodus-slide-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.viodus-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #0f172a !important;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 9999px;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px -6px rgba(255, 255, 255, 0.25);
}

.viodus-btn-primary:hover {
    background: #f1f5f9;
    color: #0284c7 !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -4px rgba(255, 255, 255, 0.35);
}

.viodus-btn-arrow {
    transition: transform 0.25s ease;
}

.viodus-btn-primary:hover .viodus-btn-arrow {
    transform: translateX(4px);
}

.viodus-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80 !important;
    border: 1px solid rgba(34, 197, 94, 0.3);
    font-size: 15px;
    font-weight: 600;
    padding: 13px 22px;
    border-radius: 9999px;
    text-decoration: none !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.viodus-btn-secondary:hover {
    background: rgba(34, 197, 94, 0.22);
    color: #86efac !important;
    border-color: rgba(34, 197, 94, 0.55);
    transform: translateY(-2px);
}

/* ==========================================================================
   SLIDER CONTROLS (BOTTOM BAR)
   ========================================================================== */

.viodus-slider-controls {
    position: absolute;
    bottom: 34px;
    left: 0;
    right: 0;
    z-index: 10;
    pointer-events: none;
}

.viodus-controls-inner {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 36px;
    display: flex;
    align-items: center;
    gap: 28px;
    pointer-events: auto;
}

/* COUNTER */
.viodus-slide-counter {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

.counter-curr {
    color: #ffffff;
    font-size: 16px;
}

.counter-sep {
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
}

.counter-total {
    color: rgba(255, 255, 255, 0.45);
}

/* PROGRESS INDICATOR LINES */
.viodus-slide-indicators {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    max-width: 300px;
}

.viodus-indicator-line {
    position: relative;
    flex: 1;
    height: 28px;
    padding: 12px 0;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: opacity 0.25s ease;
}

.viodus-indicator-track {
    display: block;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    transition: background-color 0.25s ease;
}

.viodus-indicator-line:hover .viodus-indicator-track {
    background: rgba(255, 255, 255, 0.45);
}

.viodus-indicator-fill {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 0%;
    background: #d4af37;
    border-radius: 2px;
    transition: width 0.05s linear;
}

.viodus-indicator-line.is-active .viodus-indicator-fill {
    background: linear-gradient(90deg, #d4af37, #f59e0b);
}

/* ARROWS */
.viodus-slider-arrows {
    display: flex;
    align-items: center;
    gap: 10px;
}

.viodus-nav-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
}

.viodus-nav-arrow:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.06);
}

.viodus-nav-arrow:active {
    transform: scale(0.96);
}

/* ==========================================================================
   MOBILE & RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 991px) {
    .viodus-hero-slider-wrap {
        height: 640px;
    }

    .viodus-slide-title {
        font-size: 38px;
    }

    .viodus-slide-content {
        max-width: 480px;
    }
}

@media (max-width: 767px) {
    .viodus-hero-slider-wrap {
        height: 600px;
        min-height: 580px;
    }

    .viodus-slide-bg {
        object-position: center center;
    }

    /* Gradient from bottom for mobile */
    .viodus-slide-gradient {
        background: linear-gradient(180deg, rgba(12, 17, 26, 0.1) 0%, rgba(12, 17, 26, 0.4) 40%, rgba(12, 17, 26, 0.92) 75%, #0c111a 100%);
    }

    .viodus-slide-inner {
        align-items: flex-end;
        padding: 0 20px 85px 20px;
    }

    .viodus-slide-content {
        max-width: 100%;
        padding-bottom: 0;
    }

    .viodus-eyebrow-row {
        gap: 8px;
        margin-bottom: 10px;
    }

    .viodus-gold-bar {
        width: 22px;
        height: 2.5px;
    }

    .viodus-eyebrow-text {
        font-size: 11.5px;
        letter-spacing: 1.5px;
    }

    .viodus-slide-title {
        font-size: 27px;
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .viodus-slide-subtitle {
        font-size: 13.5px;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .viodus-slide-actions {
        gap: 10px;
    }

    .viodus-btn-primary {
        font-size: 14px;
        padding: 12px 20px;
        flex: 1 1 auto;
        justify-content: center;
    }

    .viodus-btn-secondary {
        font-size: 14px;
        padding: 12px 18px;
        flex: 1 1 auto;
        justify-content: center;
    }

    /* Controls on Mobile */
    .viodus-slider-controls {
        bottom: 20px;
    }

    .viodus-controls-inner {
        padding: 0 20px;
        gap: 16px;
    }

    .viodus-slide-indicators {
        max-width: none;
    }

    .viodus-nav-arrow {
        width: 36px;
        height: 36px;
    }

    .viodus-nav-arrow svg {
        width: 15px;
        height: 15px;
    }
}
