/* Import base styles from main CSS */
@import url('style.css');

/* Reviews Page Specific Styles */

/* Reviews Hero Section */
.reviews-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 120px 0 80px 0;
    text-align: center;
    color: white;
}

.reviews-hero .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.reviews-hero .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #4ecdc4;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

.stars {
    margin: 0.5rem 0;
    color: #ffd700;
}

.stars i {
    font-size: 1.2rem;
    margin: 0 2px;
}

/* Active Navigation Link */
nav ul li a.active {
    color: #4ecdc4;
    background: rgba(78, 205, 196, 0.1);
}

/* Customer Reviews Section */
#customer-reviews {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

/* Reviews Grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Review Card */
.review-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.review-video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.review-video:hover {
    transform: scale(1.02);
}

/* Review Info */
.review-info {
    padding: 0;
}

.customer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.customer-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
    margin: 0;
}

.rating {
    color: #ffd700;
}

.rating i {
    font-size: 1rem;
    margin: 0 1px;
}

.review-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
}

.review-date {
    font-size: 0.9rem;
    color: #999;
    font-weight: 500;
}

/* Rating Statistics Section */
#rating-stats {
    padding: 4rem 0;
    background: white;
}

.stats-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    max-width: 800px;
    margin: 0 auto;
    align-items: center;
}

/* Overall Rating */
.overall-rating {
    text-align: center;
}

.big-rating {
    font-size: 4rem;
    font-weight: bold;
    color: #1976d2;
    display: block;
    margin-bottom: 1rem;
}

.stars-large {
    margin-bottom: 1rem;
    color: #ffd700;
}

.stars-large i {
    font-size: 1.5rem;
    margin: 0 3px;
}

.overall-rating p {
    color: #666;
    font-size: 1.1rem;
}

/* Rating Breakdown */
.rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stars-count {
    width: 50px;
    font-size: 1rem;
    font-weight: 500;
}

.rating-bar {
    flex-grow: 1;
    height: 20px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.rating-fill {
    height: 100%;
    background: linear-gradient(45deg, #1976d2, #42a5f5);
    border-radius: 10px;
    transition: width 0.8s ease;
}

.percentage {
    width: 40px;
    text-align: right;
    font-weight: 500;
    color: #666;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .reviews-hero .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .big-rating {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .rating-row {
        gap: 0.5rem;
    }

    .stars-count {
        width: 40px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .reviews-hero {
        padding: 100px 0 60px 0;
    }

    .reviews-hero .hero-content h1 {
        font-size: 2rem;
    }

    .review-card {
        padding: 1rem;
    }

    .customer-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .review-video {
        height: 150px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}