/* Custom Styles for Delco Autospa */

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

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

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

/* Selection Color */
::selection {
    background-color: #C05A43;
    color: #ffffff;
}

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

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

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

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

/* Form Focus States */
input:focus,
textarea:focus,
select:focus {
    outline: none;
}

/* Image Aspect Ratios */
img {
    max-width: 100%;
    height: auto;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Navbar Scroll State */
.navbar-scrolled {
    background-color: rgba(250, 247, 244, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Hover underline animation for links */
a.relative::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: #C05A43;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

a.relative:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}
