/* Estilos para a Seção de Depoimentos Aprimorada */

.testimonials-section {
    padding: 80px 0;
    background-color: var(--background-light);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/elementos_decorativos/texture.png');
    background-size: 200px;
    opacity: 0.05;
    z-index: 0;
}

.testimonials-heading {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.testimonials-heading h2 {
    font-size: 2.5rem;
    color: var(--dark-brown);
    margin-bottom: 15px;
}

.testimonials-heading p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-color);
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--secondary-color);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 120px;
    line-height: 1;
    font-family: Georgia, serif;
    color: var(--primary-color);
    opacity: 0.2;
    z-index: 0;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

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

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid var(--accent-color);
}

.testimonial-author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author-info {
    flex: 1;
}

.testimonial-author-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark-brown);
    margin-bottom: 5px;
}

.testimonial-author-title {
    font-size: 0.9rem;
    color: var(--accent-color);
}

.testimonial-rating {
    display: flex;
    margin-top: 10px;
}

.testimonial-rating i {
    color: var(--accent-color);
    margin-right: 3px;
}

/* Decorações */
.testimonial-decoration {
    position: absolute;
    z-index: 0;
}

.testimonial-decoration.egg-left {
    bottom: -30px;
    left: -30px;
    width: 120px;
    height: 150px;
    background-color: var(--accent-color);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    transform: rotate(30deg);
    opacity: 0.1;
}

.testimonial-decoration.egg-right {
    top: -40px;
    right: -40px;
    width: 150px;
    height: 180px;
    background-color: var(--primary-color);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    transform: rotate(-15deg);
    opacity: 0.1;
}

/* Controles de navegação */
.testimonials-nav {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.testimonials-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.testimonials-nav-btn:hover {
    background-color: var(--accent-color);
    color: #fff;
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.testimonials-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonials-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Media Queries para Responsividade */
@media (max-width: 1024px) {
    .testimonials-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-container {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .testimonials-heading h2 {
        font-size: 2rem;
    }
    
    .testimonials-heading p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .testimonial-author-image {
        width: 50px;
        height: 50px;
    }
    
    .testimonials-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
