/* ===================================
   Auto Shop LLC — Custom Styles
   Charcoal + Coral | Pastel & Airy
   =================================== */

/* --- CSS Variables --- */
:root {
    --charcoal: #2D3436;
    --charcoal-light: #636e72;
    --charcoal-dark: #1e2324;
    --coral: #F4845F;
    --coral-light: #f7a088;
    --coral-dark: #e06c47;
    --coral-pale: #fdf0ec;
    --cream: #FAFAFA;
    --cream-warm: #f5f0eb;
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: #89929a;
    --gray-800: #343a40;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 3px rgba(45,52,54,0.06), 0 1px 2px rgba(45,52,54,0.04);
    --shadow-md: 0 4px 20px rgba(45,52,54,0.08), 0 2px 8px rgba(45,52,54,0.04);
    --shadow-lg: 0 12px 40px rgba(45,52,52,0.1), 0 4px 16px rgba(45,52,54,0.06);
    --shadow-coral: 0 8px 30px rgba(244,132,95,0.3);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background: var(--cream);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

.skip-link {
    position: absolute; top: -100%; left: 50%; transform: translateX(-50%);
    background: var(--charcoal); color: var(--white); padding: 8px 16px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm); z-index: 9999;
    font-size: 14px; font-weight: 600;
}
.skip-link:focus { top: 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }

/* --- Section Shared --- */
.section-tag {
    display: inline-block;
    font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--coral); margin-bottom: 12px;
    background: var(--coral-pale); padding: 6px 14px; border-radius: 50px;
}
.section-title {
    font-family: var(--font-display); font-size: clamp(28px, 4vw, 44px);
    font-weight: 700; color: var(--charcoal); line-height: 1.2; margin-bottom: 16px;
}
.section-subtitle {
    font-size: 18px; color: var(--charcoal-light); max-width: 600px; margin: 0 auto; line-height: 1.6;
}

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-body); font-weight: 600; font-size: 15px;
    padding: 12px 24px; border-radius: var(--radius-xl);
    transition: var(--transition); white-space: nowrap;
}
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

.btn-coral {
    background: var(--coral); color: var(--white);
    box-shadow: var(--shadow-coral);
}
.btn-coral:hover {
    background: var(--coral-dark); transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(244,132,95,0.4);
}
.btn-white-text { color: var(--white); }
.btn-white-text:hover { background: var(--coral-light); }

.btn-outline-light {
    background: rgba(255,255,255,0.15); color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(4px);
}
.btn-outline-light:hover {
    background: var(--white); color: var(--charcoal);
    border-color: var(--white);
}

.btn-ghost {
    background: var(--gray-100); color: var(--charcoal);
    border: 1px solid var(--gray-200);
}
.btn-ghost:hover { background: var(--gray-200); }

/* --- Header --- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(250,250,250,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(45,52,54,0.06);
    transition: var(--transition);
}
.site-header.scrolled {
    box-shadow: var(--shadow-md);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { flex-shrink: 0; }
.logo-text {
    font-family: var(--font-display); font-size: 20px; font-weight: 700;
    color: var(--charcoal);
}
.logo-accent { color: var(--coral); }

.nav-list { display: flex; align-items: center; gap: 32px; }
.nav-list a {
    font-size: 15px; font-weight: 500; color: var(--charcoal-light);
    transition: var(--transition); position: relative;
}
.nav-list a:not(.nav-cta):hover { color: var(--coral); }
.nav-list a:not(.nav-cta)::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--coral);
    transition: var(--transition); border-radius: 2px;
}
.nav-list a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
    background: var(--coral); color: var(--white) !important;
    padding: 10px 20px; border-radius: var(--radius-xl);
    font-size: 14px;
}
.nav-cta:hover { background: var(--coral-dark); transform: translateY(-1px); }
.nav-cta::after { display: none; }

/* Mobile menu */
.mobile-menu-btn {
    display: none; flex-direction: column; gap: 5px;
    padding: 8px; z-index: 101;
}
.hamburger {
    display: block; width: 22px; height: 2px; background: var(--charcoal);
    border-radius: 2px; transition: var(--transition);
}
.mobile-menu-btn[aria-expanded="true"] .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn[aria-expanded="true"] .hamburger:nth-child(2) { opacity: 0; }
.mobile-menu-btn[aria-expanded="true"] .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
    position: relative; min-height: 92vh; display: flex; align-items: center;
    overflow: hidden; padding: 100px 0 60px;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
}
.hero-img {
    width: 100%; height: 100%; object-fit: cover;
}
.hero-gradient {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(45,52,54,0.88) 0%, rgba(45,52,54,0.70) 50%, rgba(244,132,95,0.3) 100%);
}
.hero-scrim {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, transparent 0%, rgba(30,35,36,0.4) 100%);
}
.hero-content {
    position: relative; z-index: 1; max-width: 720px;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(244,132,95,0.2); border: 1px solid rgba(244,132,95,0.4);
    color: var(--coral-light); font-size: 13px; font-weight: 600;
    padding: 8px 16px; border-radius: 50px; margin-bottom: 24px;
    backdrop-filter: blur(4px);
}
.hero-title {
    font-family: var(--font-display); font-size: clamp(32px, 5vw, 58px);
    font-weight: 700; color: var(--white); line-height: 1.15; margin-bottom: 20px;
}
.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px); color: rgba(255,255,255,0.82);
    line-height: 1.7; margin-bottom: 36px; max-width: 560px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 24px; }
.trust-item {
    display: flex; align-items: center; gap: 8px;
    color: rgba(255,255,255,0.75); font-size: 14px; font-weight: 500;
}
.trust-item svg { color: var(--coral-light); flex-shrink: 0; }

.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; z-index: 2; line-height: 0; }
.hero-wave svg { width: 100%; height: 80px; }

/* --- Services --- */
.services {
    padding: 100px 0; background: var(--cream);
}
.services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px;
}
.service-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 36px 28px; transition: var(--transition);
    border: 1px solid transparent;
    box-shadow: var(--shadow-sm);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(244,132,95,0.2);
}
.service-icon {
    width: 56px; height: 56px; border-radius: var(--radius-md);
    background: var(--coral-pale); display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--coral); }
.service-card:hover .service-icon svg { stroke: var(--white); }
.service-title {
    font-family: var(--font-display); font-size: 20px; font-weight: 700;
    color: var(--charcoal); margin-bottom: 12px; line-height: 1.3;
}
.service-desc { font-size: 15px; color: var(--charcoal-light); line-height: 1.7; }

/* --- About --- */
.about { padding: 100px 0; background: var(--cream-warm); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-images { position: relative; }
.about-img-main {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 420px; object-fit: cover; }
.about-img-float {
    position: absolute; bottom: -32px; right: -24px;
    border-radius: var(--radius-md); overflow: hidden;
    box-shadow: var(--shadow-lg); border: 4px solid var(--cream-warm);
}
.about-img-float img { width: 240px; height: 180px; object-fit: cover; }
.about-stat {
    position: absolute; top: -20px; left: -16px;
    background: var(--coral); color: var(--white);
    padding: 20px 24px; border-radius: var(--radius-md);
    box-shadow: var(--shadow-coral); text-align: center;
}
.stat-number {
    display: block; font-family: var(--font-display); font-size: 32px;
    font-weight: 700; line-height: 1;
}
.stat-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.9; }

.about-content .section-tag { margin-bottom: 12px; }
.about-content .section-title { text-align: left; margin-bottom: 20px; }
.about-text { font-size: 16px; color: var(--charcoal-light); margin-bottom: 16px; line-height: 1.8; }
.about-values { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value-item {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 14px; font-weight: 500; color: var(--charcoal);
}
.value-item svg { flex-shrink: 0; margin-top: 2px; }

/* --- Why Us --- */
.why-us { padding: 100px 0; background: var(--cream); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; }
.why-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 36px 24px; text-align: center;
    border: 1px solid var(--gray-200); transition: var(--transition);
}
.why-card:hover {
    border-color: var(--coral); transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.why-number {
    font-family: var(--font-display); font-size: 48px; font-weight: 700;
    color: var(--coral-pale); line-height: 1; margin-bottom: 16px;
    transition: var(--transition);
}
.why-card:hover .why-number { color: var(--coral); }
.why-title {
    font-family: var(--font-display); font-size: 18px; font-weight: 700;
    color: var(--charcoal); margin-bottom: 12px;
}
.why-desc { font-size: 14px; color: var(--charcoal-light); line-height: 1.7; }

/* --- Testimonials --- */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-dark) 100%);
}
.testimonials .section-tag { background: rgba(244,132,95,0.2); }
.testimonials .section-title { color: var(--white); }
.testimonials .section-subtitle { color: rgba(255,255,255,0.65); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.testimonial-card {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg); padding: 36px 28px;
    backdrop-filter: blur(8px); transition: var(--transition);
}
.testimonial-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(244,132,95,0.4);
    transform: translateY(-4px);
}
.testimonial-quote { margin-bottom: 16px; }
.testimonial-text {
    font-size: 15px; color: rgba(255,255,255,0.85); line-height: 1.8;
    margin-bottom: 24px; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(244,132,95,0.2); display: flex; align-items: center; justify-content: center;
}
.author-name { font-size: 14px; font-weight: 600; color: var(--white); }

/* --- CTA Banner --- */
.cta-banner { padding: 80px 0; background: var(--coral-pale); }
.cta-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 40px; flex-wrap: wrap;
}
.cta-content { flex: 1; min-width: 280px; }
.cta-title {
    font-family: var(--font-display); font-size: clamp(24px, 3.5vw, 38px);
    font-weight: 700; color: var(--charcoal); line-height: 1.2; margin-bottom: 12px;
}
.cta-text { font-size: 17px; color: var(--charcoal-light); line-height: 1.7; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* --- Contact --- */
.contact { padding: 100px 0; background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info .section-tag { margin-bottom: 12px; }
.contact-info .section-title { text-align: left; margin-bottom: 16px; }
.contact-text { font-size: 16px; color: var(--charcoal-light); line-height: 1.8; margin-bottom: 32px; }

.contact-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon {
    width: 44px; height: 44px; border-radius: var(--radius-sm);
    background: var(--coral-pale); display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.contact-label { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-600); margin-bottom: 2px; }
.contact-value { font-size: 15px; font-weight: 600; color: var(--charcoal); transition: var(--transition); }
.contact-value:hover { color: var(--coral); }

.contact-map { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }

/* Form */
.contact-form-wrap { }
.contact-form-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 40px; box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
}
.form-title {
    font-family: var(--font-display); font-size: 24px; font-weight: 700;
    color: var(--charcoal); margin-bottom: 8px;
}
.form-subtitle { font-size: 14px; color: var(--charcoal-light); margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; font-size: 13px; font-weight: 600; color: var(--charcoal);
    margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.05em;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 12px 16px;
    border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
    font-family: var(--font-body); font-size: 15px; color: var(--charcoal);
    background: var(--gray-50); transition: var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--coral); background: var(--white);
    box-shadow: 0 0 0 3px rgba(244,132,95,0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-300); }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-success {
    text-align: center; padding: 40px 20px;
}
.success-icon { margin-bottom: 16px; }
.form-success h4 {
    font-family: var(--font-display); font-size: 22px; font-weight: 700;
    color: var(--charcoal); margin-bottom: 8px;
}
.form-success p { font-size: 15px; color: var(--charcoal-light); margin-bottom: 20px; }

/* --- Footer --- */
.site-footer {
    background: var(--charcoal-dark); color: rgba(255,255,255,0.7); padding: 64px 0 0;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 48px; padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-text { color: var(--white); }
.footer-desc { font-size: 14px; line-height: 1.8; margin-top: 16px; max-width: 280px; }
.footer-heading {
    font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--white); margin-bottom: 20px;
}
.footer-nav ul, .footer-contact ul { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a, .footer-contact a {
    font-size: 14px; color: rgba(255,255,255,0.6); transition: var(--transition);
    display: inline-flex; align-items: center; gap: 8px;
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--coral-light); }
.footer-contact li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; }
.footer-contact svg { flex-shrink: 0; margin-top: 3px; opacity: 0.6; }

.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 12px; padding: 24px 0;
    font-size: 13px; color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-bottom a:hover { color: var(--coral-light); }

/* --- Reveal Animations --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { gap: 48px; }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: flex; }
    .main-nav {
        position: fixed; top: 72px; left: 0; right: 0;
        background: rgba(250,250,250,0.98); backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(45,52,54,0.08);
        padding: 24px; transform: translateY(-120%);
        opacity: 0; transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    .main-nav.open { transform: translateY(0); opacity: 1; }
    .nav-list { flex-direction: column; gap: 16px; }
    .nav-list a { font-size: 17px; }
    .nav-cta { text-align: center; width: 100%; justify-content: center; }
    
    .hero { min-height: 85vh; padding: 100px 0 80px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-trust { gap: 16px; }
    
    .services-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .about-images { max-width: 480px; }
    .about-img-float { right: 0; }
    .about-values { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; text-align: center; }
    .cta-actions { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero { min-height: 80vh; }
    .hero-title { font-size: 28px; }
    .services, .about, .why-us, .testimonials, .contact { padding: 64px 0; }
    .contact-form-card { padding: 24px; }
    .about-img-float img { width: 180px; height: 140px; }
}
