@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;900&family=Public+Sans:wght@300;400;600&display=swap');

:root {
    --bg-main: #0f1113;
    --bg-surface: #1a1d21;
    --bg-card: #25292e;
    --primary: #ff6b00;
    --primary-hover: #ff8533;
    --text-main: #ffffff;
    --text-dim: #a9afb8;
    --border: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Public Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Big Shoulders Display', sans-serif;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 0.05em;
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.text-primary { color: var(--primary); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: 'Big Shoulders Display', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary);
    color: #000;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #000;
}

/* Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 17, 19, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.navbar {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-family: 'Big Shoulders Display', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
    animation: kenBurns 10s infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(15, 17, 19, 1) 0%, rgba(15, 17, 19, 0.4) 50%, rgba(15, 17, 19, 0.7) 100%);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-dim);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-inline: auto;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    background: var(--bg-card);
    border-color: var(--primary);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-dim);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.gallery-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-surface);
    padding: 2rem;
    border-radius: 4px;
    position: relative;
}

.testimonial-card::after {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 5rem;
    font-family: serif;
    color: var(--primary);
    opacity: 0.1;
    line-height: 1;
}

.stars {
    color: #ffc107;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-dim);
}

.testimonial-author {
    font-weight: 700;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form {
    background: var(--bg-surface);
    padding: 3rem;
    border: 1px solid var(--border);
}

.contact-form h2 {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: white;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

.map-container {
    height: 100%;
    min-height: 450px;
    background: var(--bg-surface);
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

.area-map-container {
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--border);
}

.area-map-container iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(1) invert(1) contrast(1.2); /* Match the dark industrial theme */
}

/* Footer */
.footer {
    background: #050607;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-contact li {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: var(--text-dim);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Page Header (Subpages) */
.page-header {
    padding: 12rem 0 6rem;
    background: linear-gradient(rgba(15, 17, 19, 0.8), rgba(15, 17, 19, 0.8)), url('https://media.istockphoto.com/id/2128680524/photo/truck-repair-shop.jpg?s=612x612&w=0&k=20&c=DN74Scgqtp0DGLD8U1SofclSSdioy9u9q_-RTsRkqsI=');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.page-header h1 {
    font-size: 4rem;
}

/* Responsive */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 4rem 0;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .page-header h1 {
        font-size: 3rem;
    }
}

/* Mobile Nav Open State */
.nav-active .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-main);
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

/* Section Label */
.section-label {
    font-family: 'Big Shoulders Display', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: block;
}

/* ============================
   WHY CHOOSE US
   ============================ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2.5rem 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.why-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 107, 0, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.why-card:hover::after {
    transform: scaleX(1);
}

.why-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 107, 0, 0.1);
    border: 1px solid rgba(255, 107, 0, 0.3);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.why-icon svg {
    width: 26px;
    height: 26px;
}

.why-card:hover .why-icon {
    background: rgba(255, 107, 0, 0.2);
    border-color: var(--primary);
}

.why-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.why-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================
   HOW IT WORKS
   ============================ */
.process-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
}

.process-step {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    position: relative;
    transition: var(--transition);
}

.process-step:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.process-number {
    font-family: 'Big Shoulders Display', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(255, 107, 0, 0.15);
    line-height: 1;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.process-step:hover .process-number {
    color: rgba(255, 107, 0, 0.4);
}

.process-icon-wrap {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.4rem;
    color: #000;
    transition: var(--transition);
}

.process-step:hover .process-icon-wrap {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.5);
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.process-step p {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.6;
}

.process-connector {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), rgba(255, 107, 0, 0.3));
    position: relative;
    flex-shrink: 0;
}

.process-connector::after {
    content: '';
    position: absolute;
    right: -6px;
    top: -4px;
    width: 0;
    height: 0;
    border-left: 8px solid rgba(255, 107, 0, 0.3);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

/* ============================
   EMERGENCY CTA SPOTLIGHT
   ============================ */
.emergency-spotlight {
    position: relative;
    padding: 7rem 0;
    background-image: url('https://images.unsplash.com/photo-1570125909232-eb263c188f7e?fm=jpg&q=80&w=3000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.emergency-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 12, 14, 0.92) 0%, rgba(20, 10, 0, 0.88) 100%);
}

.emergency-content {
    position: relative;
    z-index: 1;
}

.emergency-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 107, 0, 0.15);
    border: 1px solid rgba(255, 107, 0, 0.5);
    color: var(--primary);
    font-family: 'Big Shoulders Display', sans-serif;
    font-weight: 700;
    letter-spacing: 0.15em;
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
    margin-bottom: 1.5rem;
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.4); }
    50%       { box-shadow: 0 0 0 6px rgba(255, 107, 0, 0); }
}

.emergency-content h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.2rem;
}

.emergency-content > p {
    color: var(--text-dim);
    font-size: 1.1rem;
    max-width: 650px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.emergency-actions {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.emergency-features {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.emergency-features span {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-dim);
}

/* ============================
   BRANDS WE SERVICE
   ============================ */
.brands-section {
    overflow: hidden;
}

.brands-marquee-wrapper {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.brands-marquee {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.brands-marquee:hover {
    animation-play-state: paused;
}

.brand-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    font-family: 'Big Shoulders Display', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
    transition: var(--transition);
    cursor: default;
}

.brand-chip i {
    color: var(--primary);
}

.brand-chip:hover {
    border-color: var(--primary);
    background: var(--bg-card);
    color: var(--primary);
}

@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================
   FAQ SECTION
   ============================ */
.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: var(--transition);
    overflow: hidden;
}

.faq-item.open {
    border-color: rgba(255, 107, 0, 0.5);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-main);
    font-family: 'Public Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
    background: rgba(255, 107, 0, 0.05);
}

.faq-icon {
    color: var(--primary);
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 0 2rem;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 2rem 1.5rem;
}

.faq-answer p {
    color: var(--text-dim);
    line-height: 1.8;
    border-top: 1px solid var(--border);
    padding-top: 1.2rem;
}

/* ============================
   RESPONSIVE ADJUSTMENTS
   ============================ */
@media (max-width: 1100px) {
    .process-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }
    .process-connector {
        display: none;
    }
}

@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
    .emergency-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    .why-grid {
        grid-template-columns: 1fr;
    }
    .faq-question {
        font-size: 0.95rem;
        padding: 1.2rem 1.5rem;
    }
    .faq-answer {
        padding: 0 1.5rem;
    }
    .faq-item.open .faq-answer {
        padding: 0 1.5rem 1.2rem;
    }
}
