/* ============================================================
   Schemin Hero Slider — CSS
   Ultra-lightweight slider styles (~3KB minified)
   ============================================================ */

/* --- Reset & Container --- */
.shs-hero {
    --shs-height: 780px;
    --shs-transition: 800ms;
    --shs-red: #ff0000;
    --shs-red-hover: #cc0000;
    --shs-font-title: 'Roboto Slab', 'Georgia', serif;
    --shs-font-body: 'Roboto', 'Arial', sans-serif;

    position: relative;
    width: 100%;
    height: var(--shs-height);
    overflow: hidden;
    background: #111;
    z-index: 1;
}

/* --- Slides Track --- */
.shs-track {
    position: relative;
    width: 100%;
    height: 100%;
}

/* --- Individual Slide --- */
.shs-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--shs-transition) ease, visibility 0s linear var(--shs-transition);
    z-index: 1;
}

.shs-slide.shs-active {
    opacity: 1;
    visibility: visible;
    transition: opacity var(--shs-transition) ease, visibility 0s linear 0s;
    z-index: 2;
}

/* --- Background Image --- */
.shs-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    will-change: transform;
    transition: transform 8s ease-out;
    transform: scale(1);
}

.shs-slide.shs-active .shs-slide-bg {
    transform: scale(1.05);
}

/* --- Dark Overlay --- */
.shs-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.3) 60%,
        rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 1;
}

/* --- Boxed Container --- */
.shs-slide-inner {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0px 0px !important;
    height: 100%;
    display: flex;
    align-items: center;
}

/* --- Content --- */
.shs-content {
    position: relative;
    max-width: 600px;
    color: #fff !important;
}

/* Alignment variants */
.shs-align-left .shs-content {
    margin-right: auto;
    text-align: left;
}

.shs-align-center .shs-content {
    margin: 0 auto !important;
    text-align: center;
}

.shs-align-right .shs-content {
    margin-left: auto;
    text-align: right;
}

/* --- Subtitle --- */
.shs-subtitle {
    font-family: var(--shs-font-body);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 12px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.shs-slide.shs-active .shs-subtitle {
    opacity: 1;
    transform: translateY(0);
}

/* --- Title --- */
.shs-title {
    font-family: var(--shs-font-title);
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    color: #fff !important;
    margin: 0 0 20px;
    text-transform: uppercase;
    text-shadow: 2px 3px 6px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease 0.35s, transform 0.6s ease 0.35s;
}

.shs-slide.shs-active .shs-title {
    opacity: 1;
    transform: translateY(0);
}

/* --- Description --- */
.shs-desc {
    font-family: var(--shs-font-body);
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s;
}

.shs-slide.shs-active .shs-desc {
    opacity: 1;
    transform: translateY(0);
}

/* --- CTA Button --- */
.shs-btn {
    display: inline-block;
    font-family: var(--shs-font-body);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff !important;
    background: var(--shs-red);
    padding: 14px 36px;
    border: 2px solid var(--shs-red);
    border-radius: 3px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.shs-slide.shs-active .shs-btn {
    opacity: 1;
    transform: translateY(0);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, 
                opacity 0.6s ease 0.65s;
}

.shs-btn:hover {
    background: var(--shs-red-hover);
    border-color: var(--shs-red-hover);
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.45);
    color: #fff !important;
    text-decoration: none;
}

.shs-btn:active {
    transform: translateY(0) !important;
}

/* --- Navigation Arrows --- */
.shs-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    padding: 0;
    outline: none;
}

.shs-nav:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.shs-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.shs-prev { left: 24px; }
.shs-next { right: 24px; }

/* Dots removed — only arrows navigation */

/* --- Progress Bar --- */
.shs-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 10;
}

.shs-progress-bar {
    height: 100%;
    background: var(--shs-red);
    width: 0%;
    transition: none;
}

.shs-progress-bar.shs-animating {
    transition: width linear;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .shs-slide-inner {
        padding: 0px 0px !important;
    }
    
    .shs-content {
        max-width: 500px;
    }
    
    .shs-nav {
        width: 44px;
        height: 44px;
    }
    
    .shs-prev { left: 16px; }
    .shs-next { right: 16px; }
}

@media (max-width: 768px) {
    .shs-slide-inner {
        padding: 0px 0px !important;
    }
    
    .shs-content {
        max-width: 100%;
    }
    
    .shs-title {
        font-size: clamp(24px, 6vw, 36px);
        margin-bottom: 14px;
    }
    
    .shs-subtitle {
        font-size: 13px;
        letter-spacing: 1.5px;
    }
    
    .shs-desc {
        font-size: 14px;
        line-height: 1.55;
        margin-bottom: 24px;
    }
    
    .shs-btn {
        font-size: 13px;
        padding: 12px 28px;
    }
    
    .shs-nav {
        width: 38px;
        height: 38px;
    }
    
    .shs-nav svg {
        width: 20px;
        height: 20px;
    }
    
    .shs-prev { left: 10px; }
    .shs-next { right: 10px; }
}

@media (max-width: 480px) {
    .shs-slide-inner {
        padding: 0px 0px !important;
    }
    
    .shs-title {
        font-size: 22px;
    }
    
    .shs-desc {
        font-size: 13px;
    }
    
    .shs-nav {
        width: 34px;
        height: 34px;
    }
    
    .shs-prev { left: 6px; }
    .shs-next { right: 6px; }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    .shs-slide,
    .shs-subtitle,
    .shs-title,
    .shs-desc,
    .shs-btn,
    .shs-slide-bg {
        transition: none !important;
        transform: none !important;
    }
    
    .shs-slide.shs-active .shs-subtitle,
    .shs-slide.shs-active .shs-title,
    .shs-slide.shs-active .shs-desc,
    .shs-slide.shs-active .shs-btn {
        opacity: 1;
    }
}

/* --- Elementor Override Fixes --- */
.shs-hero .shs-btn,
.shs-hero .shs-btn:link,
.shs-hero .shs-btn:visited,
.shs-hero .shs-btn:active,
.elementor-widget .shs-btn,
.elementor-widget .shs-btn:link,
.elementor-widget .shs-btn:visited {
    color: #fff !important;
    background-color: #ff0000 !important;
    text-decoration: none !important;
}

.shs-hero .shs-btn:hover,
.elementor-widget .shs-btn:hover {
    color: #fff !important;
    background-color: #cc0000 !important;
}

.shs-hero .shs-title,
.elementor-widget .shs-title {
    color: #fff !important;
}

.shs-hero .shs-subtitle,
.shs-hero .shs-desc,
.elementor-widget .shs-subtitle,
.elementor-widget .shs-desc {
    color: rgba(255,255,255,0.9) !important;
}

.elementor-widget .shs-hero {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
}
