/* Estilos específicos para a página de Avaliações */

/* Seção de Avaliações */
.avaliacoes-section {
    background-image: url('img/rancho21.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 50px;
}

.avaliacoes-section .overlay {
    background-color: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avaliacoes-content {
    z-index: 1;
    max-width: 1200px;
    width: 100%;
    padding: 20px;
}

.avaliacoes-content h2 {
    font-size: 3em;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 300;
}

.subtitle {
    font-size: 1.3em;
    margin-bottom: 50px;
    color: #e0e0e0;
    font-weight: 300;
}

/* Carrossel Container */
.carousel-container {
    position: relative;
    max-width: 450px;
    margin: 0 auto 50px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    min-height: 300px;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: 20px;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: auto;
}

/* Cards de Avaliação - Estilo Google */
.review-card {
    width: 100%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #333;
    transition: opacity 0.3s ease;
    margin: 0 auto;
    display: none;
    opacity: 0;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.review-card:first-child {
    display: block;
    opacity: 1;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.review-header {
    margin-bottom: 16px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.reviewer-details h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.stars {
    display: flex;
    gap: 2px;
    margin-top: 4px;
}

.stars i {
    color: #ffc107;
    font-size: 14px;
}

.review-content {
    margin-bottom: 16px;
}

.review-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0;
    font-style: italic;
}

.review-date {
    font-size: 12px;
    color: #888;
    text-align: right;
}

/* Controles do Carrossel */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #333;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Indicadores */
.carousel-indicators {
    display: flex !important;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    z-index: 100;
    position: relative;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.indicator.active {
    background: #fff !important;
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Estatísticas */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    color: #fff;
}

.stat-number {
    font-size: 3em;
    font-weight: 300;
    margin-bottom: 8px;
    color: #fff;
}

.stat-label {
    font-size: 1.1em;
    color: #e0e0e0;
    margin-bottom: 8px;
}

.stat-item .stars {
    justify-content: center;
}

.stat-item .stars i {
    color: #ffc107;
    font-size: 18px;
}

/* Menu ativo */
nav ul li a.active {
    color: #ff7f50;
    border-bottom: 2px solid #ff7f50;
}

/* Responsividade */
@media (max-width: 768px) {
    .avaliacoes-content h2 {
        font-size: 2.2em;
    }
    
    .subtitle {
        font-size: 1.1em;
    }
    
    .carousel-container {
        margin: 0 10px 50px;
        max-width: calc(100vw - 20px);
    }
    
    .review-card {
        max-width: calc(100vw - 40px);
        width: calc(100vw - 40px);
        padding: 16px;
        margin: 0 auto;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .review-card .review-content p {
        font-size: 13px;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .review-card .reviewer-details h4 {
        font-size: 14px;
        word-wrap: break-word;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .prev-btn {
        left: 5px;
    }
    
    .next-btn {
        right: 5px;
    }
    
    .stats-container {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2.5em;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        margin: 0 5px 50px;
    }
    
    .review-card {
        max-width: calc(100vw - 30px);
        width: calc(100vw - 30px);
        padding: 12px;
        margin: 0 auto;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .review-card .review-content p {
        font-size: 12px;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .review-card .reviewer-details h4 {
        font-size: 13px;
        word-wrap: break-word;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
    
    .prev-btn {
        left: 2px;
    }
    
    .next-btn {
        right: 2px;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 20px;
    }
}
