:root {
    /* Colors - Premium Automotive Palette */
    --color-primary: #0066FF;
    --color-primary-dark: #0052CC;
    --color-secondary: #00D4FF;
    --color-accent: #FFB800;
    
    --color-bg: #0A0A0A;
    --color-bg-light: #1A1A1A;
    --color-bg-card: #141414;
    
    --color-text: #FFFFFF;
    --color-text-muted: #A0A0A0;
    --color-text-dark: #0A0A0A;
    
    --color-border: #2A2A2A;
    --color-border-light: #333333;
    
    /* Typography */
    --font-display: 'Oswald', sans-serif;
    --font-body: 'Work Sans', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 24px rgba(0, 102, 255, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition-normal);
}

.header.scrolled {
    background-color: rgba(10, 10, 10, 0.98);
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) var(--spacing-md);
    min-height: 80px;
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform var(--transition-fast);
}

.logo:hover img {
    transform: scale(1.05);
}

.nav {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: width var(--transition-normal);
}

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

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

.header-cta {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.btn-phone {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    transition: color var(--transition-fast);
}

.btn-phone:hover {
    color: var(--color-primary);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-text);
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 24px rgba(0, 102, 255, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-primary);
}

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

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

.btn-text {
    background: none;
    color: var(--color-primary);
    padding: 0;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.02em;
    transition: all var(--transition-fast);
}

.btn-text:hover {
    color: var(--color-secondary);
    transform: translateX(4px);
}

.btn-text::before {
    display: none;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 102, 255, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    padding: var(--spacing-3xl) var(--spacing-md);
}

.hero-label {
    display: inline-block;
    color: var(--color-secondary);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-md);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.hero-title-accent {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    max-width: 600px;
    margin-bottom: var(--spacing-xl);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.hero-description strong {
    color: var(--color-text);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.8s;
}

.hero-stats {
    display: flex;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-3xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--color-border);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 1s;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
}

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

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards, float 3s ease-in-out infinite;
    animation-delay: 1.2s, 1.2s;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-primary), transparent);
    margin: var(--spacing-sm) auto 0;
}

/* ===================================
   SECTIONS
   =================================== */

.services,
.gallery,
.reviews,
.cta-section {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-3xl);
}

.section-label {
    display: inline-block;
    color: var(--color-secondary);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.section-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* ===================================
   SERVICES GRID
   =================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.service-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.service-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: var(--spacing-md);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-link {
    color: var(--color-text);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color var(--transition-fast);
}

.service-link:hover {
    color: var(--color-secondary);
}

.service-content {
    padding: var(--spacing-lg);
}

.service-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.service-description {
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: 700;
}

/* ===================================
   GALLERY
   =================================== */

.gallery {
    background: var(--color-bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.gallery-grid-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.gallery-item-showcase {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform var(--transition-normal);
}

.gallery-item-showcase:hover {
    transform: scale(1.02);
}

.gallery-item-showcase img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item-showcase:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: var(--spacing-lg);
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.gallery-item-showcase:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
}

.gallery-overlay p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.gallery-item {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.comparison-slider {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.comparison-before,
.comparison-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comparison-after {
    clip-path: inset(0 50% 0 0);
}

.comparison-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    font-weight: 700;
    cursor: ew-resize;
    box-shadow: var(--shadow-md);
}

.gallery-caption {
    padding: var(--spacing-md);
    text-align: center;
    font-weight: 600;
    color: var(--color-text-muted);
}

.gallery-cta {
    text-align: center;
}

/* ===================================
   REVIEWS
   =================================== */

.review-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.stars {
    color: var(--color-accent);
    font-size: 1.5rem;
    letter-spacing: 0.1em;
}

.review-source {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.review-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: var(--spacing-lg);
    transition: all var(--transition-normal);
}

.review-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.review-stars {
    color: var(--color-accent);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
}

.review-text {
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

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

.review-author strong {
    color: var(--color-text);
    font-weight: 600;
}

.review-author span {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.reviews-cta {
    text-align: center;
}

/* ===================================
   CTA SECTION
   =================================== */

.cta-section {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.cta-description {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background: var(--color-bg-light);
    border-top: 1px solid var(--color-border);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-col h4 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
}

.footer-tagline {
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
}

.footer-social a {
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.footer-social a:hover {
    color: var(--color-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: var(--spacing-md);
    color: var(--color-text-muted);
    line-height: 1.6;
}

.footer-contact strong {
    color: var(--color-text);
    display: block;
    margin-bottom: 0.25rem;
}

.footer-contact a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.footer-map {
    margin-bottom: var(--spacing-xl);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border);
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-credit {
    margin-top: var(--spacing-sm);
}

.footer-credit a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-credit a:hover {
    color: var(--color-secondary);
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 1024px) {
    .nav {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .services-grid,
    .gallery-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content {
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .header-cta .btn-phone {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .service-card,
    .gallery-item,
    .review-card {
        margin: 0;
    }
}
