/* Custom styles for Yum Rise Cafe */

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

/* Selection color */
::selection {
    background: rgba(79, 212, 184, 0.3);
    color: #ffffff;
}

/* Subtle grain texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Button hover lift effect */
button, a[href] {
    will-change: transform;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #050A18 0%, #0a1628 100%);
}

/* Custom scrollbar for webkit */
@media (min-width: 768px) {
    ::-webkit-scrollbar {
        width: 10px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .animate-bounce {
        animation: none;
    }
}

/* Print styles */
@media print {
    nav, .animate-bounce, #menu-toggle, #mobile-menu {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}
