/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #111827;
    background: #ffffff;
    line-height: 1.45;
}


/* =========================================================
   COLORS
========================================================= */

:root {
    --burgundy: #7c1422;
    --burgundy-dark: #650e19;
    --gold: #e4bd4c;
    --silver: #d0d1d3;
    --text: #101828;
    --white: #ffffff;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    width: 100%;
    height: 145px;
    background: var(--burgundy);
}

.header-inner {
    width: min(1140px, calc(100% - 80px));
    height: 100%;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
    text-decoration: none;
    display: inline-block;
}

.logo-main {
    position: relative;

    color: var(--burgundy);
    background: white;

    font-family: Arial Black, Arial, sans-serif;
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -4px;

    padding: 0 12px 2px 10px;

    border-radius: 24px;

    -webkit-text-stroke: 2px white;

    text-shadow:
        0 0 0 var(--burgundy),
        3px 3px 0 white,
        -3px -3px 0 white;

    /* Gives the logo a similar outlined appearance */
    border: 4px solid white;

    line-height: 1;
}


/* =========================================================
   NAVIGATION
========================================================= */

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav a {
    color: white;
    text-decoration: none;

    font-family: Impact, "Arial Narrow Bold", sans-serif;
    font-size: 48px;
    letter-spacing: 2px;

    transition: opacity 0.2s ease;
}

.main-nav a:hover {
    opacity: 0.75;
}


/* =========================================================
   MAIN CONTENT
========================================================= */

.hero {
    width: min(1140px, calc(100% - 80px));
    margin: 0 auto;

    padding-top: 40px;
    padding-bottom: 60px;
}

.hero h1 {
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;

    margin-bottom: 26px;
}

.intro {
    font-size: 23px;
    line-height: 1.32;

    max-width: 1030px;

    margin-bottom: 26px;
}


/* =========================================================
   MEMBERSHIP CARDS
========================================================= */

.membership-section {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 44px;

    max-width: 920px;

    margin: 24px auto 30px;
}

.membership-card {
    min-height: 343px;

    padding: 32px 36px;

    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.membership-card.silver {
    background: var(--silver);
}

.membership-card.gold {
    background: var(--gold);
}


/* Small logo inside cards */

.card-logo {
    font-size: 27px;
    font-weight: 900;

    color: var(--burgundy);

    margin-bottom: 10px;

    letter-spacing: -1px;

    text-shadow:
        1px 1px 0 white,
        -1px -1px 0 white;
}

.membership-card h2 {
    font-size: 24px;
    font-weight: 800;

    text-align: center;

    margin-bottom: 0;
}

.price {
    font-size: 38px;
    font-weight: 400;

    line-height: 1.1;

    margin-top: 3px;
    margin-bottom: 8px;
}

.one-time {
    font-size: 16px;

    margin-bottom: 32px;

    text-align: center;
}

.membership-card ul {
    width: 100%;

    padding-left: 28px;

    margin-top: auto;
}

.membership-card li {
    font-size: 20px;
    line-height: 1.4;
}


/* =========================================================
   STEPS
========================================================= */

.steps {
    margin-top: 28px;
}

.steps ul {
    padding-left: 27px;
}

.steps li {
    font-size: 21px;
    line-height: 1.38;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.description {
    margin-top: 27px;
}

.description p {
    max-width: 1040px;

    font-size: 21px;
    line-height: 1.35;
}


/* =========================================================
   CTA
========================================================= */

.cta {
    margin-top: 30px;
}

.cta h2 {
    font-size: 29px;
    line-height: 1.25;

    margin-bottom: 25px;
}

.cta-button {
    display: inline-block;

    background: var(--burgundy);
    color: white;

    text-decoration: none;

    font-size: 19px;
    font-weight: 700;

    padding: 15px 28px;

    border-radius: 4px;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.cta-button:hover {
    background: var(--burgundy-dark);

    transform: translateY(-2px);

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:active {
    transform: translateY(0);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: #f3f3f3;

    border-top: 1px solid #ddd;

    text-align: center;

    padding: 25px 20px;

    color: #555;

    font-size: 14px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 800px) {

    .site-header {
        height: 115px;
    }

    .header-inner {
        width: calc(100% - 40px);
    }

    .logo-main {
        font-size: 37px;
    }

    .main-nav a {
        font-size: 37px;
    }

    .hero {
        width: calc(100% - 40px);
        padding-top: 30px;
    }

    .hero h1 {
        font-size: 27px;
    }

    .intro {
        font-size: 20px;
    }

    .membership-section {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 600px;
    }

    .membership-card {
        min-height: 320px;
    }

    .cta h2 {
        font-size: 26px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 520px) {

    .site-header {
        height: auto;
        min-height: 95px;
    }

    .header-inner {
        width: calc(100% - 30px);

        padding: 18px 0;

        flex-direction: column;
        gap: 15px;
    }

    .logo-main {
        font-size: 32px;
    }

    .main-nav a {
        font-size: 32px;
    }

    .hero {
        width: calc(100% - 30px);

        padding-top: 25px;
        padding-bottom: 40px;
    }

    .hero h1 {
        font-size: 24px;

        margin-bottom: 20px;
    }

    .intro {
        font-size: 18px;
        line-height: 1.4;

        margin-bottom: 20px;
    }

    .membership-section {
        margin-top: 25px;
        gap: 20px;
    }

    .membership-card {
        min-height: 0;

        padding: 25px 24px;
    }

    .card-logo {
        font-size: 24px;
    }

    .membership-card h2 {
        font-size: 21px;
    }

    .price {
        font-size: 34px;
    }

    .membership-card li {
        font-size: 18px;
    }

    .steps li {
        font-size: 18px;
        line-height: 1.45;
    }

    .description p {
        font-size: 18px;
    }

    .cta h2 {
        font-size: 23px;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }
}

.membership-button {
    display: inline-block;

    margin-top: 25px;

    padding: 12px 32px;

    background: var(--burgundy);
    color: white;

    text-decoration: none;

    font-size: 18px;
    font-weight: 700;

    border-radius: 4px;

    transition: all 0.2s ease;
}

.membership-button:hover {
    background: var(--burgundy-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.membership-button:active {
    transform: translateY(0);
}

/* =========================================================
   SIGNUP PAGE
========================================================= */

.signup-page {
    min-height: calc(100vh - 145px);

    background: #f8f8f8;

    padding: 50px 20px 70px;
}

.signup-container {
    width: min(760px, 100%);

    margin: 0 auto;

    background: white;

    padding: 40px 45px;

    border-radius: 6px;

    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   SIGNUP HEADER
========================================================= */

.signup-header {
    text-align: center;

    margin-bottom: 30px;
}

.signup-header h1 {
    color: var(--text);

    font-size: 32px;

    margin-bottom: 12px;
}

.signup-header p {
    color: #555;

    font-size: 18px;

    line-height: 1.5;
}


/* =========================================================
   SELECTED MEMBERSHIP
========================================================= */

.selected-membership {
    display: flex;

    justify-content: space-between;
    align-items: center;

    padding: 20px 25px;

    margin-bottom: 30px;

    border-left: 6px solid var(--burgundy);
}

.selected-silver {
    background: var(--silver);
}

.selected-gold {
    background: var(--gold);
}

.membership-label {
    display: block;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1px;

    margin-bottom: 4px;
}

.selected-membership strong {
    font-size: 22px;
}

.membership-price {
    font-size: 27px;
    font-weight: 700;
}


/* =========================================================
   FORM
========================================================= */

.signup-form {
    width: 100%;
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;

    font-size: 16px;
    font-weight: 700;

    margin-bottom: 7px;

    color: var(--text);
}

.form-group input,
.form-group textarea {
    width: 100%;

    border: 1px solid #c8c8c8;

    border-radius: 4px;

    padding: 12px 13px;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 16px;

    color: var(--text);

    background: white;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group input {
    height: 47px;
}

.form-group textarea {
    resize: vertical;

    min-height: 100px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--burgundy);

    box-shadow:
        0 0 0 3px rgba(124, 20, 34, 0.1);
}

.form-group small {
    display: block;

    color: #777;

    margin-top: 5px;

    font-size: 13px;
}


/* =========================================================
   ERRORS
========================================================= */

.form-errors {
    background: #fff0f0;

    border: 1px solid #e0a0a0;

    color: #8b1a1a;

    padding: 15px 18px;

    border-radius: 4px;

    margin-bottom: 25px;
}

.form-errors div {
    margin-bottom: 4px;
}

.form-errors div:last-child {
    margin-bottom: 0;
}


/* =========================================================
   SIGNUP BUTTON
========================================================= */

.signup-button {
    display: block;

    width: 100%;

    border: 0;

    background: var(--burgundy);

    color: white;

    padding: 15px 25px;

    border-radius: 4px;

    font-size: 19px;

    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.signup-button:hover {
    background: var(--burgundy-dark);

    transform: translateY(-2px);

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.18);
}

.signup-button:active {
    transform: translateY(0);
}


/* =========================================================
   LOGIN LINK
========================================================= */

.login-link {
    text-align: center;

    margin-top: 22px;

    color: #666;

    font-size: 15px;
}

.login-link a {
    color: var(--burgundy);

    font-weight: 700;

    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .signup-page {
        padding: 25px 15px 45px;
    }

    .signup-container {
        padding: 28px 20px;
    }

    .signup-header h1 {
        font-size: 27px;
    }

    .signup-header p {
        font-size: 16px;
    }

    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .selected-membership {
        padding: 16px 18px;
    }

    .selected-membership strong {
        font-size: 19px;
    }

    .membership-price {
        font-size: 23px;
    }

}


/* =========================================================
   LOGIN PAGE
========================================================= */

.login-page {
    min-height: calc(100vh - 145px);

    background: #f8f8f8;

    padding: 60px 20px 80px;

    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.login-container {
    width: min(480px, 100%);

    background: white;

    padding: 40px 42px;

    border-radius: 6px;

    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   HEADER
========================================================= */

.login-header {
    text-align: center;

    margin-bottom: 30px;
}

.login-header h1 {
    font-size: 32px;

    margin-bottom: 10px;

    color: var(--text);
}

.login-header p {
    color: #666;

    font-size: 17px;
}


/* =========================================================
   ERROR
========================================================= */

.login-error {
    background: #fff0f0;

    border: 1px solid #e0a0a0;

    color: #8b1a1a;

    padding: 13px 16px;

    border-radius: 4px;

    margin-bottom: 22px;

    font-size: 15px;
}


/* =========================================================
   FORM
========================================================= */

.login-form {
    width: 100%;
}

.login-form .form-group {
    margin-bottom: 22px;
}

.login-form label {
    display: block;

    font-size: 16px;

    font-weight: 700;

    margin-bottom: 7px;

    color: var(--text);
}

.login-form input {
    width: 100%;

    height: 48px;

    padding: 12px 13px;

    border: 1px solid #c8c8c8;

    border-radius: 4px;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 16px;

    color: var(--text);

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.login-form input:focus {
    border-color: var(--burgundy);

    box-shadow:
        0 0 0 3px rgba(124, 20, 34, 0.1);
}


/* =========================================================
   LOGIN BUTTON
========================================================= */

.login-button {
    width: 100%;

    border: 0;

    background: var(--burgundy);

    color: white;

    padding: 15px;

    border-radius: 4px;

    font-size: 19px;

    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.login-button:hover {
    background: var(--burgundy-dark);

    transform: translateY(-2px);

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.18);
}

.login-button:active {
    transform: translateY(0);
}


/* =========================================================
   SIGNUP AREA
========================================================= */

.login-footer {
    border-top: 1px solid #e5e5e5;

    margin-top: 32px;

    padding-top: 25px;

    text-align: center;
}

.login-footer > p {
    color: #666;

    font-size: 15px;

    margin-bottom: 15px;
}

.login-signup-buttons {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.login-membership-button {
    display: block;

    width: 100%;

    padding: 12px;

    border-radius: 4px;

    text-decoration: none;

    font-size: 15px;

    font-weight: 700;

    transition: all 0.2s ease;
}

.silver-button {
    background: var(--silver);

    color: var(--text);
}

.gold-button {
    background: var(--gold);

    color: var(--text);
}

.login-membership-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.15);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .login-page {
        padding: 30px 15px 50px;
    }

    .login-container {
        padding: 30px 22px;
    }

    .login-header h1 {
        font-size: 27px;
    }

}

