/* Custom styles for Kierston's Coffeestop */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f0fdf9;
}
::-webkit-scrollbar-thumb {
    background: #5eead4;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2dd4bf;
}

/* Menu card hover effect */
.menu-card {
    transform: translateY(0);
}

/* Navbar scroll state */
header.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

header.scrolled nav a:not(.bg-midnight-900):not(.bg-mint-400) {
    color: #0f172a !important;
}

/* Mobile link hover */
.mobile-link:hover {
    color: #14b8a6 !important;
}

/* Subtle pattern for mint-50 background */
.bg-mint-50 {
    background-image: radial-gradient(circle at 1px 1px, rgba(94, 234, 212, 0.08) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .menu-card,
    a {
        transition: none;
    }
    .animate-bounce {
        animation: none;
    }
    .animate-pulse {
        animation: none;
    }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #5eead4;
    outline-offset: 2px;
    border-radius: 8px;
}

/* Selection color */
::selection {
    background: #5eead4;
    color: #0f172a;
}
