/* Custom Styles for Finest Automotive Recovery */

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

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

@keyframes scroll {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    50% {
        opacity: 1;
        transform: translateY(10px);
    }
    100% {
        opacity: 0;
        transform: translateY(20px);
    }
}

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

.animate-scroll {
    animation: scroll 2s ease-in-out infinite;
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(10, 25, 47, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #6BA89E;
}

/* Selection Color */
::selection {
    background: #98D4C8;
    color: #0A192F;
}

/* Input Focus Styles */
input:focus,
textarea:focus,
select:focus {
    border-color: #98D4C8 !important;
    box-shadow: 0 0 0 3px rgba(152, 212, 200, 0.1);
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

#mobile-menu.open {
    transform: translateX(0);
}

#mobile-menu.closed {
    transform: translateX(100%);
}

/* Service Card Hover Effect */
.group:hover .group-hover\:bg-mint {
    background-color: #98D4C8;
}

/* Image Hover Zoom */
.group:hover img {
    transform: scale(1.05);
}

img {
    transition: transform 0.5s ease;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Print Styles */
@media print {
    nav,
    #contact-form,
    .animate-scroll {
        display: none;
    }
}
