/* Custom styles for Ozarks Metal Fab & Welding */

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

/* Navbar scroll effect */
#navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(168, 34, 66, 0.2);
}

/* Service card hover effect */
.service-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.5) 0%, rgba(18, 18, 26, 0.5) 100%);
    transition: all 0.3s ease;
}

.service-card:hover {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(18, 18, 26, 0.8) 100%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 60px rgba(251, 191, 36, 0.1);
}

/* Gallery item hover */
.gallery-item {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(251, 191, 36, 0.15);
}

/* Mobile menu transitions */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

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

/* Button focus states */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: none;
}

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

::-webkit-scrollbar-track {
    background: #0a0a0f;
}

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

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

/* Selection color */
::selection {
    background: rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

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

/* Print styles */
@media print {
    #navbar,
    #mobileMenu,
    .animate-bounce {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
