/* Tema 8 - Herramientas de representacion y validacion (Logica de Programacion)
   Pagina: eduPL7.php
   Estilo coherente con temas anteriores: fondo oscuro, texto claro y titulos en verde. */

:root {
    --vco-green: #00c853;
    --vco-black: #000000;
    --vco-black-soft: #111111;
    --vco-black-alt: #0c0c0c;
    --vco-black-deep: #080808;
    --vco-white: #ffffff;
    --vco-gray: rgba(255, 255, 255, 0.82);
}

body {
    background-color: var(--vco-black);
    color: var(--vco-white);
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 400;
    overflow-x: hidden;
}

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

/* =============================
   Hero compacto
   ============================= */
.vco-hero {
    position: relative;
    background: radial-gradient(circle at top, rgba(0, 200, 83, 0.08), rgba(0, 0, 0, 0.9)),
        linear-gradient(135deg, #050505 0%, #0d0d0d 50%, #060606 100%);
    padding: 56px 0;
    min-height: 38vh;
    max-height: 45vh;
    text-align: center;
    display: flex;
    align-items: center;
}

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

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

.vco-hero-title {
    display: inline-block;
    border: 2px solid var(--vco-white);
    padding: 16px 28px;
    margin: 12px 0 10px 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 20px;
}

.vco-hero-subtitle {
    color: var(--vco-green);
    font-size: 22px;
    margin-bottom: 12px;
}

.vco-hero-text {
    max-width: 820px;
    margin: 0 auto 12px auto;
    font-size: 16px;
    line-height: 1.7;
    color: var(--vco-gray);
}

.vco-hero-actions {
    margin-top: 14px;
}

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

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

/* =============================
   Secciones base
   ============================= */
.vco-section {
    padding: 64px 20px;
    text-align: center;
    color: var(--vco-white);
}

.vco-section-title {
    color: var(--vco-green);
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 0.4px;
}

.vco-section-text {
    max-width: 880px;
    margin: 0 auto 18px auto;
    font-size: 16px;
    line-height: 1.75;
    color: var(--vco-gray);
}

.vco-section-one {
    background-color: var(--vco-black-alt);
}

.eduPL7-imgRef {
    display: flex;
    justify-content: center;
    margin: 24px 0 32px;
}

.eduPL7-imgRef figure {
    margin: 0;
    text-align: center;
}

.eduPL7-imgRef img {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(46, 255, 122, 0.18);
    display: block;
}

.eduPL7-imgCaption {
    margin-top: 10px;
    font-size: 0.9rem;
    opacity: 0.85;
    text-align: center;
}

.vco-section-two {
    background-color: var(--vco-black-soft);
}

.vco-section-three {
    background-color: var(--vco-black-deep);
}

.vco-section-four {
    background-color: var(--vco-black-soft);
}

.vco-section-closing {
    background-color: var(--vco-black-deep);
}

/* Cards, grids y bloques */
.vco-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 18px auto 0 auto;
    max-width: 980px;
    text-align: left;
}

.vco-card {
    background-color: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.vco-card-accent {
    border-color: rgba(0, 200, 83, 0.25);
    background: linear-gradient(180deg, rgba(12, 12, 12, 0.98), rgba(10, 10, 10, 0.95));
}

.vco-card-title {
    margin: 0 0 8px 0;
    color: var(--vco-green);
    font-weight: 700;
    font-size: 16px;
}

.vco-card-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
}

.vco-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.vco-list li {
    margin: 8px 0;
    padding-left: 20px;
    position: relative;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.vco-list li::before {
    content: '*';
    position: absolute;
    left: 0;
    color: var(--vco-green);
    font-size: 18px;
}

.vco-code-card {
    border-color: rgba(0, 200, 83, 0.2);
    background: rgba(0, 200, 83, 0.06);
}

.vco-code-line {
    margin: 0 0 6px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.92);
    font-family: 'Courier New', monospace;
}

.vco-code-line:last-child {
    margin-bottom: 0;
}

.vco-steps-card {
    max-width: 860px;
    margin: 18px auto 0 auto;
    text-align: left;
}

.vco-steps {
    margin: 0;
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.7;
}

.vco-steps li {
    margin: 6px 0;
}

.vco-section-closer {
    margin: 18px auto 0 auto;
    max-width: 820px;
    font-size: 16px;
    color: var(--vco-gray);
}

/* Boton final */
.vco-next-wrapper {
    margin-top: 26px;
    text-align: center;
}

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

.vco-next-btn-lg {
    padding: 14px 34px;
    font-size: 16px;
}

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

/* =============================
   Responsivo
   ============================= */
@media (max-width: 900px) {
    .vco-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .vco-hero {
        padding: 48px 0;
        min-height: 32vh;
        max-height: none;
    }

    .vco-hero-title {
        font-size: 18px;
        padding: 14px 18px;
        letter-spacing: 1.5px;
    }

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

    .vco-hero-text {
        font-size: 15px;
    }

    .vco-section {
        padding: 56px 16px;
    }

    .vco-section-title {
        font-size: 26px;
    }
}
