:root {
    --bg-white: #ffffff;
    --bg-light: #f4f6f8;
    --text-dark: #111827;
    --text-muted: #4b5563;
    --accent-blue: #3b82f6;
    --accent-hover: #2563eb;
    --border-color: #e5e7eb;
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-bottom: 2rem; text-align: center; }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
p { color: var(--text-muted); margin-bottom: 1rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: var(--accent-blue);
    color: var(--bg-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    text-align: center;
}

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

.btn:active {
    transform: scale(0.98);
}

/* Header */
.site-header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--accent-blue);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    background-color: var(--bg-light);
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
    /* Example of descriptive background image in CSS */
    background-image: linear-gradient(rgba(244, 246, 248, 0.9), rgba(244, 246, 248, 0.95)), url('images/mechanic-workshop-background.jpg');
    background-size: cover;
    background-position: center;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    color: var(--text-dark);
}

.hero p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

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

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

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

.card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-hover);
}

.card h3 {
    color: var(--accent-blue);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.card ul {
    list-style: none;
}

.card ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

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

/* Grid Lists (Maintenance, Repairs, Additional) */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-item {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.bg-light .service-item {
    background: var(--bg-white);
}

.service-item strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-size: 1.05rem;
}

/* Contact Form */
.contact-wrap {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    background-color: #fafafa;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-blue);
    background-color: var(--bg-white);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    text-align: left;
    margin-top: 2rem;
}

.legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
    background-color: var(--text-dark);
    color: #9ca3af;
    padding: 3rem 0;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    list-style: none;
}

.footer-nav a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-nav a:hover {
    color: var(--bg-white);
}

.copyright {
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
    }
    
    .mobile-menu-btn {
        display: block;
    }

    .main-nav {
        display: none; /* Hidden by default on mobile */
        width: 100%;
        flex-direction: column;
        padding: 1rem 0;
        gap: 1rem;
    }

    .main-nav.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 50px 0;
    }
}