/* Reviews Page Styles */

/* Reviews Header - extends page-banner-header */
.reviews-header {
    /* Base styles from components/banners.css */
}

/* Smaller screens */
@media (max-width: 768px) {
    .reviews-header {
        height: 100vh !important;
        min-height: 100vh !important;
        max-height: 100vh !important;
    }
}

/* Banner overlay moved to components/banners.css */

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

/* heading styles are centralized in style.css */

.reviews-header p {
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Banner divider moved to components/banners.css */

.reviews-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.reviews-header .breadcrumb-item.active {
    color: white;
}

.reviews-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.stat-item p {
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.9;
    color: white;
}

/* Button styles moved to components/buttons.css */

/* Reviews List Section - Override any Bootstrap blue backgrounds */
.reviews-list {
    background: #f8f9fa !important;
    background-color: #f8f9fa !important;
}

.reviews-list.bg-primary,
.reviews-list.bg-info,
section.reviews-list.bg-primary,
section.reviews-list.bg-info {
    background: #f8f9fa !important;
    background-color: #f8f9fa !important;
}

/* Reviews List */
.review-item {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.reviewer-details h5 {
    margin: 0;
    color: var(--dark-color);
    font-weight: 600;
}

.reviewer-details small {
    color: var(--text-light);
}

.review-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.review-stars {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.review-text {
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    flex-grow: 1;
    overflow: hidden;
    display: block;
    max-height: none;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    margin-top: auto;
}

.rating-number {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Rating Stars */
.rating-stars {
    display: flex;
    gap: 0.5rem;
    font-size: 1.5rem;
    color: #ddd;
}

.rating-stars .star-rating {
    cursor: pointer;
    transition: var(--transition);
}

.rating-stars .star-rating:hover,
.rating-stars .star-rating.active {
    color: #ffc107;
}

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

/* Review Form */
.review-form {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.form-control {
    border-radius: 10px;
    border: 2px solid var(--border-color);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(212, 165, 116, 0.25);
}

/* Form validation styles moved to components/forms.css */

/* Load More Button */
#loadMoreReviews {
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: var(--transition);
}

#loadMoreReviews:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}


/* Responsive Design */
@media (max-width: 768px) {
    .review-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .reviewer-info {
        flex-direction: column;
        text-align: center;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .reviews-header {
        height: 100vh !important;
        min-height: 100vh !important;
        max-height: 100vh !important;
    }

    .review-item {
        height: auto;
        min-height: 360px;
    }

    .review-text {
        -webkit-line-clamp: 6;
    }
}

@media (max-width: 576px) {
    .review-item {
        padding: 1.5rem;
        height: auto;
        min-height: 340px;
    }

    .stat-item h3 {
        font-size: 1.8rem;
    }
    
    .review-text {
        font-size: 1rem;
    }
    
    .reviews-header {
        height: 100vh !important;
        min-height: 100vh !important;
        max-height: 100vh !important;
    }
}

/* Animation for new reviews */
.review-item.new-review {
    animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reviews Introduction Section */
.reviews-intro {
    background: linear-gradient(135deg, #fff9f0, #fef7ed);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.reviews-intro-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.reviews-intro-text {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.reviews-intro-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto;
    border-radius: 2px;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1), rgba(139, 69, 19, 0.1));
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta-section h3 {
    color: var(--dark-color);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.cta-section .lead {
    color: var(--text-light);
}

.cta-section .btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.cta-section .btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Success message - styles moved to style.css */
