/* ===================================
   Bodywerx - Classic Auto Repair Site
   Deep Navy + Warm Gold Palette
   =================================== */

:root {
    --navy: #0a1628;
    --navy-light: #132238;
    --navy-mid: #1a2d45;
    --gold: #c9a84c;
    --gold-light: #d4b968;
    --gold-dark: #b8943f;
    --cream: #f5f0e8;
    --cream-light: #faf7f2;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-mid: #4a4a4a;
    --text-light: #7a7a7a;
    --border: rgba(201, 168, 76, 0.2);
    
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.08);
    --shadow-md: 0 8px 30px rgba(10, 22, 40, 0.12);
    --shadow-lg: 0 20px 60px rgba(10, 22, 40, 0.15);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--cream-light);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.97);
    padding: 14px 0;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.logo-icon {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: var(--transition);
}

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

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

.nav-cta {
    background: var(--gold);
    color: var(--navy);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 10px 24px;
    border-radius: 2px;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.4);
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================================
   Mobile Menu
   =================================== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.mobile-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gold);
    padding: 8px;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-link {
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    opacity: 0.9;
    transition: var(--transition);
}

.mobile-link:hover {
    color: var(--gold);
    opacity: 1;
}

.mobile-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 16px;
    padding: 14px 32px;
    border: 1.5px solid var(--gold);
    border-radius: 2px;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.92) 0%,
        rgba(10, 22, 40, 0.75) 50%,
        rgba(10, 22, 40, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

.hero-gold-line {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto 28px;
}

.hero-tagline {
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-subheadline {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 560px;
    margin: 0 auto 40px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 16px 36px;
    border-radius: 2px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--navy);
}

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

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

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

/* ===================================
   Section Styles
   =================================== */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.section-line {
    width: 50px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto 20px;
}

.section-subtitle {
    color: var(--text-mid);
    font-size: 1.05rem;
    line-height: 1.8;
    font-weight: 300;
}

/* ===================================
   Services Section
   =================================== */
.services {
    padding: 120px 0;
    background: var(--cream-light);
}

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

.service-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

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

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    background: rgba(201, 168, 76, 0.1);
    border-radius: 4px;
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-card p {
    color: var(--text-mid);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 300;
}

/* ===================================
   About Section
   =================================== */
.about {
    padding: 120px 0;
    background: var(--white);
    overflow: hidden;
}

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

.about-image {
    position: relative;
}

.about-img-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 2px solid var(--gold);
    border-radius: 4px;
    z-index: -1;
}

.about-content {
    padding: 20px 0;
}

.about-content .section-tag {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
}

.about-content .section-line {
    margin: 0 0 24px 0;
}

.about-text {
    color: var(--text-mid);
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 20px;
    font-weight: 300;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ===================================
   Why Us Section
   =================================== */
.why-us {
    padding: 120px 0;
    background: var(--navy);
    position: relative;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(201, 168, 76, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.why-us .section-header {
    position: relative;
    z-index: 1;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    position: relative;
    z-index: 1;
}

.feature-item {
    display: flex;
    gap: 24px;
    padding: 32px;
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 4px;
    transition: var(--transition);
}

.feature-item:hover {
    border-color: rgba(201, 168, 76, 0.4);
    background: rgba(201, 168, 76, 0.03);
}

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

.feature-item h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 300;
}

/* ===================================
   CTA Banner
   =================================== */
.cta-banner {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.93) 0%, rgba(10, 22, 40, 0.82) 100%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 36px;
    font-weight: 300;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: 120px 0;
    background: var(--cream-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info .section-tag {
    text-align: left;
}

.contact-info .section-title {
    text-align: left;
}

.contact-info .section-line {
    margin: 0 0 24px 0;
}

.contact-intro {
    color: var(--text-mid);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    font-weight: 300;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 168, 76, 0.1);
    border-radius: 4px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-mid);
    font-size: 0.9rem;
    line-height: 1.6;
    font-weight: 300;
}

.contact-item a {
    color: var(--text-mid);
}

.contact-item a:hover {
    color: var(--gold);
}

/* Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 48px;
    border-radius: 4px;
    box-shadow: var(--shadow-md);
}

.form-header {
    margin-bottom: 32px;
}

.form-header h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.form-header p {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 300;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e0dcd4;
    border-radius: 2px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--cream-light);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

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

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.active {
    display: block;
}

.success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 168, 76, 0.1);
    border-radius: 50%;
}

.form-success h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.form-success p {
    color: var(--text-mid);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 300;
}

/* ===================================
   Map Section
   =================================== */
.map-section {
    height: 400px;
    background: var(--navy-light);
}

.map-container {
    height: 100%;
    opacity: 0.9;
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--navy);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    line-height: 1.8;
    font-weight: 300;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    font-weight: 300;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 12px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.55);
}

.footer-contact a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
    font-weight: 300;
}

/* ===================================
   Animations
   =================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        min-height: 600px;
    }
    
    .hero-headline {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
    }
    
    .services {
        padding: 80px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 28px 24px;
    }
    
    .about {
        padding: 80px 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-img-wrapper img {
        height: 350px;
    }
    
    .about-accent {
        width: 120px;
        height: 120px;
        bottom: -10px;
        right: -10px;
    }
    
    .about-content .section-tag,
    .about-content .section-title {
        text-align: center;
    }
    
    .about-content .section-line {
        margin: 0 auto 24px;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .why-us {
        padding: 80px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .cta-banner {
        padding: 80px 0;
    }
    
    .contact {
        padding: 80px 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-info .section-tag,
    .contact-info .section-title {
        text-align: center;
    }
    
    .contact-info .section-line {
        margin: 0 auto 24px;
    }
    
    .contact-intro {
        text-align: center;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
    
    .footer {
        padding: 60px 0 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    
    .feature-item {
        flex-direction: column;
        gap: 12px;
    }
}
