/* Custom styles for Nick Hall Auto */

/* Base */
* { box-sizing: border-box; }

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Selection color */
::selection {
    background-color: #3d6636;
    color: #faf9f6;
}

/* Focus styles */
a:focus-visible, button:focus-visible {
    outline: 2px solid #528247;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Subtle entrance for hero stats */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: no-preference) {
    .animate-fade-up {
        animation: fadeUp 0.6s ease forwards;
    }
    .animate-fade-up:nth-child(1) { animation-delay: 0.3s; }
    .animate-fade-up:nth-child(2) { animation-delay: 0.45s; }
    .animate-fade-up:nth-child(3) { animation-delay: 0.6s; }
}

/* Image hover zoom */
.service-card img {
    transition: transform 0.4s ease;
}
.service-card:hover img {
    transform: scale(1.05);
}
