@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;700&display=swap');

:root {
    /* --- COLORS --- */
    --accent:       #D4AF37; /* Metallic Gold */
    --text:         #EEEEEE; /* Off-White */
    --text-dim:     #AAAAAA; 
    --bg-dark:      #050505; 
    
    /* --- GLASS VARS --- */
    --glass-heavy:  rgba(12, 12, 12, 0.98); /* High opacity for readability */
    --glass-light:  rgba(30, 30, 30, 0.50); 
    --border-light: rgba(255, 255, 255, 0.08);
    
    /* --- DIMENSIONS --- */
    --sidebar-width: 260px; /* Fixed width for both Desktop & Mobile menus */
    --header-height: 90px;
    --transition-speed: 0.5s;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0; color: var(--text);
    font-family: 'Roboto Condensed', sans-serif;
    overflow-x: hidden; background-color: var(--bg-dark);
}
html { scroll-behavior: smooth; }

/* --- HERO SECTION --- */
#hero-cycle {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1;
}
.overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.85));
    z-index: 1;
}
.slideshow-container { width: 100%; height: 100%; }
.slide {
    position: absolute; width: 100%; height: 100%;
    background-size: cover; background-position: center; 
    opacity: 0; transition: opacity 1.5s ease-in-out;
}
.slide.active { opacity: 1; }

/* --- UPDATES BOX (Bottom Right) --- */
.hero-updates {
    position: absolute; bottom: 50px; right: 50px; 
    z-index: 2; width: 300px; transition: all 0.5s ease;
}
/* Hide when user scrolls */
body.sidebar-active .hero-updates { opacity: 0; transform: translateY(20px); pointer-events: none; }

.glass-panel-sm {
    background: var(--glass-light);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: 4px; padding: 20px; border-left: 3px solid var(--accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.hero-updates h3 { margin: 0 0 10px 0; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; }
.hero-updates p { font-size: 0.95rem; line-height: 1.4; margin-bottom: 10px; }
.insta-link { color: #fff; text-decoration: none; font-size: 0.85rem; border-bottom: 1px solid var(--accent); font-weight: bold; }

/* --- HEADER (Default Top State) --- */
#main-header {
    position: fixed; top: 0; left: 0; 
    width: 100%; height: var(--header-height);
    z-index: 100;
    transition: all var(--transition-speed) cubic-bezier(0.22, 1, 0.36, 1);
}

.header-inner {
    padding: 0 40px; height: 100%;
    display: flex; justify-content: space-between; align-items: center;
    transition: all var(--transition-speed);
}

.logo-area h1 {
    font-size: 1.8rem; text-transform: uppercase; letter-spacing: 2px;
    color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.5); margin: 0;
    white-space: nowrap; 
}
.logo-area h1 a { text-decoration: none; color: inherit; font-size: inherit; font-weight: inherit; }

#main-nav { display: flex; align-items: center; gap: 30px; }
#mobile-menu-toggle { display: none; cursor: pointer; color: #fff; }

.nav-item {
    text-decoration: none; color: rgba(255,255,255,0.8);
    text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px;
    transition: all 0.3s;
}
.nav-item:hover, .nav-item.active { color: var(--accent); }

/* Initial Visibility States */
.menu-group-container { display: none; } 
.info-group-desktop { display: flex; gap: 25px; }
.info-group-desktop .nav-item { font-weight: bold; }
.social-group-mobile { display: none; }

/* =========================================
   DESKTOP BEHAVIOR (Sidebar on Scroll)
   ========================================= */
@media (min-width: 769px) {
    /* Transform Header into Sidebar on Left */
    body.sidebar-active #main-header {
        width: var(--sidebar-width); height: 100vh;
        left: 0; top: 0;
        background: var(--glass-heavy);
        backdrop-filter: blur(20px);
        border-right: 1px solid var(--border-light);
    }
    
    body.sidebar-active .header-inner {
        flex-direction: column; align-items: flex-start; justify-content: flex-start;
        padding: 40px 30px;
    }
    
    body.sidebar-active .logo-area {
        margin-bottom: 30px; border-bottom: 1px solid var(--border-light);
        width: 100%; padding-bottom: 20px; white-space: normal;
    }
    body.sidebar-active .logo-area h1 { font-size: 1.5rem; }
    
    body.sidebar-active #main-nav {
        flex-direction: column; width: 100%; gap: 25px; align-items: flex-start;
    }
    
    /* Reveal Food Menu */
    body.sidebar-active .menu-group-container { display: block; width: 100%; }
    body.sidebar-active .nav-item { display: block; padding: 2px 0; }
    
    /* Reorganize Info Links */
    body.sidebar-active .info-group-desktop {
        flex-direction: column; gap: 10px;
        border-top: 1px solid var(--border-light);
        padding-top: 20px; width: 100%;
    }
    
    /* Push Content to the Right */
    body.sidebar-active #main-content { margin-left: var(--sidebar-width); }
}

/* Sidebar Sub-elements */
.nav-label {
    color: var(--accent); font-size: 0.75rem; text-transform: uppercase; 
    font-weight: bold; margin-bottom: 10px; display: block; opacity: 0.9;
}
.sub-nav {
    display: flex; flex-direction: column; gap: 10px;
    padding-left: 12px; border-left: 1px solid var(--border-light);
}

/* =========================================
   MOBILE BEHAVIOR (Off-Canvas Menu)
   ========================================= */
@media (max-width: 768px) {
    /* 1. TOP BAR (Fixed, never changes size) */
    #main-header { height: 70px; width: 100%; transition: none; }
    
    /* Ensure styles stay consistent when scrolling */
    body.sidebar-active #main-header {
        height: 70px; width: 100%; left: 0; 
        border: none;
        border-bottom: 1px solid var(--border-light);
    }
    
    .header-inner { flex-direction: row; align-items: center; padding: 0 15px; }
    body.sidebar-active .header-inner { flex-direction: row; padding: 0 15px; align-items: center; }
    
    .logo-area { border: none !important; margin: 0 !important; padding: 0 !important; width: auto !important; }
    .logo-area h1 { font-size: 1.1rem !important; }

    #mobile-menu-toggle { display: block; order: 1; margin-right: 15px; }
    .logo-area { order: 2; }

    /* 2. MOBILE MENU DRAWER (Left Slide-out) */
    #main-nav {
        position: fixed; top: 0; left: 0;
        
        /* Fixed width like desktop */
        width: var(--sidebar-width); 
        height: 100vh;
        
        background: var(--glass-heavy); 
        backdrop-filter: blur(20px);
        padding: 90px 30px 40px 30px; 
        
        flex-direction: column; align-items: flex-start;
        text-align: left;
        border-right: 1px solid var(--border-light);
        
        z-index: 90; /* Behind header */
        
        /* HIDE: Push to Left */
        transform: translateX(-100%); 
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 10px 0 30px rgba(0,0,0,0.5);
        overflow-y: auto; 
    }

    /* OPEN STATE */
    body.mobile-open #main-nav { transform: translateX(0); }

    /* Content Visibility in Mobile Menu */
    .menu-group-container { display: block; } 
    
    /* Force Info Links visible in mobile sidebar */
    .info-group-desktop { 
        display: flex !important;
        flex-direction: column; gap: 15px; width: 100%;
        margin-top: 20px; padding-top: 20px;
        border-top: 1px solid var(--border-light);
    }
    
    /* Show Socials */
    .social-group-mobile { display: block; margin-top: 20px; border-top: 1px solid var(--border-light); padding-top: 20px;}
    .social-icons-row { display: flex; gap: 20px; }
    .social-icon { color: #fff; } .social-icon:hover { color: var(--accent); }
    
    #main-nav .nav-item { font-size: 0.9rem; padding: 5px 0; }
    #main-nav .sub-nav { padding-left: 12px; border-left: 1px solid var(--border-light); gap: 10px; }
    #main-nav .nav-label { margin-bottom: 10px; }

    /* 3. MOBILE CONTENT SPACING (No movement) */
    body.sidebar-active #main-content { margin-left: 0; }

    /* 4. MOBILE PILL & UPDATES */
    .status-pill {
        top: auto; bottom: 30px; 
        left: 50%; right: auto;
        width: 90%; justify-content: space-between;
        transform: translate(-50%, 200%); 
    }
    body.sidebar-active .status-pill { transform: translate(-50%, 0); }

    .hero-updates {
        bottom: 100px; left: 50%; right: auto;
        transform: translateX(-50%); width: 90%; max-width: 350px; text-align: center;
        background: rgba(10, 10, 10, 0.9);
    }
    body.sidebar-active .hero-updates { opacity: 0; transform: translate(-50%, 20px); }
}

/* --- STATUS PILL (Desktop Default) --- */
.status-pill {
    position: fixed;
    top: 30px; 
    right: 40px; 
    z-index: 110;
    
    background: var(--glass-heavy);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    padding: 8px 18px; 
    
    display: flex; align-items: center; gap: 15px;
    
    /* Desktop Initial: Hidden (Slide Up from -200%) */
    transform: translateY(-200%); 
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Desktop Active: Slide Down to 0 */
body.sidebar-active .status-pill { 
    transform: translateY(0); 
}

.status-content {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.8rem; font-weight: bold; text-transform: uppercase; letter-spacing: 1px;
    white-space: nowrap; /* Prevent text wrapping */
}

.dot-indicator {
    width: 8px; height: 8px; background-color: #4CAF50;
    border-radius: 50%; box-shadow: 0 0 8px #4CAF50;
    flex-shrink: 0; /* Prevent dot shrinking */
}

.status-pill.closed .dot-indicator { 
    background-color: #f44336; box-shadow: 0 0 8px #f44336; 
}

#view-all-btn {
    background: rgba(255,255,255,0.1); border: none; color: var(--text);
    padding: 6px 14px; border-radius: 20px; cursor: pointer;
    font-size: 0.7rem; text-transform: uppercase; transition: background 0.3s;
    white-space: nowrap;
}
#view-all-btn:hover { background: var(--accent); color: #000; }


/* --- MOBILE STATUS PILL FIX --- */
@media (max-width: 768px) {
    .status-pill {
        /* Reset Desktop Position */
        top: auto; 
        right: auto; 
        
        /* Mobile Position: Bottom Center */
        bottom: 30px; 
        left: 50%; 
        
        /* Layout adjustments */
        width: 90%; 
        max-width: 400px; /* Don't get too wide on landscape phones */
        justify-content: space-between;
        
        /* Mobile Initial: Hidden (Pushed Down) + Centered X */
        /* We use !important to prevent Desktop override issues */
        transform: translate(-50%, 200%) !important; 
    }

    /* Mobile Active: Slide Up + Keep Centered X */
    body.sidebar-active .status-pill { 
        transform: translate(-50%, 0) !important; 
    }
}

/* --- MAIN CONTENT & MENU GRIDS --- */
#main-content {
    position: relative; z-index: 10; margin-top: 100vh; 
    transition: margin var(--transition-speed);
}
.content-section { padding: 40px 5%; margin-bottom: 20px; scroll-margin-top: 110px; }
.content-section:last-of-type { margin-bottom: 120px; }
.glass-panel { padding: 40px; max-width: 900px; background: var(--glass-light); backdrop-filter: blur(12px); border: 1px solid var(--border-light); border-radius: 4px; }

h2 { color: var(--accent); font-size: 2.2rem; margin: 0; text-transform: uppercase; }
.subcategory-title {
    color: var(--text); font-size: 1.4rem; margin-top: 40px; margin-bottom: 20px;
    border-bottom: 1px solid var(--accent); display: inline-block; text-transform: uppercase;
}

/* --- EXPANDABLE MENU CARDS (INLINE) --- */
.menu-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 20px; margin-top: 20px; 
}

.menu-card {
    background: rgba(0,0,0,0.5); 
    padding: 25px; 
    border-radius: 4px; 
    border-left: 2px solid transparent;
    cursor: pointer; 
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}
.menu-card:hover { 
    transform: translateY(-3px); 
    background: rgba(255,255,255,0.08); 
    border-left-color: var(--accent); 
}

.menu-card h3 { margin: 0 0 10px 0; display: flex; justify-content: space-between; font-size: 1.1rem; color: #fff; }
.menu-card .price { color: var(--accent); font-weight: 300; margin-left: 10px; }
.menu-card p { font-size: 0.9rem; color: var(--text-dim); margin: 0; font-style: italic; }

/* Expanded State Logic */
.card-image-container {
    max-height: 0; opacity: 0; overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
    margin-top: 0; border-radius: 4px;
}
.card-image-container img {
    width: 100%; height: auto; display: block; object-fit: cover;
    border-radius: 4px; margin-bottom: 10px;
}
.menu-card.expanded {
    background: rgba(255,255,255,0.1); 
    border-left-color: var(--accent);
}
.menu-card.expanded .card-image-container {
    max-height: 400px; opacity: 1; margin-top: 15px;
}
.expand-icon {
    display: inline-block; margin-left: 8px; font-size: 0.8em;
    transition: transform 0.3s; color: #666;
}
.menu-card.expanded .expand-icon { transform: rotate(180deg); color: var(--accent); }

/* Utility */
.section-hidden { display: none; }
body.show-all-menus .section-hidden { display: block !important; opacity: 0.6; }

/* Footer & Map */
.map-placeholder { height: 350px; width: 100%; background: #222; margin-top: 20px; border: 1px solid #444; filter: grayscale(100%) invert(92%); }
footer { padding: 40px; text-align: center; background: #000; font-size: 0.8rem; color: #666; }

/* Tablet Fix */
@media (max-width: 1100px) {
    .header-inner { padding: 0 20px; }
    .logo-area h1 { font-size: 1.4rem; } 
    #main-nav { gap: 15px; }
}