/* Custom styles for Truck Outfitters & Outdoors */

/* Scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Marquee animation */
@keyframes marquee {
    0% { transform: translateX: 0; }
    100% { transform: translateX: -50%; }
}

.animate-marquee {
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Scroll indicator */
@keyframes scroll-indicator {
    0% { top: -16px; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 32px; opacity: 0; }
}

.animate-scroll-indicator {
    animation: scroll-indicator 1.5s ease-in-out infinite;
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(10, 31, 63, 0.08);
}

.nav-scrolled .nav-link {
    color: #0A1F3F !important;
}

.nav-scrolled .font-serif {
    color: #0A1F3F !important;
}

/* Service card hover */
.service-card {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Fade-in animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile menu */
.mobile-link {
    transition: color 0.2s ease;
}

.mobile-link:hover {
    color: #3BB892;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #3BB892;
}

/* Selection color */
::selection {
    background: #7EDBBF;
    color: #0A1F3F;
}

/* Input autofill */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

/* Hero image gradient overlay */
.rounded-2xl {
    position: relative;
}

/* Print styles */
@media print {
    nav, .animate-marquee, #contact-form, .animate-scroll-indicator {
        display: none !important;
    }
    body {
        color: #000 !important;
        background: #fff !important;
    }
}
