/* Reviews Page CSS */

.page-header {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: var(--color-white);
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Review Form Styles */
.review-form {
    background: var(--color-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 60px;
    border: 1px solid var(--color-light-gray);
}

.review-form h2 {
    color: var(--color-primary);
    font-size: 2.2em;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 8px;
    font-size: 1.1em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--color-light-gray);
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
    background: var(--color-white);
    color: var(--color-text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

/* Star Rating Styles */
.star-rating {
    display: flex;
    gap: 5px;
    margin: 10px 0;
    justify-content: flex-start;
}

.star {
    font-size: 2em;
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.star:hover,
.star.filled {
    color: #ffc107;
    transform: scale(1.1);
}

.star:hover {
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 15px 30px;
    background: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1em;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, #e6600a 100%);
}

/* Reviews List Styles */
.reviews-list {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.review-item {
    background: var(--color-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--color-light-gray);
    transition: all 0.3s ease;
    position: relative;
}

.review-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.review-item::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4em;
    color: var(--color-accent);
    font-family: Georgia, serif;
    opacity: 0.3;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.review-name {
    font-weight: 700;
    font-size: 1.2em;
    color: var(--color-primary);
}

.review-stars {
    display: flex;
    gap: 2px;
}

.review-stars .star {
    font-size: 1.3em;
    color: #ddd;
}

.review-stars .star.filled {
    color: #ffc107;
}

.review-comment {
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--color-text-dark);
    margin: 0;
    font-style: italic;
    padding-left: 20px;
}

/* Section Headings */
section h2 {
    font-size: 2.5em;
    color: var(--color-primary);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
    border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5em;
    }
    
    .review-form {
        padding: 25px;
        margin: 20px;
    }
    
    .review-form h2 {
        font-size: 1.8em;
    }
    
    .container {
        padding: 20px 15px;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .star-rating {
        justify-content: center;
    }
    
    .star {
        font-size: 1.8em;
    }
    
    section h2 {
        font-size: 2em;
    }
    
    .review-item {
        padding: 20px;
        margin: 0 10px;
    }
    
    .review-comment {
        padding-left: 10px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2em;
    }
    
    .review-form h2 {
        font-size: 1.5em;
    }
    
    .star {
        font-size: 1.5em;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 1em;
    }
    
    section h2 {
        font-size: 1.8em;
    }
}

/* Animation for new reviews */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-item.new-review {
    animation: slideInUp 0.5s ease-out;
}

/* Success message styles */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #c3e6cb;
    margin: 20px 0;
    text-align: center;
    font-weight: 600;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #f5c6cb;
    margin: 20px 0;
    text-align: center;
    font-weight: 600;
}

