/* ===================================
   TESTIMONIALS & REVIEWS
   =================================== */

/* Testimonials Page Styles */
.testimonials-hero {
    background-image: url('../images/texture.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    margin-top: 0;
}

.testimonials-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Proxima Nova', sans-serif;
    color: var(--yellow);
}

.testimonials-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.testimonials-section {
    padding: 80px 0;
    background-color: var(--white);
}

.testimonials-section h2 {
    text-align: center;
    color: var(--primary-green);
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 700;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.testimonial-card {
    background-color: var(--cream);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(244, 196, 48, 0.3);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(45, 80, 22, 0.1);
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-green);
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: serif;
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-green);
    font-size: 1rem;
}

.testimonial-rating {
    margin-bottom: 15px;
}

.star {
    color: var(--bright-yellow);
    font-size: 1.2rem;
    margin: 0 2px;
}

/* Review submission form */
.review-form-section {
    background-color: var(--light-cream);
    padding: 60px 0;
}

.review-form-section h2 {
    text-align: center;
    color: var(--primary-green);
    font-size: 2.2rem;
    margin-bottom: 40px;
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 700;
}

.review-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(45, 80, 22, 0.1);
}

.rating-input {
    text-align: center;
    margin-bottom: 20px;
}

.rating-input label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-dark);
}

.star-rating {
    display: inline-flex;
    gap: 5px;
}

.star-rating input[type="radio"] {
    display: none;
}

.star-rating label {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.3s ease;
}

.star-rating input[type="radio"]:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: var(--bright-yellow);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .testimonials-hero h1 {
        font-size: 2rem;
        color: var(--yellow);
    }
    
    .testimonials-section h2 {
        font-size: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial-card {
        padding: 25px;
    }
    
    .review-form {
        margin: 0 20px;
        padding: 30px 20px;
    }
    
    .review-form-section h2 {
        font-size: 1.8rem;
    }
}

/* ===================================
   GOOGLE REVIEWS CAROUSEL
   =================================== */

/* Google Reviews Section */
.google-reviews-section {
    background-image: url('../images/texture.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0;
    position: relative;
}

.reviews-carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    z-index: 2;
    text-align: center;
}

.google-reviews-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    background-color: var(--bright-yellow);
    color: var(--primary-green);
    text-decoration: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin: 10px auto 20px;
    z-index: 20;
    font-family: 'Proxima Nova', sans-serif;
}

.google-reviews-link:hover {
    background-color: var(--primary-green) !important;
    color: var(--white) !important;
    border-color: var(--primary-green) !important;
}

.reviews-link-text {
    font-family: 'Proxima Nova', sans-serif;
}

.reviews-carousel {
    position: relative;
    overflow: hidden;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-slide {
    position: absolute;
    width: 100%;
    text-align: center;
    padding: 0 80px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.review-slide.active {
    opacity: 1;
}

.quote-icon {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.quote-icon svg {
    fill: var(--bright-yellow);
    opacity: 0.8;
}

.google-logo {
    height: 50px;
    width: auto;
    opacity: 0.8;
}

.review-text {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 40px;
    font-family: 'Proxima Nova', sans-serif;
    letter-spacing: 1px;
}

.reviewer-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--yellow);
    margin-bottom: 15px;
    font-family: 'Proxima Nova', sans-serif;
    letter-spacing: 2px;
}

.review-stars {
    font-size: 1.8rem;
    color: var(--white);
}

.review-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 15px;
    color: var(--white);
    transition: transform 0.3s ease;
    z-index: 10;
}

.review-nav-btn:hover {
    transform: translateY(-50%) scale(1.1);
}

.review-prev {
    left: 20px;
}

.review-next {
    right: 20px;
}

.review-nav-btn svg {
    width: 40px;
    height: 40px;
}

/* Mobile responsive for Google Reviews */
@media (max-width: 768px) {
    .google-reviews-section {
        padding: 40px 0;
    }
    
    .reviews-carousel {
        height: auto;
        min-height: 400px;
    }
    
    .review-slide {
        padding: 0 40px;
    }
    
    .quote-icon {
        margin-bottom: 25px;
        gap: 12px;
    }
    
    .quote-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .google-logo {
        height: 35px;
        opacity: 0.8;
    }
    
    .review-text {
        font-size: 1.3rem;
        margin-bottom: 25px;
        line-height: 1.4;
    }
    
    .reviewer-name {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .review-stars {
        font-size: 1.2rem;
    }
    
    .review-nav-btn {
        padding: 8px;
    }
    
    .review-nav-btn svg {
        width: 24px;
        height: 24px;
    }
    
    .review-prev {
        left: 10px;
    }
    
    .review-next {
        right: 10px;
    }
    
    .google-reviews-link {
        padding: 12px 24px;
        font-size: 0.9rem;
        margin: 10px auto 15px;
    }
    
    .reviews-link-text {
        display: block;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .reviews-carousel {
        min-height: 380px;
    }
    
    .review-slide {
        padding: 0 35px;
    }
    
    .google-reviews-link {
        padding: 10px 20px;
        font-size: 0.85rem;
        margin: 5px auto 10px;
    }
    
    .quote-icon {
        margin-bottom: 20px;
        gap: 10px;
    }
    
    .quote-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .google-logo {
        height: 30px;
        opacity: 0.8;
    }
    
    .review-text {
        font-size: 1.1rem;
        margin-bottom: 20px;
        line-height: 1.5;
    }
    
    .reviewer-name {
        font-size: 1rem;
    }
    
    .review-stars {
        font-size: 1.1rem;
    }
}