/* ==========================================================================
   Vibing Ibiza - Services Slider Widget
   ========================================================================== */

.viw-services-slider {
    width: 100%;
    overflow: hidden;
}

.viw-wrapper {
    display: flex;
    align-items: flex-start;
}

/* Left Column */
.viw-left-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 20px;
    flex-shrink: 0;
}

.viw-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid;
    font-size: 14px;
    font-weight: 500;
    width: fit-content;
    margin-bottom: 24px;
}

.viw-badge::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Title - Outfit 400 48px 120% -3.2% */
.viw-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 120%;
    letter-spacing: -0.032em;
    margin: 0 0 20px 0;
}

/* Description - Satoshi 400 20px 130% -1.6% */
.viw-description {
    font-family: 'Satoshi', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 130%;
    letter-spacing: -0.016em;
    color: #666;
    margin: 0 0 32px 0;
}

/* CTA Button - Satoshi 500 20px 120% -1.6%, border-radius 16px, border 1px */
.viw-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-family: 'Satoshi', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 120%;
    letter-spacing: -0.016em;
    text-align: center;
    text-decoration: none;
    padding: 14px 18px;
    border-radius: 16px;
    border: 1px solid;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
}

.viw-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Right Column */
.viw-right-col {
    overflow: hidden;
    min-width: 0;
}

.viw-swiper {
    overflow: visible !important;
}

.viw-swiper .swiper-wrapper {
    align-items: flex-start;
}

/* Slides */
.viw-slide {
    transition: opacity 0.3s ease;
}

.viw-slide-odd {
    margin-top: 0;
}

/* viw-slide-even margin-top is controlled via Elementor control (zigzag_offset) */

.viw-slide-link {
    display: block;
    text-decoration: none;
}

.viw-slide-image {
    width: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 20px;
    box-sizing: border-box;
}

.viw-slide-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent);
    border-radius: inherit;
    pointer-events: none;
}

/* Category name - Outfit 500 18px 150%, aligned right, blur background */
.viw-slide-category-name {
    position: relative;
    z-index: 2;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: 0;
    text-align: right;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 6px 14px;
    border-radius: 16px;
}

/* Active info */
.viw-active-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 24px;
    gap: 20px;
}

.viw-active-info-text {
    flex: 1;
    min-width: 0;
}

.viw-active-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 6px 0;
    transition: opacity 0.3s ease;
}

.viw-active-description {
    font-size: 15px;
    color: #666;
    margin: 0;
    transition: opacity 0.3s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Navigation */
.viw-nav {
    display: inline-flex !important;
    align-items: center !important;
    background: rgba(0, 0, 0, 0.1) !important;
    border-radius: 12px !important;
    padding: 2px !important;
    border: none !important;
    box-shadow: none !important;
    gap: 0 !important;
    flex-shrink: 0;
}

.viw-nav-btn {
    width: 33px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    border-radius: 10px !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: background 0.2s !important;
    min-width: 0 !important;
    min-height: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    color: #050505 !important;
    line-height: 1 !important;
}

.viw-nav-btn svg {
    display: block !important;
    width: 33px !important;
    height: 24px !important;
}

.viw-nav-btn svg path {
    stroke: #050505 !important;
}

.viw-nav-btn:hover {
    background: rgba(0, 0, 0, 0.05) !important;
}

.viw-nav-btn.is-active {
    background: #fff !important;
}

.viw-nav-btn:disabled {
    opacity: 0.3 !important;
    cursor: not-allowed !important;
}

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

@media (max-width: 1024px) {
    .viw-wrapper {
        flex-direction: column;
        gap: 32px;
    }

    .viw-left-col {
        width: 100% !important;
        flex: 0 0 100% !important;
    }

    .viw-right-col {
        width: 100% !important;
        flex: 0 0 100% !important;
    }

    .viw-title {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    .viw-title {
        font-size: 28px;
    }

    .viw-slide-even {
        margin-top: 30px !important;
    }

    .viw-active-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .viw-nav {
        align-self: flex-end;
    }
}
