/* Custom styles for Trumble Excavating */

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #ff6f3e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #f05a28;
}

/* Selection color */
::selection {
    background: #ff6f3e;
    color: white;
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid #ff6f3e;
    outline-offset: 2px;
}

/* Mobile menu transitions */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}
.mobile-menu.open {
    transform: translateX(0);
}

/* Animation delays for staggered reveals */
.reveal.hidden:nth-child(1) { transition-delay: 0.1s; }
.reveal.hidden:nth-child(2) { transition-delay: 0.2s; }
.reveal.hidden:nth-child(3) { transition-delay: 0.3s; }
.reveal.hidden:nth-child(4) { transition-delay: 0.4s; }
.reveal.hidden:nth-child(5) { transition-delay: 0.5s; }
.reveal.hidden:nth-child(6) { transition-delay: 0.6s; }

/* Print styles */
@media print {
    .navbar, .mobile-menu, #mobile-overlay {
        display: none !important;
    }
    .hero-gradient {
        background: #1a1a2e !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
