:root {
    --bg-dark: #070a10;
    --card-bg: #0d1424;
    --card-border: #1a2638;
    --accent-cyan: #00e5ff;
    --accent-green: #ccff00;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}



body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.5;
}

/* TOP NAVIGATION & DROPDOWNS */
header {
    background-color: rgba(7, 10, 16, 0.95);
    border-bottom: 1px solid var(--card-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}



.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

/* Targets both SVG and IMG tags inside brand-logo */
.brand-logo svg,
.brand-logo img {
    width: 150px;
    height: 50px;
    object-fit: contain; /* Prevents the image from stretching or distorting */
    flex-shrink: 0;     /* Prevents flexbox from squeezing or expanding it */
}
.brand-text {
    display: flex;
    flex-direction: column;

}
.brand-title {
    font-size: 1.3rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 1px;
    line-height: 1;
}

.brand-title span {
    color: var(--accent-cyan);
}

.brand-sub {
    font-size: 0.58rem;
    color: var(--accent-green);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 3px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 18px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--accent-cyan);
}

/* Dropdown Menu Styles */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    list-style: none;
    padding: 10px 0;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 10px 18px;
    display: block;
    font-size: 0.82rem;
    transition: background 0.2s, color 0.2s;
}

.dropdown li a:hover {
    background-color: rgba(0, 229, 255, 0.1);
    color: var(--accent-cyan);
}

/* BUTTONS */
.btn-neon {
    background-color: var(--accent-green);
    color: #000;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.82rem;
    display: inline-block;
    transition: box-shadow 0.2s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.btn-neon:hover {
    box-shadow: 0 0 15px rgba(204, 255, 0, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.82rem;
    transition: background 0.2s;
}

.btn-outline:hover {
    background-color: rgba(0, 229, 255, 0.15);
}

/* HERO SECTION */
.hero {
    max-width: 1300px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
background: url('../images/01_top_car_diagnostic.png') center center / cover no-repeat;
    border-bottom: 1px solid var(--card-border);
}


.hero2{
       max-width: 1300px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
background: url('../images/apex_tocoma_close_up.jpg') center center / cover no-repeat;
    border-bottom: 1px solid var(--card-border);
}


.hero3{
       max-width: 1300px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
background: url('../images/apex_programing.jpg') center center / cover no-repeat;
    border-bottom: 1px solid var(--card-border);
}

.hero4{
       max-width: 1300px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
background: url('../images/car_engine_bay_open.jpg') center center / cover no-repeat;
    border-bottom: 1px solid var(--card-border);
}

.hero5{
       max-width: 1300px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
background: black center center / cover no-repeat;
    border-bottom: 1px solid var(--card-border);
}


.footer-about-info{
    display: grid;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}
.hero-content {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    max-width: 650px; /* Constrains text width so it stays on the left */
}

.hero-title .highlight {
    color: var(--accent-green);
    display: block;
}

.hero-description {
    color: var(--text-main);
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
}


.hero-overlay {
    width: 100%;
    height: 100%;
    padding: 60px 20px;
    background: linear-gradient(
        90deg, 
        rgba(7, 10, 16, 0.92) 0%, 
        rgba(7, 10, 16, 0.75) 45%, 
        rgba(7, 10, 16, 0.20) 100%
    );
    display: flex;
    align-items: center;
}
.hero-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.hero-graphic {
    background: linear-gradient(135deg, rgba(0,229,255,0.1), rgba(13,20,36,0.8));
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 20px;
}

.graphic-box {
    width: 100%;
    height: 280px;
    background-color: #04060a;
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-weight: 600;
}

/* SERVICE CARDS GRID */
.services-section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 20px;
}

.section-header {
    margin-bottom: 30px;
}

.section-subtitle {
    color: var(--accent-cyan);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 800;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 6px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.2s;
}

.card:hover {
    border-color: var(--accent-cyan);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.card-list {
    list-style: none;
    margin-bottom: 20px;
}

.card-list li {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.card-list li::before {
    content: "•";
    color: var(--accent-cyan);
    position: absolute;
    left: 0;
}

.card-link {
    color: var(--accent-green);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* SERVICE AREA TAGS */
.service-area-section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 20px 60px 20px;
}

.city-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.city-tag {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--accent-cyan);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* car background */

.airzona-bg{
   background: url('../images/06_suburban_phoenix_mountains.png') center center / cover no-repeat;
}

.about-apex-teck-faded-bg{
position: relative;
    width: 100%;
    min-height: 450px;
    
    /* Layer 1: Solid pure black gradient fading left-to-right */
    /* Layer 2: Your background image */
    background: 
        linear-gradient(
            to right, 
            #000000 0%,          /* 100% Solid Black on the far left where text sits */
            rgba(0, 0, 0, 0.85) 40%, /* Heavy dark overlay mid-left */
            rgba(0, 0, 0, 0.2) 80%,  /* Light black overlay over the car graphic */
            transparent 100%     /* Clear image on the right edge */
        ),
        url('../images/01_top_car_diagnostic.jpg') center right / cover no-repeat;
    
    display: flex;


}


.about-desc{
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 400px; /* Limits width so text wraps automatically */
    width: 100%;
}

.about-text{
    color: #00e5ff;
}

.Apex-tech{
width: 20px;

}

/* FOOTER */
footer {
    border-top: 1px solid var(--card-border);
    background-color: #04060a;
    padding: 30px 20px;
    margin-top: 40px;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}


.social-links{
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icon{
    color: var(--text-muted);
    width: 24px;
    height: 24px;
    display: inline-block;
    transition: color 0.2s transform 0.2s;
}

.social-icon svg{
    width: 100%;
    height: 100%;
}

.scoial-icon:hover{
    color: var(--accent-cyan);
    transform: translateY(-2px);
}

