/* Mountaineer Diesel Service — Custom Styles */

/* Base reset & smooth scrolling */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

/* Selection color */
::selection {
    background: rgba(200, 150, 62, 0.3);
    color: #060e1f;
}

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

/* Hide mobile menu by default */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu.open {
    max-height: 400px;
}

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Improve image rendering */
img {
    -webkit-font-smoothing: antialiased;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1628;
}
::-webkit-scrollbar-thumb {
    background: #1a3a6b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c8963e;
}

/* Print styles */
@media print {
    .hero-bg, .reveal, .service-card, .mobile-menu {
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
    }
    nav, .wave-divider {
        display: none;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .hero-bg {
        background-attachment: scroll;
    }
}
