/* ========================================
   WEDO SLIDER - ENHANCED TRANSITIONS
   ======================================== */

/* Container Styles */
.crm-visual.wedo-slider-container {
    position: relative;
    top:0px;
    width: 100%;
    overflow: hidden;
    background: #f8f9fa;
}

.wedo-slider-wrapper {
    position: relative;
    width: 100%;
    height: 520px;
}

/* Enhanced Slide Styles with Separate Transitions */
.wedo-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    display: none;
    /* Removed default transition - now handled in JavaScript */
}

.wedo-slide.wedo-active {
    opacity: 1;
    pointer-events: auto;
    display: block;
    position: relative;
}

/* Fade-out transition class */
.wedo-slide.wedo-fading-out {
    transition: opacity 600ms ease-in;
}

/* Fade-in transition class */
.wedo-slide.wedo-fading-in {
    transition: opacity 600ms ease-out;
}

/* Content transition enhancements */
.wedo-slide .hero__content,
.wedo-slide .crm-visual__image {
    transform: translateY(0);
    opacity: 1;
    transition: transform 700ms ease-out, opacity 700ms ease-out;
}

.wedo-slide.wedo-fading-out .hero__content,
.wedo-slide.wedo-fading-out .crm-visual__image {
    transform: translateY(-15px);
    opacity: 0;
    transition: transform 500ms ease-in, opacity 500ms ease-in;
}

.wedo-slide.wedo-fading-in .hero__content,
.wedo-slide.wedo-fading-in .crm-visual__image {
    transform: translateY(20px);
    opacity: 0;
    transition: transform 650ms ease-out, opacity 650ms ease-out;
}

/* Container Layout */
.wedo-slide .crm-visual__container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 40px 40px 40px;
    gap: 40px;
}

/* Content Styles */
.wedo-slide .hero__content {
    flex: 1;
    max-width: 600px;
}

.wedo-slide .hero__title {
    font-size: 3.5rem;
    font-weight: bold;
    color: #333;
    line-height: 1.2;
}

.wedo-slide .hero__trademark {
    font-size: 3.5rem;
    font-weight: 400;
    color: #21808d;
    word-spacing: -0.09em;
}

.wedo-slide .hero__subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #666;
}

.wedo-slide .hero__actions {
    margin-top: 2rem;
}

/* Image Styles */
.wedo-slide .crm-visual__image {
    flex: 1;
    max-width: 500px;
    text-align: center;
}

.wedo-slide .crm-visual__image img {
    max-width: 620px;
    height: auto;
    border-radius: 8px;
}

/* Navigation Arrows with Enhanced Hover */
.wedo-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wedo-slider-nav:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.wedo-slider-prev { left: 20px; }
.wedo-slider-next { right: 20px; }

/* Responsive Design */
@media (max-width: 768px) {
.crm-visual.wedo-slider-container {top:0px;}

    .wedo-slide .crm-visual__image img{max-width: 390px;}
    .wedo-slider-wrapper {
        height: auto;
        min-height: 500px;
    }
    
    .wedo-slide .crm-visual__container {
        flex-direction: column;
        text-align: center;
        padding: 0px 20px 40px 20px;
        gap: 30px;
    }
    
    .wedo-slide .hero__title {
        font-size: 2.2rem;
    }
    
    .wedo-slide .hero__trademark {
        font-size: 1.8rem;
    }
}
