/* Google Business Reviews Integration Styling */

/* Testimonials Header with Google Branding */
.auto-refinery .testimonials-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auto-refinery .google-rating-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.auto-refinery .rating-stars {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 1.2rem;
    color: #FFD700;
}

.auto-refinery .rating-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-left: 0.5rem;
}

.auto-refinery .google-reviews-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #1a1a1a;
    border-radius: 25px;
    border: 1px solid #333;
}

.auto-refinery .google-icon {
    font-size: 18px;
    color: #4285f4;
}

.auto-refinery .reviews-text {
    font-size: 0.9rem;
    color: #cccccc;
    font-weight: 500;
}

/* Enhanced Testimonial Cards with Google Business Style */
.auto-refinery .testimonial-card {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 1.8rem;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
    border: 1px solid #333;
    position: relative;
    transition: all 0.3s ease;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
}

.auto-refinery .testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15);
    border-color: var(--color-primary);
}

/* Testimonial Header with Reviewer Info */
.auto-refinery .testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.auto-refinery .reviewer-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.auto-refinery .reviewer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), #4285f4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.auto-refinery .reviewer-details h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
}

.auto-refinery .review-date {
    font-size: 0.85rem;
    color: #cccccc;
    margin-top: 0.2rem;
}

.auto-refinery .testimonial-platform {
    display: flex;
    align-items: center;
}

.auto-refinery .platform-icon {
    font-size: 20px;
    color: #4285f4;
    opacity: 0.8;
}

/* Rating Stars */
.auto-refinery .testimonial-rating {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #FFD700;
}

/* Content Styling */
.auto-refinery .testimonial-content {
    flex-grow: 1;
}

.auto-refinery .testimonial-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin: 0;
    font-style: italic;
}

/* Google Reviews CTA Button */
.auto-refinery .google-reviews-cta {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.auto-refinery .google-reviews-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    background: #000000;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #333;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.auto-refinery .google-reviews-link:hover {
    background: #1a1a1a;
    color: white;
    border-color: #666;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    text-decoration: none;
}

.auto-refinery .google-link-icon {
    font-size: 18px;
    color: #4285f4;
}

.auto-refinery .google-reviews-link i {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Enhanced Navigation */
.auto-refinery .testimonial-nav {
    position: absolute;
    width: calc(100% + 120px);
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.auto-refinery .prev-testimonial,
.auto-refinery .next-testimonial {
    background: rgba(66, 133, 244, 0.9) !important;
    border: none !important;
    border-radius: 50% !important;
    width: 48px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    font-size: 1.1rem !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    opacity: 0.9 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3) !important;
}

.auto-refinery .prev-testimonial:hover,
.auto-refinery .next-testimonial:hover {
    background: #4285f4 !important;
    opacity: 1 !important;
    transform: scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4) !important;
}

/* Enhanced Indicators */
.auto-refinery .testimonial-indicators {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 0.8rem;
}

.auto-refinery .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
    border: 2px solid transparent;
}

.auto-refinery .indicator:hover {
    opacity: 0.9;
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.6);
}

.auto-refinery .indicator.active {
    background: #ffffff;
    opacity: 1;
    transform: scale(1.2);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .auto-refinery .google-rating-summary {
        flex-direction: column;
        gap: 1rem;
    }
    
    .auto-refinery .testimonial-card {
        padding: 1.5rem;
        min-height: 300px;
    }
    
    .auto-refinery .reviewer-avatar {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .auto-refinery .testimonial-nav {
        width: calc(100% + 80px);
        left: -40px;
    }
    
    .auto-refinery .prev-testimonial,
    .auto-refinery .next-testimonial {
        width: 44px !important;
        height: 44px !important;
        font-size: 1rem !important;
    }
    
    .auto-refinery .google-reviews-link {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .auto-refinery .testimonials-header {
        margin-bottom: 2rem;
    }
    
    .auto-refinery .testimonial-card {
        padding: 1.2rem;
        min-height: 280px;
    }
    
    .auto-refinery .reviewer-info {
        gap: 0.6rem;
    }
    
    .auto-refinery .reviewer-avatar {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .auto-refinery .testimonial-content p {
        font-size: 0.9rem;
    }
    
    .auto-refinery .google-reviews-cta {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }
}

/* Animation Enhancement */
.auto-refinery .testimonial-card.active {
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Google Brand Colors Integration */
.auto-refinery .testimonials-section {
    background: #000000;
    color: #ffffff;
}

.auto-refinery .testimonials-section .section-title {
    color: #ffffff;
    position: relative;
}

.auto-refinery .testimonials-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #4285f4, #34a853, #fbbc05, #ea4335);
    border-radius: 2px;
}
