/* Custom styles for Fresh Mex — Port Arthur */

:root {
    --navy-950: #060e1f;
    --navy-900: #0a1628;
    --navy-800: #0f2240;
    --gold-500: #d4a017;
    --gold-400: #e2b72c;
}

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

body {
    font-family: 'Inter', system-ui, sans-serif;
}

.font-display {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Navbar transition */
#navbar {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

#navbar.scrolled {
    background: rgba(6, 14, 31, 0.95);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.3);
}

/* Mobile menu */
#mobile-menu {
    animation: slideDown 0.25s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-link {
    display: block;
}

/* Scroll-triggered animations — progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card hover */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--navy-950);
}
::-webkit-scrollbar-thumb {
    background: var(--navy-700);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-500);
}

/* Selection color */
::selection {
    background: var(--gold-500);
    color: var(--navy-950);
}

/* Focus visible */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--gold-400);
    outline-offset: 2px;
    border-radius: 4px;
}
