/* Reviews Page Styles - Matching Main Website Design */

.reviews-section {
    min-height: 100vh;
    background: linear-gradient(to bottom, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
    padding: 8rem 0 4rem;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.page-subtitle {
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    line-height: 1.6;
}

/* Review Stats */
.review-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 215, 0, 0.05);
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

/* Rating Breakdown */
.rating-breakdown {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 215, 0, 0.15);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.rating-header {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.overall-rating {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.rating-number {
    font-size: 4rem;
    font-weight: 900;
    color: #FFD700;
}

.rating-stars {
    display: flex;
    gap: 0.5rem;
}

.star {
    color: #FFD700;
    font-size: 1.5rem;
}

.rating-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.rating-bars {
    width: 100%;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.bar-label {
    min-width: 60px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.bar-container {
    flex: 1;
    height: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFD700 0%, #FFA500 100%);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.bar-count {
    min-width: 40px;
    text-align: right;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

/* Review Form */
.review-form-container {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 215, 0, 0.15);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.form-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.form-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-label i {
    color: #FFD700;
}

.form-input {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    padding: 1rem;
    font-size: 1rem;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #FFD700;
    background: rgba(255, 215, 0, 0.05);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.char-counter {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.25rem;
}

/* Star Rating */
.star-rating {
    display: flex;
    gap: 0.75rem;
}

.star-input {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.2s ease;
}

.star-input:hover,
.star-input.active {
    color: #FFD700;
    transform: scale(1.1);
}

.rating-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.5rem;
}

/* Package Selection */
.package-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.package-option {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.package-option:hover {
    background: rgba(255, 215, 0, 0.08);
    border-color: #FFD700;
    transform: translateY(-3px);
}

.package-option.selected {
    background: rgba(255, 215, 0, 0.1);
    border-color: #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.package-name {
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.package-details {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: none;
    border-radius: 12px;
    padding: 1.25rem 2rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #000000;
    width: 100%;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

/* Reviews List */
.reviews-list-header {
    text-align: center;
    margin-bottom: 2rem;
}

.reviews-list-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 215, 0, 0.15);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.review-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateX(5px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.reviewer-name {
    font-weight: 700;
    color: #ffffff;
    font-size: 1.125rem;
}

.reviewer-package {
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    width: fit-content;
    color: #FFD700;
    font-weight: 600;
}

.review-meta {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.review-rating {
    display: flex;
    gap: 0.25rem;
    justify-content: flex-end;
    align-items: center;
}

.review-date {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
}

.review-content {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.verified-badge {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.875rem;
    color: #10b981;
    font-weight: 600;
}

.helpful-section {
    display: flex;
    gap: 0.5rem;
}

.helpful-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.helpful-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: #FFD700;
    color: #ffffff;
}

/* Loading & Notification */
.loading-state {
    text-align: center;
    padding: 3rem;
    color: rgba(255, 255, 255, 0.5);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid #FFD700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    max-width: 400px;
    background: rgba(26, 26, 46, 0.98);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    color: #ffffff;
    font-weight: 600;
    transform: translateX(500px);
    transition: transform 0.3s ease;
    z-index: 10000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-left: 4px solid #10b981;
}

.notification.error {
    border-left: 4px solid #ef4444;
}

/* Responsive */
@media (min-width: 768px) {
    .rating-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .rating-bars {
        flex: 1;
        max-width: 600px;
    }
}

@media (max-width: 767px) {
    .reviews-section {
        padding: 6rem 0 3rem;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .stat-card {
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .rating-breakdown,
    .review-form-container {
        padding: 1.5rem;
    }

    .rating-number {
        font-size: 3rem;
    }

    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .review-meta {
        text-align: left;
    }

    .review-rating {
        justify-content: flex-start;
    }

    .review-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .package-selection {
        grid-template-columns: 1fr;
    }
}