/* ==========================================
   ZARA K. REED
   LEARN WITH ME
   ENGLISH
   style-language.css
========================================== */


/* ==========================================
   BASE
========================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: #0d0d0d;
    color: #e0e6ed;

    font-family: Arial, Helvetica, sans-serif;

    line-height: 1.8;
}

a {
    transition: .25s ease;
}


/* ==========================================
   HEADER / HERO
========================================== */

.language-header {
    position: relative;

    max-width: 1180px;

    margin: 0 auto;

    padding: 40px 30px 100px;

    border-bottom: 1px solid #1a1a1a;
}

.language-header-inner {
    max-width: 1050px;

    margin: 0 auto;
}

.back-link {
    display: inline-block;

    margin-bottom: 85px;

    color: #ffb703;

    text-decoration: none;

    font-weight: bold;
}

.back-link:hover {
    opacity: .75;
}

.hero-content {
    max-width: 900px;
}

.eyebrow,
.section-label {
    display: block;

    color: #ffb703;

    font-size: .75rem;

    text-transform: uppercase;

    letter-spacing: 3px;

    font-weight: bold;
}

.hero-content h1 {
    margin: 18px 0 12px;

    color: #ffffff;

    font-size: clamp(3rem, 7vw, 6.5rem);

    line-height: .95;

    font-weight: 700;

    letter-spacing: -3px;
}

.hero-subtitle {
    margin: 0 0 30px;

    color: #c4ccd6;

    font-size: clamp(1.1rem, 2vw, 1.4rem);

    font-style: italic;
}

.hero-intro {
    max-width: 760px;

    margin: 0;

    color: #9da8b5;

    font-size: 1rem;

    line-height: 1.9;
}


/* ==========================================
   MAIN
========================================== */

.language-section {
    max-width: 1180px;

    margin: 0 auto;

    padding: 90px 30px 20px;
}


/* ==========================================
   INTRO
========================================== */

.intro-section {
    max-width: 820px;

    margin: 0 auto 80px;

    text-align: center;
}

.intro-section h2 {
    margin: 18px 0 22px;

    padding: 0;

    color: #ffffff;

    font-size: clamp(2rem, 4vw, 3.3rem);

    line-height: 1.15;

    border: none;
}

.intro-section p {
    margin: 0;

    color: #929eac;

    line-height: 1.9;
}


/* ==========================================
   LANGUAGE GRID
========================================== */

.language-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 24px;
}


/* ==========================================
   LANGUAGE CARDS
========================================== */

.language-card {
    position: relative;

    min-height: 420px;

    overflow: hidden;

    border: 1px solid #242424;

    background:
        linear-gradient(
            145deg,
            #151515 0%,
            #0f0f0f 55%,
            #11151d 100%
        );

    transition:
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;
}

.language-card::before {
    content: "";

    position: absolute;

    inset: 0;

    opacity: .12;

    background:
        linear-gradient(
            135deg,
            transparent 35%,
            #ffb703 35%,
            #ffb703 36%,
            transparent 36%
        );

    transition: opacity .35s ease;
}

.language-card:hover {
    transform: translateY(-6px);

    border-color: rgba(255, 183, 3, .65);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, .35);
}

.language-card:hover::before {
    opacity: .2;
}

.card-overlay {
    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(255, 183, 3, .12),
            transparent 35%
        );

    pointer-events: none;
}

.language-content {
    position: relative;

    z-index: 2;

    min-height: 420px;

    padding: 42px;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;
}

.card-number {
    position: absolute;

    top: 30px;

    right: 35px;

    color: #3a3a3a;

    font-size: 4.5rem;

    font-weight: bold;

    line-height: 1;
}

.card-category {
    margin-bottom: 12px;

    color: #ffb703;

    font-size: .72rem;

    text-transform: uppercase;

    letter-spacing: 2px;

    font-weight: bold;
}

.language-content h3 {
    margin: 0 0 14px;

    padding: 0;

    color: #ffffff;

    font-size: clamp(2rem, 4vw, 3rem);

    line-height: 1.05;

    border: none;
}

.language-content p {
    max-width: 580px;

    margin: 0 0 28px;

    color: #9da8b5;

    line-height: 1.8;
}


/* ==========================================
   LINKS
========================================== */

.language-link {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    width: fit-content;

    color: #ffb703;

    text-decoration: none;

    font-weight: bold;

    font-size: .9rem;

    letter-spacing: .3px;
}

.language-link span {
    font-size: 1.2rem;

    transition: transform .25s ease;
}

.language-link:hover {
    color: #ffffff;
}

.language-link:hover span {
    transform: translateX(5px);
}


/* ==========================================
   CARD DIFFERENTIATION
========================================== */

.vocabulary-card {
    background:
        linear-gradient(
            145deg,
            #161616 0%,
            #101010 65%,
            #17130b 100%
        );
}

.stories-card {
    background:
        linear-gradient(
            145deg,
            #121518 0%,
            #0e1012 65%,
            #17150f 100%
        );
}

.grammar-card {
    background:
        linear-gradient(
            145deg,
            #141414 0%,
            #101010 65%,
            #151515 100%
        );
}

.teaching-card {
    background:
        linear-gradient(
            145deg,
            #171414 0%,
            #101010 65%,
            #17130b 100%
        );
}


/* ==========================================
   COMING SOON
========================================== */

.coming-soon {
    display: inline-block;

    width: fit-content;

    color: #7d8590;

    font-size: .72rem;

    text-transform: uppercase;

    letter-spacing: 2px;

    font-weight: bold;
}


/* ==========================================
   APPROACH / JOURNEY
========================================== */

.language-journey {
    margin: 110px auto 0;

    padding: 80px 0;

    border-top: 1px solid #202020;

    border-bottom: 1px solid #202020;
}

.journey-content {
    max-width: 820px;

    margin: 0 auto;

    text-align: center;
}

.journey-content h2 {
    margin: 18px 0 28px;

    padding: 0;

    color: #ffffff;

    font-size: clamp(2rem, 4vw, 3.2rem);

    line-height: 1.15;

    border: none;
}

.journey-content p {
    margin: 0 0 22px;

    color: #929eac;

    line-height: 1.9;
}

.journey-content p:last-child {
    margin-bottom: 0;
}

.journey-content strong {
    color: #dfe4ea;
}


/* ==========================================
   CLOSING
========================================== */

.closing-section {
    max-width: 800px;

    margin: 110px auto 80px;

    text-align: center;
}

.closing-line {
    width: 55px;

    height: 2px;

    margin: 0 auto 35px;

    background: #ffb703;
}

.closing-section h2 {
    margin: 0 0 25px;

    padding: 0;

    color: #ffffff;

    font-size: clamp(2rem, 4vw, 3.2rem);

    line-height: 1.15;

    border: none;
}

.closing-section p {
    margin: 0;

    color: #8f9aa8;

    line-height: 1.9;
}


/* ==========================================
   FOOTER
========================================== */

.language-footer {
    max-width: 1180px;

    margin: 0 auto;

    padding: 45px 30px 35px;

    border-top: 1px solid #1a1a1a;

    text-align: center;
}

.footer-inner {
    max-width: 760px;

    margin: 0 auto;
}

.footer-statement {
    margin: 0;

    color: #6f7885;

    font-size: .95rem;

    line-height: 1.8;
}

.copyright {
    margin: 25px 0 0;

    color: #555d68;

    font-size: .85rem;
}

/* ==========================================
   ALPHABET GRID
========================================== */

.alphabet-grid {
    display: grid;

    grid-template-columns: repeat(7, 1fr);

    gap: 12px;

    margin-top: 35px;
}

.letter-btn {
    display: flex;

    align-items: center;

    justify-content: center;

    min-height: 58px;

    border: 1px solid #2a2a2a;

    background: rgba(255, 255, 255, .025);

    color: #dfe4ea;

    text-decoration: none;

    font-size: 1rem;

    font-weight: bold;

    letter-spacing: 1px;

    transition:
        background .25s ease,
        border-color .25s ease,
        color .25s ease,
        transform .25s ease;
}

.letter-btn:hover {
    background: rgba(255, 183, 3, .08);

    border-color: rgba(255, 183, 3, .65);

    color: #ffb703;

    transform: translateY(-3px);
}


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

@media (max-width: 800px) {

    .alphabet-grid {
        grid-template-columns: repeat(6, 1fr);
    }

}


@media (max-width: 600px) {

    .alphabet-grid {
        grid-template-columns: repeat(4, 1fr);

        gap: 10px;
    }

    .letter-btn {
        min-height: 52px;
    }

}


@media (max-width: 400px) {

    .alphabet-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 800px) {

    .language-header {
        padding: 30px 22px 75px;
    }

    .back-link {
        margin-bottom: 60px;
    }

    .language-section {
        padding: 70px 22px 10px;
    }

    .language-grid {
        grid-template-columns: 1fr;
    }

    .language-card,
    .language-content {
        min-height: 380px;
    }

    .language-content {
        padding: 32px;
    }

    .language-journey {
        margin-top: 80px;

        padding: 65px 0;
    }

    .closing-section {
        margin: 80px auto 65px;
    }

    .language-footer {
        padding-left: 22px;

        padding-right: 22px;
    }

}


@media (max-width: 500px) {

    .language-header {
        padding-top: 25px;
    }

    .hero-content h1 {
        letter-spacing: -2px;
    }

    .language-content {
        padding: 28px;
    }

    .card-number {
        top: 22px;

        right: 25px;

        font-size: 3.5rem;
    }

    .language-card,
    .language-content {
        min-height: 400px;
    }

}