/* Noble Armor Coatings — Custom Styles */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f7f7f8;
}
::-webkit-scrollbar-thumb {
    background: #d1d2d8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a8a9b3;
}

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

/* Mobile menu animation */
#mobileMenu {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Navbar transition */
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

/* Service card hover effects */
.group:hover .group-hover\:bg-coral-500 {
    background-color: #f65f5f;
}

/* Button hover scale */
button:hover, a:hover {
    transform-origin: center;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible styles */
:focus-visible {
    outline: 2px solid #f65f5f;
    outline-offset: 2px;
    border-radius: 4px;
}

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

/* Print styles */
@media print {
    nav, #contact, .cta-banner {
        display: none;
    }
    body {
        color: #1e1f26;
        background: white;
    }
}
