/* DESIGN SYSTEM - LOCAL AUTO DETAIL */

:root {
    /* Colors */
    --color-black: #0A0A0A;
    --color-dark: #121212;
    --color-silver: #B0B0B0;
    --color-silver-light: #E0E0E0;
    --color-blue: #1E40AF;
    --color-blue-dark: #172554;
    --color-white: #FFFFFF;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;
    --container-narrow: 800px;

    /* Transitions */
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-white);
    color: var(--color-black);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.playfair {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

.container.narrow {
    max-width: var(--container-narrow);
}

.section-padding {
    padding: var(--section-padding) 0;
}

.italic {
    font-style: italic;
}

.bg-dark {
    background-color: var(--color-black);
    color: var(--color-white);
}

.bg-silver {
    background-color: #F5F5F7;
    /* Premium light silver/grey */
}

.bg-black {
    background-color: #000;
    color: #fff;
}

.text-silver {
    color: var(--color-silver);
}

.text-light {
    color: var(--color-white);
}

.align-center {
    text-align: center;
}

.display-1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 2rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--color-silver);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 18px 36px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--color-blue);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(30, 64, 175, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-black);
    border: 1px solid var(--color-black);
}

.hero .btn-secondary {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: var(--color-black);
    color: white;
}

.hero .btn-secondary:hover {
    background-color: white;
    color: var(--color-black);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: var(--transition-smooth);
}

header.scrolled {
    padding: 15px 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    color: var(--color-white);
}

.logo span {
    color: var(--color-blue);
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: white;
}

.nav-links .btn {
    padding: 12px 24px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
    padding: 10px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 1px;
    background-color: white;
    margin: 6px 0;
    transition: var(--transition-smooth);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(3.5px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    transform: translateY(-3.5px) rotate(-45deg);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?q=80&w=2500&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    animation: heroZoom 20s infinite alternate cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes heroZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.15);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
}

.prestige-line {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    margin-bottom: 20px;
    color: var(--color-blue);
    font-weight: 600;
}

.hero h1 {
    font-size: clamp(3.5rem, 8vw, 7rem);
    margin-bottom: 25px;
    letter-spacing: -0.02em;
}

.subheadline {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    max-width: 600px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.hero-ctas {
    display: flex;
    gap: 20px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0.6;
}

.scroll-indicator span {
    writing-mode: vertical-rl;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, white, transparent);
    animation: scrollLine 2s infinite ease-in-out;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    50.1% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* Value Section */
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-top: 4rem;
}

.value-item .icon {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-blue);
    margin-bottom: 20px;
    display: block;
    border-bottom: 1px solid rgba(30, 64, 175, 0.3);
    padding-bottom: 10px;
    width: 40px;
}

.value-item h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.value-item p {
    color: var(--color-silver);
    font-weight: 300;
}

/* Services Modern Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background-color: #F8F9FA;
    border-radius: 4px;
    /* Subtle radius for premium look */
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.service-image {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 40px;
    flex-grow: 1;
    position: relative;
}

.service-number {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-blue);
    opacity: 0.3;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.service-card p {
    color: #555;
    font-weight: 300;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.micro-list {
    margin-bottom: 40px;
}

.micro-list li {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-silver);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.micro-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background-color: var(--color-blue);
}

.service-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.service-card:hover .service-link {
    border-bottom: 1px solid var(--color-blue);
}

/* Story Section */
.story-section {
    text-align: center;
}

.section-label {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.8rem;
    color: var(--color-silver);
    margin-bottom: 20px;
    display: block;
}

.story-section h2 {
    font-size: 4rem;
    margin-bottom: 40px;
}

.story-text {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 60px;
    color: #444;
}

.story-text p {
    margin-bottom: 2rem;
}

.story-stats {
    display: flex;
    justify-content: center;
    gap: 100px;
}

.stat .number {
    display: block;
    font-size: 3rem;
    font-family: var(--font-heading);
    color: var(--color-blue);
    margin-bottom: 10px;
}

.stat .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-silver);
}

/* Gallery Section */
.gallery-header {
    margin-bottom: 60px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
    opacity: 1;
}

.gallery-info h3 {
    font-size: 1.5rem;
}

.status {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-blue);
}

/* Final CTA */
.final-cta {
    position: relative;
    overflow: hidden;
    background-color: var(--color-black);
    color: white;
}

.cta-bg-accent {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.1) 0%, transparent 70%);
}

.final-cta h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.final-cta p {
    margin-bottom: 50px;
    color: var(--color-silver);
    font-size: 1.2rem;
}

.lead-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.lead-form input,
.lead-form select {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.lead-form input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.lead-form input:focus {
    outline: none;
    border-color: var(--color-blue);
    background: rgba(255, 255, 255, 0.1);
}

.btn-large {
    width: 100%;
    padding: 25px;
    font-size: 1.1rem;
    margin-top: 10px;
}

.form-note {
    margin-top: 15px;
    font-size: 0.8rem !important;
    opacity: 0.5;
}

/* Footer */
footer {
    padding: 100px 0 50px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
}

.footer-links {
    display: flex;
    gap: 100px;
}

.link-group h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.link-group ul li {
    margin-bottom: 12px;
    font-weight: 300;
    color: var(--color-silver);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--color-silver);
}

.social-links {
    display: flex;
    gap: 30px;
}

/* ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    transform: translateX(-40px);
    opacity: 0;
}

.reveal-right {
    transform: translateX(40px);
    opacity: 0;
}

.reveal-left.active,
.reveal-right.active {
    transform: translateX(0);
    opacity: 1;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
}

.hero .fade-up {
    animation: fadeUpIn 1s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.hero .fade-up:nth-child(2) {
    animation-delay: 0.2s;
}

.hero .fade-up:nth-child(3) {
    animation-delay: 0.4s;
}

.hero .fade-up:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes fadeUpIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hover-blue:hover {
    color: var(--color-blue) !important;
}

/* Mobile Sticky Call Button */
.mobile-sticky-call {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--color-blue);
    color: white;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.4);
    z-index: 1001;
    transition: var(--transition-smooth);
}

.mobile-sticky-call:hover {
    transform: scale(1.1);
    background-color: var(--color-blue-dark);
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .grid-two-col {
        gap: 50px;
    }

    .feature-content h2 {
        font-size: 2.5rem;
    }

    .hero h1 {
        font-size: 4.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--color-black);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition-smooth);
        z-index: 1001;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .mobile-sticky-call {
        display: flex;
    }

    .mobile-menu-toggle span {
        width: 25px;
        height: 1px;
        background-color: white;
    }

    /* SERVICES MOBILE OPTIMIZATION */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-image {
        height: 250px;
        /* Slightly shorter on mobile */
    }

    .service-content {
        padding: 30px 20px;
    }

    .service-card h3 {
        font-size: 1.75rem;
    }

    .grid-two-col {
        grid-template-columns: 1fr;
    }

    .value-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .display-1 {
        font-size: 2.5rem;
    }

    .story-stats {
        flex-direction: column;
        gap: 40px;
    }

    .footer-top {
        flex-direction: column;
        gap: 60px;
    }

    .footer-links {
        flex-direction: column;
        gap: 40px;
    }

    .form-group {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 3.5rem;
    }
}