/* MBK Hero Slider Widget CSS */

.mbk-hero-slider-wrapper {
    width: 100%;
    height: 100%;
    min-height: 600px; /* Base min-height */
    /* Dark gradient background fallback */
    /* background: radial-gradient(circle at 50% 50%, #003d5c 0%, #001d2e 100%); */
}

.mbk-hero-slide {
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Ensure parallax elements don't get clipped weirdly during transition */
    transform-style: preserve-3d;
}

/* Typography Defaults (can be overridden by Elementor) */
.mbk-hero-title {
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.mbk-hero-desc {
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Button Base Styles */
.mbk-hero-btn {
    /* Glassmorphism hint */
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    white-space: nowrap;
}

/* Swiper Pagination Customization */
/* Swiper Pagination Customization */
.mbk-hero-slider-wrapper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.mbk-hero-slider-wrapper .swiper-pagination-bullet-active {
    width: 32px;
    background: #00B29D; /* Lime Green */
    border-radius: 6px;
    box-shadow: 0 0 10px #00B29D;
}

/* Swiper Navigation Customization - Premium Design */
/* Navigation Controls - Standard Swiper Sides */
.mbk-hero-slider-wrapper .swiper-button-next,
.mbk-hero-slider-wrapper .swiper-button-prev {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(0, 178, 157, 0.15) 0%, rgba(0, 139, 122, 0.15) 100%);
    border-radius: 50%;
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(0, 178, 157, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 40px rgba(0, 178, 157, 0.1);
    display: flex !important; /* Force flex for icon alignment */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Reset Positioning */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    z-index: 10;
}

.mbk-hero-slider-wrapper .swiper-button-next {
    right: 20px;
}

.mbk-hero-slider-wrapper .swiper-button-prev {
    left: 20px;
}

.mbk-hero-slider-wrapper .swiper-button-next svg,
.mbk-hero-slider-wrapper .swiper-button-prev svg {
    width: 30px;
    height: 30px;
    stroke-width: 1px;
    stroke: white;
}

/* Hover Effects */
.mbk-hero-slider-wrapper .swiper-button-next:hover,
.mbk-hero-slider-wrapper .swiper-button-prev:hover {
    background: linear-gradient(135deg, rgba(0, 178, 157, 0.35) 0%, rgba(0, 139, 122, 0.35) 100%);
    border-color: rgba(0, 178, 157, 0.8);
    transform: translateY(-50%) scale(1.1); /* Keep centered + scale */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 0 50px rgba(0, 178, 157, 0.4);
}

.mbk-hero-slider-wrapper .swiper-button-next:after,
.mbk-hero-slider-wrapper .swiper-button-prev:after {
    display: none;
}

/* Active (Click) state */
.mbk-hero-slider-wrapper .swiper-button-next:active,
.mbk-hero-slider-wrapper .swiper-button-prev:active {
    transform: scale(0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3),
                0 0 30px rgba(0, 178, 157, 0.5);
}

/* Ripple effect on click */
.mbk-hero-slider-wrapper .swiper-button-next::before,
.mbk-hero-slider-wrapper .swiper-button-prev::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 178, 157, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 1;
}

.mbk-hero-slider-wrapper .swiper-button-next:active::before,
.mbk-hero-slider-wrapper .swiper-button-prev:active::before {
    width: 100px;
    height: 100px;
    opacity: 0;
}

/* Slide animations */
@keyframes slideRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

@keyframes slideLeft {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-4px); }
}

/* Parallax Optimization */
.mbk-car-img {
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5));
    will-change: transform;
}

/* Animation Utilities for Entrance (Optional, Swiper controls mostly) */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.swiper-slide-active .mbk-car-img {
    animation: float 3s ease-in-out infinite;
}
