/**
 * Google Reviews Section CSS
 * Konfayapi.com tarzı değerlendirmeler bölümü
 * Birebir aynı UI/UX
 */

/* Google Reviews Section Container */
.google-reviews-section {
    position: relative;
    width: 100%;
    background: #fff;
    padding: 56px 16px;
    overflow: hidden;
}

@media (min-width: 920px) {
    .google-reviews-section {
        padding: 16px 0;
    }
}

/* Section Title */
.google-reviews-title {
    text-align: center;
    color: rgb(105, 66, 25);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 40px;
}

@media (min-width: 920px) {
    .google-reviews-title {
        font-size: 32px;
        margin-bottom: 16px;
    }
}

/* Section Description */
.google-reviews-description {
    text-align: center;
    color: rgb(105, 66, 25);
    font-size: 16px;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 0 16px;
}

@media (min-width: 920px) {
    .google-reviews-description {
        font-size: 18px;
        margin-bottom: 48px;
        padding: 0;
    }
}

/* Reviews Grid Container */
.google-reviews-grid {
    position: relative;
    max-width: 1224px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 920px) {
    .google-reviews-grid {
        padding: 0 4.444444444444445vw;
    }
}

/* Review Cards Container */
.google-reviews-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (min-width: 920px) {
    .google-reviews-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* Review Card */
.google-review-item {
    position: relative;
    background: rgb(242, 242, 242);
    border-radius: 0;
    padding: 24px;
    min-height: 291px;
    display: flex;
    flex-direction: column;
}

@media (min-width: 920px) {
    .google-review-item {
        min-height: 330px;
        padding: 32px;
    }
}

/* Review Content */
.google-review-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Review Header (Photo, Name, City, Rating) */
.google-review-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

@media (min-width: 920px) {
    .google-review-header {
        gap: 16px;
    }
}

/* Reviewer Photo */
.google-review-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Reviewer Info */
.google-review-info {
    flex: 1;
}

/* Reviewer Name */
.google-review-name {
    color: rgb(105, 66, 25);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 4px 0;
    font-family: 'Montserrat', sans-serif;
}

/* Reviewer City */
.google-review-city {
    color: rgb(105, 66, 25);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Rating Stars */
.google-review-rating {
    color: rgb(105, 66, 25);
    font-size: 18px;
    line-height: 1;
    margin: 0 0 8px 0;
    letter-spacing: 1px;
    font-weight: 400;
}

.google-review-rating .star-filled {
    color: rgb(105, 66, 25);
}

.google-review-rating .star-empty {
    color: #ccc;
}

/* Review Text */
.google-review-text {
    color: rgb(105, 66, 25);
    font-size: 16px;
    line-height: 1.5;
    margin: 16px 0;
    flex: 1;
}

/* Google Review Badge */
.google-review-badge {
    margin-top: auto;
    padding-top: 16px;
}

.google-review-badge-text {
    color: rgb(105, 66, 25);
    font-size: 14px;
    line-height: 1.3;
    margin: 0;
}

.google-review-badge-text strong {
    font-weight: 700;
}

/* Divider Line */
.google-reviews-divider {
    width: 100%;
    height: 1px;
    background-color: rgb(105, 66, 25);
    margin: 24px auto;
    max-width: 1224px;
}

@media (min-width: 920px) {
    .google-reviews-divider {
        margin: 10px auto;
        height: 4px;
    }
}

/* Responsive Adjustments */
@media (max-width: 919px) {
    .google-review-item {
        min-height: auto;
        padding: 20px;
    }
    
    .google-review-photo {
        width: 39px;
        height: 38px;
    }
    
    .google-review-name {
        font-size: 14px;
    }
    
    .google-review-text {
        font-size: 14px;
    }
}

/* Animation */
.google-review-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.google-review-item.visible {
    opacity: 1;
    transform: translateY(0);
}

