:root {
    --clr-orange: #f27533;
    --clr-orange-dark: #f0442e;
    --clr-navy-dark: #080d12;
    --clr-navy-mid: #121a26;
    --clr-white: #ffffff;
    --clr-gray-light: #cfd3d8;
    --clr-gray-mid: #9aa1ab;

    --font-display: "Space Grotesk", sans-serif;
    --font-accent: "Playfair Display", Georgia, serif;
    --font-body: "DM Sans", sans-serif;

    --header-height: 74px;

    --site-content-width: 84%;
    --site-content-max-width: 1600px;
    --site-content-edge: max(calc((100vw - var(--site-content-max-width)) / 2),
            8vw);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-navy-dark);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

button {
    border: none;
    background: none;
    cursor: pointer;
}

.site-container {
    width: var(--site-content-width);
    max-width: var(--site-content-max-width);
    margin-inline: auto;
}

/* =============================================================HEADER / NAVBAR ============================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: var(--header-height);

    z-index: 1000;

    background: linear-gradient(105deg,
            #080d12 0%,
            #0d141d 38%,
            #162130 70%,
            #343244 100%);

    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.site-header .navbar {
    height: 100%;
    padding: 0;
}

.nav-container {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    /* Reference: approximately 5% from both sides */
    padding: 0 5%;
}


/* =============================================================
   BRAND
   ============================================================= */

.navbar-brand img {
    /* display: flex;
    align-items: center;

    gap: 12px;

    padding: 0;
    margin: 0;

    flex-shrink: 0; */
    padding-top: 90px;
    width: 150px;
    height: auto;
}

.brand-mark {
    font-family: var(--font-display);
    font-weight: 900;

    font-size: 50px;
    line-height: 1;

    color: #f0442e;
}

.brand-name {
    font-family: var(--font-body);
    font-weight: 800;

    font-size: 1rem;
    border: 1px solid #f0442e;
    padding: 5px 7px;
    line-height: 1;

    letter-spacing: 1.1px;

    color: var(--clr-white);

    white-space: nowrap;
}


/* =============================================================
   DESKTOP NAVIGATION
   ============================================================= */

.nav-links {
    display: flex;
    align-items: center;

    gap: 38px;

    flex: 1;

    justify-content: flex-end;

    margin-right: 42px;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.78);

    font-family: var(--font-body);

    font-size: 0.76rem;
    font-weight: 500;

    letter-spacing: 1.5px;

    white-space: nowrap;

    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.nav-links a:hover {
    color: var(--clr-white);
}


/* =============================================================
   BOOK A TEST RIDE
   ============================================================= */

.btn-cta {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 24px;

    width: 181px;
    height: 47px;

    padding: 0;

    border-radius: 0;

    background: #f0442e;

    color: #ffffff !important;

    font-family: var(--font-body);

    font-size: 0.69rem;
    font-weight: 500;

    letter-spacing: 0.7px;

    white-space: nowrap;

    flex-shrink: 0;

    transition:
        background-color 0.2s ease,
        transform 0.15s ease;
}

.btn-cta:hover {
    background: #e83d29;

    color: #ffffff !important;

    transform: none;
}

.btn-cta .arrow {
    font-size: 1.05rem;
    line-height: 1;

    transition: transform 0.2s ease;
}

.btn-cta:hover .arrow {
    transform: translateX(3px);
}


.btn-text-link {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 24px;
    width: 181px;
    height: 47px;

    padding: 0;

    border-radius: 0;

    color: var(--clr-white);

    font-family: var(--font-body);

    font-size: 0.69rem;
    font-weight: 500;

    letter-spacing: 0.7px;

    white-space: nowrap;

    flex-shrink: 0;

    transition:
        background-color 0.2s ease,
        transform 0.15s ease;
}

.btn-text-link:hover {

    color: #ffffff !important;

    transform: none;
}

.btn-text-link .arrow {
    font-size: 1.05rem;
    line-height: 1;

    transition: transform 0.2s ease;
}

.btn-text-link:hover .arrow {
    transform: translateX(3px);
}

/* =============================================================
   HAMBURGER BUTTON (animated to X)
   ============================================================= */

.hamburger-btn {
    position: relative;
    z-index: 1300;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hamburger-icon {
    position: relative;
    width: 22px;
    height: 16px;
    display: block;
}

.hamburger-icon .bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--clr-white);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.2s ease, top 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger-icon .bar-top {
    top: 0;
}

.hamburger-icon .bar-mid {
    top: 7px;
}

.hamburger-icon .bar-bottom {
    top: 14px;
}

/* Active (X) state */
.hamburger-btn.active .bar-top {
    top: 7px;
    transform: rotate(45deg);
}

.hamburger-btn.active .bar-mid {
    opacity: 0;
}

.hamburger-btn.active .bar-bottom {
    top: 7px;
    transform: rotate(-45deg);
}

/* =============================================================
   MOBILE SIDEBAR
   ============================================================= */

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 1150;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 78%;
    max-width: 320px;
    background-color: var(--clr-navy-mid);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1200;
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.4);
}

.mobile-sidebar.active {
    transform: translateX(0);
}

.mobile-sidebar-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 28px 28px 40px;
}

.mobile-brand {
    margin-bottom: 46px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: auto;
}

.mobile-nav-links a {
    color: var(--clr-white);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.mobile-nav-links a:hover {
    color: var(--clr-orange);
}

.mobile-cta {
    justify-content: center;
    margin-top: 30px;
}

/* Prevent scroll when sidebar open */
body.sidebar-open {
    overflow: hidden;
}


@media (max-width: 991px) {

    .navbar-brand img {
        /* display: flex;
    align-items: center;

    gap: 12px;

    padding: 0;
    margin: 0;

    flex-shrink: 0; */
        padding-top: 0;
        width: 80px;
        height: auto;
    }
}