/* Custom styles for Sonny Doughnuts */

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

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Navbar scroll effect */
#navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Hero image gradient overlay */
#hero img {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

/* Menu card hover lift */
.group:hover {
    transform: translateY(-4px);
}

.group {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Custom selection color */
::selection {
    background-color: #4fbfa3;
    color: #051524;
}

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

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

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

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

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