/* Custom styles for Lily's Pupuseria */

:root {
    --terracotta-500: #B85C38;
    --terracotta-600: #9A4A2C;
    --sand-50: #FDF9F5;
    --sand-100: #FAF0E4;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lora', Georgia, serif;
}

h1, h2, h3, h4, .font-serif {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Navbar scroll state */
#navbar.scrolled {
    background-color: rgba(253, 249, 245, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(184, 92, 56, 0.08);
}

#navbar.scrolled .font-serif {
    color: #2D140B;
}

#navbar.scrolled a:not(.bg-terracotta-500) {
    color: #44403C;
}

#navbar.scrolled a:not(.bg-terracotta-500):hover {
    color: #B85C38;
}

/* Menu tabs */
.menu-tab {
    background: transparent;
    color: #78716C;
    border: 1.5px solid #E7E5E4;
}

.menu-tab:hover {
    border-color: #DCA390;
    color: #B85C38;
}

.menu-tab.active {
    background: #B85C38;
    color: white;
    border-color: #B85C38;
}

.menu-tab.active:hover {
    background: #9A4A2C;
    border-color: #9A4A2C;
    color: white;
}

/* Mobile menu */
.mobile-menu-link {
    position: relative;
}

.mobile-menu-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #B85C38;
    transition: width 0.3s ease;
}

.mobile-menu-link:hover::after {
    width: 100%;
}

/* Decorative pattern */
.hero-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Subtle animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hover\:scale-110:hover,
    .group:hover .group-hover\:scale-110 {
        transform: none;
    }

    .animate-bounce {
        animation: none;
    }
}

/* Print styles */
@media print {
    header, .animate-bounce {
        display: none;
    }
}
