/* Estilos globales para todas las páginas de cursos */
.curso {
    padding-top: 120px;
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    font-family: "Castoro", serif;
}

.curso-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.curso-header {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    border: 1px solid #e0e0e0;
}

.curso-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.curso-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.curso-profesor {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 20px;
}

.curso-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.content-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.content-card h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: bold;
}

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

.lessons-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
    margin-bottom: 5px;
    padding-left: 10px;
}

.lessons-list li:hover {
    background-color: #f8f9fa;
    padding-left: 15px;
    border-left: 3px solid #4a90e2;
}

.back-btn {
    display: inline-block;
    background: #4a90e2;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(74, 144, 226, 0.3);
}

.back-btn:hover {
    background: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

/* Colores específicos para cada materia */
.matematicas .curso-title,
.matematicas .content-card h3 {
    color: #4a90e2;
}

.historia .curso-title,
.historia .content-card h3 {
    color: #8B4513;
}

.ciencias .curso-title,
.ciencias .content-card h3 {
    color: #228B22;
}

.literatura .curso-title,
.literatura .content-card h3 {
    color: #800080;
}

.ingles .curso-title,
.ingles .content-card h3 {
    color: #FF6347;
}

.fisica .curso-title,
.fisica .content-card h3 {
    color: #1E90FF;
}

.matematicas .lessons-list li:hover {
    border-left-color: #4a90e2;
}

.historia .lessons-list li:hover {
    border-left-color: #8B4513;
}

.ciencias .lessons-list li:hover {
    border-left-color: #228B22;
}

.literatura .lessons-list li:hover {
    border-left-color: #800080;
}

.ingles .lessons-list li:hover {
    border-left-color: #FF6347;
}

.fisica .lessons-list li:hover {
    border-left-color: #1E90FF;
}

/* Responsividad */
@media (max-width: 768px) {
    .curso-container {
        padding: 20px 15px;
    }
    
    .curso-header {
        padding: 25px;
    }
    
    .curso-title {
        font-size: 2rem;
    }
    
    .curso-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .content-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .curso {
        padding-top: 100px;
    }
    
    .curso-title {
        font-size: 1.8rem;
    }
    
    .curso-icon {
        font-size: 3rem;
    }
    
    .content-card h3 {
        font-size: 1.3rem;
    }
}
