/* 
    Baker Farm Truck And Auto Custom Styles
    Theme: Classic Burgundy & Blush
*/

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #F9F5F5;
}
::-webkit-scrollbar-thumb {
    background: #681828;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4a101b;
}

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

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

/* Service Card Hover Effect */
.service-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Floating Cards Animation (Desktop only) */
@media (min-width: 1024px) {
    .absolute.top-0 {
        animation: float 6s ease-in-out infinite;
    }
    .absolute.top-32 {
        animation: float 7s ease-in-out infinite reverse;
    }
    .absolute.bottom-0 {
        animation: float 5s ease-in-out infinite;
    }
}

@keyframes float {
    0% { transform: translateY(0px) rotate(2deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(2deg); }
}

/* Form Focus States */
input:focus, textarea:focus, select:focus {
    border-color: #681828 !important;
    box-shadow: 0 0 0 3px rgba(104, 24, 40, 0.1);
}
