/* ============================================
   RACE CITY TOWING & RECOVERY
   Bold Editorial Style — Forest Green + Off-White
   ============================================ */

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

:root {
    --forest: #0f3d2e;
    --forest-dark: #0a2a1f;
    --forest-light: #1a5c43;
    --forest-muted: #2d7a5a;
    --cream: #f5f2eb;
    --cream-light: #faf8f4;
    --cream-dark: #e8e2d6;
    --charcoal: #1a1a1a;
    --text-dark: #1a1a1a;
    --text-body: #2c2c2c;
    --text-muted: #5a5a5a;
    --text-light: #f5f2eb;
    --gold: #c8a45e;
    --gold-light: #d4b76e;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(15, 61, 46, 0.08);
    --shadow-md: 0 4px 20px rgba(15, 61, 46, 0.1);
    --shadow-lg: 0 8px 40px rgba(15, 61, 46, 0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--cream);
    color: var(--text-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.1;
    color: var(--forest);
}

.section-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--forest-muted);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1.25rem;
    color: var(--forest);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.7;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background-color: var(--forest);
    color: var(--text-light);
    border-color: var(--forest);
}

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

.btn-dark {
    background-color: var(--charcoal);
    color: var(--text-light);
    border-color: var(--charcoal);
}

.btn-dark:hover {
    background-color: #000;
    border-color: #000;
}

.btn-light {
    background-color: var(--cream);
    color: var(--forest);
    border-color: var(--cream);
}

.btn-light:hover {
    background-color: #fff;
    border-color: #fff;
}

.btn-outline-light {
    background-color: transparent;
    color: var(--text-light);
    border-color: rgba(245, 242, 235, 0.5);
}

.btn-outline-light:hover {
    background-color: rgba(245, 242, 235, 0.1);
    border-color: var(--text-light);
}

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

.btn-outline-dark:hover {
    background-color: var(--forest);
    color: var(--text-light);
}

.btn-lg {
    padding: 1.125rem 2.25rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ---------- HEADER ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(245, 242, 235, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 61, 46, 0.08);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-mark {
    width: 44px;
    height: 44px;
    background-color: var(--forest);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--forest);
    line-height: 1.2;
}

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

.primary-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-body);
    transition: var(--transition);
    position: relative;
}

.primary-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--forest);
    transition: var(--transition);
}

.primary-nav a:hover {
    color: var(--forest);
}

.primary-nav a:hover::after {
    width: 100%;
}

.nav-cta {
    background-color: var(--forest);
    color: var(--text-light) !important;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: var(--transition);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background-color: var(--forest-dark);
    transform: translateY(-1px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--forest);
    transition: var(--transition);
    position: absolute;
    left: 10px;
}

.hamburger {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger::before {
    content: '';
    top: -7px;
    left: 0;
}

.hamburger::after {
    content: '';
    top: 7px;
    left: 0;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger {
    background-color: transparent;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 61, 46, 0.97);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav ul {
    text-align: center;
}

.mobile-nav li {
    margin-bottom: 1.5rem;
}

.mobile-nav a {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--cream);
    transition: var(--transition);
}

.mobile-nav a:hover {
    color: var(--gold);
}

.mobile-cta a {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    background: var(--gold);
    color: var(--forest-dark);
    padding: 1rem 2.5rem;
    border-radius: var(--radius-sm);
    display: inline-block;
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--forest-dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 42, 31, 0.92) 0%,
        rgba(15, 61, 46, 0.85) 40%,
        rgba(26, 92, 67, 0.7) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 860px;
    padding: 2rem;
    padding-top: 5rem;
}

.hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-size: clamp(2.75rem, 6vw, 5rem);
    font-weight: 700;
    color: var(--cream);
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.headline-accent {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 2vw, 1.375rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    color: rgba(245, 242, 235, 0.7);
    margin-top: 0.5rem;
}

.hero-subhead {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: rgba(245, 242, 235, 0.8);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(245, 242, 235, 0.5);
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(245, 242, 235, 0.5), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ---------- TRUST BAR ---------- */
.trust-bar {
    background-color: var(--forest);
    padding: 1.25rem 0;
}

.trust-items {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--cream);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.trust-item svg {
    color: var(--gold);
    flex-shrink: 0;
}

/* ---------- SERVICES ---------- */
.services {
    padding: 7rem 0;
    background-color: var(--cream);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: #fff;
    border-radius: var(--radius-md);
    padding: 2.5rem;
    border: 1px solid rgba(15, 61, 46, 0.06);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-icon {
    width: 56px;
    height: 56px;
    background-color: var(--forest);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
    color: var(--forest);
}

.service-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ---------- ABOUT ---------- */
.about {
    padding: 7rem 0;
    background-color: var(--cream-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-col {
    position: relative;
}

.about-image-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background-color: var(--forest);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.15;
}

.about-content-col {
    padding: 1rem 0;
}

.about-text {
    font-size: 1.0625rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-stats {
    display: flex;
    gap: 2.5rem;
    margin: 2.5rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--cream-dark);
    border-bottom: 1px solid var(--cream-dark);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--forest);
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ---------- WHY US ---------- */
.why-us {
    padding: 7rem 0;
    background-color: var(--forest);
    color: var(--cream);
}

.why-us .section-eyebrow {
    color: var(--gold);
}

.why-us .section-title {
    color: var(--cream);
}

.why-us .section-subtitle {
    color: rgba(245, 242, 235, 0.7);
}

.why-us-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.why-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.why-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.7;
}

.why-text h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 0.5rem;
}

.why-text p {
    font-size: 0.9375rem;
    color: rgba(245, 242, 235, 0.65);
    line-height: 1.7;
}

.why-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.why-image-main img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
    padding: 6rem 0;
    background-color: var(--cream);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-eyebrow {
    color: var(--forest-muted);
    margin-bottom: 1rem;
}

.cta-headline {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.25rem;
    color: var(--forest);
}

.cta-subhead {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- CONTACT ---------- */
.contact {
    padding: 7rem 0;
    background-color: var(--cream-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-intro {
    font-size: 1.0625rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.contact-detail {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: var(--forest);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.contact-detail a,
.contact-detail span {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.6;
}

.contact-detail a:hover {
    color: var(--forest);
}

/* Contact Form */
.contact-form {
    background-color: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(15, 61, 46, 0.06);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 1.75rem;
    color: var(--forest);
}

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

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-body);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    color: var(--text-body);
    background-color: var(--cream-light);
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--forest);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(15, 61, 46, 0.1);
}

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

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem;
    text-align: center;
    color: var(--forest);
}

.form-success svg {
    color: var(--forest);
}

.form-success p {
    font-size: 1rem;
    color: var(--text-body);
}

/* ---------- MAP ---------- */
.map-section {
    background-color: var(--forest-dark);
}

.map-wrapper {
    min-height: 400px;
    filter: saturate(0.6) contrast(1.1);
}

/* ---------- FOOTER ---------- */
.footer {
    background-color: var(--forest-dark);
    color: var(--cream);
    padding: 5rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-logo .logo-mark {
    background-color: var(--cream);
    color: var(--forest);
}

.footer-logo .logo-text {
    color: var(--cream);
}

.footer-desc {
    font-size: 0.9375rem;
    color: rgba(245, 242, 235, 0.6);
    line-height: 1.7;
    margin-top: 1rem;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a,
.footer-contact a {
    font-size: 0.9375rem;
    color: rgba(245, 242, 235, 0.65);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--cream);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.9375rem;
    color: rgba(245, 242, 235, 0.65);
}

.footer-contact svg {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(245, 242, 235, 0.1);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(245, 242, 235, 0.4);
}

/* ---------- SCROLL REVEAL (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        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);
    }

    .about-grid,
    .why-us-layout,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image-wrapper img,
    .why-image-main img {
        height: 400px;
    }

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

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    .primary-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content {
        padding-top: 4rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .trust-items {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

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

    .services {
        padding: 4rem 0;
    }

    .about {
        padding: 4rem 0;
    }

    .about-stats {
        gap: 1.5rem;
    }

    .why-us {
        padding: 4rem 0;
    }

    .why-number {
        font-size: 1.75rem;
    }

    .cta-banner {
        padding: 4rem 0;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .contact {
        padding: 4rem 0;
    }

    .contact-form {
        padding: 1.75rem;
    }

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

    .footer {
        padding: 3rem 0 0;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }

    .header-inner {
        height: 70px;
    }

    .logo-mark {
        width: 38px;
        height: 38px;
        font-size: 0.875rem;
    }

    .logo-text {
        font-size: 0.875rem;
    }

    .hero-headline {
        font-size: 2.25rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .service-card {
        padding: 1.75rem;
    }

    .about-stats {
        flex-direction: column;
        gap: 1.25rem;
    }
}
