/* Estilos específicos para la página de testimonios */

/* Estilos para la barra de scroll de la página completa */
html {
    scrollbar-width: thin;
    scrollbar-color: rgba(74, 222, 128, 0.8) transparent;
}

html::-webkit-scrollbar {
    width: 10px;
}

html::-webkit-scrollbar-track {
    background: transparent;
}

html::-webkit-scrollbar-thumb {
    background: rgba(74, 222, 128, 0.8);
    border-radius: 5px;
}

html::-webkit-scrollbar-thumb:hover {
    background: rgba(74, 222, 128, 1);
}

/* Header de testimonios */
.testimonios-header {
    text-align: center;
    margin-bottom: 50px;
    z-index: 25;
    position: relative;
}

.testimonios-title {
    font-family: 'WichoFont', serif;
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(0,0,0,0.8);
    letter-spacing: 2px;
}

.testimonios-subtitle {
    font-family: Arial, sans-serif;
    font-size: 1.4rem;
    color: #fff;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

/* Grid de testimonios */
.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 20px;
    z-index: 25;
    position: relative;
}

/* Tarjetas de testimonios */
.testimonio-card {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(74, 222, 128, 0.3);
    border-radius: 20px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.testimonio-card:hover {
    transform: translateY(-5px);
    border-color: rgba(74, 222, 128, 0.8);
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 15px 35px rgba(74, 222, 128, 0.2);
}

.testimonio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4ade80, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonio-card:hover::before {
    opacity: 1;
}

.testimonio-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.testimonio-card:hover .testimonio-image {
    transform: scale(1.05);
}

.testimonio-info {
    text-align: center;
}

.testimonio-name {
    font-family: Arial, sans-serif;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.testimonio-message {
    font-family: Arial, sans-serif;
    font-size: 1rem;
    color: #fff;
    opacity: 0.9;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

.testimonio-date {
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    color: #fff;
    opacity: 0.7;
    margin-top: 15px;
    font-style: italic;
}

/* Estado vacío */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #fff;
    grid-column: 1 / -1;
}

.empty-state svg {
    width: 80px;
    height: 80px;
    color: #4ade80;
    margin-bottom: 20px;
    opacity: 0.7;
}

.empty-state h3 {
    font-family: 'WichoFont', serif;
    font-size: 2rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.empty-state p {
    font-family: Arial, sans-serif;
    font-size: 1.1rem;
    opacity: 0.8;
    line-height: 1.6;
}

/* Responsive design */
@media (max-width: 1024px) {
    .testimonios-title {
        font-size: 3rem;
    }
    
    .testimonios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 15px;
    }
    
    .testimonio-card {
        padding: 15px;
    }
    
    .testimonio-name {
        font-size: 1.1rem;
    }
    
    .testimonio-message {
        font-size: 0.9rem;
    }
    
    .testimonio-date {
        font-size: 0.8rem;
    }
    
    .testimonio-image {
        height: 180px;
    }
}

@media (max-width: 767px) {
    /* Navbar más pequeño para móviles - igual que opciones.html */
    .navbar {
        height: 45px;
        padding: 0 15px;
    }
    
    .logo {
        font-size: 1.6rem;
    }
    
    .nav-text {
        font-size: 0.8rem;
        transform: translateY(2px);
    }
    
    .testimonios-title {
        font-size: 2.5rem;
    }
    
    .testimonios-subtitle {
        font-size: 1.2rem;
    }
    
    .testimonios-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    
    .testimonio-card {
        padding: 15px;
    }
    
    .testimonio-image {
        height: 200px;
    }
    
    .testimonio-name {
        font-size: 1.1rem;
    }
    
    .testimonio-message {
        font-size: 0.9rem;
    }
    
    .testimonio-date {
        font-size: 0.8rem;
    }
}



@media (max-width: 480px) {
    .testimonios-title {
        font-size: 2rem;
    }
    
    .testimonios-subtitle {
        font-size: 1.1rem;
    }
    
    .testimonios-grid {
        gap: 15px;
    }
    
    .testimonio-card {
        padding: 12px;
    }
    
    .testimonio-image {
        height: 160px;
    }
    
    .testimonios-title {
        font-size: 1.8rem;
    }
    
    .testimonios-subtitle {
        font-size: 1rem;
    }
}

/* Estilos para permitir scroll */
body {
    overflow-y: auto;
    min-height: 100vh;
}

.container {
    min-height: 100vh;
    padding-bottom: 100px; /* Espacio extra al final para scroll */
    padding-top: 80px; /* Espacio para el nav fijo */
}

/* Ajustar el padding-top en móvil para el navbar más pequeño */
@media (max-width: 767px) {
    .container {
        padding-top: 1px; /* Reducir aún más el espacio para subir el contenido */
    }
    
    .testimonios-header {
        margin-bottom: 20px; /* Reducir más el margen inferior del header */
    }
}

.testimonios-grid {
    margin-bottom: 50px; /* Espacio después de la grilla */
}

/* Navbar fijo con auto-hide */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease-in-out;
}

.navbar.nav-hidden {
    transform: translateY(-100%);
}

/* Footer social específico para testimonios */
.testimonios-page .social-footer {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 50px;
    padding: 30px 0;
    width: 100%;
}

/* Ocultar la ranita en móvil */
@media (max-width: 767px) {
    .frog-image {
        display: none;
    }
}

/* Ocultar la ranita en pantallas de 1280px */
@media (max-width: 1280px) {
    .frog-image {
        display: none;
    }
}
