/* Reviews Section Custom Styles */

/* Review Image Gallery */
.wp-reviews-cat-review-images {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.wp-reviews-cat-review-images .wp-reviews-cat-review-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.wp-reviews-cat-review-images .wp-reviews-cat-review-image:hover {
    transform: scale(1.05);
}

.wp-reviews-cat-review-images .wp-reviews-cat-review-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wp-reviews-cat-review-images .wp-reviews-cat-review-image i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    color: #6c757d;
    font-size: 24px;
}

/* No Reviews Message */
.no-reviews-message {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
    font-size: 16px;
}

/* Load More Button States */
#loadMoreReviews {
    background: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

#loadMoreReviews:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#loadMoreReviews .loading-text {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Responsive Styles for Reviews Section */
@media (max-width: 768px) {
    .wp-reviews-cat-review-images .wp-reviews-cat-review-image {
        width: 60px;
        height: 60px;
    }
}

/* Customer Reviews Carousel Section */
.customer-reviews-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.customer-reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
}

.customer-reviews-section .section-header {
    margin-bottom: 50px;
    position: relative;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1;
    text-align: center;
}

.customer-reviews-section .section-title {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    text-align: center;
}

.customer-reviews-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #ffa500);
    border-radius: 2px;
}

.customer-reviews-section .section-subtitle {
    font-size: 16px;
    color: #6c757d;
    margin: 0;
    padding-top: 15px;
    text-align: center;
}

/* Customer Review Card */
.customer-review-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    margin: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.customer-review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #ffa500);
}

.customer-review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.review-quote-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.review-quote-icon i {
    font-size: 20px;
    color: #ffffff;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-rating i {
    font-size: 16px;
    color: #ffc107;
}

.review-rating .rating-number {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-left: 5px;
}

.review-card-body {
    flex: 1;
}

.review-customer-name {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin-bottom: 15px;
}

.review-text {
    font-size: 15px;
    line-height: 1.7;
    color: #6c757d;
    margin: 0;
}

/* Carousel Navigation */
.customer-reviews-carousel .owl-nav {
    margin-top: 30px;
}

.customer-reviews-carousel .owl-nav button {
    width: 45px;
    height: 45px;
    background: #ffffff !important;
    border: 2px solid #e9ecef !important;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.customer-reviews-carousel .owl-nav button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.customer-reviews-carousel .owl-nav button i {
    font-size: 18px;
    color: #2c3e50;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.customer-reviews-carousel .owl-nav button:hover::before {
    opacity: 1;
}

.customer-reviews-carousel .owl-nav button:hover i {
    color: #ffffff;
}

/* Carousel Dots */
.customer-reviews-carousel .owl-dots {
    margin-top: 30px;
    text-align: center;
}

.customer-reviews-carousel .owl-dot {
    width: 12px;
    height: 12px;
    background:#000 !important;
    border-radius: 50%;
    display: inline-block;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.customer-reviews-carousel .owl-dot.active {
    background: linear-gradient(135deg, #ff6b6b, #ffa500) !important;
    width: 30px;
    border-radius: 6px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .customer-reviews-section {
        padding: 60px 0;
    }
    
    .customer-reviews-section .section-title {
        font-size: 30px;
    }
    
    .customer-review-card {
        padding: 35px 25px;
        margin: 15px 0;
    }
}

@media (max-width: 767px) {
    .customer-reviews-section {
        padding: 50px 0;
    }
    
    .customer-reviews-section .section-title {
        font-size: 26px;
    }
    
    .customer-review-card {
        padding: 30px 20px;
        margin: 10px 0;
    }
    
    .review-customer-name {
        font-size: 18px;
    }
    
    .review-text {
        font-size: 14px;
    }
    .customer-reviews-carousel .owl-nav button {
       display: none;
    }
}
