/* ============================================================
   ORE Academy — Courses Page Stylesheet
   Companion to style.css (global). Courses-specific only.
   ============================================================ */

/* =====================
   HERO
   ===================== */
.mega-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 88vh;
}

.hero-image-block {
    background: linear-gradient(rgba(20, 22, 60, 0.7), rgba(20, 22, 60, 0.7)),
                url('images/Electrical-Engineering.webp') center / cover no-repeat;
    display: flex;
    align-items: flex-end;
    padding: 50px;
}

.hero-outline-text {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.5);
    letter-spacing: -3px;
    margin: 0;
    user-select: none;
}

.hero-copy-block {
    background: #fff;
    display: flex;
    align-items: center;
    padding: 80px 65px;
    border-left: 2px solid #c58b43;
}

.inner-content {
    max-width: 480px;
}

.eyebrow {
    display: block;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #c58b43;
    margin-bottom: 16px;
}

.main-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 900;
    color: #40439c;
    line-height: 1.15;
    text-align: left;
    margin-bottom: 18px;
}

.gold-accent {
    color: #c58b43;
}

.inner-content > p {
    font-size: 1rem;
    line-height: 1.75;
    color: #555;
    margin-bottom: 32px;
}

.hero-btn-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* =====================
   CATALOG / FEATURE ROWS
   ===================== */
.catalog-section {
    padding: 80px 0;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 440px;
    border-bottom: 1px solid #eee;
}

/* Image panel */
.feature-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 300px;
}

/* Info panel */
.feature-info {
    background: #fff;
    padding: 55px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    border-bottom: 2px solid #c58b43;
    position: relative;
}

/* Reversed rows: image right, info left */
.feature-row.row-reverse .feature-image {
    order: 1;
}

.feature-row.row-reverse .feature-info {
    border-bottom: none;
    border-right: 2px solid #c58b43;
    order: 0;
}

/* Gold eyebrow tag */
.gold-tag {
    display: inline-block;
    background: #c58b43;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 4px 12px;
    align-self: flex-start;
}

.feature-info h2 {
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    font-weight: 900;
    color: #40439c;
    text-align: left;
    margin: 0;
    line-height: 1.2;
}

.feature-info > p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* Trade chips */
.trade-chip-container {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.trade-chip-container span {
    background: #f0f1ff;
    color: #40439c;
    font-size: 0.73rem;
    font-weight: 700;
    padding: 4px 11px;
    border: 1px solid rgba(64, 67, 156, 0.15);
    text-align: center;
}

/* CTA link */
.industrial-link {
    color: #c58b43;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    align-self: flex-start;
    border-bottom: 2px solid #c58b43;
    padding-bottom: 2px;
    transition: opacity 0.2s;
}

.industrial-link:hover {
    opacity: 0.75;
}

/* =====================
   SCROLL REVEAL
   ===================== */
[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* =====================
   RESPONSIVE
   ===================== */

@media (max-width: 960px) {
    .mega-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-image-block {
        min-height: 45vh;
        align-items: center;
        justify-content: center;
        padding: 40px;
    }

    .hero-copy-block {
        padding: 55px 40px;
        border-left: none;
        border-top: 5px solid #c58b43;
    }

    .feature-row {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    /* Image always on top regardless of row-reverse */
    .feature-image {
        min-height: 260px;
        order: 0 !important;
    }

    .feature-info {
        order: 1 !important;
        border-left: 5px solid #c58b43 !important;
        border-right: none !important;
        padding: 40px 30px;
    }

    .main-title {
    text-align: center;
    }
}

@media (max-width: 600px) {
    .hero-image-block {
        min-height: 35vh;
    }

    .hero-copy-block {
        padding: 45px 22px;
    }

    .hero-btn-group {
        flex-direction: column;
    }

    .hero-btn-group .button {
        text-align: center;
        width: 100%;
    }

    .catalog-section {
        padding: 50px 0;
    }

    .feature-info {
        padding: 32px 20px;
        gap: 12px;
    }

    .feature-info h2 {
        font-size: 1.25rem;
    }

    .main-title {
    text-align: center;
    }
}