/* Custom styles for Ikes Auto Body Shop */

/* Animation keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #5BC0AB;
}

/* Service card hover effect */
.service-card {
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(10, 37, 64, 0.08);
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

#mobile-menu.open {
    max-height: 500px;
    opacity: 1;
}

/* Selection color */
::selection {
    background: #7ED4C1;
    color: #0A2540;
}

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

/* Subtle gradient text fallback */
.text-transparent {
    -webkit-background-clip: text;
    background-clip: text;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #F5FAF7 0%, #EFF6F0 100%);
}
