/* IA Latam Custom Styles V3 - Final */

/* --- 1. Definición de Fuentes --- */
@font-face {
    font-family: 'Helvetica W01 Light';
    src: url('../fonts/HelveticaW01-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}

/* --- 2. Estilos Base --- */
body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Helvetica W01 Light', sans-serif;
}

/* --- 3. Hero Section Background (Página Pública) --- */
.hero-bg {
    position: relative;
    overflow: hidden;
    background-color: #010103;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    backdrop-filter: blur(150px);
    z-index: 2;
}

.lava-lamp {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.lava-lamp .blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
    mix-blend-mode: color-dodge;
}

.blob:nth-child(1) {
    width: 300px;
    height: 300px;
    background: #001FC7;
    animation: move 30s infinite alternate;
    top: 10%;
    left: 15%;
}

.blob:nth-child(2) {
    width: 250px;
    height: 250px;
    background: #54BAFF;
    animation: move 35s infinite alternate-reverse;
    top: 40%;
    right: 10%;
}

.blob:nth-child(3) { /* CORREGIDO */
    width: 320px;
    height: 320px;
    background: #001FC7;
    animation: move 40s infinite alternate;
    bottom: 5%;
    left: 40%;
}

.blob:nth-child(4) { /* CORREGIDO */
    width: 280px;
    height: 280px;
    background: #54BAFF;
    animation: move 45s infinite alternate-reverse;
    bottom: 20%;
    right: 30%;
}

@keyframes move {
    from {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    to {
        transform: translate(80px, -60px) scale(1.2) rotate(120deg);
    }
}

/* --- 4. Estilos de Tarjetas y Componentes --- */
.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.team-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.team-card .p-4 {
    padding: 1rem;
}

.blog-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(84, 186, 255, 0.2);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(84, 186, 255, 0.1);
    border-color: rgba(84, 186, 255, 0.5);
}

.blog-card-image-wrapper {
    height: 200px;
    overflow: hidden;
}

.blog-card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* INICIO: Estilo para Tarjetas de Eventos */
.event-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(84, 186, 255, 0.2);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    
    /* === LÍNEA NUEVA AÑADIDA (Paso 24) === */
    padding: 1.5rem; /* Estandariza el padding (aprox. 24px) */
}
/* FIN: Estilo para Tarjetas de Eventos */


/* ============================================================
--- SECCIÓN 5: (NUEVA) ESTILOS DEL TEMA OSCURO DE LA APP ---
============================================================
*/

/* 1. Fondo oscuro y texto claro */
body.bg-dark {
    background-color: #010103 !important;
    color: #f8f9fa;
}

/* 2. Arreglo de color de texto en tarjetas */
.stat-card,
.event-card,
.blog-card,
.team-card {
    color: inherit;
}

/* 3. Arreglo de color de títulos */
body.bg-dark h1,
body.bg-dark h2,
body.bg-dark h3,
body.bg-dark h4,
body.bg-dark h5,
body.bg-dark h6 {
    color: inherit;
}

/* 4. Arreglo de texto 'muted' */
.text-muted,
.card-text.text-muted {
    color: #adb5bd !important;
}