/* Custom styles for Mike's Auto Body & Rebuilders */

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

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

::-webkit-scrollbar-track {
    background: #1A1A1A;
}

::-webkit-scrollbar-thumb {
    background: #3A3A3A;
    border-radius: 5px;
}

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

/* Animation utilities */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Hover effects for cards */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Gradient text utility */
.text-gradient {
    background: linear-gradient(135deg, #FF6B4A 0%, #E55A3A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glow effects */
.glow-coral {
    box-shadow: 0 0 40px rgba(255, 107, 74, 0.3);
}

.glow-gold {
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
}

/* Responsive typography */
@media (max-width: 640px) {
    .font-display {
        font-size: 2.5rem;
    }
}

@media (min-width: 641px) and (max-width: 768px) {
    .font-display {
        font-size: 3.5rem;
    }
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.active {
    max-height: 400px;
}

/* Input focus styles */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(255, 107, 74, 0.1);
}

/* Button press effect */
button:active {
    transform: scale(0.98);
}

/* Image loading placeholder */
img {
    background: linear-gradient(90deg, #1A1A1A 25%, #2A2A2A 50%, #1A1A1A 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

img[src] {
    animation: none;
    background: none;
}
