/* Premium Matte Obsidian & Golden Aura Theme */
:root {
    --bg-dark: #ffffff;  /* Ultra-sleek, deep matte obsidian black */
    --surface: #ffffff;       /* Distinct dark charcoal for clean card backgrounds */
    --text-main: #fc447f;     /* Pure crisp white for text headers */
    --text-muted: #8F9CA2;    /* Muted silver slate for descriptions */
    --accent: #fc447f;        /* Warm champagne gold for main actions and highlights */
    --accent-hover: #fc447f;  /* Radiant liquid honey gold for interactive hovering */
    --border-soft: #1E252B;   /* Deep slate dividers that blend cleanly */
    --gold-glow: 0 0 25px rgba(229, 186, 115, 0.08); /* Attractive soft golden aura light */
}

body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
    margin: 0; 
    padding: 0; 
    background-color: var(--bg-dark); 
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

/* --- MASTER GOLDEN AURA BANNER --- */
.hero-header {
    position: relative;
    width: 100%;
    height: 80vh !important; /* Perfect 80% screen height proportion */
    background-image: linear-gradient(rgba(10, 13, 16, 0.3), rgba(255, 255, 255, 0.5)), url('images/bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
    border-bottom: 1px solid var(--border-soft);
}

.hero-header h1 {
    font-size: 44px;
    font-weight: 800;
    margin: 0 0 8px 0;
    letter-spacing: -1px;
    color: var(--accent);
    text-shadow: 0 4px 20px rgba(0,0,0,0.9);
}

.hero-header p {
    font-size: 16px;
    color: #FFFFFF;
    margin: 0 0 25px 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.9);
    opacity: 0.9;
}

/* --- OVERLAY LOGO AND DROP-DOWN NAVIGATION STRIP --- */
/* --- SAME-LEVEL EDGE-TO-EDGE NAVIGATION HEADER --- */
.top-nav-header {
    display: flex !important;
    flex-direction: row !important;       /* Forces logo and menu to sit side-by-side */
    justify-content: space-between !important; /* Pushes them completely far apart to opposite sides */
    align-items: center !important;       /* Perfectly centers them vertically on the exact same level */
    width: 100% !important;
    max-width: 1200px !important;         /* Matches your website container constraints */
    margin: 0 auto !important;
    padding: 20px 25px !important;        /* Gives clean breathing room away from the screen borders */
    box-sizing: border-box !important;
    position: absolute;                   /* Floats cleanly right over your 80% background banner image */
    top: 0;
    left: 0;
    z-index: 1000;
}


/* --- AUTOMATED HIGH-IMPACT CLOSE-UP LOGO ZOOM --- */
.brand-logo-img {
    width: 250px !important;    /* Clean, manageable width container size */
    height: 150px !important;   /* Clean height container box proportion */
    object-fit: contain;
    
    /* THE MAGICAL FIX: Zooms directly into your image to strip away the empty spacing! */
    transform: scale(2.2) !important; 
    display: inline-block !important; 
    padding-top: 20px;
}


/* Master Responsive Multi-Column Layout */
.container { 
    display: flex; 
    gap: 35px; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 40px 20px 80px 20px;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .container { flex-direction: column; padding-bottom: 40px; }
    .cart-section { position: relative !important; top: 0 !important; width: 100% !important; box-sizing: border-box; }
    .hero-header { height: 500px; }
    .hero-header h1 { font-size: 34px; }
}

.menu { flex: 2; }

/* Sticky Adaptive Shopping Cart Sidebar */
.cart-section { 
    flex: 1; 
    background: var(--surface); 
    padding: 30px; 
    border-radius: 20px; 
    box-shadow: 0 20px 5px rgba(0,0,0,0.5); 
    position: sticky; 
    top: 30px; 
    height: fit-content;
    border: 1px solid var(--border-soft);
}

/* Automatic Fluid Image Grid Layout */
.menu-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); 
    gap: 25px; 
    margin-top: 20px; 
}

    /* 1. INCREASES CARD WIDTH: Gives your food photos more physical screen space to expand */
  .menu-item-card {
        min-width: 200px !important;       /* Reverted back to your favorite perfect size */
        max-width: 200px !important;
        flex-shrink: 0;
        border-radius: 14px;               
    }



.menu-item-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(229, 186, 115, 0.15); /* Soft gold aura glow behind card */
    border-color: var(--accent);
}

  .menu-item-img { 
        width: 100%; 
        height: 130px !important;          /* Reverted back to your favorite height */
        object-fit: contain !important;    /* Forces the full picture to fit inside cleanly */
        background: #1C2329 !important;    
        border-bottom: 1px solid var(--border-soft);
        padding: 4px;                      /* Restored clean breathing room framing */
        box-sizing: border-box;
    }
.menu-item-info { 
    padding: 22px; 
    display: flex; 
    flex-direction: column; 
    flex-grow: 1; 
}

.menu-item-info h3 { 
    margin: 0 0 6px 0; 
    font-size: 19px; 
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--text-main);
}

.menu-item-info p { 
    font-size: 14px; 
    color: var(--text-muted); 
    margin: 0 0 20px 0; 
    line-height: 1.6;
    flex-grow: 1; 
}

.price-row { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.price { 
    font-weight: 700; 
    color: var(--accent); 
    font-size: 21px; 
}

/* Premium Rounded Action Buttons */
button { 
    background: linear-gradient(135deg, var(--accent), #C39B53); 
    color: #0A0D10; /* Clean dark text inside the gold button */
    border: none; 
    padding: 12px 24px; 
    cursor: pointer; 
    border-radius: 50px; 
    font-weight: 700; 
    font-size: 14px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(229, 186, 115, 0.2);
}

button:hover { 
    background: linear-gradient(135deg, var(--accent-hover), var(--accent)); 
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(229, 186, 115, 0.4);
}

button:active {
    transform: scale(0.95);
}

/* Expanded Full-Width Header Navigation */
.category-navbar { 
    display: flex; 
    gap: 15px; 
    margin: 0; 
    padding: 0 20px 5px 20px; 
    scrollbar-width: none; 
    -webkit-overflow-scrolling: touch;
    width: 100%;             
    max-width: 1100px;       
    box-sizing: border-box;
    justify-content: center; 
}

.category-navbar::-webkit-scrollbar { display: none; } 

.nav-pill { 
    flex: 1;                 
    text-align: center;      
    background: rgba(10, 13, 16, 0.8); /* Semi-translucent dark onyx overlay */
    border: 1px solid var(--border-soft); 
    padding: 14px 22px; 
    border-radius: 50px; 
    font-weight: 600; 
    cursor: pointer; 
    white-space: nowrap; 
    transition: all 0.25s ease; 
    font-size: 14px; 
    color: var(--text-main);
    backdrop-filter: blur(8px); 
}

.nav-pill:hover { 
    border-color: var(--accent); 
    color: var(--accent); 
    background: var(--surface);
    transform: translateY(-2px);
}

/* Clean Input Fields Layout */
input { 
    width: 100%; 
    padding: 14px 18px; 
    margin-bottom: 14px; 
    box-sizing: border-box; 
    border: 1px solid var(--border-soft); 
    border-radius: 12px; 
    font-size: 14px;
    background-color: var(--bg-dark);
    color: var(--text-main);
    transition: all 0.2s ease;
}

input:focus {
    outline: none;
    border-color: var(--accent);
    background-color: var(--surface);
    box-shadow: 0 0 0 3px rgba(229, 186, 115, 0.15);
}

.featured-hero { 
    background: var(--surface); 
    padding: 35px; 
    border-radius: 24px; 
    margin-bottom: 45px; 
    border: 1px solid var(--border-soft);
    box-shadow: var(--gold-glow); /* Attractive gold aura highlight */
}

/* Glowing Category section titles */
.category-section h2 {
    color: var(--accent); 
    border-bottom: 1px solid var(--border-soft);
    padding-bottom: 10px;
    font-size: 22px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(229, 186, 115, 0.1);
}
/* Mobile Smooth Horizontal Swipe Fix */
@media (max-width: 600px) {
    .category-navbar {
        justify-content: flex-start; /* Slides the buttons to the start line */
        overflow-x: auto;            /* Activates real left/right finger swiping */
        padding: 0 15px 12px 15px;   /* Adds touch breathing room at bottom */
    }
    
    .nav-pill {
        flex: initial;               /* Stops the squishing and forces proper width */
        padding: 12px 20px;          /* Perfectly balances sizes for thumbs */
    }
}
/* Floating Cart Button & Modal Layout Layer */
.floating-cart-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent), #C39B53);
    color: #0A0D10;
    padding: 14px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    z-index: 2000; /* Stays on top of everything */
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.2s;
}

.floating-cart-btn:hover {
    transform: scale(1.05);
}

.cart-badge {
    background: #0A0D10;
    color: var(--accent);
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 800;
}

/* Hidden State for Checkout Section Overlay */
.cart-overlay {
    display: none; /* Controlled by JavaScript */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 13, 16, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2500;
    justify-content: center;
    align-items: center;
}

/* Reposition Checkout Sidebar inside the Pop-up Modal Box */
.cart-modal-content {
    background: var(--surface);
    width: 90%;
    max-width: 450px;
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.6);
    border: 1px solid var(--border-soft);
    position: relative;
    box-sizing: border-box;
}

.close-modal-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    box-shadow: none;
}
.close-modal-btn:hover { color: var(--accent); background: none; }
/* --- PREMIUM LAPTOP/PC GRID (BIG & CLOSE-UP) --- */
.menu-grid { 
    display: flex !important;          
    flex-direction: row !important;
    overflow-x: auto !important;       /* Activates left-to-right swiping ONLY inside this row */
    width: 100% !important;            /* Fits exactly inside your main container limits */
    max-width: 1200px !important;      /* Aligns with your main page content grid lines */
    box-sizing: border-box !important;
    gap: 25px !important;              
    padding: 15px 5px 35px 5px !important;
    scrollbar-width: none !important;  /* Hides desktop scrollbars on Firefox */
    -webkit-overflow-scrolling: touch !important; 
    grid-template-columns: none !important; 
}
.menu-grid::-webkit-scrollbar { 
    display: none !important; 
}
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important; /* Strictly locks the background page layout from moving sideways */
}
.container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    overflow: hidden !important; /* Keeps the main content wrapper locked solid */
}

  /* 2. LAPTOP/PC SCREEN CARD STRUCTURE */
.menu-item-card {
    min-width: 280px !important;       /* Large, clear premium width for laptops */
    max-width: 280px !important;
    flex-shrink: 0 !important;         /* Prevents cards from squishing together */
    border-radius: 16px !important;               
    border: 2px solid #FFFFFF !important; /* Clean, bold white border outline */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
    background: var(--surface) !important;
}


   .menu-item-img {
    width: 100% !important;
    height: 70% !important;
    object-fit: cover !important;
    background: #1C2329 !important;    
    border-bottom: 1px solid var(--border-soft) !important;
    padding: 0 !important;             
    box-sizing: border-box !important;
    border-radius: 10px !important; 
}


    /* 4. Streamlined text padding so everything looks neat and balanced */
    .menu-item-info {
        padding: 10px !important;          
    }
    .menu-item-info h3 {
        font-size: 15px !important;        
        margin-bottom: 2px !important;
    }
    .menu-item-info p {
        font-size: 11px !important;        
        margin-bottom: 10px !important;
        line-height: 1.4 !important;
    }
    .price {
        font-size: 15px !important;
    }
    .price-row button {
        padding: 5px 12px !important;      
        font-size: 11px !important;
        width: auto !important;            
    }

    .price-row {
        flex-direction: row !important;    
        align-items: center !important;
        justify-content: space-between !important;
    }
    /* --- THE PERFECT PHONE REBALANCING (HORIZONTAL & HIGH CLARITY) --- */
@media (max-width: 600px) {
    /* 1. Forces items to go HORIZONTALLY left-to-right with zero downstairs dropping */
    .menu-grid { 
        display: flex !important;          
        flex-direction: row !important;
        overflow-x: auto !important;       
        gap: 16px !important; 
        padding: 10px 5px 25px 5px !important;
        scrollbar-width: none !important;             
        -webkit-overflow-scrolling: touch !important; 
        grid-template-columns: none !important;
    }

    .menu-grid::-webkit-scrollbar { 
        display: none !important; 
    }

    /* 2. THE GOLDEN CARD SIZE: Large enough to see clearly, but fits phone frames perfectly */
    .menu-item-card {
        min-width: 240px !important;       /* Increased width so it doesn't look far away */
        max-width: 240px !important;
        flex-shrink: 0 !important;
        border-radius: 14px !important;
        border: 2px 2px solid #ffffff  !important;              
    }

    /* 3. CLOSE-UP IMAGE SCALE: Bold, edge-to-edge frame that makes pictures stand out */
    .menu-item-img { 
        width: 100% !important; 
        height: 70% !important;          /* Increased height to bring the food close to the eyes */
        object-fit: cover !important;      /* Sharp, clear focus inside the border boundaries */
        background: #1C2329 !important;    
        border-bottom: 1px solid var(--border-soft) !important;
        padding: 0 !important;             /* Edge-to-edge photo layout with no small framing spaces */
        box-sizing: border-box !important;
        border-radius: 10px !important; 
    }

    /* 4. Balanced padding for text actions underneath the photo */
    .menu-item-info {
        padding: 14px !important;          
    }
    .menu-item-info h3 {
        font-size: 17px !important;        
        margin-bottom: 4px !important;
    }
    .menu-item-info p {
        font-size: 13px !important;        
        margin-bottom: 14px !important;
        line-height: 1.5 !important;
    }
    .price {
        font-size: 18px !important;
    }
    .price-row button {
        padding: 8px 16px !important;      
        font-size: 13px !important;
        width: auto !important;            
    }
    .price-row {
        flex-direction: row !important;    
        align-items: center !important;
        justify-content: space-between !important;
    }
}

/* --- ENLARGED LOGO SIZING --- */
.brand-logo-img {
    height: 75px !important; /* Increased from 50px to make your logo stand out prominently */
    width: auto;
    object-fit: contain;
}

/* Dropdown Utility Action Wrapper */
.nav-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.dropdown-trigger-btn {
    background: rgba(15, 18, 21, 0.75);
    color: var(--accent);
    border: 1px solid var(--border-soft);
    padding: 10px 18px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: 0.2s ease;
}

.dropdown-trigger-btn:hover {
    border-color: var(--accent);
    color: #FFFFFF;
}

.dropdown-menu-content {
    display: none; /* Controlled via JavaScript click */
    position: absolute;
    right: 0;
    top: 45px;
    background: var(--surface);
    min-width: 220px;
    border-radius: 14px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 1500;
    overflow: hidden;
    padding: 6px 0;
}

.dropdown-menu-content a {
    color: var(--text-main);
    padding: 12px 18px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s ease;
}

.dropdown-menu-content a:hover {
    background: rgba(229, 186, 115, 0.1);
    color: var(--accent);
}

/* --- REPOSITIONED FLOATING BOTTOM-RIGHT VIEW CART TRIGGER --- */
.floating-cart-btn {
    position: fixed;
    bottom: 25px !important;  /* Locks it perfectly to the bottom right corner */
    right: 25px !important;
    top: auto !important;     /* Disables the old top placement entirely */
    background: linear-gradient(135deg, var(--accent), #C39B53);
    color: #0A0D10;
    padding: 16px 26px;       /* Slightly larger, more ergonomic thumb touch pad target */
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;          /* Clean, easily visible text size */
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6); /* Deep ambient drop shadow to separate button from background */
    z-index: 2000;            /* Ensures it stays floating on top of all menu items */
    display: flex;
    align-items: center;
    gap: 8px;
        border: 1px solid rgba(255,255,255,0.25);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-cart-btn:hover {
    transform: scale(1.06);   /* Premium interactive pop effect on hover/touch click */
}
@media (max-width: 600px) {

    .top-nav-header {
        padding-left: 0 !important;
        padding-right: 10px !important;
    }

    .brand-logo-img {
        margin-left: -15px !important;
    }

}