/**
 * Talleres Plugin - CSS para diseño tipo aplicación/landing
 * Elimina completamente la apariencia de blog de WordPress
 */

/* Reset de estilos WordPress */
.taller-app-container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow: hidden;
}

/* Ocultar elementos de WordPress que dan apariencia de blog */
.taller-app-container .post-meta,
.taller-app-container .post-navigation,
.taller-app-container .entry-meta,
.taller-app-container .entry-footer,
.taller-app-container .comments-area,
.taller-app-container .navigation,
.taller-app-container .entry-header,
.taller-app-container .post-thumbnail,
.taller-app-container .wp-block-post-featured-image,
.taller-app-container .wp-block-post-date,
.taller-app-container .wp-block-post-author,
.taller-app-container .wp-block-post-terms {
    display: none !important;
}

/* Reemplazar elementos propios de un blog con nuestro diseño tipo app */
.taller-app-container h1, 
.taller-app-container h2, 
.taller-app-container h3, 
.taller-app-container h4, 
.taller-app-container p {
    margin: 0 0 15px;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}

.taller-app-container h1 {
    font-size: 2.6rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 10px;
}

.taller-app-container h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    position: relative;
    margin-bottom: 25px;
}

.taller-app-container h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

.taller-app-container h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #34495e;
    margin-bottom: 5px;
}

.taller-app-container p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #555;
}

/* Banner principal estilo app/landing */
.taller-banner-principal {
    height: 80vh;
    min-height: 500px;
    width: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    margin-bottom: 0;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.banner-contenido {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
}

.banner-encabezado {
    width: 100%;
    max-width: 700px;
}

.banner-meta {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.meta-item {
    color: #ecf0f1;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-item i {
    color: #940404;
}

.banner-accion {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Botón principal de inscripción */
.btn-inscripcion-principal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 35px!important;
    background: #940404!important;
    color: white!important;
    border: none!important;
    border-radius: 10px!important;
    font-weight: 600!important;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(219, 52, 52, 0.4);
}

.btn-inscripcion-principal:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(219, 52, 52, 0.6);
}

.btn-texto-principal {
    font-size: 1.2rem;
    margin-bottom: 3px;
}

.btn-texto-secundario {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Precio destacado */
.precio-destacado {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 15px 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.precio-valor {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.precio-etiqueta {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Navbar tipo app */
.taller-app-navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: relative;
    z-index: 100;
}

.navbar-container {
    /* max-width: 1200px; */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 70px;
}

.navbar-tabs {
    display: flex;
    gap: 5px;
}

.navbar-tab {
    padding: 10px 18px;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.navbar-tab i {
    font-size: 1rem;
    color: #940404;
}

.navbar-tab.active {
    background-color: #fdf4f4;
    color: #b92929;
    font-weight: 600;
}

.navbar-tab:hover:not(.active) {
    background-color: #f9f9f9;
}

.navbar-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    animation: slideDown 0.3s forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.navbar-cta {
    display: flex;
    align-items: center;
}

.btn-inscripcion-navbar {
    padding: 10px 20px;
    background: #940404!important;
    color: white!important;
    border: none!important;
    border-radius: 10px!important;
    font-weight: 500!important;
    cursor: pointer!important;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.btn-inscripcion-navbar:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* Contenido principal */
.taller-app-content {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 40px 20px;
}

/* Secciones */
.app-section {
    margin-bottom: 60px;
    display: none;
}

.active-section {
    margin-top: 50px;
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.section-header {
    margin-bottom: 30px;
}

.section-divider {
    height: 4px;
    width: 70px;
    background: #940404;
    margin-top: -15px;
    border-radius: 2px;
}

/* Estilos de la sección resumen */
.taller-resumen-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.resumen-descripcion {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.7;
}

.resumen-destacados {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.destacado-card {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-left: 4px solid #940404;
}

.destacado-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.destacado-icono {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #feecec;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.destacado-icono i {
    font-size: 1.4rem;
    color: #940404;
}

.destacado-titulo {
    font-weight: 600;
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 8px;
}

.destacado-texto {
    color: #555;
    font-size: 0.95rem;
}

/* Timeline de módulos */
.modulos-timeline {
    position: relative;
    padding-left: 40px;
}

.modulos-timeline::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 0;
    height: 100%;
    width: 2px;
    background: #e0e0e0;
}

.modulo-timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.modulo-timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-indicador {
    position: absolute;
    left: -40px;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #940404;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 3px 10px rgba(219, 52, 52, 0.4);
    z-index: 5;
}

.timeline-contenido {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.modulo-encabezado {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.modulo-badge {
    background: #f1c40f;
    color: #7f6000;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
}

.modulo-descripcion {
    margin-bottom: 20px;
}

.modulo-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.modulo-nota {
    font-size: 0.9rem;
    color: #7f8c8d;
    display: flex;
    align-items: center;
    gap: 5px;
}

.modulo-nota i {
    color: #f39c12;
}

.modulo-enlace {
    text-decoration: none;
    color: #3498db;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.modulo-enlace:hover {
    color: #2980b9;
}

/* Estado vacío */
.estado-vacio {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #7f8c8d;
}

.estado-vacio i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #bdc3c7;
}

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

.detalle-tarjeta {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
}

.detalle-tarjeta:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.detalle-icono {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 10px;
    background: #feecec;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detalle-icono i {
    font-size: 1.4rem;
    color: #940404;
}

.detalle-info h4 {
    margin-bottom: 5px;
    color: #2c3e50;
}

.detalle-info p {
    color: #555;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Contenedor de recursos */
.recursos-container {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.recurso-contenido {
    margin-bottom: 30px;
}

.recurso-accion {
    display: flex;
    justify-content: center;
}

.btn-recurso {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-recurso:hover {
    background: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

/* CTA flotante para móviles */
.app-cta-flotante {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    display: none;
}

.btn-flotante-inscripcion {
    width: 60px!important;
    height: 60px!important;
    border-radius: 50%!important;
    background: #e74c3c!important;
    color: white!important;
    border: none!important;
    display: flex!important;
    align-items: center!important;
    justify-content: center!important;
    font-size: 1.4rem;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-flotante-inscripcion:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.6);
}

/* Banner final CTA */
.app-banner-final {
    background: #940404;
    padding: 60px 20px;
    text-align: center;
    color: white;
}

.banner-final-contenido {
    max-width: 800px;
    margin: 0 auto;
}

.banner-final-contenido h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 15px;
}

.banner-final-contenido p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.btn-banner-final {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white!important;
    color: #940404!important;
    border: none!important;
    border-radius: 30px!important;
    padding: 15px 35px!important;
    font-weight: 600!important;
    font-size: 1.1rem!important;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2)!important;
}

.btn-banner-final:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* Mensaje de éxito de inscripción */
.taller-mensaje-exito {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.taller-mensaje-exito i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.taller-mensaje-exito strong {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.taller-mensaje-exito p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .taller-resumen-grid {
        grid-template-columns: 1fr;
    }
    
    .navbar-container {
        flex-direction: column;
        height: auto;
        padding: 15px;
    }
    
    .navbar-tabs {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 5px;
        margin-bottom: 10px;
    }
    
    .navbar-tab {
        white-space: nowrap;
    }
    
    .app-cta-flotante {
        display: block;
    }
    
    .navbar-cta {
        display: none;
    }
}

@media (max-width: 768px) {
    .taller-app-container h1{
        font-size: 1.6rem;
    }
    .taller-banner-principal {
        height: auto;
        min-height: 90vh;
    }
    
    .banner-accion {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .banner-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .modulo-encabezado {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .detalles-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-inscripcion-principal {
        width: 100%;
    }
}

/* Eliminar estilos de WordPress que interfieran */
.taller-app-container .entry-content {
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
    width: 100% !important;
}

.taller-app-container .wp-block-post-content {
    padding: 0 !important;
    margin: 0 !important;
}

/* Eliminar margenes y paddings del tema de WordPress */
.site-content {
    padding: 0 !important;
    margin: 0 !important;
}

.site-main {
    padding: 0 !important;
    margin: 0 !important;
}

article.taller {
    padding: 0 !important;
    margin: 0 !important;
}

.entry-content {
    padding: 0 !important;
    margin: 0 !important;
}
