/* Google Reviews Style for Acosta Flooring */

.testimonials-section {
    padding: 60px 0;
    background-color: #fafafa;
    color: var(--text-dark);
}

@media (min-width: 769px) {
    .testimonials-section {
        padding: 100px 0;
    }
}

.testimonials-section .eyebrow-text {
    color: var(--brand-highlight-color);
    margin-bottom: 10px;
}

@media (min-width: 769px) {
    .testimonials-section .eyebrow-text {
        margin-bottom: 15px;
    }
}

.testimonials-section .section-title {
    color: var(--text-dark);
    margin-bottom: 20px;
}

@media (min-width: 769px) {
    .testimonials-section .section-title {
        margin-bottom: 25px;
    }
}

.testimonials-section .section-description {
    color: var(--text-secondary-dark);
    max-width: 700px;
    margin: 0 auto 30px auto;
}

@media (min-width: 769px) {
    .testimonials-section .section-description {
        margin-bottom: 40px;
    }
}

/* Google Reviews Header */
.google-reviews-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.google-reviews-summary {
    display: flex;
    align-items: center;
    background: white;
    padding: 20px 40px;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.google-reviews-logo {
    height: 40px;
    margin-right: 30px;
}

.google-rating-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.google-rating-average {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-dark);
}

.google-rating-stars {
    color: #FFC107;
    font-size: 1.1rem;
    margin: 5px 0;
}

.google-rating-count {
    font-size: 0.85rem;
    color: #70757A;
}

/* Google Reviews Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

/* Google-style Review Cards */
.testimonial-card {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.testimonial-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #4285F4;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 12px;
    flex-shrink: 0;
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
}

.testimonial-author-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.testimonial-date {
    font-size: 0.8rem;
    color: #70757A;
}

.testimonial-rating {
    color: #FFC107;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary-dark);
    margin-bottom: 15px;
    flex-grow: 1;
}

.testimonial-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.google-icon {
    height: 18px;
}

/* Google Reviews CTA */
.google-reviews-cta {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.google-review-button {
    background-color: #4285F4;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.google-review-button:hover {
    background-color: #3367D6;
    transform: translateY(-2px);
}

.google-review-link {
    color: #4285F4;
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: 500;
}

.google-review-link:hover {
    text-decoration: underline;
}

@media (min-width: 769px) {
    .google-reviews-cta {
        flex-direction: row;
        justify-content: center;
    }
}

/* Estilo específico para avatar */
.testimonial-card:nth-child(1) .testimonial-author-avatar {
    background-color: #DB4437; /* Rojo de Google */
}

.testimonial-card:nth-child(2) .testimonial-author-avatar {
    background-color: #F4B400; /* Amarillo de Google */
}

.testimonial-card:nth-child(3) .testimonial-author-avatar {
    background-color: #0F9D58; /* Verde de Google */
}
