/* Custom Styles for Great White Mobile Detailing */

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

body {
    font-family: 'Outfit', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

::-webkit-scrollbar-thumb {
    background: #0f5132;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #041c0f;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation-name: fadeInUp;
    animation-duration: 0.8s;
    animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Scroll Reveal Utility */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar Transition */
.nav-scrolled {
    background-color: rgba(4, 28, 15, 0.95);
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Service Card Hover Effects */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: #d4af37;
    transition: height 0.4s ease;
}

.service-card:hover::before {
    height: 100%;
}

/* Mobile Menu Transitions */
#mobile-menu {
    backdrop-filter: blur(10px);
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* Button Hover Effects */
button, a {
    transition: all 0.3s ease;
}

/* Form Focus States */
input:focus, select:focus, textarea:focus {
    border-bottom-width: 2px;
    padding-bottom: 1px;
}

/* Custom Selection Color */
::selection {
    background-color: #d4af37;
    color: #041c0f;
}
