/**
 * Designers Carousel Widget Styles
 */

.jfw-designers-carousel-wrapper {
    position: relative;
    padding: 0;
}

.jfw-designers-carousel-wrapper .designers-carousel {
    overflow: hidden;
}

.jfw-designers-carousel-wrapper .swiper-slide {
    height: auto;
}

.designer-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.designer-image {
    position: relative;
    padding-bottom: 100%;
    overflow: hidden;
    background: #f0f0f0;
    display: none;
}

.designer-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.designer-card:hover .designer-image img {
    transform: scale(1.1);
}

.designer-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.5));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.designer-card:hover .designer-image::after {
    opacity: 1;
}

.designer-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.designer-name {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #333;
    line-height: 1.3;
}

.designer-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.designer-name a:hover {
    color: var(--primary-color, #3a3f74);
}

.designer-brand {
    font-size: 14px;
    color: #999;
    margin: 0 0 5px;
    font-style: italic;
}

.designer-year {
    font-size: 13px;
    color: #666;
    margin: 0 0 15px;
    font-weight: 500;
}

.designer-bio {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0 0 15px;
    flex-grow: 1;
}

.designer-social {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-2px);
    color: white;
}

.social-link.social-instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.social-website:hover {
    background: var(--primary-color, #3a3f74);
}

.social-link.social-facebook:hover {
    background: #1877f2;
}

.social-link.social-twitter:hover {
    background: #1da1f2;
}

.social-link.social-linkedin:hover {
    background: #0077b5;
}

.social-link.social-youtube:hover {
    background: #ff0000;
}

/* Swiper Navigation */
.jfw-designers-carousel-wrapper .swiper-button-next,
.jfw-designers-carousel-wrapper .swiper-button-prev {
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: var(--primary-color, #3a3f74);
}

.jfw-designers-carousel-wrapper .swiper-button-next:after,
.jfw-designers-carousel-wrapper .swiper-button-prev:after {
    font-size: 18px;
}

.jfw-designers-carousel-wrapper .swiper-button-next:hover,
.jfw-designers-carousel-wrapper .swiper-button-prev:hover {
    background: var(--primary-color, #3a3f74);
    color: white;
}

.jfw-designers-carousel-wrapper .swiper-button-next.swiper-button-disabled,
.jfw-designers-carousel-wrapper .swiper-button-prev.swiper-button-disabled {
    opacity: 0.3;
}

/* Swiper Pagination */
.jfw-designers-carousel-wrapper .swiper-pagination {
    bottom: -40px;
}

.jfw-designers-carousel-wrapper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ddd;
    opacity: 1;
    transition: all 0.3s ease;
}

.jfw-designers-carousel-wrapper .swiper-pagination-bullet-active {
    background: var(--primary-color, #3a3f74);
    width: 30px;
    border-radius: 5px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .designer-info {
        padding: 15px;
    }

    .designer-name {
        font-size: 18px;
    }

    .designer-brand,
    .designer-year {
        font-size: 12px;
    }

    .designer-bio {
        font-size: 13px;
    }

    .jfw-designers-carousel-wrapper .swiper-button-next,
    .jfw-designers-carousel-wrapper .swiper-button-prev {
        width: 36px;
        height: 36px;
    }

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

@media (max-width: 480px) {
    .designer-card {
        margin: 0 10px;
    }

    .social-link {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}