/* =========================================================
   ACES EV RESCUE
   DESERT CURRENT THEME
========================================================= */


/* =========================================================
   BRAND COLORS
========================================================= */

:root {

    --aces-black: #12110F;
    --aces-black-2: #1A1815;

    --aces-bone: #F2EBDD;
    --aces-white: #FFFDF7;

    --aces-dust: #C9B99A;
    --aces-copper: #B66A3C;

    --aces-violet: #A98BFF;
    --aces-violet-dark: #7962D9;

    --aces-coral: #FF5A4E;

    --aces-steel: #66717C;

    --border-light: rgba(18, 17, 15, 0.15);
    --border-dark: rgba(242, 235, 221, 0.18);

    --max-width: 1180px;

}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family: 'Inter', sans-serif;

    background: var(--aces-bone);

    color: var(--aces-black);

    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

::selection {
    background: var(--aces-violet);
    color: var(--aces-black);
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
h4,
h5 {
    margin-top: 0;

    font-family: 'Space Grotesk', sans-serif;

    line-height: 1.05;

    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(3rem, 7vw, 6.5rem);
}

h2 {
    font-size: clamp(2.2rem, 5vw, 4rem);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-top: 0;
}

.mono {
    font-family: 'IBM Plex Mono', monospace;
}


/* =========================================================
   GLOBAL CONTAINER
========================================================= */

.container {
    width: min(var(--max-width), 90%);
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: relative;
    z-index: 1000;

    background: var(--aces-black);

    color: var(--aces-bone);
}

.navbar {
    border-bottom: 1px solid var(--border-dark);
}

.nav-container {
    width: min(1400px, 94%);
    min-height: 78px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   BRAND
========================================================= */

.brand {
    display: flex;
    align-items: center;
    gap: 12px;

    flex-shrink: 0;
}





/* =========================================================
   NAVIGATION
========================================================= */

.nav-links {
    display: flex;
    align-items: center;

    gap: 32px;

    margin-left: auto;
}

.nav-links a {
    position: relative;

    font-family: 'IBM Plex Mono', monospace;

    font-size: 0.78rem;

    text-transform: uppercase;

    letter-spacing: 0.05em;

    color: var(--aces-dust);

    transition: color 0.2s ease;
}

.nav-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -9px;

    width: 0;
    height: 2px;

    background: var(--aces-violet);

    transition: width 0.2s ease;
}

.nav-links a:hover {
    color: var(--aces-bone);
}

.nav-links a:hover::after {
    width: 100%;
}


/* =========================================================
   HELP BUTTON
========================================================= */

.nav-help {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    padding: 13px 20px;

    background: var(--aces-coral);

    color: var(--aces-black);

    font-family: 'IBM Plex Mono', monospace;

    font-size: 0.72rem;

    font-weight: 600;

    text-transform: uppercase;

    transform: skew(-8deg);

    transition: 0.2s ease;
}

.nav-help span {
    font-size: 1.1rem;
}

.nav-help:hover {
    background: var(--aces-bone);

    color: var(--aces-black);

    transform: skew(-8deg) translateY(-2px);
}


/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu-button {
    display: none;

    width: 42px;
    height: 42px;

    padding: 8px;

    border: 1px solid var(--border-dark);

    background: transparent;

    cursor: pointer;
}

.mobile-menu-button span {
    display: block;

    width: 100%;
    height: 2px;

    margin: 5px 0;

    background: var(--aces-bone);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 720px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: var(--aces-black);

    color: var(--aces-bone);
}

.hero img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0.52;
}

.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(18, 17, 15, 0.98) 0%,
            rgba(18, 17, 15, 0.85) 40%,
            rgba(18, 17, 15, 0.35) 75%,
            rgba(18, 17, 15, 0.65) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    width: min(var(--max-width), 90%);

    margin: 0 auto;

    padding: 100px 0 70px;
}

.hero-content h1 {
    max-width: 850px;

    margin-bottom: 30px;
}

.hero-content h1 span {
    color: var(--aces-violet);
}

.hero-content p {
    max-width: 600px;

    margin-bottom: 35px;

    color: var(--aces-dust);

    font-size: 1.1rem;
}


/* =========================================================
   SECTION LABEL
========================================================= */

.section-label {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-bottom: 20px;

    font-family: 'IBM Plex Mono', monospace;

    font-size: 0.72rem;

    font-weight: 600;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    color: var(--aces-violet);
}

.section-label::after {
    content: "";

    width: 90px;
    height: 1px;

    background: currentColor;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 15px 25px;

    font-family: 'IBM Plex Mono', monospace;

    font-size: 0.78rem;

    font-weight: 600;

    text-transform: uppercase;

    border: none;

    cursor: pointer;

    transition: 0.2s ease;
}

.btn-primary {
    background: var(--aces-coral);

    color: var(--aces-black);
}

.btn-primary:hover {
    background: var(--aces-bone);

    color: var(--aces-black);

    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid var(--aces-violet);

    background: transparent;

    color: var(--aces-violet);
}

.btn-secondary:hover {
    background: var(--aces-violet);

    color: var(--aces-black);
}


/* =========================================================
   HERO INFORMATION BAR
========================================================= */

.hero-info {
    display: flex;

    margin-top: 65px;

    border-top: 1px solid var(--border-dark);

    padding-top: 20px;
}

.hero-info-item {
    padding: 0 30px;

    border-right: 1px solid var(--border-dark);
}

.hero-info-item:first-child {
    padding-left: 0;
}

.hero-info-item:last-child {
    border-right: none;
}

.hero-info-label {
    display: block;

    margin-bottom: 5px;

    font-family: 'IBM Plex Mono', monospace;

    font-size: 0.65rem;

    color: var(--aces-violet);

    text-transform: uppercase;
}

.hero-info-value {
    font-size: 0.8rem;

    color: var(--aces-bone);
}


/* =========================================================
   LIGHT SECTION
========================================================= */

.section-light {
    background: var(--aces-bone);

    color: var(--aces-black);
}


/* =========================================================
   DARK SECTION
========================================================= */

.section-dark {
    background: var(--aces-black);

    color: var(--aces-bone);
}


/* =========================================================
   SECTION SPACING
========================================================= */

.section {
    padding: 100px 0;
}


/* =========================================================
   SERVICES
========================================================= */

.services-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--border-light);
    border-left: 1px solid var(--border-light);
}

.service-card {
    padding: 40px;

    min-height: 300px;

    border-right: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);

    transition: 0.25s ease;
}

.service-card:hover {
    background: var(--aces-black);

    color: var(--aces-bone);
}

.service-number {
    margin-bottom: 50px;

    font-family: 'IBM Plex Mono', monospace;

    font-size: 0.7rem;

    color: var(--aces-violet);
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    color: var(--aces-steel);
}

.service-card:hover p {
    color: var(--aces-dust);
}

.service-arrow {
    display: block;

    margin-top: 30px;

    font-size: 1.5rem;

    color: var(--aces-violet);
}


/* =========================================================
   WHY ACES
========================================================= */

.features {
    display: grid;

    grid-template-columns: 1.2fr 2fr;

    gap: 80px;
}

.features-list {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;
}

.feature {
    border-top: 2px solid var(--aces-violet);

    padding-top: 20px;
}

.feature-number {
    margin-bottom: 25px;

    font-family: 'IBM Plex Mono', monospace;

    color: var(--aces-violet);
}


/* =========================================================
   EMERGENCY CTA
========================================================= */

.emergency-section {
    position: relative;

    overflow: hidden;

    background: var(--aces-coral);

    color: var(--aces-black);
}

.emergency-section::before {
    content: "ACES";

    position: absolute;

    right: -30px;
    bottom: -100px;

    font-family: 'Space Grotesk', sans-serif;

    font-size: 15rem;

    font-weight: 700;

    opacity: 0.07;
}

.emergency-section h2 {
    max-width: 750px;
}

.emergency-section p {
    max-width: 600px;
}


/* =========================================================
   SERVICE AREA
========================================================= */

.service-area {
    background: var(--aces-black);

    color: var(--aces-bone);
}

.service-area-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.service-area-list {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 0;

    margin-top: 35px;
}

.service-area-list div {
    padding: 15px 0;

    border-bottom: 1px solid var(--border-dark);

    font-family: 'IBM Plex Mono', monospace;

    font-size: 0.75rem;

    color: var(--aces-dust);
}

.service-area-list div::before {
    content: "•";

    margin-right: 10px;

    color: var(--aces-violet);
}


/* =========================================================
   MAP / VISUAL PANEL
========================================================= */

.map-panel {
    min-height: 420px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border-dark);

    background:
        radial-gradient(
            circle,
            rgba(169, 139, 255, 0.15),
            transparent 55%
        );

    overflow: hidden;
}

.map-panel::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    border: 1px solid var(--aces-violet);

    border-radius: 50%;

    opacity: 0.4;
}

.map-panel::after {
    content: "";

    position: absolute;

    width: 170px;
    height: 170px;

    border: 1px solid var(--aces-violet);

    border-radius: 50%;

    opacity: 0.5;
}

.map-location {
    position: relative;
    z-index: 2;

    padding: 20px 25px;

    background: var(--aces-violet);

    color: var(--aces-black);

    font-family: 'IBM Plex Mono', monospace;

    font-size: 0.75rem;

    font-weight: 600;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: var(--aces-black);

    color: var(--aces-bone);

    border-top: 1px solid var(--border-dark);
}

.footer-container {
    width: min(var(--max-width), 90%);

    margin: 0 auto;
}

.footer-main {
    display: grid;

    grid-template-columns: 2fr 1fr 1fr;

    gap: 50px;

    padding: 70px 0;
}

.footer-brand p {
    max-width: 350px;

    margin-top: 20px;

    color: var(--aces-dust);
}

.status-label {
    margin-bottom: 12px;

    font-family: 'IBM Plex Mono', monospace;

    font-size: 0.65rem;

    letter-spacing: 0.12em;

    color: var(--aces-steel);
}

.status-online {
    display: flex;

    align-items: center;

    gap: 10px;

    font-family: 'IBM Plex Mono', monospace;

    font-size: 0.75rem;
}

.status-online span {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #35D07F;
}

.footer-contact a {
    display: inline-block;

    padding: 12px 15px;

    border: 1px solid var(--aces-coral);

    color: var(--aces-coral);

    font-family: 'IBM Plex Mono', monospace;

    font-size: 0.8rem;
}

.footer-bottom {
    display: flex;

    justify-content: space-between;

    padding: 20px 0;

    border-top: 1px solid var(--border-dark);

    font-family: 'IBM Plex Mono', monospace;

    font-size: 0.62rem;

    color: var(--aces-steel);
}


/* =========================================================
   GENERIC CONTENT
========================================================= */

.page-header {
    padding: 110px 0;

    background: var(--aces-black);

    color: var(--aces-bone);
}

.page-header h1 {
    max-width: 900px;

    margin-bottom: 20px;
}

.page-header p {
    max-width: 650px;

    color: var(--aces-dust);
}


/* =========================================================
   CARDS
========================================================= */

.card-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 1px;

    background: var(--border-light);
}

.card {
    padding: 35px;

    background: var(--aces-bone);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .nav-links {
        display: none;
    }

    .nav-help {
        margin-left: auto;
    }

    .mobile-menu-button {
        display: block;
    }

    .hero {
        min-height: 650px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .features {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .service-area-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 600px) {

    .nav-container {
        min-height: 70px;
    }

    .brand-text strong {
        font-size: 1.3rem;
    }

    .nav-help {
        display: none;
    }

    .hero {
        min-height: 650px;
    }

    .hero-content {
        padding: 80px 0 50px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-info {
        display: grid;

        grid-template-columns: 1fr;

        gap: 15px;
    }

    .hero-info-item {
        padding: 0;

        border-right: none;
    }

    .section {
        padding: 70px 0;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .service-area-list {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;

        padding: 50px 0;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 10px;
    }

}



@media (max-width: 900px) {

    .nav-links.mobile-open {

        position: absolute;

        top: 70px;
        left: 0;
        right: 0;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 10px 5% 20px;

        background: var(--aces-black);

        border-bottom: 1px solid var(--border-dark);

    }

    .nav-links.mobile-open a {

        padding: 15px 0;

        border-bottom: 1px solid var(--border-dark);

    }

}




/* ==================================================
   ACES EV RESCUE LOGO
================================================== */

/* Header logo */

.header-logo {
    display: block;
    width: 145px;
    height: auto;
    object-fit: contain;

    transition:
        transform 0.25s ease,
        filter 0.25s ease;
}


/* Header logo hover */

.brand:hover .header-logo {
    transform: scale(1.05);

    filter:
        drop-shadow(0 0 8px rgba(169, 139, 255, 0.55))
        drop-shadow(0 0 16px rgba(255, 90, 78, 0.25));
}


/* Footer logo link */

.footer-logo-link {
    display: inline-block;
    text-decoration: none;
}


/* Footer logo */

.footer-logo {
    display: block;
    width: 155px;
    height: auto;
    object-fit: contain;

    transition:
        transform 0.25s ease,
        filter 0.25s ease;
}


/* Footer logo hover */

.footer-logo-link:hover .footer-logo {
    transform: scale(1.04);

    filter:
        drop-shadow(0 0 8px rgba(169, 139, 255, 0.45));
}


/* ==================================================
   MOBILE LOGO
================================================== */

@media (max-width: 768px) {

    .header-logo {
        width: 115px;
    }

    .footer-logo {
        width: 135px;
    }

}