:root {
    --mvr-blue: #ff9900;
    --mvr-dark: #003366;
    --mvr-height: 720px;
}

.mvr-slider, .mvr-slider * { box-sizing: border-box; }

.mvr-slider {
    position: relative;
    min-height: var(--mvr-height);
    width: 100%;
    overflow: hidden;
    isolation: isolate;
    background: #003366;
}

.mvr-rounded { border-radius: 32px; }

.mvr-track, .mvr-slide, .mvr-content { min-height: var(--mvr-height); }

.mvr-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 0.9s ease, transform 1.2s ease, filter 1s ease;
}

.mvr-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
    z-index: 2;
}

.mvr-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: background-image 0.3s ease;
}

.mvr-kenburns {
    animation: mvrKen 12s ease-in-out infinite alternate;
}

@keyframes mvrKen {
    from { transform: scale(1.02); }
    to { transform: scale(1.12) translate(-1.5%, -1%); }
}

.mvr-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 35%, rgba(255, 153, 0, 0.35), transparent 28%),
                linear-gradient(90deg, rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.68), rgba(0, 51, 102, 0.28));
}

.mvr-theme-clean-light .mvr-gradient {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.22));
}

.mvr-theme-dark-luxury .mvr-gradient {
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.15), transparent 24%),
                radial-gradient(circle at 20% 80%, rgba(255, 153, 0, 0.34), transparent 26%),
                linear-gradient(90deg, rgba(0, 34, 68, 0.94), rgba(0, 51, 102, 0.72), rgba(0, 34, 68, 0.55));
}

.mvr-content {
    position: relative;
    z-index: 5;
    max-width: 1240px;
    margin: 0 auto;
    padding: clamp(90px, 10vw, 150px) 24px 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mvr-align-left .mvr-content { align-items: flex-start; text-align: left; }
.mvr-align-center .mvr-content { align-items: center; text-align: center; }
.mvr-align-right .mvr-content { align-items: flex-end; text-align: right; }

.mvr-kicker {
    display: inline-flex;
    color: #fff;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 9px 14px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    backdrop-filter: blur(14px);
}

.mvr-theme-clean-light .mvr-kicker {
    color: var(--mvr-blue);
    background: rgba(255, 153, 0, 0.08);
    border-color: rgba(255, 153, 0, 0.18);
}

.mvr-content h2 {
    max-width: 900px;
    margin: 22px 0 18px;
    color: #fff;
    font-size: clamp(38px, 6vw, 82px);
    line-height: 0.96;
    letter-spacing: -0.055em;
    font-weight: 950;
}

.mvr-content h2 span { color: #ff9900; }

.mvr-theme-clean-light .mvr-content h2 { color: var(--mvr-dark); }

.mvr-subtitle {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.62;
}

.mvr-theme-clean-light .mvr-subtitle { color: #475569; }

.mvr-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.mvr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 28px;
    border-radius: 999px;
    font-weight: 950;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mvr-btn:hover {
    transform: translateY(-2px);
}

.mvr-btn-primary {
    color: #003366;
    background: #ff9900;
    box-shadow: 0 18px 42px rgba(255, 153, 0, 0.32);
}

.mvr-btn-primary:hover {
    background: #e68a00;
}

.mvr-btn-secondary {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.26);
    backdrop-filter: blur(14px);
}

.mvr-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.mvr-stats span {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 11px 13px;
    font-size: 13px;
    font-weight: 850;
    backdrop-filter: blur(16px);
}

/* Shapes */
.mvr-shape {
    position: absolute;
    z-index: 3;
    pointer-events: none;
}

.mvr-shape-orb {
    width: clamp(220px, 30vw, 460px);
    height: clamp(220px, 30vw, 460px);
    right: 8%;
    top: 18%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.26), rgba(255, 153, 0, 0.18), transparent 62%);
    animation: mvrFloat 7s ease-in-out infinite;
}

.mvr-shape-grid {
    width: 360px;
    height: 360px;
    right: 8%;
    top: 22%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(circle, #000, transparent 72%);
    animation: mvrFloat 8s ease-in-out infinite;
}

.mvr-shape-wave {
    width: 520px;
    height: 220px;
    right: 2%;
    bottom: 10%;
    border-radius: 60% 40% 50% 50%;
    background: linear-gradient(135deg, rgba(255, 153, 0, 0.3), rgba(255, 255, 255, 0.12));
    transform: rotate(-8deg);
    animation: mvrFloat 9s ease-in-out infinite;
}

@keyframes mvrFloat {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-18px) rotate(2deg); }
}

[data-mvr-layer] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.is-active [data-mvr-layer] {
    opacity: 1;
    transform: translateY(0);
}

/* Transitions */
.mvr-transition-slide .mvr-slide { transform: translateX(5%); }
.mvr-transition-slide .mvr-slide.is-active { transform: translateX(0); }

.mvr-transition-zoom .mvr-slide { transform: scale(1.1); }

.mvr-transition-cinematic .mvr-slide {
    transform: scale(1.08) rotate(0.4deg);
    filter: blur(2px);
}
.mvr-transition-cinematic .mvr-slide.is-active {
    transform: scale(1);
    filter: blur(0);
}

/* Controls */
.mvr-arrow {
    position: absolute;
    z-index: 20;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    cursor: pointer;
    font-size: 34px;
    transition: all 0.2s ease;
}

.mvr-arrow:hover {
    background: rgba(255, 153, 0, 0.8);
    border-color: #ff9900;
}

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

.mvr-dots {
    position: absolute;
    z-index: 20;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.mvr-dots button {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.48);
    cursor: pointer;
    transition: 0.2s ease;
}

.mvr-dots button.is-active {
    width: 34px;
    background: #ff9900;
}

.mvr-progress {
    position: absolute;
    z-index: 22;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.16);
}

.mvr-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: #ff9900;
}

.mvr-progress.is-running span {
    animation: mvrProgress var(--mvr-interval, 6500ms) linear forwards;
}

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

/* Particles */
.mvr-particles {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    opacity: 0.55;
}

/* Carousel type */
.mvr-type-carousel .mvr-slide {
    padding: 24px;
}

.mvr-type-carousel .mvr-bg,
.mvr-type-carousel .mvr-gradient {
    border-radius: 32px;
    inset: 24px;
}

/* Responsive */
@media (max-width: 900px) {
    .mvr-slider, .mvr-track, .mvr-slide, .mvr-content {
        min-height: min(var(--mvr-height), 680px);
    }
    .mvr-content { padding: 90px 20px 80px; }
    .mvr-arrow { display: none; }
    .mvr-align-right .mvr-content, .mvr-align-left .mvr-content {
        align-items: flex-start;
        text-align: left;
    }
    .mvr-content h2 { font-size: clamp(36px, 12vw, 58px); }
    .mvr-shape { opacity: 0.45; }
}

@media (max-width: 560px) {
    .mvr-slider, .mvr-track, .mvr-slide, .mvr-content {
        min-height: 640px;
    }
    .mvr-buttons, .mvr-btn { width: 100%; }
    .mvr-stats span { width: 100%; }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .mvr-arrow {
        display: flex;
        width: 44px;
        height: 44px;
        font-size: 28px;
        opacity: 0.7;
    }
    .mvr-dots button {
        width: 8px;
        height: 8px;
    }
    .mvr-dots button.is-active {
        width: 24px;
    }
}

/* =========================================================
   MOVIXIT REAL SERVICE IMAGE UPGRADE
   Replaces flat/gradient feel with real travel-service visuals.
   Use these classes on .mvr-slide or .mvr-bg:
   mvr-service-flight, mvr-service-hotel, mvr-service-tourism,
   mvr-service-visa, mvr-service-consultation, mvr-service-mobility
   ========================================================= */
.mvr-slider {
    background: #021f3f;
}

.mvr-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: inherit;
    background-size: cover;
    background-position: center;
    transform: scale(1.01);
    z-index: -1;
}

.mvr-slide.mvr-service-flight .mvr-bg,
.mvr-bg.mvr-service-flight,
.mvr-bg-flight {
    background-image: url('../images/slider/movixit-flight-airport.jpg');
    background-position: center center;
}

.mvr-slide.mvr-service-airport .mvr-bg,
.mvr-bg.mvr-service-airport,
.mvr-bg-airport {
    background-image: url('../images/slider/movixit-airport-travelers.jpg');
    background-position: center center;
}

.mvr-slide.mvr-service-tourism .mvr-bg,
.mvr-bg.mvr-service-tourism,
.mvr-bg-tourism {
    background-image: url('../images/slider/movixit-tourist-airport.jpg');
    background-position: center center;
}

.mvr-slide.mvr-service-hotel .mvr-bg,
.mvr-bg.mvr-service-hotel,
.mvr-bg-hotel {
    background-image: url('https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=1800&q=85');
    background-position: center center;
}

.mvr-slide.mvr-service-visa .mvr-bg,
.mvr-bg.mvr-service-visa,
.mvr-bg-visa {
    background-image: url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1800&q=85');
    background-position: center center;
}

.mvr-slide.mvr-service-consultation .mvr-bg,
.mvr-bg.mvr-service-consultation,
.mvr-bg-consultation {
    background-image: url('https://images.unsplash.com/photo-1556761175-4b46a572b786?auto=format&fit=crop&w=1800&q=85');
    background-position: center center;
}

.mvr-slide.mvr-service-passport .mvr-bg,
.mvr-bg.mvr-service-passport,
.mvr-bg-passport {
    background-image: url('https://images.unsplash.com/photo-1540126034813-121bf29033d2?auto=format&fit=crop&w=1800&q=85');
    background-position: center center;
}

.mvr-slide.mvr-service-mobility .mvr-bg,
.mvr-bg.mvr-service-mobility,
.mvr-bg-mobility {
    background-image: url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?auto=format&fit=crop&w=1800&q=85');
    background-position: center center;
}

/* Premium readable overlay for real images */
.mvr-gradient {
    background:
        radial-gradient(circle at 78% 28%, rgba(255, 153, 0, 0.28), transparent 28%),
        linear-gradient(90deg, rgba(0, 25, 55, 0.94) 0%, rgba(0, 51, 102, 0.78) 42%, rgba(0, 51, 102, 0.30) 100%);
}

.mvr-theme-dark-luxury .mvr-gradient {
    background:
        radial-gradient(circle at 80% 20%, rgba(255,255,255,.12), transparent 24%),
        radial-gradient(circle at 18% 80%, rgba(255,153,0,.32), transparent 26%),
        linear-gradient(90deg, rgba(0, 20, 42, .96), rgba(0, 51, 102, .74), rgba(0, 34, 68, .42));
}

.mvr-theme-clean-light .mvr-gradient {
    background:
        linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.78) 44%, rgba(255,255,255,.18) 100%);
}

/* Text readability improvements */
.mvr-content h2 {
    text-shadow: 0 14px 40px rgba(0,0,0,.35);
}
.mvr-subtitle {
    text-shadow: 0 10px 30px rgba(0,0,0,.28);
}
.mvr-theme-clean-light .mvr-content h2,
.mvr-theme-clean-light .mvr-subtitle {
    text-shadow: none;
}

/* Service image badges */
.mvr-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #ff9900;
    box-shadow: 0 0 0 5px rgba(255,153,0,.18);
    margin-right: 10px;
}

/* Stronger mobile crop for airport/travel photos */
@media (max-width: 760px) {
    .mvr-bg,
    .mvr-slide.mvr-service-flight .mvr-bg,
    .mvr-slide.mvr-service-airport .mvr-bg,
    .mvr-slide.mvr-service-tourism .mvr-bg {
        background-position: center center;
    }
    .mvr-gradient {
        background: linear-gradient(180deg, rgba(0,28,61,.82), rgba(0,28,61,.68), rgba(0,28,61,.92));
    }
}
