/* Customer Reviews Page Styles */

.reviews-page {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #f8f9fa;
}

/* Reviews Header */
.reviews-header {
    text-align: center;
    padding: 80px 20px 60px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.reviews-header h1 {
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.reviews-header p {
    font-size: 1.2em;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Reviews Container - Grid Layout */
.reviews-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Review Section */
.review-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.review-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* Review Header Section */
.review-header-section {
    margin-bottom: 20px;
}

.review-header-content {
    text-align: center;
}

.review-customer-name {
    font-size: 1.5em;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.review-title {
    font-size: 1.1em;
    font-weight: 600;
    color: #dc3545;
    margin-bottom: 12px;
}

.review-description {
    font-size: 0.95em;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.review-description p {
    margin-bottom: 8px;
}

/* Media Gallery */
.review-media-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.media-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.media-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.media-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
    background: #000;
    border-radius: 8px;
}

.media-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Video specific styles */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-embed {
    width: 100%;
    height: 100%;
    border: none;
}

.video-file {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

/* Media Text Overlay */
.media-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 12px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.media-item:hover .media-text-overlay {
    transform: translateY(0);
}

.media-text-overlay p {
    margin: 0;
    font-size: 0.85em;
    line-height: 1.4;
}

/* No Reviews */
.no-reviews {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.no-reviews-content {
    text-align: center;
    max-width: 500px;
}

.no-reviews-content i {
    font-size: 5em;
    color: #ddd;
    margin-bottom: 20px;
}

.no-reviews-content h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 15px;
}

.no-reviews-content p {
    font-size: 1.1em;
    color: #666;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .reviews-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .reviews-header {
        padding: 60px 20px 40px;
    }

    .reviews-header h1 {
        font-size: 2.5em;
    }

    .reviews-header p {
        font-size: 1em;
    }

    .reviews-container {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 30px 15px;
    }

    .review-section {
        padding: 20px;
    }

    .review-customer-name {
        font-size: 1.4em;
    }

    .review-title {
        font-size: 1em;
    }

    .review-description {
        font-size: 0.9em;
    }

    .review-media-gallery {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .reviews-header h1 {
        font-size: 2em;
    }

    .reviews-container {
        padding: 20px 10px;
    }

    .review-section {
        padding: 15px;
    }

    .review-customer-name {
        font-size: 1.3em;
    }

    .review-title {
        font-size: 0.95em;
    }

    .review-description {
        font-size: 0.85em;
    }
}

