/* ============================================================
   CURSO-STYLE.CSS - Estilos para curso-detalle.php
   ============================================================ */

.hero-wrapper {
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.1), transparent);
    position: relative;
}

.course-hero {
    padding: 180px 60px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.breadcrumb {
    font-size: 14px;
    color: #999;
    margin-bottom: 30px;
}

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

.breadcrumb a:hover { color: #ff3366; }
.breadcrumb span { margin: 0 10px; }

.course-header {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.course-header-content { flex: 1; }

.course-level-badge {
    display: inline-block;
    padding: 8px 16px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: bold;
}

.course-level-badge.beginner {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

.course-level-badge.intermediate {
    background: rgba(255, 152, 0, 0.2);
    color: #FF9800;
}

.course-level-badge.advanced {
    background: rgba(156, 39, 176, 0.2);
    color: #9C27B0;
}

.course-hero h1 {
    font-size: 64px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: -2px;
    line-height: 1.1;
}

.course-description {
    font-size: 18px;
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 700px;
}

.course-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

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

.course-cta-box {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #ff3366;
    padding: 40px;
    min-width: 350px;
    position: sticky;
    top: 100px;
}

.price {
    font-size: 48px;
    font-weight: 900;
    color: #ff3366;
    margin-bottom: 10px;
}

.price-note {
    font-size: 14px;
    color: #999;
    margin-bottom: 25px;
}

.enroll-button {
    display: block;
    width: 100%;
    padding: 18px;
    background: #ff3366;
    color: #fff;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    margin-top: 25px;
}

.enroll-button:hover {
    background: #ff1a4d;
    transform: translateY(-2px);
}

.course-includes {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.course-includes h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: #ccc;
}

.includes-list {
    list-style: none;
    padding: 0;
}

.includes-list li {
    padding: 8px 0;
    color: #999;
    font-size: 14px;
}

.includes-list li:before {
    content: "✓";
    color: #4CAF50;
    font-weight: bold;
    margin-right: 10px;
}

.course-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 60px 120px;
}

.content-section {
    margin-bottom: 80px;
}

.content-section h2 {
    font-size: 48px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.content-section p {
    color: #999;
    font-size: 16px;
    margin-bottom: 40px;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
}

.module-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    transition: all 0.3s;
}

.module-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #ff3366;
    transform: translateY(-5px);
}

.module-number {
    font-size: 12px;
    color: #ff3366;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.module-card h4 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.3;
}

.module-card p {
    color: #999;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.module-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.module-topic {
    background: rgba(255, 51, 102, 0.1);
    color: #ff3366;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 4px;
}

.warning-box {
    background: rgba(255, 152, 0, 0.1);
    border: 2px solid #FF9800;
    padding: 25px;
    margin: 30px 0;
}

.warning-box h4 {
    color: #FF9800;
    font-size: 18px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.warning-box p {
    color: #ccc;
    font-size: 15px;
    line-height: 1.6;
}

.warning-box a {
    color: #FF9800;
    text-decoration: underline;
}

.requirements-list,
.target-audience-list {
    list-style: none;
    padding: 0;
}

.requirements-list li,
.target-audience-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: #ccc;
    font-size: 16px;
    line-height: 1.6;
}

.requirements-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #ff3366;
    font-weight: bold;
}

.target-audience-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.cohorts-section-responsive {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 60px;
}

.cohorts-grid-responsive {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

@media (max-width: 1024px) {
    .course-header {
        flex-direction: column;
    }
    .course-cta-box {
        width: 100%;
        position: static;
    }
    .modules-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .course-hero {
        padding: 140px 30px 60px;
    }
    .course-hero h1 {
        font-size: 40px;
    }
    .course-content {
        padding: 60px 30px;
    }
    .content-section h2 {
        font-size: 32px;
    }
    .cohorts-section-responsive {
        padding: 0 30px !important;
        margin: 40px 0 !important;
    }
    .cohorts-grid-responsive {
        display: block !important;
    }
    .cohorts-grid-responsive > div {
        margin-bottom: 20px !important;
    }
}
