/* ===== todas_resenas.css ===== */
/* Estilos para la página de todas las reseñas */

:root {
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* ===== HERO SECTION ===== */
.resenas-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
    box-sizing: border-box;
}

.resenas-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: url('../images/kayaks/atardecer.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.7);
    z-index: -2;
}

.resenas-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(141, 11, 145, 0.4) 0%, rgba(0, 0, 0, 0.95) 90%);
    z-index: -1;
}

.resenas-hero-content {
    position: relative;
    z-index: 2;
    color: white;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.hero-subtitle {
    display: inline-block;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    padding: 8px 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-weight: 500;
}

.hero-title {
    font-family: var(--fuente-titulos);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.hero-title span {
    color: #ff00ea;
    position: relative;
    display: inline-block;
}

.hero-description {
    font-size: clamp(1rem, 3vw, 1.3rem);
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.95;
    line-height: 1.6;
}

/* ===== ESTADÍSTICAS ===== */
.resenas-stats {
    padding: 60px 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 20px;
    transition: var(--transition-smooth);
    border: 1px solid #e2e8f0;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(141, 11, 145, 0.1);
    border-color: #8d0b91;
}

.stat-card i {
    font-size: 2.5rem;
    color: #ff00ea;
    margin-bottom: 15px;
}

.stat-card h3 {
    font-family: var(--fuente-titulos);
    font-size: 2.5rem;
    color: #0a1a2f;
    margin-bottom: 5px;
}

.stat-card p {
    color: #718096;
    font-size: 1rem;
}

/* ===== LISTA DE RESEÑAS ===== */
.resenas-lista {
    padding: 60px 0;
    background: #f8f9fa;
}

.section-title {
    font-family: var(--fuente-titulos);
    font-size: 2.5rem;
    color: #0a1a2f;
    text-align: center;
    margin-bottom: 50px;
}

.section-title span {
    color: #ff00ea;
    position: relative;
}

.section-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(255, 0, 234, 0.2);
    z-index: -1;
    border-radius: 10px;
}

.resenas-grid {
    display: grid;
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.resena-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    transition: var(--transition-smooth);
}

.resena-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(141, 11, 145, 0.1);
    border-color: #8d0b91;
}

.resena-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.resena-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8d0b91, #ff00ea);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.user-info h3 {
    font-size: 1.2rem;
    color: #0a1a2f;
    margin-bottom: 3px;
}

.user-info .fecha {
    font-size: 0.85rem;
    color: #a0aec0;
}

.resena-rating i {
    color: #cbd5e0;
    font-size: 1.1rem;
    margin-left: 2px;
}

.resena-rating i.fas {
    color: #ff00ea;
}

.resena-body {
    padding-left: 65px;
}

.tour-badge {
    display: inline-block;
    background: rgba(141, 11, 145, 0.1);
    color: #8d0b91;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.resena-texto {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1.05rem;
    font-style: italic;
}

/* ===== PAGINACIÓN ===== */
.paginacion {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.btn-paginacion {
    background: white;
    color: #8d0b91;
    border: 2px solid #8d0b91;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-paginacion:hover {
    background: linear-gradient(135deg, #8d0b91, #ff00ea);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.pagina-link {
    background: white;
    color: #4a5568;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    transition: var(--transition-smooth);
}

.pagina-link:hover {
    background: rgba(141, 11, 145, 0.1);
    border-color: #8d0b91;
    color: #8d0b91;
}

.pagina-actual {
    background: linear-gradient(135deg, #8d0b91, #ff00ea);
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: 600;
}

/* ===== CTA SECTION ===== */
.resenas-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a1a2f, #2d0b31);
    color: white;
    text-align: center;
}

.resenas-cta h2 {
    font-family: var(--fuente-titulos);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.resenas-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #8d0b91;
    text-decoration: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.btn-cta:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-3px);
}

.btn-cta i {
    transition: transform 0.3s ease;
}

.btn-cta:hover i {
    transform: translateX(5px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
    
    .resena-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .resena-body {
        padding-left: 0;
    }
    
    .paginacion {
        gap: 8px;
    }
    
    .btn-paginacion span {
        display: none;
    }
    
    .btn-paginacion i {
        margin: 0;
    }
    
    .resenas-cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .resena-card {
        padding: 20px;
    }
    
    .user-avatar {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .resena-rating i {
        font-size: 1rem;
    }
    
    .btn-cta {
        width: 100%;
        justify-content: center;
    }
}

.no-resenas {
    text-align: center;
    color: #718096;
    font-style: italic;
    padding: 60px 20px;
    background: white;
    border-radius: 20px;
}

.alert.error {
    background: #fee2e2;
    color: #991b1b;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}