/* =================================
   VANTREX GLOBAL
   TESLA MODEL 3 PAGE
================================= */


/* =================================
   ROOT
================================= */

:root {

    --black: #030711;
    --dark: #050914;
    --dark-two: #08101d;

    --card: #0b1422;
    --card-light: #101b2b;

    --gold: #d7a93d;
    --gold-light: #f0c866;

    --white: #ffffff;
    --text: #e9edf3;
    --muted: #9ba6b5;

    --navy: #08101d;

    --border: rgba(255, 255, 255, 0.10);

    --container: 1200px;
}


/* =================================
   RESET
================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: "Inter", sans-serif;

    background: var(--white);

    color: var(--navy);

    line-height: 1.6;
}


a {
    text-decoration: none;

    color: inherit;
}


button {
    font-family: inherit;
}


/* =================================
   HEADER
================================= */

.tesla-header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(3, 7, 17, 0.94);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(16px);

    transition: 0.3s ease;
}


.tesla-header.scrolled {
    background: rgba(3, 7, 17, 0.98);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.25);
}


.nav-container {
    width: min(100% - 40px, var(--container));

    margin: auto;

    min-height: 78px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* =================================
   LOGO
================================= */

.tesla-logo {
    display: flex;

    align-items: center;

    gap: 11px;

    color: var(--white);
}


/* CIRCULAR BITCOIN LOGO */

.logo-mark {
    width: 40px;
    height: 40px;

    display: grid;

    place-items: center;

    border: 1px solid var(--gold);

    border-radius: 50%;

    color: var(--gold);

    font-size: 22px;

    font-weight: 900;

    flex-shrink: 0;
}


.logo-name {
    display: flex;

    flex-direction: column;

    font-size: 17px;

    font-weight: 600;

    line-height: 1.1;
}


.logo-name strong {
    color: var(--gold);
}


/* =================================
   NAVIGATION
================================= */

.tesla-nav {
    display: flex;

    align-items: center;

    gap: 25px;
}


.tesla-nav a {
    color: #dce2ea;

    font-size: 13px;

    font-weight: 500;

    transition: 0.25s ease;
}


.tesla-nav a:hover,
.tesla-nav a.active {
    color: var(--gold);
}


.nav-login {
    padding-left: 10px;
}


.nav-button {
    padding: 11px 18px;

    background: var(--gold);

    color: var(--black) !important;

    font-weight: 700 !important;
}


.nav-button:hover {
    background: var(--gold-light);
}


/* =================================
   MOBILE MENU
================================= */

.mobile-menu {
    display: none;

    width: 42px;
    height: 42px;

    border: 1px solid var(--border);

    background: transparent;

    cursor: pointer;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 5px;
}


.mobile-menu span {
    display: block;

    width: 20px;
    height: 2px;

    background: var(--white);
}


/* =================================
   MODEL HERO
================================= */

.model-hero {
    position: relative;

    min-height: 720px;

    padding: 145px 20px 70px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 55%,
            rgba(215, 169, 61, 0.13),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            var(--black),
            var(--dark-two)
        );

    color: var(--white);

    text-align: center;
}


.hero-background {
    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        );

    background-size: 60px 60px;

    pointer-events: none;
}


.hero-content {
    position: relative;

    z-index: 2;

    max-width: 720px;

    margin: auto;
}


.back-link {
    display: inline-block;

    margin-bottom: 25px;

    color: var(--muted);

    font-size: 13px;

    transition: 0.25s ease;
}


.back-link:hover {
    color: var(--gold);
}


.section-label {
    display: inline-block;

    margin-bottom: 14px;

    color: var(--gold);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 3px;
}


.hero-content h1 {
    font-size: clamp(55px, 8vw, 100px);

    line-height: 0.95;

    letter-spacing: -4px;

    margin-bottom: 25px;
}


.hero-content h1 span {
    color: var(--gold);
}


.hero-content p {
    max-width: 650px;

    margin: auto;

    color: var(--muted);

    font-size: 16px;
}


/* =================================
   VEHICLE IMAGE
================================= */

.model-image-wrap {
    position: relative;

    width: min(900px, 100%);

    margin: 30px auto 0;

    min-height: 310px;

    display: flex;

    justify-content: center;

    align-items: center;
}


.model-image {
    position: relative;

    z-index: 3;

    width: min(760px, 90%);

    animation: vehicleFloat 5s ease-in-out infinite;
}


.model-image img {
    display: block;

    width: 100%;

    max-height: 340px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 35px 35px rgba(0, 0, 0, 0.55)
        );
}


@keyframes vehicleFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }

}


/* =================================
   IMAGE CIRCLES
================================= */

.image-circle {
    position: absolute;

    border: 1px solid rgba(215, 169, 61, 0.18);

    border-radius: 50%;

    pointer-events: none;
}


.circle-one {
    width: 430px;
    height: 430px;
}


.circle-two {
    width: 570px;
    height: 570px;

    border-color: rgba(215, 169, 61, 0.08);
}


/* =================================
   MODEL DETAILS
================================= */

.model-details {
    padding: 100px 20px;

    background: #f5f5f2;
}


.details-container {
    width: min(100%, var(--container));

    margin: auto;
}


.details-heading {
    max-width: 720px;

    margin-bottom: 55px;
}


.details-heading h2 {
    font-size: clamp(34px, 5vw, 54px);

    line-height: 1.05;

    letter-spacing: -2px;

    margin-bottom: 18px;
}


.details-heading h2 span {
    color: var(--gold);
}


.details-heading p {
    color: #687080;

    max-width: 650px;
}


/* =================================
   PURCHASE LAYOUT
================================= */

.purchase-layout {
    display: grid;

    grid-template-columns: 1.5fr 0.8fr;

    gap: 35px;

    align-items: start;
}


.configuration-area h3 {
    margin-bottom: 20px;

    font-size: 22px;
}


/* =================================
   VARIANT LIST
================================= */

.variant-list {
    display: flex;

    flex-direction: column;

    gap: 13px;
}


.variant-card {
    width: 100%;

    display: flex;

    align-items: center;

    text-align: left;

    gap: 16px;

    padding: 21px 22px;

    border: 1px solid #dfe1df;

    background: #ffffff;

    cursor: pointer;

    transition: 0.25s ease;
}


.variant-card:hover {
    border-color: var(--gold);

    transform: translateX(4px);
}


.variant-card.active {
    border-color: var(--gold);

    background: #fffdf7;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.06);
}


.variant-radio {
    width: 18px;
    height: 18px;

    flex: 0 0 18px;

    border: 2px solid #b7bdc4;

    border-radius: 50%;

    position: relative;
}


.variant-card.active .variant-radio {
    border-color: var(--gold);
}


.variant-card.active .variant-radio::after {
    content: "";

    position: absolute;

    width: 8px;
    height: 8px;

    top: 3px;
    left: 3px;

    border-radius: 50%;

    background: var(--gold);
}


.variant-content {
    display: flex;

    flex-direction: column;

    flex: 1;
}


.variant-content strong {
    color: var(--navy);

    font-size: 15px;
}


.variant-content small {
    color: #89919c;

    margin-top: 3px;

    font-size: 12px;
}


.variant-price {
    color: var(--navy);

    font-size: 16px;

    font-weight: 800;
}


/* =================================
   ORDER CARD
================================= */

.order-card {
    position: sticky;

    top: 105px;

    padding: 30px;

    background: var(--dark);

    color: var(--white);

    border: 1px solid rgba(215, 169, 61, 0.28);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.14);
}


.order-label {
    color: var(--gold);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;
}


.order-card h3 {
    margin-top: 12px;

    font-size: 24px;
}


.order-price {
    margin-top: 10px;

    color: var(--gold);

    font-size: 34px;

    font-weight: 900;
}


.order-divider {
    height: 1px;

    margin: 25px 0;

    background: rgba(255, 255, 255, 0.10);
}


.order-info {
    display: flex;

    flex-direction: column;

    gap: 15px;

    margin-bottom: 28px;
}


.order-info div {
    display: flex;

    justify-content: space-between;

    gap: 20px;
}


.order-info span {
    color: var(--muted);

    font-size: 12px;
}


.order-info strong {
    color: var(--white);

    font-size: 13px;

    text-align: right;
}


/* =================================
   PURCHASE BUTTON
================================= */

.purchase-button {
    display: block;

    width: 100%;

    padding: 15px;

    text-align: center;

    background: var(--gold);

    color: var(--black);

    font-size: 13px;

    font-weight: 800;

    transition: 0.25s ease;
}


.purchase-button:hover {
    background: var(--gold-light);

    transform: translateY(-2px);
}


.order-note {
    margin-top: 16px;

    color: #7e8998;

    font-size: 11px;

    line-height: 1.6;

    text-align: center;
}


/* =================================
   INFORMATION
================================= */

.information-section {
    padding: 100px 20px;

    background: var(--white);
}


.information-container {
    width: min(100%, var(--container));

    margin: auto;
}


.information-heading {
    max-width: 700px;

    margin-bottom: 55px;
}


.information-heading h2 {
    font-size: clamp(34px, 5vw, 52px);

    line-height: 1.05;

    letter-spacing: -2px;

    margin-bottom: 18px;
}


.information-heading h2 span {
    color: var(--gold);
}


.information-heading p {
    color: #687080;
}


.info-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}


.info-card {
    padding: 30px;

    border: 1px solid #e5e6e5;

    background: #fafafa;

    transition: 0.25s ease;
}


.info-card:hover {
    transform: translateY(-5px);

    border-color: rgba(215, 169, 61, 0.45);
}


.info-icon {
    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    margin-bottom: 22px;

    border: 1px solid var(--gold);

    color: var(--gold);

    font-size: 11px;

    font-weight: 800;
}


.info-card h3 {
    margin-bottom: 10px;

    font-size: 18px;
}


.info-card p {
    color: #727b88;

    font-size: 13px;
}


/* =================================
   ENQUIRY
================================= */

.enquiry-section {
    padding: 90px 20px;

    background:
        radial-gradient(
            circle at center,
            rgba(215, 169, 61, 0.12),
            transparent 40%
        ),
        var(--dark);
}


.enquiry-container {
    width: min(100%, 850px);

    margin: auto;

    text-align: center;
}


.enquiry-content h2 {
    color: var(--white);

    font-size: clamp(35px, 5vw, 58px);

    line-height: 1.05;

    letter-spacing: -2px;

    margin-bottom: 20px;
}


.enquiry-content h2 span {
    color: var(--gold);
}


.enquiry-content p {
    max-width: 600px;

    margin: 0 auto 30px;

    color: var(--muted);
}


.gold-button {
    display: inline-block;

    padding: 14px 26px;

    background: var(--gold);

    color: var(--black);

    font-size: 13px;

    font-weight: 800;

    transition: 0.25s ease;
}


.gold-button:hover {
    background: var(--gold-light);

    transform: translateY(-2px);
}


/* =================================
   FOOTER
================================= */

.tesla-footer {
    padding: 65px 20px 25px;

    background: var(--black);

    color: var(--white);
}


.footer-container {
    width: min(100%, var(--container));

    margin: auto;
}


.footer-grid {
    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1fr;

    gap: 50px;

    padding-bottom: 50px;

    border-bottom: 1px solid var(--border);
}


.footer-brand p {
    max-width: 330px;

    margin-top: 20px;

    color: var(--muted);

    font-size: 13px;
}


.footer-column {
    display: flex;

    flex-direction: column;

    gap: 12px;
}


.footer-column h4 {
    margin-bottom: 5px;

    color: var(--gold);

    font-size: 12px;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.footer-column a {
    color: var(--muted);

    font-size: 13px;

    transition: 0.25s ease;
}


.footer-column a:hover {
    color: var(--gold);
}


.footer-bottom {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding-top: 22px;
}


.footer-bottom p {
    color: #687282;

    font-size: 11px;
}


/* =================================
   IMAGE ERROR
================================= */

.image-error {
    width: 100%;

    min-height: 220px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;
}


.image-error-message span {
    display: block;

    color: var(--gold);

    font-size: 22px;

    font-weight: 800;
}


.image-error-message strong {
    display: block;

    margin-top: 8px;

    color: var(--white);

    font-size: 16px;
}


.image-error-message small {
    display: block;

    margin-top: 5px;

    color: var(--muted);

    font-size: 12px;
}


/* =================================
   RESPONSIVE
================================= */

@media (max-width: 1000px) {

    .tesla-nav {
        gap: 15px;
    }


    .purchase-layout {
        grid-template-columns: 1fr;
    }


    .order-card {
        position: static;
    }


    .info-grid {
        grid-template-columns: 1fr 1fr;
    }


    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

}


@media (max-width: 750px) {

    .nav-container {
        min-height: 70px;
    }


    .mobile-menu {
        display: flex;
    }


    .tesla-nav {
        display: none;

        position: absolute;

        top: 70px;

        left: 0;

        width: 100%;

        padding: 25px 20px;

        background: var(--black);

        border-bottom: 1px solid var(--border);

        flex-direction: column;

        align-items: stretch;

        gap: 0;
    }


    .tesla-nav.active {
        display: flex;
    }


    .tesla-nav a {
        padding: 14px 0;

        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }


    .nav-button {
        text-align: center;

        margin-top: 10px;
    }


    .model-hero {
        min-height: 680px;

        padding-top: 125px;
    }


    .hero-content h1 {
        letter-spacing: -3px;
    }


    .model-image-wrap {
        min-height: 260px;
    }


    .model-image img {
        max-height: 270px;
    }


    .circle-one {
        width: 320px;
        height: 320px;
    }


    .circle-two {
        width: 430px;
        height: 430px;
    }


    .info-grid {
        grid-template-columns: 1fr;
    }


    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }


    .footer-brand {
        grid-column: 1 / -1;
    }


    .footer-bottom {
        flex-direction: column;
    }

}


@media (max-width: 480px) {

    .nav-container {
        width: min(100% - 30px, var(--container));
    }


    .model-hero {
        padding-left: 15px;

        padding-right: 15px;
    }


    .hero-content p {
        font-size: 14px;
    }


    .model-image-wrap {
        min-height: 220px;
    }


    .model-image img {
        max-height: 220px;
    }


    .variant-card {
        padding: 17px 14px;

        gap: 10px;
    }


    .variant-price {
        font-size: 13px;
    }


    .variant-content strong {
        font-size: 13px;
    }


    .variant-content small {
        font-size: 10px;
    }


    .order-card {
        padding: 23px 18px;
    }


    .footer-grid {
        grid-template-columns: 1fr;
    }


    .footer-brand {
        grid-column: auto;
    }

}


/* =================================
   REDUCED MOTION
================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }


    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }

}