/* Reviews Page Specific Styles */

/* Reviews Hero */
.reviews-hero {
    position: relative;
    padding: 120px 0 80px;
    color: white;
    overflow: hidden;
}

.reviews-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    z-index: -1;
}

.reviews-hero .hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.reviews-hero .hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.reviews-hero .hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.reviews-hero .hero-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #f97316;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
}

.star {
    font-size: 1.5rem;
    color: #64748b;
}

.star.filled {
    color: #fbbf24;
}

/* Reviews Filter */
.reviews-filter {
    padding: 40px 0;
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

/* Reviews Main */
.reviews-main {
    padding: 80px 0;
    background-color: white;
}

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

/* Review Cards */
.review-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.review-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

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

.reviewer-info {
    display: flex;
    gap: 1rem;
}

.reviewer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-details h3 {
    color: #1e293b;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.reviewer-details p {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.review-date {
    color: #94a3b8;
    font-size: 0.8rem;
}

.review-rating {
    text-align: right;
}

.review-rating .stars {
    justify-content: flex-end;
    margin-bottom: 0.25rem;
}

.review-rating .star {
    font-size: 1.25rem;
}

.rating-number {
    color: #1e293b;
    font-weight: 600;
    font-size: 0.9rem;
}

.review-content h4 {
    color: #1e293b;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.review-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.review-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.review-tags .tag {
    background-color: #f1f5f9;
    color: #475569;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

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

/* Add Review Section */
.add-review-section {
    padding: 80px 0;
    background-color: #f1f5f9;
}

.add-review-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.add-review-content h2 {
    color: #1e293b;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.add-review-content p {
    color: #64748b;
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Review Form Modal */
.review-form-container {
    padding: 2rem;
}

.review-form-container h3 {
    color: #1e293b;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 0.25rem;
}

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

.star-label {
    font-size: 2rem;
    color: #d1d5db;
    cursor: pointer;
    transition: color 0.2s ease;
}

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

/* Filter animation */
.review-card {
    transition: all 0.5s ease;
}

.review-card.filtering {
    opacity: 0.3;
    transform: scale(0.95);
}

/* Responsive Design for Reviews */
@media (max-width: 768px) {
    .reviews-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .reviews-hero .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .review-card {
        min-width: unset;
        padding: 1.5rem;
    }
    
    .review-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .review-rating {
        text-align: left;
    }
    
    .review-rating .stars {
        justify-content: flex-start;
    }
    
    .reviewer-info {
        align-items: center;
    }
    
    .add-review-content h2 {
        font-size: 2rem;
    }
    
    .add-review-content p {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .reviews-hero {
        padding: 100px 0 60px;
    }
    
    .reviews-hero .hero-title {
        font-size: 2rem;
    }
    
    .reviews-main {
        padding: 60px 0;
    }
    
    .add-review-section {
        padding: 60px 0;
    }
    
    .review-card {
        padding: 1.25rem;
    }
    
    .reviewer-avatar {
        width: 50px;
        height: 50px;
    }
    
    .reviewer-details h3 {
        font-size: 1rem;
    }
    
    .review-content h4 {
        font-size: 1rem;
    }
    
    .add-review-content h2 {
        font-size: 1.75rem;
    }
    
    .add-review-content p {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}