/* ========================================
   About Core Values – Immersive Scene Slider
   Scoped under .sv-values-cinema
   Full-bleed cinematic slider
   ======================================== */

/* --- Reset: Override global main.css leaks --- */
.sv-values-cinema h2,
.sv-values-cinema h3,
.sv-values-cinema h4,
.sv-values-cinema h5,
.sv-values-cinema h6 {
    font-family: inherit;
    font-weight: 700;
    letter-spacing: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.sv-values-cinema a,
.sv-values-cinema button,
.sv-values-cinema span,
.sv-values-cinema p,
.sv-values-cinema img {
    transition: none;
}

.sv-values-cinema a,
.sv-values-cinema a:hover,
.sv-values-cinema a:focus {
    color: inherit;
    text-decoration: none;
    outline: none;
    box-shadow: none;
}

.sv-values-cinema button,
.sv-values-cinema button:hover,
.sv-values-cinema button:focus {
    color: inherit;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    outline: none;
    box-shadow: none;
}

.sv-values-cinema button::before,
.sv-values-cinema button::after {
    content: none !important;
    display: none !important;
}

.sv-values-cinema p {
    margin-bottom: 0;
}

.sv-values-cinema img {
    max-width: 100%;
}
/* --- End Reset --- */


/* ===========================
   Section Wrapper
   =========================== */
.sv-values-cinema {
    background: #000000;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.sv-values-cinema::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 0%, rgba(230, 76, 41, 0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.sv-values-cinema::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #e64c29 30%, #e64c29 70%, transparent 100%);
    z-index: 10;
}


/* ===========================
   Header (above the rail)
   =========================== */
.sv-values-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
    padding: 80px 20px 44px;
    position: relative;
    z-index: 4;
}

.sv-values-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--sv-primary, #e64c29);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.sv-values-subtitle-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.sv-values-title {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
}


/* ===========================
   Film Sprocket Bars
   =========================== */
.sv-values-sprockets {
    position: relative;
    height: 18px;
    background: #0a0a0a;
    overflow: hidden;
    z-index: 5;
}

.sv-values-sprockets::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 0;
    width: 100%;
    height: 12px;
    background: repeating-linear-gradient(
        to right,
        transparent 0px,
        transparent 18px,
        #1a1a1a 18px,
        #1a1a1a 28px,
        transparent 28px,
        transparent 46px
    );
    border-radius: 2px;
}


/* ===========================
   Film Rail (contains slider)
   =========================== */
.sv-values-rail {
    position: relative;
    min-height: 480px;
    overflow: hidden;
    z-index: 3;
}

.sv-values-rail::before,
.sv-values-rail::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #1a1a1a;
    z-index: 6;
}

.sv-values-rail::before { top: 0; }
.sv-values-rail::after { bottom: 0; }


/* ===========================
   Full-Bleed Image Panel
   =========================== */
.sv-values-images {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.sv-values-images img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}

.sv-values-images img.active {
    opacity: 1;
    z-index: 2;
}


/* ===========================
   Dark Vignette Overlay
   =========================== */
.sv-values-vignette {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background:
        radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.75) 100%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
}


/* ===========================
   Glass Panel (centered)
   =========================== */
.sv-values-glass {
    position: relative;
    z-index: 4;
    max-width: 580px;
    margin: 0 auto;
    padding: 60px 0;
}

.sv-values-glass-inner {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 44px 40px;
    text-align: center;
}

/* Scene number */
.sv-values-scene-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--sv-primary, #e64c29);
    letter-spacing: 2px;
    margin-bottom: 18px;
    display: block;
}

/* Icon circle */
.sv-values-icon {
    width: 64px;
    height: 64px;
    border: 2px solid var(--sv-primary, #e64c29);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    background: rgba(230, 76, 41, 0.12);
}

.sv-values-icon i {
    font-size: 24px;
    color: var(--sv-primary, #e64c29);
}

/* Slide title */
.sv-values-slide-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 16px;
}

/* Orange divider */
.sv-values-divider {
    width: 40px;
    height: 3px;
    background: var(--sv-primary, #e64c29);
    border-radius: 3px;
    margin: 0 auto 20px;
}

/* Description */
.sv-values-desc {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    max-width: 460px;
    margin: 0 auto;
}

/* Switching animation */
.sv-values-glass-inner .sv-values-scene-number,
.sv-values-glass-inner .sv-values-icon,
.sv-values-glass-inner .sv-values-slide-title,
.sv-values-glass-inner .sv-values-divider,
.sv-values-glass-inner .sv-values-desc {
    transition: opacity 0.35s ease, transform 0.35s ease !important;
}

.sv-values-glass-inner.is-switching .sv-values-scene-number,
.sv-values-glass-inner.is-switching .sv-values-icon,
.sv-values-glass-inner.is-switching .sv-values-slide-title,
.sv-values-glass-inner.is-switching .sv-values-divider,
.sv-values-glass-inner.is-switching .sv-values-desc {
    opacity: 0;
    transform: translateY(10px);
}


/* ===========================
   Controls Bar
   =========================== */
.sv-values-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 5;
    padding: 0 40px 50px;
}

.sv-values-ctrl-prev,
.sv-values-ctrl-next {
    width: 42px;
    height: 42px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0 !important;
    transition: background 0.3s ease, border-color 0.3s ease !important;
}

.sv-values-ctrl-prev:hover,
.sv-values-ctrl-next:hover {
    background: var(--sv-primary, #e64c29) !important;
    border-color: var(--sv-primary, #e64c29) !important;
    transform: none !important;
}

.sv-values-ctrl-prev svg,
.sv-values-ctrl-next svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

[dir="rtl"] .sv-values-ctrl-prev svg,
[dir="rtl"] .sv-values-ctrl-next svg {
    transform: scaleX(-1);
}

/* Progress bar */
.sv-values-progress-wrap {
    flex: 1;
    max-width: 280px;
    height: 3px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.sv-values-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--sv-primary, #e64c29);
    border-radius: 2px;
    transition: none;
}

.sv-values-progress-bar.is-running {
    animation: svValuesProgress 3.5s linear forwards;
}

@keyframes svValuesProgress {
    from { width: 0%; }
    to { width: 100%; }
}

/* Counter */
.sv-values-counter {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    min-width: 50px;
    text-align: center;
}

.sv-values-counter-current {
    color: #ffffff;
    font-weight: 700;
}


/* ===========================
   Hidden Data List
   =========================== */
.sv-values-data {
    display: none !important;
}


/* ========================================
   Responsive
   ======================================== */

@media (max-width: 1199px) {
    .sv-values-header {
        padding: 70px 20px 36px;
    }

    .sv-values-title {
        font-size: 30px;
    }

    .sv-values-rail {
        min-height: 440px;
    }

    .sv-values-glass-inner {
        padding: 36px 32px;
    }

    .sv-values-slide-title {
        font-size: 24px;
    }

    .sv-values-desc {
        font-size: 15px;
    }
}

@media (max-width: 991px) {
    .sv-values-header {
        padding: 60px 20px 30px;
    }

    .sv-values-title {
        font-size: 28px;
    }

    .sv-values-rail {
        min-height: 400px;
    }

    .sv-values-glass {
        max-width: 90%;
        padding: 50px 0;
    }

    .sv-values-glass-inner {
        padding: 32px 24px;
    }

    .sv-values-icon {
        width: 54px;
        height: 54px;
    }

    .sv-values-icon i {
        font-size: 20px;
    }

    .sv-values-slide-title {
        font-size: 22px;
    }

    .sv-values-controls {
        padding: 0 24px 40px;
    }
}

@media (max-width: 767px) {
    .sv-values-header {
        padding: 45px 16px 24px;
    }

    .sv-values-title {
        font-size: 24px;
    }

    .sv-values-rail {
        min-height: 360px;
    }

    .sv-values-glass {
        max-width: 94%;
        padding: 40px 0;
    }

    .sv-values-glass-inner {
        padding: 28px 18px;
        border-radius: 16px;
    }

    .sv-values-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 16px;
    }

    .sv-values-icon i {
        font-size: 18px;
    }

    .sv-values-slide-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .sv-values-desc {
        font-size: 14px;
        line-height: 1.7;
    }

    .sv-values-controls {
        padding: 0 16px 32px;
        gap: 14px;
    }

    .sv-values-ctrl-prev,
    .sv-values-ctrl-next {
        width: 36px;
        height: 36px;
    }

    .sv-values-ctrl-prev svg,
    .sv-values-ctrl-next svg {
        width: 15px;
        height: 15px;
    }

    .sv-values-progress-wrap {
        max-width: 180px;
    }

    .sv-values-sprockets {
        height: 14px;
    }

    .sv-values-sprockets::before {
        top: 2px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .sv-values-rail {
        min-height: 320px;
    }

    .sv-values-glass-inner {
        padding: 24px 14px;
    }

    .sv-values-slide-title {
        font-size: 18px;
    }

    .sv-values-progress-wrap {
        max-width: 140px;
    }
}
