/**
 * Estilos para el sistema de guías de viajes
 * Diseñado para integrarse con el tema y usar los colores personalizados
 */

/* Variables CSS para consistencia con el tema */
:root {
    --guides-primary-color: #89c4ff;
    --guides-secondary-color: rgba(137, 196, 255, 0.8);
    --guides-background: rgba(189, 216, 235, 0.08);
    --guides-border: rgba(137, 196, 255, 0.2);
    --guides-text: rgba(255, 255, 255, 0.9);
    --guides-shadow: rgba(0, 0, 0, 0.1);
    --guides-hover-shadow: rgba(137, 196, 255, 0.15);
    --guides-transition: all 0.3s ease;
}

/* Contenedor principal de las guías */
.guides-grid {
    margin: 3rem 0;
    width: 100%;
}

.guides-container {
    display: grid;
    gap: 2rem;
    max-width: 100%;
}

/* Tarjetas individuales de guías */
.guide-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    text-align: center;
    transition: var(--guides-transition);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    position: relative;
    overflow: hidden;
}


.guide-card:hover {
    transform: none;
}

/* Contenido de la tarjeta */
.guide-content {
    position: relative;
    z-index: 2;
    text-align: left;
}

/* Imagen del guía */
.guide-image {
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 0.75rem;
    position: relative;
    z-index: 2;
}

.guide-img {
    width: 100%;
 height: 365px;
    object-fit: cover;
    transition: var(--guides-transition);
    filter: brightness(1.05) contrast(1.02);
}

.guide-card:hover .guide-img {
    transform: scale(1.1);
    filter: brightness(1.1) contrast(1.05);
}

/* Texto del guía */
.guide-name {
    font-size: 21px;
    color: #89C4FF;
    font-weight: 700;
    margin-bottom: 0.25rem;
    line-height: 1.3;
    font-family: 'Poppins', sans-serif;
}

.guide-subtitle {
    font-size: 17px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 0;
    line-height: 1.4;
    font-family: 'Poppins', sans-serif;
}

.guide-description {
    font-size: 16px;
    color: #ffffff;
    font-weight: 400;
    line-height: 1.6;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 0;
}

/* Mensaje cuando no hay guías */
.no-guides-message {
    text-align: center;
    color: var(--guides-text);
    font-style: italic;
    padding: 2rem;
    background: var(--guides-background);
    border-radius: 0.75rem;
    border: 1px solid var(--guides-border);
}

/* Responsive Design */
@media (max-width: 768px) {
    .guides-container {
        gap: 1.25rem;
    }
    
    .guide-card {
        padding: 1.25rem;
    }
    
    .guide-img {
       height: 300px;
    }
    
    .guide-name {
        font-size: 1.125rem;
    }
    
    .guide-subtitle {
        font-size: 0.9375rem;
    }
    
    .guide-description {
        font-size: 0.8125rem;
    }
    
    .guides-grid {
        margin: 2rem 0;
    }
}

@media (max-width: 480px) {
    .guide-card {
        padding: 1rem;
    }
    
    .guide-img {
        height: 396px;
    }
    
    .guide-image {
        margin-bottom: 1rem;
    }
    
    .guide-name {
        margin-bottom: 0.5rem;
    }
    
    .guide-subtitle {
        margin-bottom: 0.75rem;
    }
}

/* Animaciones adicionales */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.guide-card {
    animation: fadeInUp 0.6s ease-out;
}

.guide-card:nth-child(2) {
    animation-delay: 0.1s;
}

.guide-card:nth-child(3) {
    animation-delay: 0.2s;
}

/* Efectos de hover mejorados */
.guide-card:hover .guide-name {
    color: #a8d1ff;
}

.guide-card:hover .guide-subtitle {
    color: #ffffff;
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
    .guide-card,
    .guide-img,
    .guide-card:hover {
        transition: none;
        transform: none;
        animation: none;
    }
}

/* Modo oscuro adicional (si se implementa) */
@media (prefers-color-scheme: dark) {
    :root {
        --guides-background: rgba(189, 216, 235, 0.12);
        --guides-border: rgba(137, 196, 255, 0.25);
        --guides-shadow: rgba(0, 0, 0, 0.2);
    }
}