/* Custom styles for Snyder's Automotive Services */

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.2s ease;
}

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

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #14b8a6;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0d9488;
}

/* Selection color */
::selection {
    background: #14b8a6;
    color: white;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 3px solid #14b8a6;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    nav, .geo-shape, button, form {
        display: none !important;
    }
    
    body {
        color: black !important;
        background: white !important;
    }
    
    a {
        text-decoration: underline !important;
    }
}

/* Reduced motion preference */
@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;
    }
}

/* Tablet and up adjustments */
@media (min-width: 768px) {
    .hover-lift {
        will-change: transform;
    }
}

/* Large screens */
@media (min-width: 1024px) {
    .geo-shape {
        will-change: transform;
    }
}

/* Mobile optimizations */
@media (max-width: 640px) {
    .geo-shape {
        display: none;
    }
}
