/* Custom styles for Leon Jones Trucking Co */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #022c22;
}

/* Form focus styles */
input:focus,
textarea:focus {
    outline: none;
}

/* Animation for floating cards */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating-card-1 {
    animation: float 3s ease-in-out infinite;
}

.floating-card-2 {
    animation: float 3s ease-in-out infinite 0.5s;
}

.floating-card-3 {
    animation: float 3s ease-in-out infinite 1s;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .floating-card-1,
    .floating-card-2,
    .floating-card-3 {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    nav,
    #mobile-menu-btn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .bg-emerald-800 {
        background: #333 !important;
    }
}
