/* Fix-A-Dent Auto Body - Demo Concept
  Created by Michael Smith Sites
*/

:root {
    --primary-color: #d32f2f; /* Automotive Red */
    --primary-hover: #b71c1c;
    --secondary-color: #0f2942; /* Trustworthy Navy */
    --secondary-hover: #0a1c2e;
    --bg-light: #f4f6f8;
    --bg-dark: #1a1a1a;
    --text-color: #333333;
    --text-muted: #666666;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.text-center { text-align: center; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); color: var(--white); }
.bg-primary { background-color: var(--primary-color); color: var(--white); }

/* Typography */
h1, h2, h3, h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-primary h2 {
    color: var(--white);
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}
.btn-large { padding: 14px 32px; font-size: 1.1rem; }
.btn-small { padding: 8px 16px; font-size: 0.9rem; }
.btn-full { width: 100%; display: block; }

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

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

.btn-outline { background-color: transparent; border-color: var(--secondary-color); color: var(--secondary-color); }
.btn-outline:hover { background-color: var(--secondary-color); color: var(--white); }

.hero .btn-outline { border-color: var(--white); color: var(--white); }
.hero .btn-outline:hover { background-color: var(--white); color: var(--secondary-color); }

/* Demo Bar */
.demo-bar {
    background-color: #222;
    color: #ffd700;
    text-align: center;
    padding: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Header */
.site-header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1200px;
    margin: 0 auto;
}
.logo-placeholder {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: 1px;
}
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}
.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s;
}
.main-nav a:hover { color: var(--primary-color); }
.header-actions { display: flex; align-items: center; gap: 15px; }
.nav-phone { font-weight: 700; color: var(--secondary-color); text-decoration: none; }
.nav-phone:hover { color: var(--primary-color); }

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    /* Placeholder for future background image */
    background-image: linear-gradient(rgba(15, 41, 66, 0.85), rgba(15, 41, 66, 0.85)), url('assets/hero-bg-placeholder.jpg');
    background-size: cover;
    background-position: center;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero .subheadline { font-size: 1.2rem; max-width: 800px; margin: 0 auto 30px; }
.hero-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-bottom: 40px; }
.trust-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; font-weight: 600; font-size: 0.9rem; }

/* Sections General */
section { padding: 80px 0; }
.section-header { margin-bottom: 50px; }

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary-color);
}
.service-card ul { list-style: none; margin-top: 15px; }
.service-card ul li { padding-left: 20px; position: relative; margin-bottom: 8px; color: var(--text-muted); }
.service-card ul li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Standards */
.standards-intro { max-width: 800px; margin-bottom: 40px; }
.standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.standard-item {
    background: rgba(255,255,255,0.1);
    padding: 15px 20px;
    border-radius: 4px;
    font-weight: 600;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.gallery-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.placeholder-img {
    height: 200px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}
.gallery-info { padding: 20px; }

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}
.step {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.step-num {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 auto 15px;
}
.center-buttons { justify-content: center; }

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--border-color);
}
.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
}
.faq-question.active::after { content: '−'; }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-answer p { padding-bottom: 20px; color: var(--text-muted); }

/* Outreach Section */
.outreach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.outreach-card {
    background: var(--white);
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    font-weight: 500;
}

/* Contact / Forms */
.contact-directions-wrapper { display: flex; flex-wrap: wrap; }
.contact-section, .directions-section { flex: 1; min-width: 300px; padding: 60px 5%; }
.contact-section { background-color: var(--white); }
.directions-section { background-color: var(--bg-light); }

.form-row { display: flex; gap: 20px; }
.form-row .form-group { flex: 1; }
.form-group { margin-bottom: 20px; }
label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--secondary-color); }
input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}
.form-success {
    margin-top: 20px;
    padding: 15px;
    background-color: #d4edda;
    color: #155724;
    border-radius: 4px;
    border: 1px solid #c3e6cb;
    font-weight: 500;
}
.hidden { display: none; }

/* Directions */
.directions-grid { display: flex; flex-direction: column; gap: 30px; margin-top: 30px; }
.directions-info p { margin-bottom: 10px; }
.directions-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.map-placeholder {
    background: #e0e0e0;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--secondary-color);
    font-weight: 600;
}

/* Footer */
.site-footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--white);
}
.site-footer h3 { color: var(--white); border-bottom: 2px solid var(--primary-color); padding-bottom: 10px; display: inline-block; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links a { color: #ccc; text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--white); }
.footer-services p { color: #ccc; line-height: 1.8; }
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #aaa;
    font-size: 0.9rem;
}
.footer-bottom a { color: #aaa; text-decoration: underline; }

/* Responsive Media Queries */
@media (max-width: 992px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row { flex-direction: column; gap: 0; }
}

@media (max-width: 768px) {
    .mobile-menu-toggle { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        padding: 20px 5%;
    }
    .main-nav.active { display: block; }
    .main-nav ul { flex-direction: column; gap: 15px; }
    .header-actions { display: none; }
    
    h1 { font-size: 2rem; }
    .hero-buttons { flex-direction: column; }
    .gallery-grid { grid-template-columns: 1fr; }
    
    .contact-section, .directions-section { padding: 40px 5%; }
}
