/* Reviews Page Specific Styles */

/* Page Header */
.page-header {
    background: linear-gradient(
        135deg,
        rgba(26, 26, 46, 0.9) 0%,
        rgba(22, 33, 62, 0.9) 100%
    );
    padding: 120px 0 60px;
    text-align: center;
    margin-top: 80px;
}

.page-header h1 {
    font-size: 3.5rem;
    color: #ffd700;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-header p {
    font-size: 1.3rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
}

/* Reviews Filter */
.reviews-filter {
    background: rgba(0, 0, 0, 0.3);
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-tab {
    background: transparent;
    border: 2px solid rgba(255, 215, 0, 0.3);
    color: #ccc;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 16px;
}

.filter-tab:hover {
    border-color: #ffd700;
    color: #ffd700;
    transform: translateY(-2px);
}

.filter-tab.active {
    background: #ffd700;
    border-color: #ffd700;
    color: #1a1a2e;
    font-weight: 600;
}

/* Reviews Section */
.reviews-section {
    padding: 60px 0;
    background: rgba(0, 0, 0, 0.2);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.review-card {
    background: rgba(26, 26, 46, 0.8);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.1);
}

.review-card.hidden {
    display: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #1a1a2e;
    font-weight: 600;
}

.reviewer-details h4 {
    color: #ffd700;
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.review-date {
    color: #999;
    font-size: 0.9rem;
}

.review-rating {
    display: flex;
    align-items: center;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    color: #666;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.star.filled {
    color: #ffd700;
}

.review-content h5 {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.review-content p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.helpful-count {
    color: #999;
    font-size: 0.9rem;
}

.helpful-btn {
    background: transparent;
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #ffd700;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.helpful-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: #ffd700;
}

.helpful-btn.clicked {
    background: #ffd700;
    color: #1a1a2e;
    border-color: #ffd700;
}

/* Write Review Section */
.write-review-section {
    background: rgba(26, 26, 46, 0.8);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.write-review-section h2 {
    color: #ffd700;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.review-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: #ffd700;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffd700;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.rating-input {
    display: flex;
    gap: 5px;
}

.star-input {
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.star-input:hover,
.star-input.active {
    color: #ffd700;
}

.star-input:hover ~ .star-input {
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header p {
        font-size: 1.1rem;
    }

    .filter-tabs {
        gap: 10px;
    }

    .filter-tab {
        padding: 10px 20px;
        font-size: 14px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .review-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .write-review-section {
        padding: 30px 20px;
    }

    .write-review-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 100px 0 40px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .reviews-filter {
        padding: 20px 0;
    }

    .filter-tabs {
        flex-direction: column;
        align-items: center;
    }

    .filter-tab {
        width: 100%;
        max-width: 200px;
    }

    .review-card {
        padding: 20px;
    }

    .reviewer-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .rating-input {
        justify-content: center;
    }

    .star-input {
        font-size: 1.5rem;
    }
}
