/* Art United Carousel Styles */

.artunited-carousel {
    position: relative;
    margin: 2rem 0;
}

.artunited-carousel .swiper-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 0 50px; /* Add padding to make room for arrows */
}

.artunited-carousel .swiper-wrapper {
    display: flex;
    transition-timing-function: ease-out;
    align-items: stretch; /* Make all slides equal height */
}

.artunited-carousel .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: auto;
    display: flex;            /* Allow child to stretch */
    transition: transform 0.3s ease;
}

/* Ensure slide content (card) fills full height */
.artunited-carousel .swiper-slide > * {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

/* Navigation Arrows */
.artunited-carousel .swiper-button-next,
.artunited-carousel .swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    margin-top: 0;
}

.artunited-carousel .swiper-button-next {
    right: 0;
}

.artunited-carousel .swiper-button-prev {
    left: 0;
}

.artunited-carousel .swiper-button-next:after,
.artunited-carousel .swiper-button-prev:after {
    font-size: 16px;
    font-weight: bold;
}

.artunited-carousel .swiper-button-next:hover,
.artunited-carousel .swiper-button-prev:hover {
    background-color: #000;
    color: #fff;
}

.artunited-carousel .swiper-button-disabled {
    opacity: 0.35;
    cursor: auto;
    pointer-events: none;
}

/* Pagination */
.artunited-carousel .swiper-pagination {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

.artunited-carousel .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
    background: #000;
    opacity: 0.2;
    margin: 0 4px;
    transition: opacity 0.3s ease;
}

.artunited-carousel .swiper-pagination-bullet-active {
    opacity: 1;
}

/* View All Card */
.artunited-carousel .view-all-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.artunited-carousel .view-all-card:hover {
    background-color: #000;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.artunited-carousel .view-all-card:hover .view-all-icon {
    transform: scale(1.1);
}

.artunited-carousel .view-all-card:hover .view-all-arrow {
    transform: translateX(5px);
}

.artunited-carousel .view-all-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
    color: #666;
}

.artunited-carousel .view-all-card:hover .view-all-icon {
    color: #fff;
}

.artunited-carousel .view-all-text {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-family: Cardo, serif;
}

.artunited-carousel .view-all-arrow {
    position: absolute;
    bottom: 1.5rem;
    transition: transform 0.3s ease;
    font-size: 1.2rem;
    opacity: 0.7;
}

.artunited-carousel .view-all-card:hover .view-all-arrow {
    opacity: 1;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .artunited-carousel .swiper-container {
        padding: 0 40px;
    }

    .artunited-carousel .swiper-button-next,
    .artunited-carousel .swiper-button-prev {
        width: 30px;
        height: 30px;
    }

    .artunited-carousel .swiper-button-next:after,
    .artunited-carousel .swiper-button-prev:after {
        font-size: 14px;
    }

    .artunited-carousel .view-all-card {
        padding: 1.5rem;
    }

    .artunited-carousel .view-all-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .artunited-carousel .view-all-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .artunited-carousel .swiper-container {
        padding: 0 35px;
    }

    .artunited-carousel .swiper-button-next,
    .artunited-carousel .swiper-button-prev {
        width: 25px;
        height: 25px;
    }

    .artunited-carousel .swiper-button-next:after,
    .artunited-carousel .swiper-button-prev:after {
        font-size: 12px;
    }

    .artunited-carousel .view-all-card {
        padding: 1rem;
    }

    .artunited-carousel .view-all-icon {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .artunited-carousel .view-all-text {
        font-size: 1rem;
    }
} 