/* wpvision Slider Styles */
.wpvision-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: visible;
    padding: 0 80px;
    margin: 0 auto;
}

.wpvision-slider-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: visible;
    perspective: 1500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpvision-slider-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 900px;
    height: 500px;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: #f5f5f5;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.9s cubic-bezier(0.25, 0.1, 0.25, 1);
    transform-origin: center center;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%) translateX(0) translateY(30px) rotateY(0deg) scale(0.85);
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
}

/* Active Slide (Center) */
.wpvision-slider-item.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) translateX(0) translateY(0) rotateY(0deg) scale(1);
    z-index: 10;
}

/* Next Slide (Right Side) */
.wpvision-slider-item.next-preview {
    opacity: 0.5;
    visibility: visible;
    z-index: 5;
    pointer-events: none;
}

/* Previous Slide (Left Side) */
.wpvision-slider-item.prev-preview {
    opacity: 0.5;
    visibility: visible;
    z-index: 5;
    pointer-events: none;
}

/* Hidden slides */
.wpvision-slider-item.hidden {
    opacity: 0;
    visibility: hidden;
    z-index: 1;
}

/* Fade Animation - handled by JavaScript */
/* Slide Animation - handled by JavaScript */
/* Rotate Animation - handled by JavaScript */

/* Background Image Layer - Alternative Method */
.wpvision-slider-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Overlay */
.wpvision-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
    pointer-events: none;
}

/* Content */
.wpvision-slider-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
    padding: 40px 60px;
}

.wpvision-content-right {
    align-items: flex-end;
    text-align: right;
}

.wpvision-content-center {
    align-items: center;
    text-align: center;
}

.wpvision-content-left {
    align-items: flex-start;
    text-align: left;
}

/* Title */
.wpvision-slide-title {
    font-size: 28px;
    font-weight: 600;
    color: #333333;
    background: #FFFFFF;
    padding: 15px 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: inline-block;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    line-height: 1.4;
}

/* Subtitle */
.wpvision-slide-subtitle {
    font-size: 18px;
    font-weight: 500;
    color: #FFFFFF;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Description */
.wpvision-slide-description {
    font-size: 16px;
    color: #FFFFFF;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 500px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Button */
.wpvision-slide-button {
    display: inline-block;
    padding: 15px 40px;
    background: #FF6B35;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    border: none;
    cursor: pointer;
}

.wpvision-slide-button:hover {
    background: #E85A2A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Navigation Dots */
.wpvision-slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 10px;
}

.wpvision-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #CCCCCC;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.wpvision-slider-dot:hover {
    background: #999999;
    transform: scale(1.2);
}

.wpvision-slider-dot.active {
    background: #333333;
    width: 30px;
    border-radius: 5px;
}

/* Navigation Arrows */
.wpvision-slider-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.wpvision-slider-prev,
.wpvision-slider-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.wpvision-slider-prev:hover,
.wpvision-slider-next:hover {
    background: #FFFFFF;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.wpvision-slider-prev svg,
.wpvision-slider-next svg {
    color: #333333;
}

/* Responsive */
@media (max-width: 1024px) {
    .wpvision-slider-wrapper {
        padding: 0 60px;
    }
    
    .wpvision-slider-content {
        padding: 30px 40px;
    }
    
    .wpvision-slide-title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .wpvision-slider-wrapper {
        padding: 0 40px;
    }
    
    .wpvision-slider-content {
        padding: 20px 30px;
    }
    
    .wpvision-slide-title {
        font-size: 20px;
        padding: 12px 20px;
    }
    
    .wpvision-slide-subtitle {
        font-size: 16px;
    }
    
    .wpvision-slide-description {
        font-size: 14px;
    }
    
    .wpvision-slide-button {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    /* Hide side slides on mobile */
    .wpvision-slider-item.next-preview,
    .wpvision-slider-item.prev-preview {
        opacity: 0 !important;
        visibility: hidden !important;
    }
    
    .wpvision-slider-prev,
    .wpvision-slider-next {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .wpvision-slider-wrapper {
        padding: 0 20px;
    }
    
    .wpvision-slider-container {
        height: 400px;
    }
    
    .wpvision-slider-item {
        height: 400px;
        background-size: cover !important;
        background-position: center center !important;
    }
    
    .wpvision-slider-content {
        padding: 20px;
    }
    
    .wpvision-slide-title {
        font-size: 18px;
        padding: 10px 15px;
    }
}

/* Force cover on all devices */
@media (min-width: 320px) {
    .wpvision-slider-item {
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }
}