/* Variables & Reset */
:root {
    --c-bg: #0b0b0b;
    --c-bg-alt: #161616;
    --c-bg-card: #1f1f1f;
    --c-text: #f0f0f0;
    --c-text-muted: #a0a0a0;
    --c-accent: #e0e0e0; /* Platinum */
    --c-brand: #d1d1d1;
    --c-primary: #ffffff;
    --c-cta: #c90000; /* Aggressive Red for converting actions */
    --c-cta-hover: #ff1a1a;
    
    --g-metal: linear-gradient(135deg, #e0e0e0 0%, #a0a0a0 100%);
    --g-dark: linear-gradient(to bottom, #1a1a1a, #0b0b0b);
    
    --s-nav: 70px;
    --s-gap: 2rem;
    --r-card: 8px;
    
    --f-sys: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    --z-nav: 1000;
    --z-modal: 2000;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    padding: 0;
    background-color: var(--c-bg);
    color: var(--c-text);
    font-family: var(--f-sys);
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: opacity 0.2s; }
ul { list-style: none; padding: 0; margin: 0; }
button { font-family: inherit; cursor: pointer; border: none; }

/* Utilities */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-pad { padding: 4rem 0; }
.text-center { text-align: center; }
.text-muted { color: var(--c-text-muted); }
.text-accent { color: var(--c-cta); }
.bg-darker { background-color: var(--c-bg-alt); }
.bg-gradient { background: var(--g-dark); }
.split-layout { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 4rem; 
    align-items: center; 
}

/* Typography */
h1, h2, h3 { line-height: 1.1; margin-bottom: 1rem; color: var(--c-primary); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }
p { margin-bottom: 1.5rem; color: var(--c-text-muted); font-size: 1.1rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8em 1.5em;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
}
.btn-primary {
    background-color: var(--c-cta);
    color: white;
    box-shadow: 0 4px 15px rgba(201, 0, 0, 0.4);
}
.btn-primary:hover {
    background-color: var(--c-cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 0, 0, 0.6);
}
.btn-outline {
    border: 2px solid var(--c-accent);
    color: var(--c-accent);
    background: transparent;
}
.btn-outline:hover {
    background: var(--c-accent);
    color: var(--c-bg);
}
.btn-lg { font-size: 1.1rem; padding: 1em 2em; }
.btn-block { width: 100%; }
.btn-text { color: var(--c-cta); font-weight: 700; border-bottom: 2px solid transparent; }
.btn-text:hover { border-bottom-color: var(--c-cta); }
.btn-sm { padding: 0.5em 1em; font-size: 0.9rem; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-nav);
    background: rgba(11, 11, 11, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #333;
    height: var(--s-nav);
    display: flex;
    align-items: center;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.logo img { 
    height: 40px; 
    width: auto; 
    filter: brightness(0) invert(1); /* Ensure logo is white */
}
.nav-list { display: flex; gap: 1.5rem; }
.nav-list a { font-weight: 500; font-size: 0.95rem; text-transform: uppercase; color: var(--c-text); }
.nav-list a:hover { color: var(--c-cta); }
.header-call { margin-left: 1rem; display: none; } /* Hidden on small desk, shown on wide */

/* Hero */
.hero {
    position: relative;
    width: 100%;
    height: auto;
    /* 
       Strict 16:9 aspect ratio ensures the container matches the image shape.
       This prevents 'cover' from cropping the sides on wider screens.
    */
    aspect-ratio: 16/9; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #0b0b0b;
}
.hero-bg {
    width: 100%; 
    height: 100%; 
    /* cover fills the area (no black bars). */
    object-fit: cover; 
    object-position: center;
    filter: brightness(0.6);
    transition: transform 6s linear;
}
.hero-slider, .hero-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}
.hero-slide { opacity: 0; transition: opacity 1s ease-in-out; }
.hero-slide.active { opacity: 1; }
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding-top: 60px; /* Offset for nav if needed */
}
.hero-actions { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.trust-chips { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.9rem; font-weight: 600; color: var(--c-accent); }
.chip { background: rgba(255,255,255,0.1); padding: 0.3em 0.8em; border-radius: 20px; backdrop-filter: blur(4px); }
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.4), transparent);
    z-index: 1;
    pointer-events: none;
}

/* Social Proof */
.social-proof { background: #1a1a1a; padding: 1.5rem 0; border-bottom: 1px solid #333; }
.proof-grid { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.rating-badge { display: flex; flex-direction: column; font-weight: 700; color: #ffd700; }
.stars { font-size: 1.2rem; letter-spacing: 2px; }
.rating-text { color: var(--c-text-muted); font-size: 0.8rem; text-transform: uppercase; }
.testimonial { font-style: italic; border-left: 3px solid var(--c-cta); padding-left: 1rem; }
.testimonial cite { display: block; margin-top: 0.5rem; font-style: normal; font-weight: 700; color: var(--c-text); font-size: 0.85rem; }

/* Reviews */
.reviews { background: var(--c-bg); }
.reviews-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.reviews-controls { display: flex; gap: 0.5rem; }
.reviews-slider {
    display: grid;
    /* Changed from 6 to 3 columns for better readability */
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}
/* No-JS fallback: show all reviews */
.review-card {
    background: var(--c-bg-card);
    border: 1px solid #333;
    border-radius: var(--r-card);
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    display: flex;
    flex-direction: column;
    height: 100%;
    /* min-height removed to reduce gap on short reviews */
    transition: transform 0.3s ease, border-color 0.3s;
}
.review-card:hover { transform: translateY(-5px); border-color: var(--c-cta); }
/* JS mode: only show active set */
.reviews-slider.js-ready .review-card { display: none; }
.reviews-slider.js-ready .review-card.is-active { display: flex; } /* Flex for consistent layout */

.review-stars { color: #ffd700; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 0.2rem; line-height: 1; }
.review-text { 
    color: var(--c-text-muted); 
    font-size: 1.05rem; 
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 1rem;
    font-style: italic;
}
.review-meta { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    gap: 1rem; 
    font-size: 0.9rem; 
    margin-top: auto; 
    border-top: 1px solid #333;
    padding-top: 1rem;
}
.review-name { color: var(--c-text); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.review-date { color: #666; font-size: 0.8rem; }

.reviews-dots { display: flex; justify-content: center; gap: 0.8rem; margin-top: 2rem; }
.reviews-dots button {
    width: 12px; height: 12px; border-radius: 50%;
    background: #222; border: 1px solid #444; cursor: pointer;
    transition: all 0.2s;
}
.reviews-dots button:hover { border-color: var(--c-cta); }
.reviews-dots button.active { background: var(--c-cta); border-color: var(--c-cta); transform: scale(1.2); }

/* Categories */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}
.cat-card {
    background: var(--c-bg-card);
    border-radius: var(--r-card);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #333;
}
.cat-card:hover { transform: translateY(-5px); border-color: var(--c-cta); }
.cat-img-wrap { height: 150px; overflow: hidden; }
.cat-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.cat-card:hover img { transform: scale(1.1); }
.cat-card h3 { margin: 1rem 0; font-size: 1.1rem; text-transform: uppercase; }

/* SEO Text Sections */
.seo-img {
    width: 100%;
    border-radius: var(--r-card);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid #333;
    /* Edge lighting effect */
    filter: drop-shadow(0 0 1px rgba(255,255,255,0.1));
}
.visual-content {
    position: relative;
}
/* Mobile stack order is handled by DOM order + grid defaults, no reverse needed for vertical stack */

.benefit-list { list-style: square; padding-left: 1.2rem; color: var(--c-text-muted); margin-bottom: 2rem; }
.benefit-list li { margin-bottom: 0.5rem; }

/* Tools */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 2rem; }
.tool-card { background: var(--c-bg-card); padding: 2rem; border-radius: var(--r-card); border-top: 4px solid var(--c-cta); text-align: center; }
.tool-img { height: 100px; margin-bottom: 1rem; }
.tool-img img { height: 100%; width: auto; margin: 0 auto; }

/* Vehicles */
.featured-make { margin-bottom: 2rem; }
.make-card.featured {
    position: relative; height: 350px; border-radius: var(--r-card); overflow: hidden;
    display: flex; align-items: flex-end; padding: 2rem;
    border: 1px solid #333;
}
.make-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center; filter: brightness(0.6);
    transition: transform 0.5s;
}
.make-card:hover .make-bg { transform: scale(1.05); }
.make-content { position: relative; z-index: 2; width: 100%; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }

.makes-grid { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.make-pill {
    padding: 0.6em 1.2em; border: 1px solid #444; border-radius: 50px;
    font-weight: 600; text-transform: uppercase; font-size: 0.9rem;
    background: #1a1a1a;
}
.make-pill:hover { border-color: var(--c-cta); background: var(--c-cta); color: white; }

/* Service Area */
.city-list { color: var(--c-text-muted); line-height: 1.8; margin-top: 1rem; }
.city-list span { color: var(--c-text); font-weight: 500; }

/* Gallery */
.gallery-masonry { 
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.gallery-item { 
    border-radius: var(--r-card); 
    overflow: hidden; 
    cursor: pointer;
    aspect-ratio: 3/2; /* 3:2 Ratio (Landscape) */
    position: relative;
}
.gallery-item img { 
    width: 100%; 
    height: 100%; 
    display: block; 
    object-fit: cover; /* Ensures images fill the 3:2 box without stretching */
    border-radius: var(--r-card); 
    transition: filter 0.3s, transform 0.5s;
}
.gallery-item:hover img { 
    filter: brightness(1.1); 
    transform: scale(1.03);
}

/* Brands */
.brand-grid {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; align-items: center; margin-top: 2rem;
    opacity: 0.8;
}
.brand-item { width: 60px; opacity: 0.7; filter: grayscale(100%); transition: all 0.3s; }
.brand-item:hover { filter: grayscale(0%); opacity: 1; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #333; }
.faq-question {
    width: 100%; text-align: left; padding: 1.5rem 0;
    background: none; color: var(--c-text);
    font-size: 1.2rem; font-weight: 600;
    display: flex; justify-content: space-between; align-items: center;
}
.faq-question:hover { color: var(--c-cta); }
.faq-answer {
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
    color: var(--c-text-muted); padding-bottom: 0;
}
.faq-item.active .faq-answer { padding-bottom: 1.5rem; max-height: 200px; }
.faq-item.active .icon-plus { transform: rotate(45deg); }

/* Contact */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info { padding-top: 2rem; }
.phone-big { font-size: 2.5rem; font-weight: 800; display: block; margin: 1rem 0; color: var(--c-cta); }
.address-copy { cursor: pointer; display: inline-block; border-bottom: 1px dotted #666; }
.copy-hint { font-size: 0.8rem; color: #666; margin-left: 0.5rem; }
.social-links { margin-top: 2rem; display: flex; gap: 1rem; }
.social-links a { text-decoration: underline; font-weight: 700; }

.contact-form-wrap { background: var(--c-bg-card); padding: 2rem; border-radius: var(--r-card); }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-size: 0.9rem; font-weight: 600; }
.form-group input, .form-group textarea {
    width: 100%; padding: 0.8rem; background: #111; border: 1px solid #333;
    color: white; border-radius: 4px; font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--c-cta); }

.alert { padding: 1rem; margin-bottom: 1rem; border-radius: 4px; font-weight: 600; }
.alert.success { background: rgba(0, 255, 0, 0.1); border: 1px solid green; color: #4eff4e; }
.alert.error { background: rgba(255, 0, 0, 0.1); border: 1px solid red; color: #ff4e4e; }

/* Footer */
.site-footer { padding: 3rem 0; text-align: center; border-top: 1px solid #333; color: #666; font-size: 0.9rem; margin-bottom: 60px; }
.footer-links a { margin: 0 0.5rem; color: #888; }
.footer-links a:hover { color: white; }

/* SEO / About Block */
.seo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.seo-column h2 { font-size: 2rem; margin-bottom: 1.5rem; color: var(--c-primary); }
.seo-column h3 { font-size: 1.3rem; margin-top: 2rem; margin-bottom: 1rem; color: var(--c-accent); }
.seo-column p { font-size: 1rem; line-height: 1.7; color: var(--c-text-muted); margin-bottom: 1.5rem; }

.seo-footer {
    border-top: 1px solid #333;
    padding-top: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.small-text { font-size: 0.9rem; }

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.lightbox.active {
    display: flex;
    opacity: 1;
}
.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}
.lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    user-select: none;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 3001;
    line-height: 1;
}
.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 50%;
}
.lightbox-prev:hover, .lightbox-next:hover {
    background: var(--c-cta);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* Mobile UI */
.mobile-menu-toggle { display: none; background: none; color: white; font-size: 1.5rem; padding: 0.5rem; }
.hamburger { display: block; width: 24px; height: 2px; background: white; position: relative; }
.hamburger::before, .hamburger::after {
    content: ''; position: absolute; width: 24px; height: 2px; background: white; left: 0; transition: 0.2s;
}
.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

.mobile-nav {
    position: fixed; top: var(--s-nav); left: 0; width: 100%;
    background: #111; border-bottom: 1px solid #333;
    max-height: 0; overflow: hidden; transition: max-height 0.3s;
    z-index: 999;
}
.mobile-nav.open { max-height: 400px; }
.mobile-nav-list li { border-bottom: 1px solid #222; }
.mobile-nav-list a { display: block; padding: 1rem; text-align: center; }

.mobile-sticky-bar {
    position: fixed; bottom: 0; left: 0; width: 100%; padding: 10px;
    background: #111; border-top: 1px solid #333; z-index: var(--z-nav);
    display: none;
}

/* Modal */
.modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: var(--z-modal); display: flex; align-items: center; justify-content: center;
    visibility: hidden; opacity: 0; transition: 0.3s;
}
.modal.open { visibility: visible; opacity: 1; }
.modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); }
.modal-container {
    position: relative; z-index: 2; background: var(--c-bg-card);
    width: 90%; max-width: 500px; border-radius: var(--r-card); padding: 2rem;
    border: 1px solid #333; transform: translateY(20px); transition: 0.3s;
}
.modal.open .modal-container { transform: translateY(0); }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.modal-close { font-size: 2rem; color: #888; background: none; }
.modal-close:hover { color: white; }

/* Media Queries */
@media (min-width: 768px) {
    .header-call { display: inline-flex; }
    .mobile-sticky-bar { display: none; }
    .site-footer { margin-bottom: 0; }
}
@media (max-width: 768px) {
    .nav-list { display: none; }
    .mobile-menu-toggle { display: block; }
    .split-layout, .contact-wrapper { grid-template-columns: 1fr; gap: 2rem; }
    .seo-content { grid-template-columns: 1fr; gap: 2rem; }
    .seo-column h2 { font-size: 1.8rem; }
    
    /* Hero: Allow height to fit on mobile */
    .hero { min-height: 550px; aspect-ratio: unset; } 
    .hero-content { padding-bottom: 60px; } /* Add padding bottom for mobile spacing */
    h1 { font-size: 2.5rem; }
    .mobile-hide { display: none; }
    .gallery-masonry { grid-template-columns: repeat(2, 1fr); }
    .mobile-sticky-bar { display: block; }
    .lightbox-prev, .lightbox-next { padding: 0.5rem; font-size: 1.5rem; }
    .reviews-slider { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .gallery-masonry { grid-template-columns: 1fr; }
    .reviews-slider { grid-template-columns: repeat(1, minmax(0, 1fr)); }
    .reviews-head { flex-direction: column; align-items: flex-start; }
}
