/* R J Deli Provisions — Custom Styles */

/* Base */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

/* Selection */
::selection {
    background: rgba(184, 84, 70, 0.15);
    color: #2A2522;
}

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #FCFAF7;
}
::-webkit-scrollbar-thumb {
    background: #d4ab64;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #B85446;
}

/* Navbar transitions */
#navbar {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(252, 250, 247, 0.85);
    border-bottom: 1px solid rgba(237, 232, 227, 0.5);
}

#navbar.scrolled {
    background: rgba(252, 250, 247, 0.95);
    box-shadow: 0 1px 0 rgba(237, 232, 227, 0.8);
}

/* Mobile menu */
.mobile-link {
    position: relative;
}
.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #B85446;
    transition: width 0.3s ease;
}
.mobile-link:hover::after {
    width: 100%;
}

/* Menu toggle animation */
#menu-toggle[aria-expanded="true"] .menu-line:first-child {
    transform: rotate(45deg) translate(3px, 3px);
}
#menu-toggle[aria-expanded="true"] .menu-line:last-child {
    transform: rotate(-45deg) translate(2px, -2px);
}

/* Mobile menu open state */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* Image lazy load fade */
img[loading="lazy"] {
    transition: opacity 0.4s ease;
}

/* Subtle hover lift on cards */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #B85446;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print */
@media print {
    #navbar, #mobile-menu, .reveal { display: none; }
    body { color: #000; background: #fff; }
}
