/* Custom styles for Tool Shed */

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

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

#navbar.scrolled .nav-logo-text {
    color: #fff;
}

#navbar.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Menu tabs */
.menu-tab {
    color: #64748b;
    background: transparent;
}

.menu-tab.active {
    color: #fff;
    background: #0d9488;
    box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}

.menu-tab:not(.active):hover {
    color: #0d9488;
    background: #f0fdfa;
}

/* Mobile menu */
.mobile-link {
    position: relative;
}

/* Gallery hover effects */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

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

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

::-webkit-scrollbar-thumb {
    background: #0d9488;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #14b8a6;
}

/* Light theme scrollbar */
body:not(.dark) ::-webkit-scrollbar-track {
    background: #f1f5f9;
}

body:not(.dark) ::-webkit-scrollbar-thumb {
    background: #94a3b8;
}

body:not(.dark) ::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Animation keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Reduced motion */
@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 {
    nav, footer, .no-print {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
