/* El Maguey Mexican Grill — Custom Styles */

/* Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: #faf9f7;
    color: #3e3933;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography */
.font-display { font-family: 'Cormorant Garamond', Georgia, serif; }

/* Navigation */
.nav-scrolled {
    background: rgba(250, 249, 247, 0.97);
    box-shadow: 0 1px 0 rgba(62, 57, 51, 0.08);
}

/* Scroll Reveal */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero */
.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Menu */
.menu-item:hover .menu-line {
    width: 100%;
}

/* Decorative */
.thin-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(62, 57, 51, 0.15), transparent);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.float-slow { animation: float 6s ease-in-out infinite; }
.float-medium { animation: float 4s ease-in-out infinite; }

/* Buttons */
.btn-primary {
    background: #d17247;
    color: #faf9f7;
    transition: background 0.3s ease, transform 0.2s ease;
}
.btn-primary:hover {
    background: #c15530;
    transform: translateY(-1px);
}
.btn-outline {
    border: 1px solid #d17247;
    color: #d17247;
    transition: all 0.3s ease;
}
.btn-outline:hover {
    background: #d17247;
    color: #faf9f7;
}

/* Mobile Menu */
.mobile-link {
    transition: color 0.3s ease;
}
.mobile-link:hover {
    color: #d17247;
}

/* Smooth image loading */
img {
    loading: lazy;
}

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

/* Selection */
::selection {
    background: rgba(209, 114, 71, 0.15);
    color: #3e3933;
}
