/* Estilos para páginas de índice */
body {
    padding: 40px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease;
}

header h1 {
    color: white;
    font-size: 3em;
    margin-bottom: 20px;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3em;
    font-weight: 300;
}

/* Botones de navegación en índices de sesión */
.nav-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
}

.nav-btn {
    background: white;
    color: #764ba2;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #f8f9ff;
}

/* Grid de slides */
.slides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.slide-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
}

.slide-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.slide-card:hover::before {
    transform: scaleX(1);
}

.slide-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
}

.slide-icon {
    font-size: 3em;
    margin-bottom: 15px;
    display: block;
}

.slide-title {
    color: #764ba2;
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: bold;
}

.slide-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.slide-session {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    margin-bottom: 10px;
}

/* Cajas de información */
.info-box {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
}

.info-box h2 {
    color: #764ba2;
    margin-bottom: 15px;
}

.info-box p {
    color: #666;
    line-height: 1.8;
}

/* Enlaces a sesiones */
.session-link {
    background: white;
    color: #764ba2;
    padding: 20px;
    border-radius: 15px;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    transition: all 0.3s ease;
    display: block;
}

.session-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    text-align: center;
    color: white;
    padding: 20px;
    font-size: 0.9em;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    .slides-grid {
        grid-template-columns: 1fr;
    }

    .nav-buttons {
        flex-direction: column;
        align-items: center;
    }
}
