/* Testimonials Page Specific Styles */

/* Testimonials Hero Section */
.testimonials-hero {
    background: linear-gradient(135deg, rgba(26, 52, 9, 0.9), rgba(45, 80, 22, 0.8)), 
                url('public/pictures/1000285388.jpg') center/cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
    text-align: center;
}

.testimonials-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(26, 52, 9, 0.3), rgba(45, 80, 22, 0.3));
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.testimonials-hero .container {
    position: relative;
    z-index: 2;
}

.testimonials-hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.testimonials-hero .hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 0.95;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.hero-stats .stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-stats .stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.hero-stats .stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #90EE90;
}

.hero-stats .stat-label {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.9;
}

/* Review Summary Section */
.review-summary {
    padding: 100px 0;
    background: white;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.summary-card {
    background: linear-gradient(135deg, #f8fffe, #f0f8e8);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(45, 80, 22, 0.05), transparent);
    transition: left 0.6s;
}

.summary-card:hover::before {
    left: 100%;
}

.summary-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 70px rgba(45, 80, 22, 0.2);
}

.summary-icon {
    background: linear-gradient(135deg, #2d5016, #4a7c59);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(45, 80, 22, 0.3);
}

.summary-card h3 {
    color: #1a3409;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.summary-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Featured Testimonials Section */
.featured-testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f8e8, #e8f5e8);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    color: #1a3409;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.testimonial-card {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(45, 80, 22, 0.03), transparent);
    transition: left 0.6s;
}

.testimonial-card:hover::before {
    left: 100%;
}

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

.testimonial-card.featured {
    border-left: 5px solid #4a7c59;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(45, 80, 22, 0.1);
}

.customer-avatar {
    background: linear-gradient(135deg, #2d5016, #4a7c59);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(45, 80, 22, 0.3);
}

.customer-info {
    flex: 1;
}

.customer-info h4 {
    color: #1a3409;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.customer-info .location {
    color: #666;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: block;
}

.service-type {
    background: linear-gradient(135deg, #f0f8e8, #e8f5e8);
    color: #4a7c59;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.rating {
    display: flex;
    gap: 0.2rem;
    color: #ffd700;
    font-size: 1.2rem;
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.8;
    font-style: italic;
    position: relative;
    padding-left: 2rem;
}

.testimonial-content p::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: rgba(45, 80, 22, 0.2);
    font-family: serif;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 2px solid rgba(45, 80, 22, 0.1);
}

.testimonial-footer .date {
    color: #666;
    font-size: 0.9rem;
    font-weight: 600;
}

.project-images {
    display: flex;
    gap: 1rem;
}

.project-images img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.project-images img:hover {
    transform: scale(1.1);
}

/* All Testimonials Section */
.all-testimonials {
    padding: 100px 0;
    background: white;
}

.testimonials-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.testimonials-masonry .testimonial-card {
    padding: 2.5rem;
}

.testimonials-masonry .testimonial-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
}

.testimonials-masonry .customer-avatar {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.testimonials-masonry .customer-info h4 {
    font-size: 1.2rem;
}

.testimonials-masonry .testimonial-content p {
    font-size: 1rem;
    line-height: 1.6;
    padding-left: 1.5rem;
}

.testimonials-masonry .testimonial-content p::before {
    font-size: 2.5rem;
    top: -5px;
}

.testimonials-masonry .testimonial-footer {
    padding-top: 1.5rem;
    justify-content: flex-start;
}

/* Trust Indicators Section */
.trust-indicators {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f8e8, #e8f5e8);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.trust-item {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.trust-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(45, 80, 22, 0.05), transparent);
    transition: left 0.6s;
}

.trust-item:hover::before {
    left: 100%;
}

.trust-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 70px rgba(45, 80, 22, 0.2);
}

.trust-icon {
    background: linear-gradient(135deg, #2d5016, #4a7c59);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(45, 80, 22, 0.3);
}

.trust-item h3 {
    color: #1a3409;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.trust-item p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Responsive Design for Testimonials Page */
@media (max-width: 1024px) {
    .hero-stats {
        gap: 2rem;
    }
    
    .testimonials-grid {
        gap: 2rem;
    }
    
    .testimonials-masonry {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .testimonials-hero h1 {
        font-size: 2.5rem;
    }
    
    .testimonials-hero .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .hero-stats .stat-item {
        padding: 1.5rem 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .testimonial-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .testimonial-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .summary-grid,
    .trust-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
    }
    
    .testimonials-masonry {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .testimonials-masonry .testimonial-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .testimonials-hero h1 {
        font-size: 2rem;
    }
    
    .testimonials-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats .stat-number {
        font-size: 2rem;
    }
    
    .testimonial-card,
    .summary-card,
    .trust-item {
        padding: 2rem 1.5rem;
    }
    
    .customer-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .testimonials-masonry .customer-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .testimonial-content p {
        font-size: 1rem;
        padding-left: 1.5rem;
    }
    
    .testimonials-masonry .testimonial-content p {
        font-size: 0.95rem;
        padding-left: 1rem;
    }
    
    .project-images img {
        width: 60px;
        height: 45px;
    }
}