/* Mike Clark's Automotive - Styles */
/* Color Palette: Dark Blue Primary, Red Accent */

:root {
    --primary: #1a3a5c;
    --primary-dark: #122a42;
    --primary-light: #2d5a8a;
    --accent: #d63031;
    --accent-dark: #b52a2a;
    --white: #ffffff;
    --bg: #ffffff;
    --bg-alt: #f8f9fa;
    --text: #2d3436;
    --text-muted: #636e72;
    --text-light: #b2bec3;
    --stars: #f39c12;
    --border: #dfe6e9;
    --shadow: rgba(0,0,0,0.1);
    --radius: 8px;
    --radius-lg: 12px;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--primary);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-size: 20px;
    font-weight: 700;
}

.logo-tagline {
    font-size: 12px;
    opacity: 0.9;
}

.nav {
    display: flex;
    gap: 25px;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}

.nav-link:hover {
    color: var(--white);
    border-bottom-color: var(--accent);
}

.header-cta .btn {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: transform 0.2s;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.btn-accent:hover {
    background: var(--accent-dark);
    color: var(--white);
}

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

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

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

.btn-white:hover {
    background: var(--bg-alt);
    color: var(--primary);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 60px 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-cta {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 50px 0;
}

.page-hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-hero h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.page-hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.price-badge {
    display: inline-block;
    background: var(--accent);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.brand-logo-hero img,
.brand-logo-large img {
    background: var(--white);
    padding: 10px;
    border-radius: var(--radius);
    margin-bottom: 15px;
}

/* Breadcrumbs */
.breadcrumbs {
    background: var(--bg-alt);
    padding: 15px 0;
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--text-muted);
}

.breadcrumbs span {
    color: var(--text-light);
    margin: 0 8px;
}

/* Sections */
.section {
    padding: 60px 0;
}

.bg-alt {
    background: var(--bg-alt);
}

.bg-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.bg-accent {
    background: var(--accent);
    color: var(--white);
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text);
}

.bg-primary .section-title,
.bg-accent .section-title {
    color: var(--white);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 18px;
}

.bg-primary .section-subtitle {
    color: rgba(255,255,255,0.8);
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.content-main h2 {
    font-size: 26px;
    margin: 30px 0 15px;
    color: var(--primary);
}

.content-main h2:first-child {
    margin-top: 0;
}

.content-main h3 {
    font-size: 22px;
    margin: 25px 0 12px;
    color: var(--text);
}

.content-main p {
    margin-bottom: 15px;
}

.content-main ul, .content-main ol {
    margin: 15px 0;
    padding-left: 25px;
}

.content-main li {
    margin-bottom: 8px;
}

/* Check List */
.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 12px;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Process List */
.process-list {
    counter-reset: step;
    list-style: none;
    padding: 0;
}

.process-list li {
    padding-left: 50px;
    position: relative;
    margin-bottom: 20px;
}

.process-list li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    width: 35px;
    height: 35px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Sidebar */
.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: 0 2px 10px var(--shadow);
}

.sidebar-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary);
}

.sidebar-list {
    list-style: none;
    padding: 0;
}

.sidebar-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-list a {
    color: var(--text);
}

.sidebar-list a:hover {
    color: var(--accent);
}

.sidebar-list-plain {
    list-style: none;
    padding: 0;
}

.sidebar-list-plain li {
    padding: 5px 0;
}

.sidebar-brands {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sidebar-brands a {
    background: var(--bg-alt);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 14px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.services-grid.small {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 25px;
    text-align: center;
    transition: all 0.2s;
    text-decoration: none;
    color: var(--text);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
    border-color: var(--primary);
    color: var(--text);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary);
}

.service-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.service-price {
    display: inline-block;
    background: var(--bg-alt);
    color: var(--accent);
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 14px;
}

/* Brands Grid */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
}

.brands-grid.large {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.brand-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    transition: all 0.2s;
    text-decoration: none;
}

.brand-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow);
    border-color: var(--primary);
}

.brand-card img {
    margin: 0 auto 10px;
}

.brand-card span {
    display: block;
    font-weight: 500;
    color: var(--text);
    font-size: 14px;
}

.brand-card-large {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: all 0.2s;
    text-decoration: none;
}

.brand-card-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
    border-color: var(--primary);
}

.brand-card-large img {
    margin: 0 auto 15px;
}

.brand-card-large h3 {
    color: var(--primary);
    margin-bottom: 5px;
}

.brand-card-large p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.feature-card {
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
}

.bg-primary .feature-card {
    color: var(--white);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    opacity: 0.9;
}

/* Areas Grid */
.areas-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.area-badge {
    background: var(--primary);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 500;
}

.areas-grid.large {
    gap: 20px;
}

.area-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 30px;
    text-align: center;
}

.area-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.area-card h3 {
    color: var(--primary);
    font-size: 16px;
}

/* Models Grid */
.models-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.model-badge {
    background: var(--bg-alt);
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 14px;
}

/* Location */
.location-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.location-map img {
    border-radius: var(--radius-lg);
}

.location-details h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.location-details p {
    margin-bottom: 10px;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
}

.contact-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.contact-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.contact-phone {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.contact-map iframe {
    border-radius: var(--radius-lg);
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-item summary {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::after {
    content: "+";
    font-size: 20px;
    font-weight: bold;
    color: var(--accent);
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    padding: 0 20px 20px;
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-col p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--white);
    opacity: 0.8;
}

.footer-col a:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.stars {
    color: var(--stars);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
}

.footer-bottom p {
    margin-bottom: 5px;
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-white {
    color: var(--white) !important;
}

.text-accent {
    color: var(--accent) !important;
}

/* Responsive */
@media (max-width: 992px) {
    .hero .container,
    .page-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image,
    .page-hero-image {
        display: none;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-badges {
        justify-content: center;
    }

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

    .location-info,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .nav.active {
        display: flex;
    }

    .mobile-toggle {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .hero h1 {
        font-size: 32px;
    }

    .page-hero h1 {
        font-size: 28px;
    }

    .section-title {
        font-size: 26px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 16px;
    }
}
