:root {
    --gold: #c5a059;
    --dark: #0a0a0a;
    --light-gray: #f4f4f4;
    --card-bg: #151515;
    --transition: all 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--dark);
    color: white;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

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

/* --- PRELOADER --- */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 1s cubic-bezier(0.8, 0, 0.2, 1);
}

.loader-logo { color: var(--gold); font-size: 3rem; letter-spacing: 10px; }
.loader-bar { width: 0; height: 2px; background: var(--gold); margin-top: 20px; transition: width 1.5s ease; }

.preloader.hidden { transform: translateY(-100%); }

/* --- HERO --- */
.menu-hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1514362545857-3bc16c4c7d1b?auto=format&fit=crop&q=80') center/cover;
    position: relative;
}

.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.7); }
.hero-content { position: relative; z-index: 1; }

.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: 5px; font-size: 0.9rem; margin-bottom: 20px; display: block; }
.menu-hero h1 { font-size: clamp(3rem, 8vw, 6rem); margin-bottom: 10px; }

/* --- MENU ITEMS --- */
.menu-container { max-width: 1200px; margin: -100px auto 100px; padding: 0 20px; position: relative; z-index: 2; }

.section-title {
    color: var(--gold);
    font-size: 2.5rem;
    margin: 80px 0 40px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 15px auto;
}

.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; }

.menu-item {
    background: var(--card-bg);
    padding: 30px;
    border: 1px solid #222;
    transition: var(--transition);
}

.menu-item:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
}

.item-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 15px; }
.item-header h3 { font-size: 1.4rem; color: #fff; }
.price { color: var(--gold); font-weight: 600; font-size: 1.2rem; }
.desc { color: #888; font-size: 0.95rem; line-height: 1.6; font-weight: 300; }

.badge {
    font-size: 0.6rem;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    vertical-align: middle;
    margin-left: 10px;
}
.signature { background: var(--gold); color: black; }
.spicy { background: #ff4d4d; color: white; }

/* --- SPECIAL THALI --- */
.special-thali { margin-bottom: 100px; }
.thali-card {
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    padding: 60px;
    border: 1px solid var(--gold);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.thali-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.thali-grid span {
    border: 1px solid #444;
    padding: 8px 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* --- ANIMATIONS --- */
.reveal { opacity: 0; transform: translateY(40px); transition: var(--transition); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Custom Keyframes */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 1s ease forwards; }
.fade-up-delayed { animation: fadeUp 1s ease 0.3s forwards; opacity: 0; }
.fade-up-delayed-2 { animation: fadeUp 1s ease 0.6s forwards; opacity: 0; }

/* ADD TO menu.css */

/* Handling Descriptive Text */
.desc {
    font-style: italic;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
    border-left: 1px solid var(--gold);
    padding-left: 12px;
}

/* Section-Specific Highlight: Special Thali */
.special-thali {
    perspective: 1000px;
}

.thali-card {
    background: linear-gradient(145deg, #111, #050505);
    border: 2px solid var(--gold);
    box-shadow: 0 0 40px rgba(197, 160, 89, 0.1);
}

.thali-grid span {
    background: rgba(197, 160, 89, 0.05);
    border: 1px solid rgba(197, 160, 89, 0.2);
    transition: all 0.3s ease;
}

.thali-grid span:hover {
    background: var(--gold);
    color: #000;
}

/* Badge Variations */
.badge.chef { background: #5a8dff; color: white; } /* Blue for Chef's Special */

/* Smooth Menu Container Entrance */
.menu-container {
    animation: slideUpIn 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

@keyframes slideUpIn {
    from { opacity: 0; transform: translateY(100px); }
    to { opacity: 1; transform: translateY(0); }
}

.menu-footer {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(to top, #050505, var(--dark));
    margin-top: 100px;
    border-top: 1px solid rgba(197, 160, 89, 0.15);
}

.footer-top p {
    font-size: 0.9rem;
    color: var(--gold);
    margin-bottom: 10px;
    letter-spacing: 1px;
    font-weight: 300;
}

.footer-divider {
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin: 25px auto;
    opacity: 0.5;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
}



/* Floating Navigation Capsule */
.menu-nav-capsule {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 12px 25px;
    border-radius: 100px;
    display: flex;
    gap: 20px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.menu-nav-capsule a {
    color: var(--gold);
    text-decoration: none;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.menu-nav-capsule a:hover { opacity: 0.6; }

/* Premium Border Reveal Animation */
.menu-item {
    position: relative;
    overflow: hidden;
}

.menu-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--gold);
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    transform-origin: right;
    pointer-events: none;
}

.menu-item:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gold);
    z-index: 10000;
}






html {
    scroll-behavior: smooth; /* Smooth gliding instead of jumping */
}

/* This creates a 100px buffer zone at the top of every section */
section[id] {
    scroll-margin-top: 100px; 
}



/* Logo sizing for Preloader and Hero */
.loader-img-logo {
    height: 100px;
    width: auto;
    margin-bottom: 20px;
}

.hero-brand-logo {
    height: 120px;
    width: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 20px rgba(197, 160, 89, 0.3));
}

/* Nav Link Functional Offset */
section[id] {
    scroll-margin-top: 120px; /* Adjust this so headers don't get hidden */
}

/* Floating Navigation Capsule Styling */
.menu-nav-capsule {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 12px 20px;
    border-radius: 100px;
    display: flex;
    gap: 15px;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

.menu-nav-capsule a {
    color: var(--gold);
    text-decoration: none;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.menu-nav-capsule a:hover {
    color: #fff;
}



body {
    background-color: var(--dark);
    color: white;
    font-family: 'Inter', sans-serif;
    /* Remove overflow: hidden from here */
    overflow-x: hidden; 
}

/* Add this class to lock scroll ONLY when loading */
body.is-loading {
    overflow: hidden;
    height: 100vh;
}