/* =========================================================
   VITHAAA ACADEMY
   GLOBAL DESIGN SYSTEM

   Change colours/fonts here later.
   ========================================================= */

:root {

    /* MAIN HUB COLOURS */

    --gold-dark: #806515;
    --gold: #d4af37;
    --gold-light: #f3df82;

    --background: #f7f6f1;
    --surface: #ffffff;

    --text: #20242d;
    --muted: #6b7280;

    --border: #e6e3d8;


    /* SUBJECT COLOURS */

    --tlevel: #2563eb;

    --btec: #0f8a6c;

    --computing: #7c3aed;

    --autocad: #d46524;


    /* TYPOGRAPHY */

    --font-main:
        Arial,
        Helvetica,
        sans-serif;


    /* LAYOUT */

    --page-width: 1180px;

    --radius: 18px;

}


/* =========================================================
   BASE
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    margin: 0;

    font-family: var(--font-main);

    background: var(--background);

    color: var(--text);

    line-height: 1.55;
}


/* =========================================================
   HEADER
   ========================================================= */

.main-header {

    background: #171a21;

    color: white;

    padding: 16px 28px;
}


.header-inner {

    max-width: var(--page-width);

    margin: auto;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;
}


.brand {

    display: flex;

    align-items: center;

    gap: 13px;
}


.logo-placeholder {

    width: 48px;

    height: 48px;

    border: 2px solid var(--gold);

    color: var(--gold);

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 10px;

    font-weight: bold;

    letter-spacing: 1px;
}


.brand-name {

    font-weight: 800;

    letter-spacing: 4px;

    font-size: 17px;
}


.brand-subtitle {

    color: #adb3bf;

    font-size: 11px;

    letter-spacing: 3px;
}


/* =========================================================
   CLOCK
   ========================================================= */

.clock-box {

    text-align: right;
}


#london-time {

    font-size: 20px;

    font-weight: bold;

    color: var(--gold-light);
}


#london-date {

    font-size: 13px;

    color: #e4e5e8;
}


.clock-location {

    font-size: 10px;

    color: #8e96a5;

    margin-top: 2px;

    text-transform: uppercase;

    letter-spacing: 1px;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {

    background:

        linear-gradient(
            135deg,
            var(--gold-dark) 0%,
            var(--gold) 47%,
            var(--gold-light) 100%
        );

    min-height: 420px;

    display: flex;

    align-items: center;

    padding: 65px 28px;
}


.hero-inner {

    max-width: var(--page-width);

    width: 100%;

    margin: auto;
}


.hero-label {

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 3px;

    margin-bottom: 18px;
}


.hero h1 {

    margin: 0;

    font-size: clamp(
        48px,
        7vw,
        82px
    );

    line-height: 0.98;

    letter-spacing: -3px;

    max-width: 850px;
}


.hero p {

    font-size: 19px;

    max-width: 680px;

    margin-top: 22px;
}


/* =========================================================
   SUBJECT SECTION
   ========================================================= */

.subjects-section {

    max-width: var(--page-width);

    margin: auto;

    padding: 60px 28px;
}


.section-heading {

    margin-bottom: 30px;
}


.section-heading h2 {

    font-size: 34px;

    margin: 0 0 5px;
}


.section-heading p {

    color: var(--muted);

    margin: 0;
}


.subject-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 24px;
}


/* =========================================================
   CARDS
   ========================================================= */

.subject-card {

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    overflow: hidden;

    box-shadow:
        0 10px 35px
        rgba(20, 25, 35, 0.06);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.subject-card:hover {

    transform:
        translateY(-4px);

    box-shadow:
        0 18px 45px
        rgba(20, 25, 35, 0.11);
}


.subject-colour {

    height: 9px;
}


.subject-content {

    padding: 28px;
}


.subject-tag {

    font-size: 11px;

    font-weight: bold;

    letter-spacing: 2px;

    margin-bottom: 13px;
}


.subject-card h3 {

    margin: 0 0 12px;

    font-size: 26px;

    line-height: 1.25;
}


.subject-card p {

    color: var(--muted);

    margin-bottom: 20px;
}


.current-focus {

    background: #f6f7f9;

    border-radius: 10px;

    padding: 13px;

    margin-bottom: 22px;

    color: #555d6c;

    font-size: 14px;
}


.coming-soon {

    color: var(--muted);

    margin-bottom: 22px;

    font-size: 14px;

    font-weight: bold;
}


/* =========================================================
   SUBJECT COLOUR THEMES
   ========================================================= */

.tlevel .subject-colour,
.tlevel .subject-button {

    background: var(--tlevel);
}

.tlevel .subject-tag {

    color: var(--tlevel);
}


.btec .subject-colour,
.btec .subject-button {

    background: var(--btec);
}

.btec .subject-tag {

    color: var(--btec);
}


.computing .subject-colour,
.computing .subject-button {

    background: var(--computing);
}

.computing .subject-tag {

    color: var(--computing);
}


.autocad .subject-colour,
.autocad .subject-button {

    background: var(--autocad);
}

.autocad .subject-tag {

    color: var(--autocad);
}


/* =========================================================
   BUTTONS
   ========================================================= */

.subject-button {

    display: inline-block;

    color: white;

    text-decoration: none;

    padding: 11px 18px;

    border-radius: 9px;

    font-weight: bold;

    transition: opacity 0.2s;
}


.subject-button:hover {

    opacity: 0.86;
}


/* =========================================================
   CURRENT PRIORITY
   ========================================================= */

.priority-section {

    max-width: var(--page-width);

    margin: 0 auto 70px;

    padding: 32px;

    background: #171a21;

    color: white;

    border-left: 8px
        solid var(--gold);

    border-radius: var(--radius);

    display: flex;

    align-items: center;

    justify-content:
        space-between;

    gap: 30px;
}


.priority-label {

    color: var(--gold);

    font-size: 11px;

    letter-spacing: 2px;

    font-weight: bold;
}


.priority-section h2 {

    margin:
        7px 0 3px;
}


.priority-section p {

    margin: 0;

    color: #c7cbd4;
}


.priority-button {

    background:
        var(--gold);

    color: #171a21;

    padding:
        13px 20px;

    border-radius: 10px;

    text-decoration: none;

    font-weight: bold;

    white-space: nowrap;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {

    background: white;

    border-top:
        1px solid var(--border);

    padding: 28px;

    text-align: center;

    font-weight: bold;
}


.footer-small {

    font-size: 11px;

    color: var(--muted);

    margin-top: 4px;

    letter-spacing: 1px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media
(max-width: 760px) {

    .header-inner {

        align-items:
            flex-start;
    }


    .clock-box {

        font-size: 11px;
    }


    .subject-grid {

        grid-template-columns:
            1fr;
    }


    .priority-section {

        margin-left: 20px;

        margin-right: 20px;

        flex-direction:
            column;

        align-items:
            flex-start;
    }


    .hero {

        min-height:
            340px;
    }


    .hero h1 {

        letter-spacing:
            -2px;
    }

}
