/* ========================================
   BLACK WIDOW MOTORSPORT
   Main Stylesheet
   ======================================== */

:root {
    --r: #d71920;
    --b: #070707;
    --w: #f5f5f5;
}
.links a {
    transition: color 0.2s ease;
}

.links a:hover {
    color: var(--r);
}

/* ========================================
   GLOBAL
   ======================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--b);
    color: var(--w);
    font-family: Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    width: min(1180px, 92vw);
    margin: auto;
}

.red {
    color: var(--r);
}


/* ========================================
   NAVIGATION
   ======================================== */

nav {
    position: sticky;
    top: 0;
    z-index: 10;

    background: #070707e8;
    border-bottom: 1px solid #262626;
}

.nav {
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-weight: 900;
    letter-spacing: 0.08em;
}

.brand b {
    color: var(--r);
}

.links {
    display: flex;
    gap: 22px;

    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}


/* ========================================
   HERO
   ======================================== */

.hero {
    min-height: 82vh;
    display: grid;
    place-items: center;

    position: relative;
    overflow: hidden;

    background-image: url("../Images/Herov2.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Red diagonal lines */

.hero::before {
    display: none;
}


.hero-content {
    position: relative;
    padding: 90px 0;
}


/* Small text above BLACK WIDOW */

.eyebrow {
    color: #c2c2c2;

    font-weight: 800;

    letter-spacing: 0.3em;
    text-transform: uppercase;
}


/* Main BLACK WIDOW title */

h1 {
    font-size: clamp(4rem, 11vw, 9rem);
    line-height: 0.78;

    margin: 18px 0;

    text-transform: uppercase;

    letter-spacing: -0.07em;
    font-style: italic;
}

h1 span {
    display: block;
    color: var(--r);
}


/* Same Streets. Different Prey. */

.tag {
    font-size: clamp(1.2rem, 3vw, 2rem);

    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}


/* Hero description */

.sub {
    max-width: 680px;

    color: #bbb;

    line-height: 1.7;
}


/* Explore Build button */

.cta {
    display: inline-block;

    margin-top: 24px;
    padding: 14px 20px;

    border: 1px solid var(--r);

    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.12em;
}


/* ========================================
   GENERAL SECTIONS
   ======================================== */

section {
    padding: 85px 0;

    border-top: 1px solid #1e1e1e;
}


/* Section titles */
#story {
    padding: 70px 0 55px;
}
.title {
    font-size: clamp(2.2rem, 5vw, 4.6rem);

    margin: 0 0 35px;

    text-transform: uppercase;

    font-style: italic;
}

.title i {
    color: var(--r);
}


/* ========================================
   STORY CARDS
   ======================================== */

.grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 22px;
}

.card {
    padding: 28px;

    background:
        linear-gradient(
            145deg,
            #151515,
            #0c0c0c
        );

    border: 1px solid #262626;
}

.card h3 {
    margin-top: 0;

    text-transform: uppercase;
}

.card p {
    color: #aaa;

    line-height: 1.65;
}


/* ========================================
   BUILD SPECIFICATIONS
   ======================================== */
.spec {
    padding: 26px 24px;
    border: 1px solid #292929;
    background: #0d0d0d;
    transition: 0.2s ease;
}

.spec small {
    display: block;
    color: #999;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.spec strong {
    color: #f5f5f5;
    font-size: 1.05rem;
}

.spec:hover {
    background: #111;
    border-top-color: #e3131b;
}
.specs {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 1px;

    background: #292929;

    border: 1px solid #292929;
}

.spec {
    background: #0c0c0c;

    padding: 23px;
}

.spec small {
    color: #777;

    text-transform: uppercase;

    letter-spacing: 0.13em;
}

.spec strong {
    display: block;

    margin-top: 8px;
}


/* Note beneath specification table */

.build-note {
    color: #777;
}


/* ========================================
   ROAD AHEAD / TIMELINE
   ======================================== */

.timeline {
    border-left: 2px solid var(--r);

    padding-left: 28px;
}

.timeline p {
    color: #aaa;

    line-height: 1.6;
}

/* =========================================
   MERCH
   ========================================= */

#merch {
    padding: 100px 0;
    border-top: 1px solid #222;
}

.merch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.merch-card {
    background: #0d0d0d;
    border: 1px solid #292929;
    padding: 20px;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.merch-card:hover {
    transform: translateY(-5px);
    border-color: #e3131b;
    background: #111;
}

.merch-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #080808;

    display: grid;
    place-items: center;

    overflow: hidden;
    margin-bottom: 22px;
}

.merch-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.merch-card h3 {
    margin: 0 0 8px;

    font-size: 1rem;
    text-transform: uppercase;
}

.merch-card p {
    color: #aaa;
    margin-bottom: 18px;
}

.merch-status {
    color: #e3131b;

    font-size: 0.75rem;
    font-weight: 800;

    letter-spacing: 0.18em;
    text-transform: uppercase;
}

@media (max-width: 800px) {
    .merch-grid {
        grid-template-columns: 1fr;
    }
}
/* ========================================
   PARTNERS / SPONSORS
   ======================================== */

.sponsor {
    border: 1px dashed #555;

    text-align: center;

    padding: 50px 25px;
}

.sponsor strong {
    font-size: 1.5rem;

    text-transform: uppercase;
}

.sponsor p {
    color: #999;
}


/* ========================================
   FOOTER
   ======================================== */

footer {
    padding: 42px 0;

    color: #777;

    border-top: 1px solid #222;
}

.foot {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    flex-wrap: wrap;
}


/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 760px) {

    .links {
        display: none;
    }

    .grid,
    .specs {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 72vh;
    }

    section {
        padding: 60px 0;
    }
}