/* =========================================================
   Btperformance Main Hero
   ========================================================= */

.main-hero {

    position: relative;

    width: 100%;

    min-height: 850px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: flex-start;

    overflow: hidden;

    background-image: url("../images/main_background_for_main_btpchiptuningfiles.png");

    background-size: cover;

    background-position: center center;

    background-repeat: no-repeat;
}

.main-hero::after {

    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 150px;

    background: linear-gradient(
        to bottom,
        rgba(5, 5, 13, 0),
        #05050d
    );

    pointer-events: none;

    z-index: 3;
}

/* =========================================================
   Overlay
   ========================================================= */

.main-hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.10) 0%,
            rgba(0, 0, 0, 0.05) 45%,
            rgba(0, 0, 0, 0.18) 100%
        );

    pointer-events: none;

}


/* =========================================================
   Content
   ========================================================= */

.main-hero-content {

    position: relative;

    z-index: 4;

    width: 100%;

    max-width: 1200px;

    margin: 0 auto;

    padding: 160px 30px 0;

    text-align: center;

}


/* =========================================================
   Eyebrow
   ========================================================= */

.main-hero-eyebrow {

    margin-bottom: 18px;

    color: #ffffff;

    font-size: 20px;

    font-weight: 700;

    line-height: 1;

    letter-spacing: 3px;

    text-transform: uppercase;

}


/* =========================================================
   Title
   ========================================================= */

.main-hero-title {

    margin: 0;

    color: #ffffff;

    font-size: clamp(42px, 4.2vw, 64px);

    font-weight: 800;

    line-height: 1.05;

    letter-spacing: 1px;

    text-transform: uppercase;

}


.main-hero-title span {

    color: #ef1111;

}


/* =========================================================
   Button
   ========================================================= */

.main-hero-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 175px;

    height: 44px;

    margin-top: 32px;

    padding: 0 25px;

    color: #ef1111;

    background: #ffffff;

    border: 1px solid #ffffff;

    border-radius: 8px;

    text-decoration: none;

    font-size: 14px;

    font-weight: 500;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;

}


.main-hero-button:hover {

    color: #ffffff;

    background: #ef1111;

    border-color: #ef1111;

    transform: translateY(-1px);

}


/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 991px) {

    .main-hero {

        min-height: 680px;

        background-position: center center;

    }


    .main-hero-content {

        padding-top: 170px;

    }


    .main-hero-eyebrow {

        font-size: 17px;

        letter-spacing: 2.5px;

    }


    .main-hero-title {

        font-size: clamp(36px, 6vw, 52px);

    }

}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 575px) {

    .main-hero {

        min-height: 600px;

        background-position: center center;

    }


    .main-hero-content {

        padding: 135px 20px 0;

    }


    .main-hero-eyebrow {

        margin-bottom: 14px;

        font-size: 13px;

        letter-spacing: 2px;

    }


    .main-hero-title {

        font-size: 36px;

        line-height: 1.1;

    }


    .main-hero-button {

        min-width: 165px;

        height: 42px;

        margin-top: 25px;

        font-size: 13px;

    }

}

/* =========================================================
   Hero Vehicle Selector
   ========================================================= */

.hero-vehicle-selector {

    position: relative;
    
    z-index: 4;

    width: min(1100px, calc(100% - 40px));

    margin: 38px auto 0;

    padding: 24px 28px 22px;

    background: rgba(5, 5, 13, .42);

    border: 1px solid rgba(255,255,255,.13);

    border-radius: 12px;

    backdrop-filter: blur(7px);

    -webkit-backdrop-filter: blur(7px);

    box-shadow:
        0 20px 50px rgba(0,0,0,.20);

    text-align: left;

}


/* =========================================================
   Header
   ========================================================= */

.hero-vehicle-header {

    margin-bottom: 22px;

}


.hero-vehicle-eyebrow {

    display: block;

    margin-bottom: 6px;

    color: #ef1111;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2.5px;

}


.hero-vehicle-header h3 {

    margin: 0;

    color: #ffffff;

    font-size: 18px;

    font-weight: 600;

}


.hero-vehicle-header p {

    margin: 6px 0 0;

    color: rgba(255,255,255,.48);

    font-size: 12px;

}


/* =========================================================
   Fields
   ========================================================= */

.hero-vehicle-fields {

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 12px;

}


.hero-vehicle-field {

    min-width: 0;

}


.hero-vehicle-field label {

    display: block;

    margin-bottom: 7px;

    color: rgba(255,255,255,.45);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 1.5px;

}


.hero-select-wrap {

    position: relative;

}


.hero-select-wrap select {

    width: 100%;

    height: 46px;

    padding: 0 38px 0 14px;

    color: #ffffff;

    background: rgba(255,255,255,.055);

    border: 1px solid rgba(255,255,255,.12);

    border-radius: 7px;

    outline: none;

    appearance: none;

    -webkit-appearance: none;

    font-family: inherit;

    font-size: 12px;

    cursor: pointer;

    transition:
        border-color .2s ease,
        background .2s ease;

}


.hero-select-wrap select:hover {

    border-color: rgba(239,17,17,.45);

    background: rgba(255,255,255,.075);

}


.hero-select-wrap select:focus {

    border-color: #ef1111;

    background: rgba(255,255,255,.08);

}


.hero-select-wrap select:disabled {

    color: rgba(255,255,255,.25);

    cursor: not-allowed;

    opacity: .65;

}


.hero-select-wrap select option {

    color: #111111;

    background: #ffffff;

}


.hero-select-arrow {

    position: absolute;

    top: 50%;

    right: 13px;

    transform: translateY(-50%);

    color: rgba(255,255,255,.55);

    font-size: 12px;

    pointer-events: none;

}


/* =========================================================
   Footer
   ========================================================= */

.hero-vehicle-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-top: 18px;

    padding-top: 17px;

    border-top: 1px solid rgba(255,255,255,.08);

}


.hero-vehicle-status {

    display: flex;

    align-items: center;

    gap: 8px;

    color: rgba(255,255,255,.4);

    font-size: 10px;

}


.hero-status-dot {

    width: 6px;

    height: 6px;

    border-radius: 50%;

    background: #0df000;

    box-shadow:
        0 0 8px rgba(13,240,0,.55);

}


/* =========================================================
   Button
   ========================================================= */

.hero-vehicle-button {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    min-width: 150px;

    height: 38px;

    padding: 0 18px;

    color: #ffffff;

    background: #ef1111;

    border: 1px solid #ef1111;

    border-radius: 6px;

    font-family: inherit;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1px;

    cursor: pointer;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease;

}


.hero-vehicle-button span {

    font-size: 17px;

    transition:
        transform .2s ease;

}


.hero-vehicle-button:hover:not(:disabled) {

    color: #ef1111;

    background: #ffffff;

    border-color: #ffffff;

}


.hero-vehicle-button:hover:not(:disabled) span {

    transform: translateX(4px);

}


.hero-vehicle-button:disabled {

    background: rgba(255,255,255,.08);

    border-color: rgba(255,255,255,.08);

    color: rgba(255,255,255,.25);

    cursor: not-allowed;

}


/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 900px) {

    .hero-vehicle-fields {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 575px) {

    .hero-vehicle-selector {

        width: calc(100% - 30px);

        margin-top: 28px;

        padding: 20px;

    }


    .hero-vehicle-fields {

        grid-template-columns: 1fr;

    }


    .hero-vehicle-footer {

        align-items: stretch;

        flex-direction: column;

        gap: 15px;

    }


    .hero-vehicle-button {

        width: 100%;

    }

}