/* Custom overrides and enhancements */

html {
    scroll-behavior: smooth;
}

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

/* Navbar transition */
#navbar.scrolled {
    background-color: rgba(20, 14, 12, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(217, 140, 51, 0.1);
}

/* Mobile menu transitions */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

#mobileMenu.open {
    max-height: 400px;
    opacity: 1;
}

/* Subtle image hover parallax */
.group img {
    will-change: transform;
}

/* Selection color */
::selection {
    background-color: rgba(176, 62, 35, 0.2);
    color: inherit;
}

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

::-webkit-scrollbar-track {
    background: #f9edd3;
}

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

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

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}
