/* ============================================
   Automotive Performance Engineering
   Custom Styles
   ============================================ */

/* Base Typography */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
}

.font-cinzel {
    font-family: 'Cinzel', serif;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

/* ============================================
   Navigation
   ============================================ */
#navbar {
    background: rgba(250, 250, 245, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#navbar.scrolled {
    background: rgba(250, 250, 245, 0.98);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #b45309;
    transition: width 0.3s ease;
}

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

/* ============================================
   Hero Animations
   ============================================ */
.hero-tag {
    animation: slideUp 0.8s ease forwards;
}

.hero-title {
    animation: slideUp 0.8s ease 0.1s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.hero-subtitle {
    animation: slideUp 0.8s ease 0.2s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.hero-cta {
    animation: slideUp 0.8s ease 0.3s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.hero-stats {
    animation: slideUp 0.8s ease 0.4s forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Section Animations (scroll-reveal)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .section-tag,
    .section-title,
    .service-card,
    .feature-card {
        opacity: 1;
    }
}

/* ============================================
   Services
   ============================================ */
.service-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(13, 59, 62, 0.08);
}

/* ============================================
   Features
   ============================================ */
.feature-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* ============================================
   Mobile Menu
   ============================================ */
.mobile-link {
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: #b45309;
}

/* ============================================
   Back to Top
   ============================================ */
#back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }
}
