/* ============================================
   ANNIE SOPER SCHOOL - CURSOS PAGE STYLES
   ============================================
   Este archivo maneja todos los estilos visuales:
   colores, fondos, tarjetas, áreas de aprendizaje y efectos.
   La estructura y responsividad están manejadas por Bootstrap.
*/

/* ========== 1. VARIABLES GLOBALES ========== */
:root {
    --primary-green: #2c5e2e;
    --primary-green-dark: #1f4521;
    --primary-green-light: #e8f0e8;
    --accent-gold: #ffc107;
    --accent-gold-dark: #e0a800;
    --neutral-light: #f8f9fa;
    --neutral-gray: #6c757d;
    --white: #ffffff;
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

/* ========== 2. HERO SECTION ========== */
.hero-section-cursos {
    background: linear-gradient(135deg, 
                rgba(27, 60, 34, 0.85) 0%, 
                rgba(27, 60, 34, 0.75) 100%), 
                url('/anniesoper/assets/img/login1.webp') center/cover no-repeat;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

/* ========== 3. TARJETAS DE NIVELES ========== */
.nivel-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.nivel-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg) !important;
}

.nivel-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nivel-card:hover .nivel-icon {
    background-color: var(--primary-green);
}

.nivel-card:hover .nivel-icon i {
    color: var(--white) !important;
}

.curso-item {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
}

.curso-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* ========== 4. ÁREAS DE APRENDIZAJE ========== */
.bg-cursos-section {
    background-color: var(--primary-green-light);
}

.area-card {
    background-color: var(--white);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.area-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-green);
}

.area-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.area-card:hover .area-icon {
    background-color: var(--primary-green);
}

.area-card:hover .area-icon i {
    color: var(--white) !important;
}

/* ========== 5. METODOLOGÍA ========== */
.metodologia-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.metodologia-quote {
    position: relative;
    border-left: 4px solid var(--primary-green);
}

/* ========== 6. TALLERES EXTRACURRICULARES ========== */
.taller-card {
    background-color: var(--white);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.taller-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-green);
    background-color: var(--primary-green-light);
}

.taller-card i {
    transition: transform 0.3s ease;
}

.taller-card:hover i {
    transform: scale(1.1);
}

/* ========== 7. CTA SECTION ========== */
.cta-cursos-section {
    background: linear-gradient(135deg, var(--primary-green-dark), var(--primary-green));
}

/* ========== 8. BOTONES PERSONALIZADOS ========== */
.btn-custom-primary {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.btn-custom-primary:hover {
    background-color: var(--primary-green-dark);
    border-color: var(--primary-green-dark);
    transform: translateY(-2px);
    color: var(--white);
}

/* ========== 9. RESPONSIVE AJUSTES ========== */
@media (max-width: 992px) {
    .hero-section-cursos {
        min-height: 50vh;
    }
    
    .nivel-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-section-cursos {
        min-height: 45vh;
    }
    
    .area-card {
        margin-bottom: 1rem;
    }
    
    .taller-card {
        margin-bottom: 1rem;
    }
    
    .metodologia-quote {
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section-cursos {
        min-height: 40vh;
    }
    
    .btn-custom-primary,
    .btn-warning,
    .btn-outline-light {
        width: 100%;
        text-align: center;
    }
    
    .d-flex.justify-content-center {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .nivel-icon,
    .area-icon {
        width: 60px;
        height: 60px;
    }
    
    .nivel-icon i,
    .area-icon i {
        font-size: 1.75rem !important;
    }
}