/* Custom styles for Lisenbee Trucking LLC */

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

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

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

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

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

/* Subtle fade-in animation for sections below fold */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Only apply to sections below the fold */
@media (prefers-reduced-motion: no-preference) {
    #services,
    #about,
    #contact {
        animation: fadeInUp 0.6s ease-out forwards;
    }
}

/* Button hover effects */
button, 
a {
    transition: all 0.3s ease;
}

/* Card hover effects */
.bg-sand-50:hover {
    transform: translateY(-4px);
    transition: transform 0.3s ease;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure all images have proper aspect ratio */
img {
    max-width: 100%;
    height: auto;
}
