/* Custom CSS for Matt's Auto Service */

/* Custom Properties */
:root {
    --charcoal-900: #0f1419;
    --charcoal-800: #1a2332;
    --charcoal-700: #2a3544;
    --charcoal-600: #3d4f63;
    --charcoal-500: #5a7089;
    --charcoal-400: #8fa3b8;
    --charcoal-300: #b8c5d4;
    --charcoal-200: #d4dde7;
    --charcoal-100: #eef1f5;
    --coral-500: #ff6b5c;
    --coral-400: #ff8a7d;
    --coral-600: #e85a4d;
}

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

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

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

.font-outfit {
    font-family: 'Outfit', sans-serif;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Service Card Hover Effects */
.service-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Navigation Active State */
.nav-link.active {
    color: #ff6b5c !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0f1419;
}

::-webkit-scrollbar-thumb {
    background: #2a3544;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff6b5c;
}

/* Input Focus Styles */
input:focus,
textarea:focus,
select:focus {
    border-color: #ff6b5c !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 92, 0.1);
}

/* Button Press Effect */
button:active {
    transform: scale(0.98);
}

/* Image Hover Zoom */
.service-card img {
    transition: transform 0.5s ease;
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 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;
    }
}

/* Print Styles */
@media print {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}
