/* ========================================
   Avery's Collision Center — Custom Styles
   Deep Navy + Warm Gold | Clean Minimalist
   ======================================== */

/* Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(201, 160, 32, 0.3);
    color: #f0f4f8;
}

/* ========================================
   Navigation
   ======================================== */
.nav-scrolled {
    background: rgba(10, 26, 46, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(100, 125, 152, 0.1);
}

.nav-link {
    position: relative;
}

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

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

.nav-link:hover {
    color: #c9a020 !important;
}

/* Mobile menu */
.nav-mobile {
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-link {
    position: relative;
}

/* ========================================
   Hero — Floating Stat Cards
   ======================================== */
.card-float-1 {
    animation: float1 6s ease-in-out infinite;
}

.card-float-2 {
    animation: float2 5s ease-in-out infinite;
}

.card-float-3 {
    animation: float3 7s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(8px); }
}

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

/* Scroll line animation */
.scroll-line {
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; height: 40px; }
    50% { opacity: 1; height: 50px; }
}

/* ========================================
   Service Cards
   ======================================== */
.service-card {
    transition: background 0.5s ease;
}

/* ========================================
   Process Steps
   ======================================== */
.process-step {
    position: relative;
}

/* ========================================
   Scroll Reveal (progressive enhancement)
   Content is visible by default; JS adds animation
   ======================================== */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 0;
    transform: translateY(30px);
}

/* ========================================
   Button hover effects
   ======================================== */
a {
    text-decoration: none;
}

/* ========================================
   Responsive adjustments
   ======================================== */
@media (max-width: 768px) {
    .card-float-1,
    .card-float-2,
    .card-float-3 {
        animation: none;
    }
}

/* ========================================
   Reduced motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ========================================
   Utility
   ======================================== */
.glow-gold {
    box-shadow: 0 0 40px rgba(201, 160, 32, 0.15);
}
