/* Elite Value Motors (EVM) — white/black/red theme, distinct from the black Epitome Cars theme */

:root {
    --evm-red: #C60505;
    --evm-black: #111111;
    --evm-gray: #666666;
    --evm-light: #f7f7f7;
}

/* Drop the licensed Akira Bold files here: Akira-Bold.woff2 / .woff / .ttf
   Falls back to a bold sans-serif until the files exist. */
@font-face {
    font-family: "Akira Bold";
    src: url("/assets/fonts/akira/Akira-Bold.woff2") format("woff2"),
         url("/assets/fonts/akira/Akira-Bold.woff") format("woff"),
         url("/assets/fonts/akira/Akira-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ---------- Homepage promo banner ---------- */
.evm-topbanner {
    background-color: #000;
    padding: 30px 0;
}

.evm-topbanner-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.evm-topbanner-inner {
    background-color: #ffffff;
    border-radius: 10px;
    border: 1px solid #eaeaea;
    border-top: 4px solid var(--evm-red);
    padding: 22px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    text-align: center;
    transition: box-shadow 250ms ease-in-out, transform 250ms ease-in-out;
}

.evm-topbanner-link:hover .evm-topbanner-inner {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
}

.evm-topbanner-logo {
    height: 56px;
    width: auto;
}

.evm-topbanner-text h3 {
    color: var(--evm-black);
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
    font-size: 20px;
}

.evm-topbanner-text p.evm-topbanner-driven {
    color: var(--evm-red);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 4px 0 0;
}

.evm-topbanner-text p.evm-topbanner-powered {
    color: var(--evm-gray);
    margin: 2px 0 0;
    font-size: 13px;
}

.evm-topbanner-callout {
    display: inline-block;
    background-color: var(--evm-red);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 18px;
    border-radius: 6px;
    white-space: nowrap;
}

.evm-topbanner-cta {
    color: #fff;
    background-color: var(--evm-red);
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ---------- Dedicated EVM page ---------- */
.evm-page {
    background-color: #ffffff;
    color: var(--evm-black);
}

.evm-page h1, .evm-page h2, .evm-page h3, .evm-page h4 {
    color: var(--evm-black);
}

.evm-hero {
    background-color: #ffffff;
    border-bottom: 3px solid var(--evm-red);
    padding: 70px 0;
    text-align: center;
}

.evm-hero-logo {
    max-width: 300px;
    width: 60%;
    margin-bottom: 18px;
}

.evm-hero p.evm-hero-tagline {
    color: var(--evm-red);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0;
}

.evm-hero p.evm-hero-sub {
    color: var(--evm-gray);
    margin-top: 6px;
}

.evm-hero p.evm-hero-intro {
    color: #333;
    font-size: 15px;
    line-height: 1.8;
    max-width: 480px;
    margin: 18px 0 24px;
}

.evm-hero-carimg {
    width: 100%;
    height: auto;
    aspect-ratio: 1600 / 977;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* Top bar — white only on the EVM page, black everywhere else on the site */
#carup.evm-topbar-white {
    background-color: #ffffff;
}

.evm-header-brand-wrap {
    justify-content: flex-start;
    overflow: visible;
}

.evm-header-brand {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    white-space: nowrap;
}

.evm-header-logo {
    height: 40px;
    width: auto;
    max-width: none;
    flex: 0 0 auto;
    display: block;
}

.evm-header-brandtext {
    font-family: "Akira Bold", "Montserrat", sans-serif;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--evm-black);
    white-space: nowrap;
    flex: 0 0 auto;
}

.evm-section {
    padding: 60px 0;
}

.evm-section.evm-alt {
    background-color: var(--evm-light);
}

.evm-section-title {
    text-align: center;
    margin-bottom: 40px;
}

.evm-section-title h2 {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.evm-section-title .evm-underline {
    width: 60px;
    height: 3px;
    background-color: var(--evm-red);
    margin: 12px auto 0;
}

.evm-intro-text {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    color: #333;
    font-size: 16px;
    line-height: 1.8;
}

.evm-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 36px;
}

.evm-badge {
    text-align: center;
    color: var(--evm-black);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    max-width: 120px;
}

.evm-badge i {
    display: block;
    font-size: 34px;
    color: var(--evm-red);
    margin-bottom: 10px;
}

.evm-service-card {
    background-color: #fff;
    border: 1px solid #ececec;
    border-left: 4px solid var(--evm-red);
    border-radius: 6px;
    padding: 26px;
    height: 100%;
    transition: box-shadow 250ms ease-in-out;
}

.evm-service-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.evm-service-card i {
    font-size: 30px;
    color: var(--evm-red);
    margin-bottom: 14px;
    display: block;
}

.evm-service-card h4 {
    font-weight: 700;
    margin-bottom: 8px;
}

.evm-service-card p {
    color: #555;
    margin-bottom: 0;
    font-size: 14px;
}

.evm-category-chip {
    display: inline-block;
    background-color: #fff;
    border: 1px solid var(--evm-red);
    color: var(--evm-black);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 30px;
    margin: 6px;
    font-size: 14px;
}

.evm-contact-strip {
    background-color: #ffffff;
    color: var(--evm-black);
    border-top: 3px solid var(--evm-red);
    padding: 40px 0;
}

.evm-contact-strip .evm-contact-item {
    text-align: center;
}

.evm-contact-strip .evm-contact-item i {
    color: var(--evm-red);
    font-size: 26px;
    margin-bottom: 8px;
    display: block;
}

.evm-contact-strip a {
    color: var(--evm-black);
}

.evm-contact-strip a:hover {
    color: var(--evm-red);
}

.evm-cta-btn {
    display: inline-block;
    background-color: var(--evm-red);
    color: #fff !important;
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    margin-top: 20px;
}

@media (max-width: 767px) {
    .evm-topbanner-inner {
        padding: 18px;
        gap: 14px;
    }
    .evm-topbanner-logo {
        height: 44px;
    }
}
