/* Reviews Public Page Styles */

/* Hero Section */
.reviews-hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.reviews-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    opacity: 0.3;
}

.reviews-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.reviews-hero-description {
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
}

/* Tabs Section */
.reviews-tabs-section {
    background-color: var(--background-light);
}

.reviews-tabs {
    border-bottom: 2px solid var(--border-color);
    justify-content: center;
}

.reviews-tabs .nav-link {
    border: none;
    background: transparent;
    color: var(--text-dark);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 0;
    position: relative;
    transition: all 0.3s ease;
}

.reviews-tabs .nav-link:hover {
    color: var(--primary-color);
    background: transparent;
}

.reviews-tabs .nav-link.active {
    color: var(--primary-color);
    background: transparent;
    border-bottom: 3px solid var(--primary-color);
}

.reviews-tabs .nav-link i {
    font-size: 1.1rem;
}

/* Site Reviews */
#site-reviews {
    padding: 2rem 0;
}

.review-card {
    background: var(--light-color);
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 1rem;
}

.review-info h5 {
    margin: 0;
    font-weight: 600;
    color: var(--secondary-color);
}

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

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

.review-stars {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-right: 0.5rem;
}

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

.review-content {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.review-aspects {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.review-aspect {
    background: var(--background-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

/* Yelp Integration */
.yelp-integration {
    padding: 2rem 0;
}

.yelp-widget-container {
    background: var(--light-color);
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.yelp-widget-header {
    text-align: center;
    margin-bottom: 2rem;
}

.yelp-widget-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.yelp-widget-description {
    color: var(--text-light);
    font-size: 1.1rem;
}

.yelp-widget-placeholder {
    background: var(--background-light);
    border: 2px dashed var(--border-color);
    border-radius: 10px;
    padding: 3rem;
    text-align: center;
}

.yelp-placeholder-content i {
    color: #ff1a1a;
}

.yelp-actions {
    margin-top: 2rem;
}

.yelp-actions .btn {
    margin: 0.5rem;
}

/* Review Stats */
.review-stats-section {
    background: var(--light-color);
}

.stat-card {
    background: var(--background-light);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.stat-icon {
    margin-bottom: 1rem;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2c2c2c 100%);
    color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
    color: #ffd700 !important; /* Gold color */
}

.cta-description {
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
}

.cta-buttons {
    position: relative;
    z-index: 2;
}

/* Responsive */
@media (max-width: 768px) {
    .reviews-hero-title {
        font-size: 2.5rem;
    }
    
    .reviews-tabs .nav-link {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .review-card {
        padding: 1.5rem;
    }
    
    .review-aspects {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
}

@media (max-width: 576px) {
    .reviews-hero-title {
        font-size: 2rem;
    }
    
    .reviews-tabs .nav-link {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .review-header {
        flex-direction: column;
        text-align: center;
    }
    
    .review-avatar {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}
