/* ==========================================
   LRM STRENGTH SYSTEMS
   COURSE PAGE
========================================== */


/* ==========================================
   VARIABLES
========================================== */

:root {
    --red: #f11b1b;
    --red-dark: #b70e0e;

    --black: #070707;
    --dark: #111111;
    --gray-dark: #1a1a1a;

    --white: #ffffff;
    --gray: #999999;
}


/* ==========================================
   RESET
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: Arial, Helvetica, sans-serif;

    background: #ffffff;

    color: #111111;

    overflow-x: hidden;
}


/* ==========================================
   CONTAINER
========================================== */

.course-container {
    width: 90%;
    max-width: 1200px;

    margin: 0 auto;
}


/* ==========================================
   HEADER
========================================== */

.site-header {
    position: sticky;
    top: 0;

    width: 100%;

    background: #000000;

    border-bottom: 1px solid #222222;

    z-index: 1000;
}


.header-container {
    width: 90%;
    max-width: 1300px;

    min-height: 100px;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


.logo-link {
    display: flex;
    align-items: center;
}


.site-logo {
    height: 85px;
    width: auto;

    object-fit: contain;
}


.main-navigation {
    display: flex;
    align-items: center;

    gap: 28px;
}


.main-navigation a {
    color: white;

    text-decoration: none;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 1px;

    transition: color 0.25s ease;
}


.main-navigation a:hover,
.main-navigation a.active {
    color: var(--red);
}


/* ==========================================
   HERO
========================================== */

.course-hero {
    position: relative;

    min-height: 650px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #050505 0%,
            #181818 50%,
            #050505 100%
        );

    overflow: hidden;
}


/* Background design */

.course-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(241, 27, 27, 0.12),
            transparent 50%
        );
}


.course-hero::after {
    content: "";

    position: absolute;

    width: 700px;
    height: 700px;

    border: 1px solid rgba(241, 27, 27, 0.15);

    border-radius: 50%;
}


.course-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.2),
            rgba(0, 0, 0, 0.7)
        );
}


.course-hero-content {
    position: relative;

    z-index: 2;

    width: 90%;
    max-width: 1000px;
}


.hero-eyebrow,
.section-eyebrow {
    color: var(--red);

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 3px;

    margin-bottom: 18px;
}


.course-hero h1 {
    color: white;

    font-size: clamp(55px, 8vw, 105px);

    font-weight: 900;

    line-height: 0.9;

    letter-spacing: -4px;

    text-transform: uppercase;

    margin-bottom: 30px;
}


.course-hero h1 span {
    color: var(--red);

    display: block;
}


.hero-description {
    max-width: 650px;

    margin: 0 auto 35px;

    color: #aaaaaa;

    font-size: 18px;

    line-height: 1.7;
}


/* HERO BUTTONS */

.hero-buttons {
    display: flex;

    justify-content: center;

    gap: 15px;

    flex-wrap: wrap;
}


.primary-button,
.secondary-button {
    padding: 17px 28px;

    font-size: 13px;
    font-weight: 900;

    letter-spacing: 1px;

    text-decoration: none;

    transition: all 0.25s ease;
}


.primary-button {
    background: var(--red);

    color: white;
}


.primary-button:hover {
    background: white;

    color: black;

    transform: translateY(-3px);
}


.secondary-button {
    border: 2px solid #444;

    color: white;
}


.secondary-button:hover {
    border-color: var(--red);

    color: var(--red);
}


/* ==========================================
   COURSE INTRO
========================================== */

.course-intro {
    padding: 120px 20px;

    background: white;
}


.course-intro-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}


.course-main-image {
    position: relative;
}


.course-main-image::before {
    content: "";

    position: absolute;

    width: 100%;
    height: 100%;

    border: 3px solid var(--red);

    top: 20px;
    left: 20px;

    z-index: 0;
}


.course-main-image img {
    position: relative;

    width: 100%;

    display: block;

    z-index: 1;

    object-fit: cover;
}


.course-intro-content h2,
.section-header h2,
.modules-header h2,
.audience-content h2 {
    font-size: clamp(40px, 5vw, 65px);

    font-weight: 900;

    line-height: 0.95;

    letter-spacing: -2px;

    text-transform: uppercase;

    margin-bottom: 25px;
}


.course-intro-content h2 span,
.section-header h2 span,
.modules-header h2 span,
.audience-content h2 span {
    color: var(--red);
}


.course-intro-content p {
    color: #666;

    font-size: 16px;

    line-height: 1.8;

    margin-bottom: 20px;
}


/* COURSE STATS */

.course-stats {
    margin-top: 35px;

    display: grid;

    gap: 15px;
}


.course-stat {
    display: flex;

    align-items: center;

    gap: 20px;

    padding: 15px 0;

    border-bottom: 1px solid #dddddd;
}


.course-stat strong {
    color: var(--red);

    font-size: 13px;

    letter-spacing: 1px;
}


.course-stat span {
    font-weight: 700;

    color: #222;
}


/* ==========================================
   WHAT YOU WILL LEARN
========================================== */

.learn-section {
    padding: 120px 20px;

    background: #090909;

    color: white;
}


.section-header {
    max-width: 700px;

    margin: 0 auto 70px;

    text-align: center;
}


.section-header p:not(.section-eyebrow) {
    color: #888;

    font-size: 17px;

    line-height: 1.7;
}


.learn-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}


.learn-card {
    min-height: 300px;

    padding: 35px 28px;

    background: #111111;

    border: 1px solid #262626;

    transition: all 0.3s ease;
}


.learn-card:hover {
    transform: translateY(-10px);

    border-color: var(--red);
}


.learn-number {
    color: var(--red);

    font-size: 13px;

    font-weight: 900;

    letter-spacing: 2px;

    margin-bottom: 45px;
}


.learn-card h3 {
    font-size: 19px;

    font-weight: 900;

    line-height: 1.1;

    margin-bottom: 18px;
}


.learn-card p {
    color: #888;

    font-size: 14px;

    line-height: 1.7;
}


/* ==========================================
   MODULES
========================================== */

.modules-section {
    padding: 120px 20px;

    background: #f5f5f5;
}


.modules-header {
    margin-bottom: 60px;
}


.modules-list {
    border-top: 1px solid #cccccc;
}


.module {
    display: grid;

    grid-template-columns:
        100px 1fr 50px;

    gap: 30px;

    align-items: center;

    padding: 35px 10px;

    border-bottom: 1px solid #cccccc;

    transition: all 0.25s ease;
}


.module:hover {
    background: white;

    padding-left: 25px;
}


.module-number {
    color: var(--red);

    font-size: 18px;

    font-weight: 900;
}


.module-content h3 {
    font-size: 22px;

    font-weight: 900;

    margin-bottom: 10px;
}


.module-content p {
    color: #777;

    font-size: 15px;

    line-height: 1.6;
}


.module-arrow {
    color: var(--red);

    font-size: 30px;

    text-align: right;
}


/* ==========================================
   AUDIENCE SECTION
========================================== */

.audience-section {
    padding: 120px 20px;

    background: white;
}


.audience-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}


.audience-content > p:not(.section-eyebrow) {
    color: #666;

    font-size: 17px;

    line-height: 1.8;

    margin-bottom: 30px;
}


.audience-content ul {
    list-style: none;
}


.audience-content li {
    display: flex;

    align-items: center;

    gap: 15px;

    padding: 15px 0;

    border-bottom: 1px solid #dddddd;

    font-size: 16px;

    font-weight: 600;
}


.audience-content li span {
    color: var(--red);

    font-size: 20px;

    font-weight: 900;
}


/* QUOTE */

.audience-quote {
    padding: 60px;

    background: var(--red);

    color: white;
}


.quote-mark {
    display: block;

    font-size: 90px;

    line-height: 0.5;

    margin-bottom: 35px;

    color: black;
}


.audience-quote h3 {
    font-size: clamp(30px, 4vw, 50px);

    font-weight: 900;

    line-height: 1;

    margin-bottom: 25px;
}


.audience-quote p {
    font-size: 17px;

    line-height: 1.7;

    margin-bottom: 30px;
}


.audience-quote strong {
    color: black;

    font-size: 12px;

    letter-spacing: 1px;
}


/* ==========================================
   CTA
========================================== */

.course-cta {
    padding: 130px 20px;

    background: #050505;

    color: white;

    text-align: center;
}


.course-cta h2 {
    max-width: 950px;

    margin: 0 auto 25px;

    font-size: clamp(45px, 6vw, 80px);

    font-weight: 900;

    line-height: 0.95;

    letter-spacing: -3px;

    text-transform: uppercase;
}


.course-cta h2 span {
    color: var(--red);
}


.course-cta p:not(.section-eyebrow) {
    max-width: 600px;

    margin: 0 auto 35px;

    color: #888;

    font-size: 17px;

    line-height: 1.7;
}


.enroll-button {
    display: inline-block;

    padding: 20px 38px;

    background: var(--red);

    color: white;

    text-decoration: none;

    font-size: 14px;

    font-weight: 900;

    letter-spacing: 1px;

    transition: all 0.25s ease;
}


.enroll-button:hover {
    background: white;

    color: black;

    transform: translateY(-4px);
}


/* ==========================================
   FOOTER
========================================== */

.course-footer {
    padding-top: 60px;

    background: #000;

    color: white;
}


.footer-content {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding-bottom: 50px;
}


.footer-brand h3 {
    font-size: 24px;

    font-weight: 900;
}


.footer-brand h3 span {
    color: var(--red);
}


.footer-brand p {
    margin-top: 10px;

    color: #777;

    font-size: 14px;
}


.footer-links {
    display: flex;

    gap: 25px;

    flex-wrap: wrap;
}


.footer-links a {
    color: #888;

    text-decoration: none;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1px;

    transition: color 0.25s ease;
}


.footer-links a:hover {
    color: var(--red);
}


.footer-bottom {
    padding: 25px 20px;

    text-align: center;

    border-top: 1px solid #222;
}


.footer-bottom p {
    color: #555;

    font-size: 12px;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1000px) {

    .learn-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .course-intro-grid,
    .audience-grid {
        grid-template-columns: 1fr;
    }


    .course-main-image {
        max-width: 700px;

        margin: auto;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 768px) {

    .header-container {
        flex-direction: column;

        padding: 15px 0;
    }


    .site-logo {
        height: 70px;
    }


    .main-navigation {
        justify-content: center;

        flex-wrap: wrap;

        gap: 12px 18px;
    }


    .main-navigation a {
        font-size: 11px;
    }


    .course-hero {
        min-height: 550px;
    }


    .course-intro,
    .learn-section,
    .modules-section,
    .audience-section {
        padding: 80px 20px;
    }


    .module {
        grid-template-columns:
            50px 1fr;

        gap: 20px;
    }


    .module-arrow {
        display: none;
    }


    .audience-quote {
        padding: 45px 30px;
    }


    .footer-content {
        flex-direction: column;

        align-items: flex-start;
    }

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 500px) {

    .learn-grid {
        grid-template-columns: 1fr;
    }


    .course-hero h1 {
        letter-spacing: -2px;
    }


    .hero-buttons {
        flex-direction: column;

        width: 100%;
    }


    .primary-button,
    .secondary-button {
        width: 100%;

        text-align: center;
    }


    .module {
        grid-template-columns: 1fr;

        gap: 12px;
    }


    .module-number {
        margin-bottom: 5px;
    }

}