/* ============================================
   BARS Automotive — Classic & Elegant Design
   Deep Navy + Warm Gold Palette
   ============================================ */

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

:root {
    --navy: #0a1628;
    --navy-light: #132240;
    --navy-mid: #1a2d4a;
    --gold: #c8a45e;
    --gold-light: #d4b76a;
    --gold-pale: #f0e2c0;
    --cream: #f7f4ee;
    --cream-dark: #ede8dd;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #5a5a5a;
    --text-light: #8a8a8a;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Lato', 'Helvetica Neue', sans-serif;
    --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

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

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

ul {
    list-style: none;
}

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

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
    color: var(--navy);
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--navy);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.25rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    border-radius: 0;
}

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

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 164, 94, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--navy);
}

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

.btn-full {
    width: 100%;
}

/* ============================================
   Header
   ============================================ */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(247, 244, 238, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(10, 22, 40, 0.08);
    transition: all var(--transition);
}

header.scrolled {
    box-shadow: 0 2px 30px rgba(10, 22, 40, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--navy);
}

.logo-sub {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    font-weight: 300;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 0.25rem;
}

nav ul {
    display: flex;
    gap: 2.5rem;
}

nav a {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--navy);
    position: relative;
}

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

nav a:hover::after {
    width: 100%;
}

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

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--navy);
    transition: all var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    padding-top: 120px;
    padding-bottom: 0;
    background: var(--cream);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 4rem;
    align-items: center;
    padding-bottom: 4rem;
}

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

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--navy);
    margin-bottom: 1.75rem;
    font-style: italic;
}

.hero-headline em {
    font-style: normal;
    color: var(--gold);
}

.hero-sub {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 520px;
}

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

.hero-image {
    position: relative;
}

.image-frame {
    overflow: hidden;
    position: relative;
}

.image-frame img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.image-frame:hover img {
    transform: scale(1.03);
}

.hero-accent {
    position: absolute;
    bottom: -2rem;
    left: -2rem;
    background: var(--navy);
    color: var(--white);
    padding: 1.5rem 2rem;
    font-family: var(--font-serif);
}

.hero-accent .accent-number {
    display: block;
    font-size: 0.65rem;
    font-family: var(--font-sans);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.25rem;
}

.hero-accent .accent-text {
    font-size: 1.1rem;
    font-style: italic;
}

/* Decorative line */
.hero-content::before {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin-bottom: 2rem;
}

/* ============================================
   About Section
   ============================================ */

.about {
    padding: 8rem 0;
    background: var(--white);
}

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

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

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

.about-stamp {
    position: absolute;
    top: -1.5rem;
    right: -1.5rem;
    background: var(--gold);
    color: var(--navy);
    padding: 1.5rem;
    font-family: var(--font-serif);
    font-size: 0.85rem;
    line-height: 1.4;
    font-style: italic;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.about-content p {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 1.25rem;
}

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

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

.stat-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--navy);
    font-style: italic;
}

.stat-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-light);
}

/* ============================================
   Services Section
   ============================================ */

.services {
    padding: 8rem 0;
    background: var(--cream);
}

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

.section-header .section-title {
    margin-bottom: 0;
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border: 1px solid transparent;
    transition: all var(--transition);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    border-color: rgba(200, 164, 94, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(10, 22, 40, 0.08);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--gold);
    margin-bottom: 1.5rem;
    color: var(--gold);
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gold);
    color: var(--navy);
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--navy);
}

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

/* ============================================
   Why Section
   ============================================ */

.why {
    padding: 8rem 0;
    background: var(--navy);
    color: var(--white);
}

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

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

.why-content {
    margin-bottom: 4rem;
}

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

.why-item {
    padding: 2.5rem;
    border: 1px solid rgba(200, 164, 94, 0.15);
    transition: all var(--transition);
}

.why-item:hover {
    border-color: var(--gold);
    background: rgba(200, 164, 94, 0.04);
}

.why-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--gold);
    font-style: italic;
    line-height: 1;
    margin-bottom: 1rem;
    display: block;
}

.why-item h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

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

/* ============================================
   Contact Section
   ============================================ */

.contact {
    padding: 8rem 0;
    background: var(--cream);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact-intro {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 3rem;
}

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

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

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
    color: var(--gold);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 1rem;
    color: var(--navy);
    font-weight: 400;
}

.contact-value a {
    color: var(--navy);
    border-bottom: 1px solid transparent;
}

.contact-value a:hover {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

/* Form */
.contact-form-wrap {
    background: var(--white);
    padding: 3rem;
    border: 1px solid var(--cream-dark);
}

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

.contact-form label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-dark);
    background: var(--cream);
    border: 1px solid var(--cream-dark);
    outline: none;
    transition: border-color var(--transition);
    border-radius: 0;
    -webkit-appearance: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--gold);
}

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

.form-success {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: var(--navy);
    color: var(--gold-pale);
    font-size: 0.95rem;
    font-weight: 300;
    text-align: center;
}

/* ============================================
   Footer
   ============================================ */

footer {
    background: var(--navy);
    color: var(--white);
    padding: 5rem 0 0;
}

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

.footer-brand .logo-mark {
    color: var(--white);
}

.footer-brand p {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    margin-top: 1.25rem;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

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

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

.footer-contact p {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
}

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

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

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

.footer-bottom p {
    font-size: 0.75rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.05em;
}

/* ============================================
   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) {
    .hero-grid {
        grid-template-columns: 1fr 0.6fr;
        gap: 2.5rem;
    }

    .image-frame img {
        height: 480px;
    }

    .about-grid {
        gap: 3rem;
    }

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

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

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--cream);
        padding: 5rem 2rem;
        transition: right var(--transition);
        box-shadow: -10px 0 40px rgba(10, 22, 40, 0.15);
        z-index: 999;
    }

    nav.open {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    nav a {
        font-size: 0.85rem;
    }

    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 4rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-image {
        order: -1;
    }

    .image-frame img {
        height: 400px;
    }

    .hero-accent {
        bottom: -1.5rem;
        left: auto;
        right: -0.5rem;
    }

    .about {
        padding: 5rem 0;
    }

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

    .about-image-wrap img {
        height: 400px;
    }

    .about-stamp {
        top: -1rem;
        right: -0.5rem;
        width: 90px;
        height: 90px;
        font-size: 0.75rem;
    }

    .services {
        padding: 5rem 0;
    }

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

    .why {
        padding: 5rem 0;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact {
        padding: 5rem 0;
    }

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

    .contact-form-wrap {
        padding: 2rem;
    }

    footer {
        padding: 3rem 0 0;
    }

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

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

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

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

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