/* Reviews Section Styles */
.reviews {
    padding: 80px 0;
    background: var(--section-bg);
    position: relative;
}

.reviews h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 3rem;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.reviews-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
    overflow: hidden;
}

/* Reviews Header with Google Badge */
.reviews-header {
    text-align: center;
    margin-bottom: 3rem;
}

.google-badge {
    display: inline-flex;
    align-items: center;
    background: var(--card-bg);
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--primary-color);
}

.google-badge .fab.fa-google {
    font-size: 2rem;
    color: #4285f4;
    margin-right: 1rem;
}

.badge-content {
    text-align: left;
}

.rating-text {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.rating-stars .fas.fa-star {
    color: #fbbf24;
    font-size: 1rem;
}

.rating-score {
    margin-left: 0.5rem;
    font-weight: 700;
    color: var(--text-color);
    font-size: 1.1rem;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

/* Google Reviews Widget */
.google-reviews-widget {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.widget-placeholder {
    padding: 3rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.placeholder-content .fab.fa-google {
    font-size: 3rem;
    color: #4285f4;
    margin-bottom: 1rem;
}

.placeholder-content h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 600;
}

.placeholder-content p {
    color: #64748b;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.placeholder-content ol {
    text-align: left;
    max-width: 400px;
    margin: 0 auto 2rem;
    color: #475569;
}

.placeholder-content li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.setup-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #2563eb;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.setup-button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.setup-button .fas.fa-external-link-alt {
    font-size: 0.9rem;
}

/* Manual Reviews Display */
.manual-reviews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.review-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    margin: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.reviewer-details h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.review-date {
    font-size: 0.875rem;
    color: var(--light-text);
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.review-rating {
    display: flex;
    gap: 0.25rem;
}

.review-rating .fas.fa-star {
    color: #fbbf24;
    font-size: 1rem;
}

.review-content {
    margin-bottom: 1.5rem;
}

.review-content p {
    color: var(--light-text);
    line-height: 1.7;
    font-size: 1.15rem;
    font-style: italic;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.review-source {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.review-source .fab.fa-google {
    color: #4285f4;
    font-size: 1rem;
}

.review-source span {
    font-size: 0.875rem;
    color: var(--light-text);
    font-weight: 500;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

/* Reviews CTA */
.reviews-cta {
    position: relative;
    width: 100%;
    padding: 2rem 0;
    margin-top: 1rem;
    z-index: 4;
    background: var(--background-color);
}

.cta-content {
    text-align: center;
    padding: 1rem;
}

.reviews-cta p {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.reviews-cta .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* Button styles now unified in utilities.css */

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .reviews {
        padding: 60px 0;
    }
    
    .reviews h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .reviews-container {
        padding: 0 1rem;
    }
    
    .google-badge {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .google-badge .fab.fa-google {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .badge-content {
        text-align: center;
    }
    
    .widget-placeholder {
        padding: 2rem 1rem;
    }
    
    .manual-reviews {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .review-card {
        padding: 1.5rem;
    }
    
    .review-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .reviewer-info {
        width: 100%;
    }
    
    .review-rating {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .reviews h2 {
        font-size: 1.75rem;
    }
    
    .google-badge {
        padding: 1rem;
    }
    
    .rating-text {
        font-size: 1rem;
    }
    
    .placeholder-content h3 {
        font-size: 1.25rem;
    }
    
    .setup-button {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .review-card {
        padding: 1.25rem;
    }
    
    .reviewer-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .reviews-cta p {
        font-size: 1.1rem;
    }
}

/* Reviews Slideshow */
.reviews-slideshow {
    width: 100%;
    position: relative;
    padding: 2rem 4rem;
    margin-bottom: 3.5rem;
    min-height: 300px;
}

.reviews-slides {
    position: relative;
    width: 100%;
    min-height: 250px;
    overflow: hidden;
}

.review-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    visibility: hidden;
    z-index: 1;
}

.review-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    z-index: 2;
}

/* Navigation Controls - Redesigned */
.slideshow-nav {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 3;
}

.prev-slide,
.next-slide {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
    opacity: 0.7;
    z-index: 2;
}

.prev-slide {
    left: 0;
}

.next-slide {
    right: 0;
}

.prev-slide:hover,
.next-slide:hover {
    opacity: 1;
    background: var(--primary-light);
    transform: translateY(-50%) scale(1.1);
}

.prev-slide i,
.next-slide i {
    font-size: 1.2rem;
}

/* Dots Navigation - Redesigned */
.slide-dots {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    pointer-events: auto;
    z-index: 2;
}

.slide-dot {
    width: 30px;
    height: 4px;
    background: var(--border-color);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.slide-dot.active {
    background: var(--primary-color);
    opacity: 1;
}

.slide-dot:hover {
    opacity: 0.8;
}

/* Review card styling */
.review-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    margin: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

/* Review content styling */
.review-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.reviewer-details h4 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-color);
}

.review-date {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-top: 0.25rem;
    display: block;
}

.review-rating {
    color: #ffd700;
    font-size: 1rem;
}

.review-content {
    margin-bottom: 1rem;
}

.review-content p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-color);
}

.review-source {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light-text);
    font-size: 0.9rem;
}

/* Enhanced Responsive Design */
@media screen and (max-width: 1024px) {
    .reviews-slideshow {
        padding: 2rem 3.5rem;
    }

    .review-card {
        padding: 1.75rem;
    }
}

@media screen and (max-width: 768px) {
    .reviews-slideshow {
        padding: 1.5rem 3rem;
        margin-bottom: 3rem;
        min-height: 250px;
    }

    .reviews-slides {
        min-height: 200px;
    }

    .reviews-cta {
        margin-top: 0.5rem;
        padding: 1.5rem 0;
    }

    .review-card {
        padding: 1.5rem;
        margin: 0.5rem;
    }

    .prev-slide,
    .next-slide {
        width: 35px;
        height: 35px;
    }

    .reviewer-avatar {
        width: 40px;
        height: 40px;
    }

    .reviewer-details h4 {
        font-size: 1.1rem;
    }

    .review-content p {
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 480px) {
    .reviews-slideshow {
        padding: 1rem 2.5rem;
        margin-bottom: 2.5rem;
        min-height: 200px;
    }

    .reviews-slides {
        min-height: 180px;
    }

    .prev-slide,
    .next-slide {
        width: 30px;
        height: 30px;
        top: calc(50% - 15px);
    }

    .prev-slide i,
    .next-slide i {
        font-size: 0.9rem;
    }

    .slide-dot {
        width: 20px;
        height: 3px;
    }

    .review-header {
        flex-direction: column;
        gap: 1rem;
    }

    .reviewer-info {
        width: 100%;
    }

    .review-rating {
        align-self: flex-start;
    }

    .reviewer-details h4 {
        font-size: 1rem;
    }

    .review-date,
    .review-source {
        font-size: 0.8rem;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .prev-slide,
    .next-slide {
        opacity: 0.9;
    }

    .slide-dot {
        opacity: 0.7;
    }

    .review-card:hover {
        transform: none;
    }
} 