/* Reviews Page Styles */

/* Hero Section */
.reviews-hero {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.reviews-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.reviews-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(70, 115, 175, 0.8), rgba(44, 62, 80, 0.7));
    z-index: 2;
}

.reviews-hero .container {
    position: relative;
    z-index: 3;
}

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

.reviews-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.reviews-hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    margin: 0;
    padding: 0;
    background: none;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb span {
    opacity: 0.6;
}

/* Reviews Overview Section */
.reviews-overview {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Rating Summary */
.rating-summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.rating-main {
    display: flex;
    justify-content: center;
}

.rating-score {
    text-align: center;
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.rating-score:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: rgba(70, 115, 175, 0.2);
}

.score-number {
    font-size: 4rem;
    font-weight: 700;
    color: #4673AF;
    display: block;
    line-height: 1;
}

.stars {
    font-size: 1.5rem;
    color: #ffc107;
    margin: 1rem 0;
}

.rating-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.review-count {
    color: #666;
    font-size: 0.95rem;
}

/* Rating Breakdown */
.rating-breakdown {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.rating-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.rating-item:last-child {
    margin-bottom: 0;
}

.rating-label {
    font-weight: 600;
    color: #2c3e50;
    min-width: 140px;
    font-size: 1rem;
}

.rating-bar {
    flex: 1;
    height: 12px;
    background: #e9ecef;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.rating-fill {
    height: 100%;
    background: linear-gradient(135deg, #4673AF, #5a85c7);
    border-radius: 6px;
    transition: width 2s ease;
    position: relative;
}

.rating-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.rating-value {
    font-weight: 700;
    color: #4673AF;
    min-width: 40px;
    text-align: right;
    font-size: 1rem;
}

/* Featured Reviews Section */
.featured-reviews {
    padding: 80px 0;
    background: white;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #4673AF, #5a85c7);
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    border-color: rgba(70, 115, 175, 0.2);
}

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

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

.reviewer-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4673AF, #5a85c7);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    flex-shrink: 0;
}

.reviewer-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.2rem;
}

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

.review-stars {
    color: #ffc107;
    font-size: 1rem;
}

.review-date {
    color: #999;
    font-size: 0.85rem;
    font-weight: 500;
}

.review-content h5 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.review-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

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

.tag {
    background: linear-gradient(135deg, #4673AF, #5a85c7);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #4673AF, #2c3e50);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #ffffff;
    color: #2c3e50;
    border: 2px solid #ffffff;
    font-weight: 700;
}

.btn-primary:hover {
    background: #f8f9fa;
    color: #4673AF;
    border-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-outline-primary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    backdrop-filter: blur(10px);
    font-weight: 600;
}

.btn-outline-primary:hover {
    background: #ffffff;
    color: #4673AF;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Специальные стили для кнопки Load More на белом фоне */
#loadMoreReviews {
    background: linear-gradient(135deg, #4673AF, #5a85c7);
    color: white;
    border: none;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(70, 115, 175, 0.3);
    transition: all 0.3s ease;
}

#loadMoreReviews:hover {
    background: linear-gradient(135deg, #5a85c7, #4673AF);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(70, 115, 175, 0.4);
    color: white;
}

#loadMoreReviews:disabled {
    opacity: 0.8;
    cursor: not-allowed;
    transform: none;
}

#loadMoreReviews.btn-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    color: white;
}

#loadMoreReviews.btn-success:hover {
    background: linear-gradient(135deg, #20c997, #28a745);
    transform: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .reviews-hero h1 {
        font-size: 2.5rem;
    }
    
    .rating-summary {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .review-card {
        padding: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .reviews-hero {
        height: 300px;
    }
    
    .reviews-hero h1 {
        font-size: 2rem;
    }
    
    .reviews-hero p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .rating-score {
        padding: 2rem 1.5rem;
    }
    
    .score-number {
        font-size: 3rem;
    }
    
    .rating-breakdown {
        padding: 2rem;
    }
    
    .review-card {
        padding: 1.5rem;
    }
}