/* Tema 6 - Manipulación de datos y expresiones (Lógica de Programación)
   Página: eduPL5.php
   Estilo coherente con temas anteriores: fondo oscuro, texto claro y títulos en verde. */

:root {
    --dexp-green: #00c853;
    --dexp-black: #000000;
    --dexp-black-soft: #101010;
    --dexp-black-alt: #080808;
    --dexp-black-mid: #0b0b0b;
    --dexp-white: #ffffff;
}

/* Reset básico para esta página */
body {
    background-color: var(--dexp-black);
    color: var(--dexp-white);
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5 {
    color: var(--dexp-white);
    font-weight: 700;
}

/* =============================
   Hero compacto / Introducción
   ============================= */
.dexp-hero {
    position: relative;
	background: url('../images/edu/eduPL/bg-eduPL.png') center center no-repeat;
    background-size: cover;
    padding-top: 80px;
    padding-bottom: 90px; /* compacto, sin ocupar 100vh */
    text-align: center;
    color: var(--dexp-white);
}

.dexp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.95));
    z-index: 1;
}

.dexp-hero .container,
.dexp-hero .row,
.dexp-hero-content {
    position: relative;
    z-index: 2;
}

.dexp-hero-title {
    display: inline-block;
    border: 2px solid var(--dexp-white);
    padding: 22px 36px;
    margin: 28px 0 14px 0;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 22px;
}

.dexp-hero-subtitle {
    color: var(--dexp-green);
    font-size: 24px;
    margin-bottom: 16px;
}

.dexp-hero-text {
    max-width: 780px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.8;
}

.dexp-hero-btn {
    margin-top: 32px;
    background: transparent;
    border: 2px solid var(--dexp-white);
    color: var(--dexp-white);
    font-size: 16px;
    font-weight: 600;
    width: 200px;
    height: 52px;
    padding-top: 14px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.dexp-hero-btn:hover,
.dexp-hero-btn:focus {
    background: var(--dexp-green);
    border-color: var(--dexp-green);
    color: var(--dexp-black);
}

/* =============================
   Secciones base
   ============================= */
.dexp-section {
    padding: 52px 20px; /* moderado, sin espacios enormes */
    text-align: center;
    color: var(--dexp-white);
}

.dexp-section-title {
    color: var(--dexp-green);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.dexp-section-text {
    max-width: 880px;
    margin: 0 auto 16px auto;
    font-size: 16px;
    line-height: 1.8;
}

/* Sección 2 - Captura y almacenamiento */
.dexp-section-capture {
    background-color: #050505;
}

/* Sección 3 - Procesamiento de datos */
.dexp-section-process {
    background-color: var(--dexp-black-soft);
}

/* Sección 4 - Verificación de resultados */
.dexp-section-verify {
    background-color: var(--dexp-black-mid);
}

/* Sección 5 - Presentación de información */
.dexp-section-present {
    background-color: var(--dexp-black-alt);
}

/* Sección 6 - Cierre */
.dexp-section-closing {
    background-color: #050505;
}

/* Listas y ejemplos en secciones */
.dexp-list-block {
    max-width: 720px;
    margin: 26px auto 0 auto;
    text-align: left;
}

.dexp-example-text {
    font-size: 15px;
    line-height: 1.8;
    margin: 16px 0;
}

.dexp-mini-list {
    margin-top: 16px;
    padding-left: 0;
}

.dexp-mini-list p {
    font-size: 15px;
    line-height: 1.7;
    margin: 8px 0;
    padding-left: 0;
}

/* Ítems con iconografía */
.dexp-item {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 14px;
}

.dexp-ico {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--dexp-green);
    flex: 0 0 28px;
    font-size: 20px;
}

.dexp-ico svg {
    width: 28px;
    height: 28px;
}

.dexp-txt {
    color: var(--dexp-white);
    font-size: 16px;
    line-height: 1.6;
}

.dexp-note-brief {
    margin-top: 12px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.95);
}

/* =============================
   Sección Verificación de resultados - Layout 2 columnas
   ============================= */
.eduPL5-verif-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 32px;
}

.eduPL5-verif-text {
    text-align: left;
}

.eduPL5-verif-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.eduPL5-verif-img {
    max-width: 480px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
    display: block;
}

/* Botón de continuidad (reutiliza criterio visual de otros temas) */
.dexp-next-wrapper {
    margin-top: 32px;
    text-align: center;
}

.dexp-next-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    border: 2px solid var(--dexp-green);
    color: var(--dexp-green) !important;
    background-color: transparent;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    letter-spacing: 0.5px;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.dexp-next-btn:hover,
.dexp-next-btn:focus {
    background-color: var(--dexp-green);
    color: var(--dexp-black) !important;
    border-color: var(--dexp-green);
}

/* =============================
   Sección 5 - Grid de Cards (Presentación de información)
   ============================= */
.eduPL5-present-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 32px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.eduPL5-present-card {
    background-color: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 18px 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    text-align: left;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.eduPL5-present-card:hover {
    border-color: rgba(0, 200, 83, 0.3);
    box-shadow: 0 6px 18px rgba(0, 200, 83, 0.15);
}

.eduPL5-present-icon {
    color: var(--dexp-green);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 12px;
    flex: 0 0 auto;
}

.eduPL5-present-icon svg {
    width: 24px;
    height: 24px;
}

.eduPL5-present-subtitle {
    color: var(--dexp-white);
    font-size: 16px;
    font-weight: 600;
    margin: 8px 0 12px 0;
    letter-spacing: 0.3px;
    flex: 0 0 auto;
}

.eduPL5-present-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

/* =============================
   Responsivo
   ============================= */
@media (max-width: 992px) {
    /* Sin cambios, se adapta bien */
}

@media (max-width: 768px) {
    .dexp-hero {
        padding-top: 70px;
        padding-bottom: 78px;
    }

    .dexp-hero-title {
        font-size: 20px;
        padding: 18px 22px;
        letter-spacing: 3px;
    }

    .dexp-hero-subtitle {
        font-size: 20px;
    }

    .dexp-hero-text {
        font-size: 16px;
    }

    .dexp-section {
        padding: 48px 18px;
    }

    .dexp-section-title {
        font-size: 28px;
    }

    .dexp-list-block {
        padding: 0 12px;
    }

    /* Layout responsivo para verificación de resultados */
    .eduPL5-verif-wrap {
        display: flex;
        flex-direction: column;
        gap: 28px;
    }

    .eduPL5-verif-text {
        text-align: center;
    }

    .eduPL5-verif-image {
        justify-content: center;
    }

    .eduPL5-verif-img {
        max-width: 360px;
    }

    /* Responsivo para grid de cards */
    .eduPL5-present-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .eduPL5-present-card {
        padding: 16px 16px;
    }

    .eduPL5-present-subtitle {
        font-size: 15px;
    }

    .eduPL5-present-text {
        font-size: 13px;
    }
}
