/* ============================================
   Nig's Tavern — Custom Styles
   ============================================ */

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Geometric Shapes */
.geo-shape-1 {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 120px;
    height: 120px;
    background: rgba(253, 224, 71, 0.3);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: float 6s ease-in-out infinite;
}

.geo-shape-2 {
    position: absolute;
    bottom: 25%;
    left: 8%;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    transform: rotate(45deg);
    animation: float 8s ease-in-out infinite reverse;
}

.geo-shape-3 {
    position: absolute;
    top: 30%;
    left: 15%;
    width: 60px;
    height: 60px;
    background: rgba(253, 224, 71, 0.2);
    border-radius: 50%;
    animation: float 7s ease-in-out infinite;
}

.geo-shape-4 {
    position: absolute;
    bottom: 35%;
    right: 15%;
    width: 100px;
    height: 100px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transform: rotate(20deg);
    animation: spin-slow 20s linear infinite;
}

.geo-shape-5 {
    position: absolute;
    top: 60%;
    right: 30%;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes spin-slow {
    from { transform: rotate(20deg); }
    to { transform: rotate(380deg); }
}

/* Navbar */
#navbar {
    background: rgba(253, 246, 236, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#navbar.scrolled {
    background: rgba(253, 246, 236, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Menu Tabs */
.menu-tab {
    transition: all 0.3s ease;
}

.menu-tab.active {
    background: #E84F32;
    color: white;
    box-shadow: 0 4px 12px rgba(232, 79, 50, 0.4);
}

.menu-tab:not(.active) {
    background: white;
    color: #4B5563;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.menu-tab:not(.active):hover {
    background: #FEF0EB;
    color: #E84F32;
}

/* Menu Items */
.menu-item-card {
    transition: all 0.3s ease;
}

.menu-item-card:hover {
    border-color: #F39E8C;
}

/* Event Cards */
.event-card {
    transition: all 0.3s ease;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Mobile Menu */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .geo-shape-1,
    .geo-shape-2,
    .geo-shape-3,
    .geo-shape-4,
    .geo-shape-5 {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}
