/* =========================================
   TESTIMONIALS PAGE STYLES (testimonials.css)
   ========================================= */

/* --- Page Header --- */
.page-header { background-color: var(--bg-soft-gray); padding: 4rem 0; text-align: center; }
.page-header h1 { font-size: 2.8rem; margin-bottom: 0.5rem; }
.page-header p { font-size: 1.1rem; color: var(--text-secondary); max-width: 500px; margin: 0 auto; }
.page-section { padding: 5rem 0; }

/* --- Review Overview & Form Section --- */
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: flex-start; }

/* Left Column: Summary */
.review-summary h3, .review-form-wrapper h3 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.review-form-wrapper p { margin-bottom: 2rem; }
.average-rating { display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0 0.5rem; }
.avg-score { font-size: 3.5rem; font-weight: 700; color: var(--secondary-color); line-height: 1; }
.avg-stars { font-size: 1.2rem; color: #FFC107; }
.total-reviews { color: var(--text-secondary); margin-bottom: 2rem; }

.dist-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.5rem; }
.dist-label { flex-shrink: 0; width: 60px; }
.progress { flex-grow: 1; height: 10px; background-color: #EAECEF; border-radius: 5px; }
.progress-bar { background-color: #FFC107; height: 100%; border-radius: 5px; transition: width 1s ease-out; }
.dist-count { width: 30px; text-align: right; color: var(--text-secondary); }

/* Right Column: Form */
.review-form-wrapper { background-color: var(--bg-soft-gray); padding: 2.5rem; border-radius: var(--border-radius); }
.form-row { margin-bottom: 1.5rem; }
.form-control, .form-select { display: block; width: 100%; padding: 12px 15px; font-size: 1rem; font-family: var(--font-body); color: var(--text-dark); background-color: var(--bg-light); border: 1px solid #E0E0E0; border-radius: var(--border-radius); }

/* --- All Testimonials Section --- */
.all-testimonials { background-color: var(--bg-soft-gray); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 2rem; }

.testimonial-card { background-color: var(--bg-light); padding: 2rem; border-radius: var(--border-radius); box-shadow: var(--box-shadow); display: flex; flex-direction: column; }
.card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.testimonial-img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.author-info strong { display: block; color: var(--secondary-color); font-size: 1.1rem; }
.rating { color: #FFC107; }
.testimonial-quote { color: var(--text-secondary); margin-bottom: 1.5rem; flex-grow: 1; border-left: 3px solid #EAECEF; padding-left: 1rem; font-style: italic; }
.testimonial-date { color: #A0A0A0; font-size: 0.85rem; margin-top: auto; }

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .overview-grid { grid-template-columns: 1fr; }
}