/* Custom styles for Vaquero Tire & Auto Repair */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
    background: #d44562;
    border-radius: 4px;
}

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

/* Selection color */
::selection {
    background: #f9d0d9;
    color: #3d0a15;
}

/* Animation keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Floating animation for decorative elements */
.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Focus styles for accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #d44562;
    outline-offset: 2px;
}

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

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

/* Mobile menu transitions */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

#mobile-menu.hidden {
    max-height: 0;
    opacity: 0;
}

#mobile-menu:not(.hidden) {
    max-height: 400px;
    opacity: 1;
}

/* Navbar scroll effect */
#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(61, 10, 21, 0.1);
}

/* Card hover effects */
.group:hover .group-hover\\:bg-brand-200 {
    background-color: #f3a8b6;
}

.group:hover .group-hover\\:shadow-xl {
    box-shadow: 0 20px 40px rgba(212, 69, 98, 0.15);
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #9c223c, #d44562);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle pattern overlay */
.pattern-overlay {
    background-image: radial-gradient(circle at 25px 25px, rgba(212, 69, 98, 0.05) 2px, transparent 0);
    background-size: 50px 50px;
}
