/* Custom styles that go beyond Tailwind */

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

/* Base typography adjustments */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Mobile menu animations */
#menu-line-1.active {
    transform: rotate(45deg) translate(5px, 5px);
}
#menu-line-2.active {
    opacity: 0;
}
#menu-line-3.active {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

#mobile-menu.active {
    transform: translateX(0);
}

/* Subtle hover lift for cards */
.group {
    transition-property: transform, box-shadow;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

/* Input autofill styling override for dark backgrounds if needed */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: #0f172a;
    -webkit-box-shadow: 0 0 0px 1000px #ffffff inset;
    transition: background-color 5000s ease-in-out 0s;
}
