/* Estilos específicos para la página de reseñas */

/* Hero Section */
.resenas-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.resenas-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.resenas-hero p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.resumen-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.resumen-stats .stat {
    text-align: center;
}

.resumen-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.resumen-stats .stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

/* Filtros */
.filtros-section {
    background: var(--background-light);
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-light);
}

.filtros-container {
    display: flex;
    gap: 2rem;
    align-items: end;
    flex-wrap: wrap;
}

.filtro-grupo {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 200px;
}

.filtro-grupo label {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.filtro-select,
.filtro-input {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
}

.filtro-select:focus,
.filtro-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

/* Lista de Reseñas */
.resenas-lista {
    padding: 4rem 0;
    background: white;
}

.resenas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.resena-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.resena-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.resena-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.resena-autor {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.autor-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.autor-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.autor-info .fecha {
    font-size: 0.9rem;
    color: var(--text-light);
}

.resena-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 1.2rem;
}

.resena-texto {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

.resena-texto.expandida {
    max-height: none;
}

.ver-mas {
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 500;
    margin-top: 0.5rem;
    display: inline-block;
}

.ver-mas:hover {
    text-decoration: underline;
}

/* No resultados */
.no-resultados {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.no-resultados i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-resultados h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .resenas-hero h1 {
        font-size: 2rem;
    }
    
    .resenas-hero p {
        font-size: 1.1rem;
    }
    
    .resumen-stats {
        gap: 2rem;
    }
    
    .resumen-stats .stat-number {
        font-size: 2rem;
        color: white;
    }
    
    .filtros-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filtro-grupo {
        min-width: 100%;
    }
    
    .resenas-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .resena-card {
        padding: 1.25rem;
    }
    
    .resena-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

/* Animaciones */
.resena-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease-out forwards;
}

.resena-card:nth-child(1) { animation-delay: 0.1s; }
.resena-card:nth-child(2) { animation-delay: 0.2s; }
.resena-card:nth-child(3) { animation-delay: 0.3s; }
.resena-card:nth-child(4) { animation-delay: 0.4s; }
.resena-card:nth-child(5) { animation-delay: 0.5s; }
.resena-card:nth-child(6) { animation-delay: 0.6s; }

/* Estados de filtrado */
.resena-card.oculta {
    display: none;
}

.resena-card.destacada {
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(74, 144, 226, 0.15);
}
