/* Reviews page specific styles */
.review-stats-section {
    padding: 3rem 0;
    background: var(--light-bg);
}

.stats-overview {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.overall-rating {
    text-align: center;
}

.rating-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: "Playfair Display", serif;
}

.rating-stars {
    font-size: 2rem;
    color: #ffd700;
    margin: 1rem 0;
}

.rating-text {
    color: var(--text-light);
    font-size: 1.1rem;
}

.rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.rating-row {
    display: grid;
    grid-template-columns: 80px 1fr 40px;
    gap: 1rem;
    align-items: center;
}

.rating-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.rating-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: var(--primary-color);
    transition: width 1s ease-out;
}

.rating-count {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: right;
}

/* Featured Reviews */
.featured-reviews-section {
    padding: 5rem 0;
}

.featured-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.featured-review {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.featured-review:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.review-video {
    position: relative;
}

.review-video video {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.review-content {
    padding: 2rem;
}

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

.review-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.review-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.author-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.review-date {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* All Reviews Section */
.all-reviews-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.review-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.filter-select {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    background: var(--white);
    color: var(--text-dark);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(154, 122, 54, 0.2);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

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

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

.review-card .author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

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

.review-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.review-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.service-tag {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.review-card .review-date {
    color: var(--text-light);
    font-size: 0.8rem;
}

.load-more-container {
    text-align: center;
    margin-top: 3rem;
}

/* Write Review Section */
.write-review-section {
    padding: 5rem 0;
}

.review-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.rating-input {
    display: flex;
    flex-direction: row-reverse;
    gap: 0.2rem;
}

.rating-input input[type="radio"] {
    display: none;
}

.rating-input .star {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.rating-input input[type="radio"]:checked ~ .star,
.rating-input .star:hover,
.rating-input .star:hover ~ .star {
    color: #ffd700;
}

/* Star rating animations */
.star.filled {
    color: #ffd700;
}

.star {
    transition: var(--transition);
}

.star:hover {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .stats-overview {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .featured-reviews-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .review-filters {
        flex-direction: column;
        align-items: center;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .review-form-container {
        padding: 2rem;
    }

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

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

@media (max-width: 480px) {
    .rating-breakdown {
        gap: 0.5rem;
    }

    .rating-row {
        grid-template-columns: 60px 1fr 30px;
        gap: 0.5rem;
    }

    .featured-review {
        margin: 0 -1rem;
    }

    .review-card {
        padding: 1.5rem;
    }

    .review-form-container {
        padding: 1.5rem;
        margin: 0 1rem;
    }
}
