/* ============================================
   Tecnoteca - Catalogo de Cursos
   ============================================ */

/* Hero Pagina Interna */
.tec-page-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #131217 0%, #1a1a2e 50%, #131217 100%);
    text-align: center;
}

.tec-page-hero-title {
    font-weight: 900;
    font-size: 2.5rem;
    color: #fafafa;
    margin-bottom: 12px;
}

.tec-page-hero-desc {
    font-size: 1.1rem;
    color: #999;
    max-width: 600px;
    margin: 0 auto;
}

/* Filtros */
.tec-catalogo-filtros {
    padding: 30px 0 20px;
    background: #141414;
}

.tec-filter-input {
    background: #1e1e2a;
    border: 1px solid #333;
    color: #fafafa;
    padding: 10px 16px;
    border-radius: 8px;
}

.tec-filter-input:focus {
    background: #1e1e2a;
    border-color: #189cd9;
    color: #fafafa;
    box-shadow: 0 0 0 2px rgba(24, 156, 217, 0.2);
}

.tec-filter-input::placeholder {
    color: #666;
}

.tec-filter-select {
    background: #1e1e2a;
    border: 1px solid #333;
    color: #fafafa;
    padding: 10px 16px;
    border-radius: 8px;
}

.tec-filter-select:focus {
    background: #1e1e2a;
    border-color: #189cd9;
    color: #fafafa;
    box-shadow: 0 0 0 2px rgba(24, 156, 217, 0.2);
}

.tec-filter-select option {
    background: #1e1e2a;
    color: #fafafa;
}

.tec-btn-filter {
    background: #189cd9;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px;
    font-size: 1.1rem;
    transition: background 0.2s;
}

.tec-btn-filter:hover {
    background: #1480b5;
    color: #fff;
}

/* Grid Cursos */
.tec-catalogo-grid {
    padding: 40px 0 80px;
    background: #141414;
    min-height: 400px;
}

/* Card Curso */
.tec-curso-card {
    display: flex;
    background: #1e1e2a;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #fafafa;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.tec-curso-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    color: #fafafa;
}

.tec-curso-card-accent {
    width: 6px;
    min-height: 100%;
    background: var(--accent-color, #e40d7e);
    flex-shrink: 0;
}

.tec-curso-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tec-curso-card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.tec-tag {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 20px;
}

.tec-tag-universo {
    background: rgba(228, 13, 126, 0.15);
    color: #e40d7e;
}

.tec-tag-modalidad {
    background: rgba(24, 156, 217, 0.15);
    color: #189cd9;
}

.tec-curso-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.tec-curso-card-desc {
    font-size: 0.85rem;
    color: #999;
    flex: 1;
    margin-bottom: 12px;
    line-height: 1.5;
}

.tec-curso-card-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 12px;
}

.tec-curso-card-meta i {
    color: #189cd9;
}

.tec-curso-card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #189cd9;
    transition: color 0.2s;
}

.tec-curso-card:hover .tec-curso-card-link {
    color: #feeb17;
}

.tec-curso-card:hover .tec-curso-card-link i {
    transform: translateX(4px);
    display: inline-block;
    transition: transform 0.2s;
}

/* ============================================
   Detalle de Curso
   ============================================ */

.tec-curso-detalle {
    padding: 150px 0 80px;
    background: #141414;
    min-height: 80vh;
}

.tec-breadcrumb {
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.tec-breadcrumb a {
    color: #189cd9;
    text-decoration: none;
}

.tec-breadcrumb a:hover {
    color: #feeb17;
}

.tec-breadcrumb i {
    color: #555;
    margin: 0 8px;
    font-size: 0.7rem;
}

.tec-breadcrumb span {
    color: #999;
}

.tec-detalle-header {
    margin-bottom: 30px;
}

.tec-detalle-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.tec-detalle-title {
    font-weight: 900;
    font-size: 2rem;
    color: #fafafa;
    margin-bottom: 8px;
}

.tec-detalle-codigo {
    font-size: 0.85rem;
    color: #666;
    font-family: monospace;
}

.tec-detalle-section {
    background: #1e1e2a;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.tec-detalle-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fafafa;
    margin-bottom: 16px;
}

.tec-detalle-section h3 i {
    color: #189cd9;
}

.tec-detalle-desc {
    color: #ccc;
    line-height: 1.7;
    white-space: pre-line;
}

.tec-obj-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: #e40d7e;
    margin-bottom: 8px;
    margin-top: 16px;
}

.tec-obj-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}

.tec-obj-list li {
    padding: 6px 0 6px 20px;
    color: #ccc;
    font-size: 0.9rem;
    position: relative;
}

.tec-obj-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #189cd9;
}

.tec-contenidos-timeline {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tec-contenido-mes {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.tec-contenido-mes-num {
    background: #e40d7e;
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.tec-contenido-mes-body h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fafafa;
    margin-bottom: 4px;
}

.tec-contenido-mes-body p {
    font-size: 0.85rem;
    color: #999;
    margin: 0;
}

/* Sidebar */
.tec-detalle-sidebar {
    position: sticky;
    top: 100px;
}

.tec-detalle-info-card {
    background: #1e1e2a;
    border-radius: 12px;
    padding: 24px;
}

.tec-detalle-info-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fafafa;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #333;
}

.tec-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #2a2a3a;
}

.tec-info-row:last-child {
    border-bottom: none;
}

.tec-info-label {
    font-size: 0.85rem;
    color: #777;
}

.tec-info-label i {
    color: #189cd9;
    margin-right: 4px;
}

.tec-info-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fafafa;
}

.tec-btn-inscripcion {
    background: #e40d7e;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    transition: background 0.2s;
}

.tec-btn-inscripcion:hover {
    background: #c00a6b;
    color: #fff;
}

.tec-btn-back {
    background: transparent;
    color: #999;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 10px;
    transition: all 0.2s;
}

.tec-btn-back:hover {
    background: #1e1e2a;
    color: #fafafa;
    border-color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .tec-page-hero {
        padding: 120px 0 40px;
    }

    .tec-page-hero-title {
        font-size: 1.8rem;
    }

    .tec-curso-detalle {
        padding: 100px 0 60px;
    }

    .tec-detalle-title {
        font-size: 1.5rem;
    }

    .tec-detalle-sidebar {
        position: static;
    }
}
