/* Google Reviews Widget Styles */

.google-reviews-widget {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Header */
.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.reviews-rating {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.rating-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.rating-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stars {
    color: #FFB800;
    font-size: 1.5rem;
}

.stars i {
    margin-right: 2px;
}

.reviews-count {
    color: #666;
    font-size: 0.95rem;
}

.google-logo img {
    height: 30px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.google-logo:hover img {
    opacity: 1;
}

/* Reviews List */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.review-item {
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.review-author {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 0.5rem;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review-meta .stars {
    font-size: 1rem;
}

.review-time {
    color: #999;
    font-size: 0.85rem;
}

.review-text {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Footer */
.reviews-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f0f0;
}

.btn-outline {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Error State */
.reviews-error {
    text-align: center;
    padding: 3rem 2rem;
}

.reviews-error i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.reviews-error p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .google-reviews-widget {
        padding: 1.5rem;
    }

    .reviews-header {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .reviews-rating {
        flex-direction: column;
        gap: 1rem;
    }

    .rating-number {
        font-size: 2.5rem;
    }

    .stars {
        font-size: 1.25rem;
    }

    .review-item {
        padding: 1rem;
    }

    .review-header {
        flex-direction: column;
        text-align: center;
    }

    .review-avatar {
        margin: 0 auto;
    }

    .review-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}
