/* Google Reviews Section Styles */
.google-reviews-section {
    margin: 60px 0;
    padding: 40px 0;
    background-color: #f8f9fa;
}

.google-reviews-section .section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.30rem;
    font-weight: 600;
    color: #333;
}

.google-reviews-section .overall-rating-link {
    display: block;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.google-reviews-section .overall-rating-link:hover {
    text-decoration: none;
    color: inherit;
    opacity: 0.8;
}

.google-reviews-section .overall-rating {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    cursor: pointer;
}

.google-reviews-section .rating-stars {
    display: inline-flex;
    gap: 2px;
}

.google-reviews-section .rating-stars .star {
    font-size: 1.75rem;
    color: #ddd;
    line-height: 1;
}

.google-reviews-section .rating-stars .star.filled {
    color: #ffc107;
}

.google-reviews-section .rating-value {
    font-size: 1.75rem;
    font-weight: 600;
    color: #333;
}

.google-reviews-section .rating-total {
    font-size: 1.15rem;
    color: #666;
}

.google-reviews-section .reviews-carousel-wrapper {
    margin-top: 30px;
    position: relative;
    padding: 15px 60px 15px 60px;
}

.google-reviews-section .reviews-carousel {
    overflow: hidden;
    padding: 0;
}

.google-reviews-section .review-item {
    width: 100%;
    padding: 10px 15px;
    box-sizing: border-box;
}

.google-reviews-section .owl-stage-outer {
    overflow: hidden;
    padding: 10px 0;
}

.google-reviews-section .owl-stage {
    display: flex;
    align-items: stretch;
    padding: 0;
}

.google-reviews-section .owl-item {
    display: flex;
    align-items: stretch;
    flex: 0 0 auto;
}

/* Force items to have proper width */
.google-reviews-section .owl-item .review-item {
    width: 100%;
}

.google-reviews-section .review-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    width: 100%;
}

.google-reviews-section .review-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.google-reviews-section .review-card {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.google-reviews-section .review-card-link:hover .review-card {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.google-reviews-section .review-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
}

.google-reviews-section .review-avatar {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    max-width: 50px;
    max-height: 50px;
    border-radius: 50%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
}

.google-reviews-section .review-avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.40rem;
    font-weight: 600;
}

.google-reviews-section .review-author-info {
    flex: 1;
}

.google-reviews-section .review-author-name {
    margin: 0 0 5px 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: #333;
}

.google-reviews-section .review-rating {
    display: flex;
    gap: 2px;
}

.google-reviews-section .review-rating .star {
    font-size: 1.15rem;
    color: #ddd;
    line-height: 1;
}

.google-reviews-section .review-rating .star.filled {
    color: #ffc107;
}

.google-reviews-section .review-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.google-reviews-section .review-text {
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
    flex: 1;
    font-size: 1.10rem;
}

.google-reviews-section .review-date {
    font-size: 1.00rem;
    color: #999;
    margin-top: auto;
}

/* Carousel Navigation Controls */
.google-reviews-section .carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    padding: 0 15px;
    box-sizing: border-box;
    z-index: 10;
}

.google-reviews-section .carousel-nav-btn {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 11;
    position: relative;
    flex-shrink: 0;
}

.google-reviews-section .carousel-nav-btn:hover {
    background: #f8f9fa;
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: scale(1.1);
}

.google-reviews-section .carousel-nav-btn:active {
    transform: scale(0.95);
}

.google-reviews-section .carousel-nav-btn i {
    color: #667eea;
    font-size: 1.40rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .google-reviews-section {
        margin: 40px 0;
        padding: 30px 0;
    }
    
    .google-reviews-section .section-title {
        font-size: 1.75rem;
    }
    
    .google-reviews-section .review-card {
        padding: 20px;
    }
    
    .google-reviews-section .reviews-carousel-wrapper {
        padding: 0 40px;
    }
    
    .google-reviews-section .carousel-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .google-reviews-section .carousel-nav-btn i {
        font-size: 1.15rem;
    }
}

