/* Custom styles complementing Tailwind */

/* Smooth focus outlines */
a:focus-visible, button:focus-visible {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
    border-radius: 4px;
}

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

::-webkit-scrollbar-track {
    background: #3b0764;
}

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

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

/* Image loading placeholder */
img {
    background-color: #e9d5ff;
}

/* Selection color */
::selection {
    background-color: #9333ea;
    color: #fff;
}

/* Subtle hover lift for cards */
.menu-card {
    transition: transform 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-4px);
}

/* Nav link underline animation */
nav a:not(.btn-primary):not(.btn-secondary) {
    position: relative;
}

nav a:not(.btn-primary):not(.btn-secondary)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f59e0b;
    transition: width 0.3s ease;
}

nav a:not(.btn-primary):not(.btn-secondary):hover::after {
    width: 100%;
}

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

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

/* Print styles */
@media print {
    nav, .float-anim, .float-anim-delayed {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
