/* Variables globales */
:root {
    --primary-yellow: #FFD700;
    --dark-bg: #131313;
    --text-light: #FFFFFF;
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --background-color: #f8f9fa;
    --text-color: #212529;
    --border-radius: 10px;
    --box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Estilos generales */
body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: 'Arial', sans-serif;
}

/* Contenedores */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.centered-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Formularios */
.form-container {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-logo {
    text-align: center;
    margin-bottom: 30px;
}

.form-logo img {
    max-width: 200px;
    height: auto;
}

/* Botones personalizados */
.btn-custom {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-custom-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-custom-primary:hover {
    background-color: #0056b3;
}

/* Links */
.link-custom {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-custom:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Cards */
.card-custom {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
    overflow: hidden;
}

.card-custom-header {
    padding: 15px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.card-custom-body {
    padding: 20px;
}

/* Navegación */
.navbar-custom {
    background-color: #343a40;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-custom .navbar-brand {
    color: white;
    font-weight: bold;
}

.navbar-custom .nav-link {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: white;
}

/* Utilidades */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background-color: var(--dark-bg-color);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1rem;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--yellow-color);
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    background-color: var(--yellow-color);
    color: var(--dark-bg-color);
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Estilos para el contenido del curso */
.curso-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.leccion-header {
    background-color: var(--dark-bg-color);
    color: white;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: var(--border-radius);
}

.tema-item {
    background: white;
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.tema-titulo {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.video-wrapper {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .centered-container {
        margin: 20px auto;
        width: 90%;
    }
    
    .form-container {
        padding: 15px;
    }
}