/* ============================================
   Classic Performance Automotive
   Clean Minimalist | Deep Navy + Warm Gold
   ============================================ */

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

:root {
    --navy: #0A192F;
    --navy-light: #112240;
    --navy-lighter: #1a2f4e;
    --gold: #C5A059;
    --gold-light: #d4b06a;
    --gold-dark: #a8873e;
    --white: #FFFFFF;
    --off-white: #F8F7F4;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #E0E0E0;
    --gray-400: #BDBDBD;
    --gray-500: #9E9E9E;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(10, 25, 47, 0.08);
    --shadow-md: 0 4px 20px rgba(10, 25, 47, 0.1);
    --shadow-lg: 0 8px 40px rgba(10, 25, 47, 0.12);
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--gray-800);
    background-color: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

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

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    letter-spacing: -0.01em;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 300;
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 400;
}

p {
    font-size: 1rem;
    color: var(--gray-600);
}

/* --- Section Tag --- */
.section-tag {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    display: block;
}

/* --- Line --- */
.line {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 1.5rem 0;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

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

.btn-text {
    background: transparent;
    color: var(--white);
    border: none;
    padding: 0.875rem 0;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

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

.btn-full {
    width: 100%;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all var(--transition);
}

.site-header.scrolled {
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.05em;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.02em;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.main-nav a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
    position: relative;
}

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

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

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

.main-nav .btn-outline {
    padding: 0.625rem 1.5rem;
    font-size: 0.75rem;
}

/* --- Mobile Menu --- */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

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

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

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

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

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: var(--navy);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

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

.close-menu-btn {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.mobile-menu-overlay nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-menu-overlay nav a {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--white);
    letter-spacing: 0.02em;
}

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

.mobile-menu-overlay .btn-primary {
    margin-top: 1rem;
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 25, 47, 0.85) 0%,
        rgba(10, 25, 47, 0.6) 50%,
        rgba(10, 25, 47, 0.4) 100%
    );
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    padding-top: 6rem;
}

.hero-content {
    max-width: 720px;
}

.hero-tag {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-sub {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}

.hero-scroll span {
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.scroll-line {
    width: 1px;
    height: 48px;
    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); }
}

/* --- Services --- */
.services {
    padding: 8rem 0;
    background: var(--white);
}

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

.section-header .line {
    margin: 1.5rem auto;
}

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

.service-card {
    padding: 2.5rem;
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

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

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

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

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

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

.service-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.service-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--gray-600);
}

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

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

.about-image {
    position: relative;
}

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

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

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

.about-content h2 {
    text-align: left;
}

.about-content .line {
    margin: 1.5rem 0;
}

.about-content > p {
    margin-bottom: 1.25rem;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

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

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

.stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--gray-200);
}

/* --- Why Us --- */
.why-us {
    padding: 8rem 0;
    background: var(--navy);
}

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

.why-us h2 {
    color: var(--white);
    text-align: center;
}

.why-us .line {
    margin: 1.5rem auto;
}

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

.feature {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 1rem;
    display: block;
}

.feature h3 {
    color: var(--white);
    margin-bottom: 0.75rem;
    font-size: 1.375rem;
}

.feature p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9375rem;
    line-height: 1.7;
}

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

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

.cta .section-tag {
    color: var(--navy);
}

.cta h2 {
    color: var(--navy);
    margin-bottom: 1rem;
}

.cta p {
    color: rgba(10, 25, 47, 0.7);
    margin-bottom: 2rem;
    font-size: 1.0625rem;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

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

.cta .btn-primary:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
}

.cta .btn-outline-light {
    border-color: rgba(10, 25, 47, 0.3);
    color: var(--navy);
}

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

/* --- Contact --- */
.contact {
    padding: 8rem 0;
    background: var(--white);
}

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

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-info .line {
    margin-bottom: 2.5rem;
}

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

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

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

.contact-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.contact-item p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.contact-item a {
    color: var(--gray-600);
}

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

.hours {
    padding: 1.5rem;
    background: var(--off-white);
}

.hours strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.hours p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

/* --- Form --- */
.contact-form-wrapper {
    position: relative;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--gray-900);
    padding: 0.875rem 0;
    border: none;
    border-bottom: 1px solid var(--gray-200);
    background: transparent;
    outline: none;
    transition: border-color var(--transition);
    resize: none;
}

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

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

.form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239E9E9E' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    gap: 1rem;
}

.form-success h3 {
    font-size: 1.5rem;
    color: var(--navy);
}

.form-success p {
    color: var(--gray-600);
}

/* --- Footer --- */
.footer {
    padding: 4rem 0 2rem;
    background: var(--navy);
}

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

.footer-brand .logo {
    margin-bottom: 1.25rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

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

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

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

.footer-contact p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

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

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.3);
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s 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: 3rem;
    }

    .about-image img {
        height: 500px;
    }

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

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

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

    .hero {
        min-height: 100svh;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .hero-scroll {
        display: none;
    }

    .services {
        padding: 5rem 0;
    }

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

    .service-card {
        padding: 2rem;
    }

    .about {
        padding: 5rem 0;
    }

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

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

    .about-accent {
        display: none;
    }

    .about-content h2,
    .about-content .section-tag {
        text-align: center;
    }

    .about-content .line {
        margin: 1.5rem auto;
    }

    .about-stats {
        justify-content: center;
    }

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

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

    .cta {
        padding: 4rem 0;
    }

    .cta-actions {
        flex-direction: column;
        gap: 1rem;
    }

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

    .contact {
        padding: 5rem 0;
    }

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

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

    .footer-bottom {
        text-align: center;
    }
}

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

    .stat {
        flex: 1;
        text-align: center;
    }

    .about-stats {
        flex-wrap: wrap;
    }
}
