/* Estilos específicos para páginas de cursos */

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #4a5568;
}

.breadcrumb a {
    color: #004aad;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #0066e6;
}

.separator {
    color: #a0aec0;
    margin: 0 0.25rem;
}

.current {
    color: #2d3748;
    font-weight: 500;
}

/* Hero del curso */
.course-hero {
    background: linear-gradient(135deg, #004aad 0%, #0066e6 100%);
    color: white;
    padding: 3rem 2rem;
}

.course-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: start;
}

.course-hero-left {
    padding-top: 1rem;
}

.course-category {
    margin-bottom: 1rem;
}

.category-badge {
    background: rgba(255, 196, 65, 0.2) !important;
    color: #ffc441 !important;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(255, 196, 65, 0.3) !important;
}

.course-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.course-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.course-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.meta-item i {
    color: #ffc441 !important;
    font-size: 1.1rem;
}

.course-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
}

.stars i {
    color: #ffc441 !important;
    font-size: 1.1rem;
}

.rating-text {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Card de compra */
.course-card-purchase {
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: sticky;
    top: 2rem;
}

.course-preview {
    position: relative;
}

.course-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.purchase-info {
    padding: 1.5rem;
}

.price-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #004aad;
}

.original-price {
    font-size: 1.25rem;
    color: #718096;
    text-decoration: line-through;
}

.discount {
    background: linear-gradient(135deg, #ffc441 0%, #ffb300 100%) !important;
    color: #004aad !important;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 700;
}

.btn-purchase {
    width: 100%;
    background: linear-gradient(135deg, #004aad 0%, #0066e6 100%) !important;
    color: white !important;
    border: none;
    padding: 1rem 2rem;
    border-radius: 15px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-decoration: none;
}

.btn-purchase:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 74, 173, 0.3);
}

.course-features {
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item i {
    color: #ffc441 !important;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.feature-item span {
    color: #4a5568;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Contenido del curso */
.course-content {
    padding: 2rem;
    background: #f8f9fa;
}

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

/* Sección overview con grid */
.course-overview {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.course-details,
.course-description {
    padding: 0;
}

.course-curriculum {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.course-details h2,
.course-description h2,
.course-curriculum h2 {
    font-size: 1.75rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.learning-objectives {
    display: grid;
    gap: 1rem;
}

.objective-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.objective-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.objective-item i {
    color: #ffc441 !important;
    font-size: 1.25rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.objective-item span {
    color: #2d3748;
    font-weight: 500;
    line-height: 1.6;
}

.course-description p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.course-description p:last-child {
    margin-bottom: 0;
}

/* Curriculum styles */
.curriculum-stats {
    color: #718096;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    text-align: center;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.curriculum-modules {
    display: grid;
    gap: 1rem;
}

.module {
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.module:hover {
    border-color: #004aad;
    box-shadow: 0 5px 15px rgba(0, 74, 173, 0.1);
}

.module-header {
    background: linear-gradient(135deg, #004aad 0%, #0066e6 100%) !important;
    color: white !important;
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.module-header h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
}

.module-duration {
    background: rgba(255, 196, 65, 0.2) !important;
    color: #ffc441 !important;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.module-content {
    padding: 1.25rem;
}

.module-content p {
    margin: 0;
    color: #4a5568;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Contenido de valor */
.content-value {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-top: 2rem;
}

.content-value h2 {
    font-size: 1.75rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-item {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 74, 173, 0.1);
    border-color: #004aad;
}

.value-image {
    width: 100%;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #004aad 0%, #0066e6 100%) !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.value-info h3 {
    font-size: 1.25rem;
    color: #2d3748;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.value-info p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .course-hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .course-card-purchase {
        position: static;
    }
    
    .value-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .course-hero {
        padding: 2rem 1rem;
    }
    
    .course-title {
        font-size: 2.5rem;
    }
    
    .course-meta-info {
        gap: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .course-content {
        padding: 1rem;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .course-overview,
    .course-curriculum,
    .content-value {
        padding: 1.5rem;
    }
    
    .value-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .current-price {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .course-hero-content {
        gap: 2rem;
    }
    
    .course-title {
        font-size: 2rem;
    }
    
    .course-subtitle {
        font-size: 1.1rem;
    }
    
    .course-overview,
    .course-curriculum,
    .content-value {
        padding: 1.25rem;
    }
    
    .overview-grid {
        gap: 1.5rem;
    }
    
    .course-details h2,
    .course-description h2,
    .course-curriculum h2,
    .content-value h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .value-image {
        height: 120px;
    }
} 