/* ================================
   Cherry Nugget Games
   ================================ */

:root {
    --red: #991b1f;
    --red-light: #b52328;

    --dark: #22292b;
    --grey: #303a3d;
    --grey-light: #414d50;

    --white: #ffffff;
    --off-white: #f3f3f3;

    --accent: #f4a65f;

    --max-width: 1200px;
}


/* RESET */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
}


/* GLOBAL */

.container {
    width: min(90%, var(--max-width));
    margin: 0 auto;
}

a {
    color: inherit;
    text-decoration: none;
}


/* HEADER */

.site-header {
    background: var(--red);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
    min-height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: -1px;
    line-height: 0.85;
}

.brand span {
    display: block;
}

nav {
    display: flex;
    gap: 35px;
}

nav a {
    font-size: 0.9rem;
    opacity: 0.8;
    transition: 0.2s;
}

nav a:hover,
nav a.active {
    opacity: 1;
}

nav a.active {
    border-bottom: 2px solid var(--white);
}


/* HERO */

.hero {
    min-height: 650px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            120deg,
            var(--grey) 0%,
            var(--dark) 100%
        );
}

.hero-content {
    padding: 100px 0;
}

.eyebrow,
.section-label {
    color: var(--accent);

    font-weight: 700;
    font-size: 0.8rem;

    letter-spacing: 4px;

    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(4rem, 9vw, 8rem);

    line-height: 0.85;

    text-transform: uppercase;

    letter-spacing: -6px;

    max-width: 900px;
}

.hero-text {
    max-width: 600px;

    margin-top: 40px;

    font-size: 1.15rem;

    color: #c9cfd0;
}


/* BUTTONS */

.hero-buttons {
    display: flex;
    gap: 15px;

    margin-top: 40px;
}

.button {
    display: inline-block;

    padding: 14px 25px;

    font-size: 0.85rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;

    border: 2px solid var(--red);

    transition: 0.2s;
}

.button-primary {
    background: var(--red);
}

.button-primary:hover {
    background: var(--red-light);
    border-color: var(--red-light);
}

.button-secondary {
    border-color: var(--white);
}

.button-secondary:hover {
    background: var(--white);
    color: var(--dark);
}


/* SECTIONS */

.section {
    padding: 120px 0;

    background: var(--off-white);
    color: var(--dark);
}

.section h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);

    text-transform: uppercase;

    letter-spacing: -2px;

    line-height: 1;
}

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

    margin-top: 20px;

    color: #667073;
}


/* CARDS */

.cards {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(280px, 1fr));

    gap: 25px;

    margin-top: 60px;
}

.card {
    min-height: 300px;

    background: var(--white);

    border-top: 5px solid var(--red);

    padding: 35px;

    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

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

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-number {
    color: var(--red);

    font-weight: 800;

    font-size: 0.8rem;

    margin-bottom: 60px;
}

.card h3 {
    font-size: 1.6rem;

    text-transform: uppercase;

    margin-bottom: 10px;
}

.card p {
    color: #667073;
}

.card a {
    display: inline-block;

    color: var(--red);

    font-size: 0.8rem;
    font-weight: 800;

    margin-top: 25px;

    letter-spacing: 1px;
}


/* ABOUT */

.section-dark {
    background: var(--grey);
    color: var(--white);
}

.about {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;
}

.about p {
    color: #c4cbcd;

    margin-bottom: 20px;

    font-size: 1.1rem;
}


/* FOOTER */

footer {
    background: var(--red);

    padding: 40px 0;
}

.footer-content {
    display: flex;

    justify-content: space-between;
    align-items: center;

    font-size: 0.8rem;
}

.footer-brand {
    font-weight: 900;
}


/* MOBILE */

@media (max-width: 700px) {

    .nav-container {
        flex-direction: column;

        justify-content: center;

        gap: 20px;

        padding: 25px 0;
    }

    nav {
        gap: 18px;
    }

    .hero {
        min-height: 600px;
    }

    .hero h1 {
        letter-spacing: -3px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: flex-start;
    }

    .section {
        padding: 80px 0;
    }

    .about {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .footer-content {
        flex-direction: column;

        align-items: flex-start;

        gap: 10px;
    }
}