/* Custom Styles for Lance's Tools */

/* Smooth Scrolling for Anchor Links */
html {
    scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
    background: #1f1f1f;
    border: 1px solid #333;
}

::-webkit-scrollbar-thumb:hover {
    background: #c25a40;
}

/* Selection Color */
::selection {
    background: #c25a40;
    color: #fff;
}

/* Utility Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#mobile-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Hover Effects for Images */
img {
    transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Typography Adjustments */
h1, h2, h3, h4 {
    text-wrap: balance;
}

/* Glassmorphism utilities */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Focus States for Accessibility */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #c25a40;
    outline-offset: 4px;
}
