:root {
    --bg: #030303; --surface: #0a0a0a; --surface-light: #151515;
    --gold: #D4AF37; --text: #F5F5F0; --text-muted: #888888;
    --font-head: 'Playfair Display', serif; --font-body: 'Inter', sans-serif;
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

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

body { background-color: var(--bg); color: var(--text); font-family: var(--font-body); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; }
a { text-decoration: none; color: inherit; }
button { background: none; border: none; cursor: pointer; font-family: inherit; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 5%; }

/* --- PRELOADER --- */
.preloader { position: fixed; inset: 0; background: var(--bg); z-index: 99999; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: opacity 1s ease-in-out, visibility 1s; }
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-logo { font-family: var(--font-head); font-size: 3rem; color: var(--gold); letter-spacing: 5px; margin-bottom: 2rem; opacity: 0; animation: pulseLogo 2s infinite alternate; }
.preloader-line { width: 0; height: 1px; background: var(--gold); animation: expandLine 1.5s cubic-bezier(0.77, 0, 0.175, 1) forwards; }
@keyframes expandLine { to { width: 200px; } }
@keyframes pulseLogo { to { opacity: 1; } }

/* --- NAVBAR & MOBILE MENU --- */
.navbar { position: fixed; top: 0; width: 100%; padding: 1.5rem 5%; display: flex; justify-content: space-between; align-items: center; z-index: 1000; background: rgba(3, 3, 3, 0.8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255, 255, 255, 0.05); transition: transform 0.4s; }
.navbar.hide { transform: translateY(-100%); }
.logo { font-family: var(--font-head); font-size: 1.8rem; color: var(--gold); letter-spacing: 2px; z-index: 1001;}
.nav-links { display: flex; gap: 2.5rem; }
.nav-link { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); transition: color 0.3s; }
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 2rem; z-index: 1001; }
.cart-toggle { text-transform: uppercase; letter-spacing: 1px; color: var(--text); font-size: 0.85rem; transition: color 0.3s; }
.hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; }
.hamburger span { width: 30px; height: 2px; background: var(--text); transition: 0.3s; }

/* --- HERO --- */
.hero { height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; transform: scale(1.1); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.hero .overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 0%, var(--bg) 100%); }
.hero h1 { font-size: clamp(4rem, 10vw, 10rem); line-height: 1; margin-bottom: 1rem; color: var(--text); }
.hero p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 3rem; letter-spacing: 1px; }
.btn-primary { border: 1px solid var(--gold); padding: 1rem 3rem; color: var(--gold); text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; transition: all 0.4s ease; display: inline-block; }
.btn-primary:hover { background: var(--gold); color: var(--bg); }

/* --- SECTIONS & GRIDS --- */
.section-pad { padding: 10rem 0; min-height: 80vh; }
.page-header { text-align: center; margin-bottom: 8rem; padding-top: 5rem; }
.subtitle { color: var(--gold); text-transform: uppercase; letter-spacing: 4px; font-size: 0.8rem; display: block; margin-bottom: 1rem; }
.page-header h2 { font-size: clamp(3rem, 6vw, 5rem); }

.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; margin-bottom: 10rem; }
.content-grid.reverse { direction: rtl; }
.content-grid.reverse > * { direction: ltr; }
.text-block h2 { font-size: clamp(2.5rem, 4vw, 3.5rem); margin-bottom: 2rem; line-height: 1.1; }
.text-block p { color: var(--text-muted); font-size: 1.1rem; line-height: 1.8; margin-bottom: 1.5rem; }
.img-block { width: 100%; height: 80vh; overflow: hidden; border-radius: 4px; position: relative;}
.img-block img { width: 100%; height: 130%; object-fit: cover; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 3rem; margin-bottom: 5rem;}
.menu-card { background: var(--surface); border: 1px solid var(--surface-light); padding: 2rem; transition: transform 0.4s ease; display: flex; flex-direction: column;}
.menu-card:hover { transform: translateY(-10px); border-color: rgba(212, 175, 55, 0.3); }
.card-img { position: relative; width: 100%; height: 350px; overflow: hidden; margin-bottom: 2rem; cursor: pointer; border-radius: 4px;}
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; filter: brightness(0.8); }
.card-img:hover img { transform: scale(1.05); filter: brightness(1); }
.view-ar-badge { position: absolute; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); display: flex; flex-direction: column; justify-content: center; align-items: center; color: var(--gold); opacity: 0; transition: opacity 0.3s ease; }
.view-ar-badge svg { width: 40px; margin-bottom: 10px; fill: var(--gold); }
.card-img:hover .view-ar-badge { opacity: 1; }
.card-content h3 { font-size: 2rem; margin-bottom: 0.5rem; }
.card-content p { color: var(--text-muted); line-height: 1.6; margin-bottom: 2rem; flex-grow: 1;}
.card-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--surface-light); padding-top: 1.5rem; }
.price { color: var(--gold); font-family: var(--font-head); font-size: 1.5rem; }
.add-to-cart { background: var(--surface-light); padding: 0.8rem 2rem; text-transform: uppercase; font-size: 0.8rem; transition: 0.3s; color: var(--text); }
.add-to-cart:hover { background: var(--gold); color: var(--bg); }

/* --- 3D AR MODAL --- */
.modal-ar { position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 99999; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.4s; backdrop-filter: blur(10px); }
.modal-ar.open { opacity: 1; pointer-events: all; }
.close-modal { position: absolute; top: 2rem; right: 3rem; font-size: 3rem; color: var(--text); z-index: 10; }
model-viewer { width: 100%; height: 70vh; max-width: 1000px; outline: none; }
.ar-instructions { text-align: center; margin-top: 2rem; color: var(--text-muted); }
.ar-button { background-color: var(--gold); color: var(--bg); padding: 1rem 2rem; border-radius: 4px; text-transform: uppercase; letter-spacing: 1px; font-weight: bold; margin-top: 1rem; display: inline-flex; align-items: center; gap: 10px;}

/* --- CART SIDEBAR --- */
.cart-sidebar { position: fixed; top: 0; right: -450px; width: 100%; max-width: 450px; height: 100vh; background: var(--surface); z-index: 2000; padding: 2.5rem; display: flex; flex-direction: column; transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1); border-left: 1px solid var(--surface-light); }
.cart-sidebar.open { right: 0; }
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); z-index: 1999; opacity: 0; pointer-events: none; transition: 0.4s; }
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; border-bottom: 1px solid var(--surface-light); padding-bottom: 1.5rem; }
.cart-items { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 1rem; padding-right: 10px;}
.cart-item { display: flex; justify-content: space-between; align-items: center; background: var(--bg); padding: 1.5rem; border: 1px solid var(--surface-light); }
.remove-btn { color: #ff4444; font-size: 0.8rem; text-transform: uppercase; }
.cart-footer { border-top: 1px solid var(--surface-light); padding-top: 2rem; margin-top: 2rem; }
.total { font-size: 1.8rem; font-family: var(--font-head); margin-bottom: 1.5rem; display: flex; justify-content: space-between; color: var(--gold); }
.checkout-btn { width: 100%; background: var(--text); color: var(--bg); padding: 1.2rem; text-align: center; text-transform: uppercase; letter-spacing: 2px; transition: 0.3s; display: block; border: none; cursor: pointer; }
.checkout-btn:hover { background: var(--gold); }

/* --- FORMS --- */
input, select, textarea { width: 100%; padding: 1.2rem; background: var(--bg); border: 1px solid var(--surface-light); color: var(--text); font-family: var(--font-body); font-size: 1rem; margin-bottom: 1rem; }
input:focus, textarea:focus { outline: none; border-color: var(--gold); }
.form-status { margin-top: 1.5rem; color: var(--gold); text-align: center; }

footer { text-align: center; padding: 6rem 2rem; border-top: 1px solid var(--surface-light); color: var(--text-muted); background: var(--surface); }

/* --- FULLY MOBILE RESPONSIVE --- */
@media (max-width: 992px) {
    .content-grid, .content-grid.reverse { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .content-grid.reverse > * { direction: ltr; }
    .img-block { height: 50vh; order: -1; } /* Image always on top on mobile */
    .hero h1 { font-size: clamp(3rem, 12vw, 5rem); }
    .section-pad { padding: 6rem 0; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background: var(--surface); flex-direction: column; justify-content: center; align-items: center; transition: 0.5s ease; gap: 3rem; }
    .nav-links.active { right: 0; }
    .nav-link { font-size: 1.5rem; }
    .cart-sidebar { width: 100%; right: -100%; max-width: 100%; }
    .grid-3 { grid-template-columns: 1fr; }
}
/* --- PREMIUM NAV RESERVE BUTTON --- */
.nav-reserve-btn {
    border: 1px solid var(--gold);
    padding: 0.5rem 1.2rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.nav-reserve-btn:hover {
    background: var(--gold);
    color: var(--bg);
}

/* Mobile pe spacing theek karne ke liye */
@media (max-width: 768px) {
    .nav-actions { gap: 1rem; }
    .nav-reserve-btn { display: none; } /* Mobile mein ise nav-links ke andar dalna better hai ya hide kar sakte hain kyunki homepage pe bada button hai */
}