/* Merengue Restaurant & Catering — Custom Styles */

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; }
body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection */
::selection {
    background: rgba(196, 59, 59, 0.15);
    color: #5c1616;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #faf7f5; }
::-webkit-scrollbar-thumb { background: #e87070; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #c43b3b; }

/* Focus */
:focus-visible {
    outline: 1px solid #c43b3b;
    outline-offset: 2px;
}

/* Link underline animation */
a:not([class]) {
    text-decoration: none;
}

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

/* Smooth transitions for all interactive elements */
button, a {
    transition: all 0.3s ease;
}

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

/* Hamburger animation */
.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}
.mobile-toggle.active span:nth-child(2) {
    transform: rotate(-45deg) translate(0px, 0px);
}

/* Reduce 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; }
}
