/**
 * Theme 3 Custom Layout CSS
 * Implements a layout with 3 full slides and 1 half slide for carousel
 */

/* Modify the Swiper container to show 3.5 slides */
.wpcu-theme_3.wpcu-carousel .swiper-container {
    overflow: visible !important;
}

/* Make the 4th slide (half slide) semi-transparent */
.wpcu-theme_3.wpcu-carousel .half-opacity-slide {
    opacity: 0.42 !important;
}

/* Style for the arrow indicator on the half slide */
.wpcu-theme_3.wpcu-carousel .half-slide-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 48px;
    font-weight: bold;
    z-index: 2;
    pointer-events: none;
}

/* Custom navigation button style for theme 3 */
.wpcu-theme_3.wpcu-carousel .wpcu-carousel-nav__btn,
.wpcu-theme_3.wpcu-carousel .wpcu-carousel-nav__btn--next,
.wpcu-theme_3.wpcu-carousel .wpcu-carousel-nav__btn--prev {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    color: white !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    margin: 0 !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
    z-index: 10 !important;
}

/* Position the next button with proper margin from the end */
.wpcu-theme_3.wpcu-carousel .wpcu-carousel-nav__btn--next {
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

/* Hide the prev button */
.wpcu-theme_3.wpcu-carousel .wpcu-carousel-nav__btn--prev {
    visibility: hidden !important;
}

/* Override any default Swiper button styles */
.wpcu-theme_3.wpcu-carousel .wpcu-carousel-nav__btn:after,
.wpcu-theme_3.wpcu-carousel .wpcu-carousel-nav__btn--next:after,
.wpcu-theme_3.wpcu-carousel .wpcu-carousel-nav__btn--prev:after {
    font-size: 12px !important;
    font-weight: bold !important;
}

/* Hover state for navigation buttons */
.wpcu-theme_3.wpcu-carousel .wpcu-carousel-nav__btn:hover,
.wpcu-theme_3.wpcu-carousel .wpcu-carousel-nav__btn--next:hover,
.wpcu-theme_3.wpcu-carousel .wpcu-carousel-nav__btn--prev:hover {
    background-color: rgba(0, 0, 0, 0.7) !important;
}

/* Disabled state for navigation buttons */
.wpcu-theme_3.wpcu-carousel .wpcu-carousel-nav__btn.swiper-button-disabled,
.wpcu-theme_3.wpcu-carousel .wpcu-carousel-nav__btn--next.swiper-button-disabled,
.wpcu-theme_3.wpcu-carousel .wpcu-carousel-nav__btn--prev.swiper-button-disabled {
    opacity: 1 !important;
    cursor: pointer !important;
}

/* Responsive styles for mobile devices */
@media screen and (max-width: 767px) {
    /* Hide all navigation buttons on mobile */
    .wpcu-theme_3.wpcu-carousel .wpcu-carousel-nav__btn,
    .wpcu-theme_3.wpcu-carousel .wpcu-carousel-nav__btn--next,
    .wpcu-theme_3.wpcu-carousel .wpcu-carousel-nav__btn--prev {
        display: none !important;
    }
    
    /* Fix opacity for the half slide on mobile */
    .wpcu-theme_3.wpcu-carousel .swiper-slide:nth-child(2) {
        opacity: 0.42 !important;
    }
    
    /* Hide arrow indicators on mobile */
    .wpcu-theme_3.wpcu-carousel .half-slide-arrow {
        display: none !important;
    }
}



