/* ============================================================
   D4X Restaurant — Main Stylesheet (pure CSS, no framework)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --gold: #d4a853; --gold-light: #f0d48a; --gold-dark: #a8823a;
  --ink: #0a0a0b; --ink-2: #121214; --ink-3: #1a1a1e;
  --cream: #f5f1e8; --muted: rgba(245,241,232,.55);
  --display: 'Playfair Display', Georgia, serif; --body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(.22,1,.36,1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--ink); color: var(--cream); font-family: var(--body); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }
::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--gold), var(--gold-dark)); border-radius: 8px; }

.font-display { font-family: var(--display); }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; position: relative; }
.eyebrow { font-size: 11px; letter-spacing: .5em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.h2 { font-family: var(--display); font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.1; font-weight: 400; }
.h2 em { color: var(--gold-light); }
.lead { color: var(--muted); margin-top: 20px; max-width: 560px; }
.center { text-align: center; } .center .lead { margin-left: auto; margin-right: auto; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } .section { padding: 80px 0; } }

/* ---------- Buttons / inputs ---------- */
.btn-gold, .btn-outline { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 32px; border-radius: 999px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; transition: transform .3s, box-shadow .3s, background .3s; }
.btn-gold { color: var(--ink); background: linear-gradient(135deg, var(--gold), var(--gold-light)); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 40px -10px rgba(212,168,83,.6); }
.btn-outline { color: var(--gold); border: 1px solid rgba(212,168,83,.5); }
.btn-outline:hover { background: rgba(212,168,83,.1); border-color: var(--gold); transform: translateY(-2px); }
.btn-sm { padding: 10px 22px; font-size: .7rem; }
.btn-gold:disabled, .btn-outline:disabled { opacity: .6; cursor: wait; }
.input-gold { width: 100%; background: rgba(255,255,255,.03); border: 1px solid rgba(212,168,83,.25); color: var(--cream); padding: 13px 16px; border-radius: 8px; outline: 0; font-family: inherit; font-size: .95rem; transition: all .3s; color-scheme: dark; }
.input-gold:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212,168,83,.12); background: rgba(255,255,255,.05); }
.input-gold::placeholder { color: rgba(245,241,232,.35); }
.input-gold option { background: var(--ink-2); }
.label { display: block; font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: rgba(245,241,232,.5); margin-bottom: 8px; }
.glass { background: rgba(18,18,20,.6); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(212,168,83,.15); border-radius: 24px; }

/* ---------- Keyframes ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-18px) rotate(3deg); } }
@keyframes floatSlow { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes shimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
@keyframes pulseRing { 0% { transform: scale(.8); opacity: .8; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(18px); opacity: 0; } }
@keyframes smoke { 0% { transform: translateY(0) scale(1); opacity: 0; } 20% { opacity: .5; } 100% { transform: translateY(-120px) scale(1.8); opacity: 0; } }
@keyframes gradientMove { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes lineGrow { from { width: 0; } to { width: 100%; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes popIn { 0% { opacity: 0; transform: scale(.85) translateY(20px); } 100% { opacity: 1; transform: none; } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: none; } }

.anim-fade-up { animation: fadeUp 1s var(--ease) both; }
.anim-float { animation: float 6s ease-in-out infinite; }
.anim-float-slow { animation: floatSlow 4s ease-in-out infinite; }
.anim-spin-slow { animation: spinSlow 18s linear infinite; }
.anim-pop { animation: popIn .5s var(--ease) both; }
.anim-slide-down { animation: slideDown .4s ease both; }
.text-shimmer { background: linear-gradient(90deg, #a8823a 0%, #f0d48a 25%, #fff5d6 50%, #f0d48a 75%, #a8823a 100%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shimmer 4s linear infinite; }
.gold-gradient { background: linear-gradient(135deg, #a8823a, #d4a853, #f0d48a, #d4a853); background-size: 300% 300%; animation: gradientMove 6s ease infinite; }

/* ---------- Scroll reveal ---------- */
.reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
.reveal { transform: translateY(40px); } .reveal-left { transform: translateX(-60px); } .reveal-right { transform: translateX(60px); } .reveal-scale { transform: scale(.85); }
.in-view { opacity: 1 !important; transform: none !important; }

/* ---------- Preloader ---------- */
#preloader { position: fixed; inset: 0; z-index: 1000; background: var(--ink); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 24px; transition: transform .7s var(--ease); }
#preloader.done { transform: translateY(-100%); pointer-events: none; }
#preloader .ring { position: relative; width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; }
#preloader .ring::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(212,168,83,.3); }
#preloader .ring::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border-top: 2px solid var(--gold); animation: spinSlow 1.2s linear infinite; }
#preloader .ring span { font-family: var(--display); font-size: 2.2rem; font-weight: 700; }
#preloader small { font-size: 10px; letter-spacing: .5em; text-transform: uppercase; color: rgba(212,168,83,.7); }
#preloader .bar { width: 160px; height: 1px; background: rgba(255,255,255,.1); overflow: hidden; }
#preloader .bar i { display: block; height: 100%; background: var(--gold); animation: lineGrow 1.3s ease forwards; }

/* ---------- Progress + Navbar ---------- */
#progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 900; }
.nav { position: fixed; top: 0; left: 0; width: 100%; z-index: 800; padding: 24px 0; transition: all .5s; }
.nav.scrolled { padding: 12px 0; background: rgba(18,18,20,.7); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(212,168,83,.15); box-shadow: 0 10px 40px -15px rgba(0,0,0,.8); }
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo .mark { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(212,168,83,.5); display: flex; align-items: center; justify-content: center; position: relative; transition: transform .5s; }
.logo:hover .mark { transform: rotate(180deg); }
.logo .mark::before { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light)); }
.logo .mark b { position: relative; font-family: var(--display); color: var(--ink); font-size: 1.1rem; }
.logo .word { font-family: var(--display); font-size: 1.5rem; font-weight: 700; letter-spacing: .25em; }
.nav ul { display: flex; gap: 32px; list-style: none; }
.nav ul a { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); position: relative; transition: color .3s; }
.nav ul a::after { content: ''; position: absolute; left: 0; bottom: -4px; height: 1px; width: 0; background: var(--gold); transition: width .4s var(--ease); }
.nav ul a:hover, .nav ul a.active { color: var(--gold); } .nav ul a:hover::after, .nav ul a.active::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-right .phone { font-size: 11px; letter-spacing: .1em; color: rgba(255,255,255,.6); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(212,168,83,.4); flex-direction: column; align-items: center; justify-content: center; gap: 6px; position: relative; z-index: 901; }
.burger span { width: 20px; height: 2px; background: var(--gold); transition: all .3s; }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); } .burger.open span:nth-child(2) { opacity: 0; } .burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 850; background: rgba(10,10,11,.96); backdrop-filter: blur(20px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; opacity: 0; pointer-events: none; transition: opacity .5s; }
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-family: var(--display); font-size: 2rem; color: rgba(255,255,255,.8); transform: translateY(20px); opacity: 0; transition: all .5s; }
.mobile-menu.open a { transform: none; opacity: 1; }
.mobile-menu a:hover { color: var(--gold); }
@media (max-width: 1024px) { .nav ul, .nav-right { display: none; } .burger { display: flex; } }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url('../images/hero.jpg') center/cover; will-change: transform; transform: scale(1.1); }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,.7), rgba(10,10,11,.5), var(--ink)); }
.hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 0%, rgba(10,10,11,.7) 80%); }
.smoke { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(212,168,83,.35), transparent 70%); filter: blur(14px); animation: smoke 6s ease-out infinite; z-index: 1; }
.hero-ring { position: absolute; right: -130px; top: 100px; width: 420px; height: 420px; opacity: .4; z-index: 1; }
@media (max-width: 1024px) { .hero-ring { display: none; } }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 900px; padding: 120px 24px 80px; will-change: transform, opacity; }
.hero h1 { font-family: var(--display); font-size: clamp(4.5rem, 16vw, 12rem); line-height: .9; font-weight: 700; }
.hero h2 { font-family: var(--display); font-size: clamp(1.5rem, 4vw, 3rem); font-weight: 300; margin-top: 16px; color: rgba(255,255,255,.9); }
.hero h2 .typed { color: var(--gold-light); } .cursor { color: var(--gold); animation: blink 1s step-end infinite; }
.hero p { color: rgba(255,255,255,.6); max-width: 560px; margin: 24px auto 0; font-size: .95rem; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.hero-facts { display: flex; gap: 40px; justify-content: center; margin-top: 64px; flex-wrap: wrap; }
.hero-facts small { display: block; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(212,168,83,.7); }
.hero-facts b { font-family: var(--display); font-weight: 400; font-size: 1.1rem; }
.scroll-ind { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); width: 28px; height: 44px; border-radius: 999px; border: 1px solid rgba(212,168,83,.5); z-index: 2; }
.scroll-ind::after { content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: scrollDot 1.6s ease-in-out infinite; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 1024px) { .about-grid { grid-template-columns: 1fr; } }
.about-img { position: relative; }
.about-img .main { aspect-ratio: 4/5; border-radius: 20px; overflow: hidden; position: relative; }
.about-img .main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s; }
.about-img .main:hover img { transform: scale(1.1); }
.about-img .main::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,11,.6), transparent); }
.float-card { position: absolute; padding: 24px; text-align: center; }
.float-card.br { right: -16px; bottom: -32px; } .float-card.tl { left: -16px; top: -24px; }
.float-card b { font-family: var(--display); font-size: 3rem; color: var(--gold); display: block; line-height: 1; }
.float-card small { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.badge-ring { width: 112px; height: 112px; border-radius: 50%; border: 1px solid rgba(212,168,83,.4); background: rgba(10,10,11,.8); display: flex; align-items: center; justify-content: center; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.stats div { border-left: 1px solid rgba(212,168,83,.3); padding-left: 16px; }
.stats b { font-family: var(--display); font-size: 2.2rem; font-weight: 700; display: block; line-height: 1; }
.stats small { font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.chef-line { display: flex; align-items: center; gap: 24px; margin-top: 40px; flex-wrap: wrap; }
.chef-line img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.chef-line .nm { font-family: var(--display); font-style: italic; color: var(--gold-light); font-size: 1.1rem; }
.chef-line small { display: block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5); }

/* ---------- Menu ---------- */
.menu-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 48px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tab { padding: 8px 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.15); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); transition: all .3s; }
.tab:hover { border-color: rgba(212,168,83,.6); color: var(--gold); }
.tab.active { border-color: var(--gold); background: var(--gold); color: var(--ink); box-shadow: 0 0 30px -8px rgba(212,168,83,.8); }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); cursor: pointer; }
.toggle i { width: 44px; height: 24px; border-radius: 999px; background: rgba(255,255,255,.15); position: relative; transition: background .3s; }
.toggle i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left .3s; }
.toggle.on i { background: #22c55e; } .toggle.on i::after { left: 22px; }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
@media (max-width: 1024px) { .menu-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .menu-grid { grid-template-columns: 1fr; } }
.dish { background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); border-radius: 20px; overflow: hidden; transition: transform .3s, box-shadow .3s; transform-style: preserve-3d; animation: popIn .5s var(--ease) both; }
.dish.hide { display: none; }
.dish-img { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.dish-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s; }
.dish:hover .dish-img img { transform: scale(1.1); }
.dish-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--ink-2), transparent 50%); }
.dish .tag { position: absolute; left: 16px; top: 16px; z-index: 2; padding: 4px 12px; border-radius: 999px; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.dish .veg { position: absolute; right: 16px; top: 16px; z-index: 2; width: 20px; height: 20px; border: 1px solid; display: flex; align-items: center; justify-content: center; }
.dish .veg::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.dish .veg.y { color: #22c55e; } .dish .veg.n { color: #ef4444; }
.dish-body { padding: 24px; }
.dish-title { display: flex; align-items: flex-end; }
.dish-title h3 { font-family: var(--display); font-weight: 400; font-size: 1.25rem; transition: color .3s; }
.dish:hover .dish-title h3 { color: var(--gold-light); }
.leader { flex: 1; border-bottom: 1px dotted rgba(212,168,83,.4); margin: 0 12px 6px; }
.dish-title .price { font-family: var(--display); font-size: 1.25rem; color: var(--gold); }
.dish-body p { font-size: .85rem; color: rgba(255,255,255,.5); margin-top: 12px; }
.add-btn { margin-top: 20px; width: 100%; padding: 10px; border-radius: 999px; border: 1px solid rgba(212,168,83,.4); color: var(--gold); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; transition: all .3s; }
.add-btn:hover { background: var(--gold); color: var(--ink); }
.empty { grid-column: 1/-1; text-align: center; padding: 80px 0; color: rgba(255,255,255,.4); }

/* ---------- Cart ---------- */
#toast { position: fixed; bottom: 96px; left: 50%; transform: translate(-50%, 16px); z-index: 950; padding: 12px 24px; border-radius: 999px; color: var(--ink); font-size: .9rem; font-weight: 500; opacity: 0; pointer-events: none; transition: all .3s; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#cart-btn { position: fixed; bottom: 24px; left: 24px; z-index: 850; display: none; align-items: center; gap: 12px; padding: 12px 20px; transition: transform .3s; }
#cart-btn.show { display: flex; animation: popIn .5s var(--ease); } #cart-btn:hover { transform: scale(1.05); }
#cart-btn .ic { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ink); position: relative; }
#cart-btn .ic b { position: absolute; top: -4px; right: -4px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: var(--gold); font-size: 10px; display: flex; align-items: center; justify-content: center; }
#cart-btn .tot { font-family: var(--display); font-size: 1.1rem; color: var(--gold); }
.drawer-wrap { position: fixed; inset: 0; z-index: 960; pointer-events: none; }
.drawer-wrap.open { pointer-events: auto; }
.drawer-bg { position: absolute; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(4px); opacity: 0; transition: opacity .5s; }
.drawer-wrap.open .drawer-bg { opacity: 1; }
.drawer { position: absolute; right: 0; top: 0; height: 100%; width: 100%; max-width: 440px; background: var(--ink-2); border-left: 1px solid rgba(212,168,83,.2); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .5s var(--ease); }
.drawer-wrap.open .drawer { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 24px; border-bottom: 1px solid rgba(255,255,255,.1); }
.drawer-head h3 { font-family: var(--display); font-weight: 400; font-size: 1.5rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.cart-line { display: flex; align-items: center; gap: 16px; }
.cart-line img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; }
.cart-line .info { flex: 1; } .cart-line .info p { font-family: var(--display); } .cart-line .info small { color: var(--gold); }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); transition: all .2s; }
.qty button:hover { border-color: var(--gold); color: var(--gold); }
.drawer-foot { padding: 24px; border-top: 1px solid rgba(255,255,255,.1); }
.drawer-foot .row { display: flex; justify-content: space-between; margin-bottom: 16px; }
.drawer-foot .row b { font-family: var(--display); font-weight: 400; font-size: 1.5rem; color: var(--gold); }
.drawer-foot .btn-gold { width: 100%; }
.drawer-foot small { display: block; text-align: center; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-top: 12px; }

/* ---------- Specials ---------- */
.marquee { border-top: 1px solid rgba(212,168,83,.2); border-bottom: 1px solid rgba(212,168,83,.2); background: var(--ink-2); padding: 20px 0; overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-track span { display: flex; align-items: center; gap: 32px; padding: 0 32px; font-family: var(--display); font-size: 1.8rem; color: rgba(255,255,255,.7); }
.marquee-track span::after { content: ''; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
.special { position: relative; height: 520px; border-radius: 28px; overflow: hidden; }
.special img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s; }
.special:hover img { transform: scale(1.1); }
.special::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--ink), rgba(10,10,11,.4), transparent); transition: .5s; z-index: 1; }
.special::after { content: ''; position: absolute; inset: 0; border-radius: 28px; border: 1px solid rgba(255,255,255,.1); transition: border-color .5s; z-index: 1; }
.special:hover::after { border-color: rgba(212,168,83,.5); }
.special-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px; z-index: 2; transition: transform .5s; }
.special:hover .special-body { transform: translateY(-8px); }
.special-body .pill { display: inline-block; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(212,168,83,.5); font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.special-body h3 { font-family: var(--display); font-weight: 400; font-size: 1.9rem; }
.special-body p { font-size: .85rem; color: rgba(255,255,255,.6); max-height: 0; overflow: hidden; opacity: 0; transition: all .5s; margin-top: 12px; }
.special:hover .special-body p { max-height: 100px; opacity: 1; }
.special-body .row { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.special-body .row b { font-family: var(--display); font-weight: 400; font-size: 1.9rem; color: var(--gold); }
.special-body .row a { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.special-body .row a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Chef ---------- */
.chef-section { background: var(--ink-2); }
.chef-section::before { content: ''; position: absolute; inset: 0; opacity: .04; background-image: radial-gradient(#d4a853 1px, transparent 1px); background-size: 28px 28px; pointer-events: none; }
.steps { margin-top: 40px; }
.step { display: flex; gap: 20px; }
.step .n { font-family: var(--display); font-size: 1.8rem; color: rgba(212,168,83,.4); transition: color .3s; }
.step:hover .n { color: var(--gold); }
.step div:last-child { flex: 1; border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 20px; margin-bottom: 20px; }
.step h4 { font-family: var(--display); font-weight: 400; font-size: 1.25rem; }
.step p { font-size: .85rem; color: rgba(255,255,255,.5); }
.chef-portrait { position: relative; max-width: 420px; margin: 0 auto; aspect-ratio: 3/4; border-radius: 200px 200px 24px 24px; overflow: hidden; border: 1px solid rgba(212,168,83,.2); }
.chef-portrait img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s; }
.chef-portrait:hover img { transform: scale(1.05); }
.chef-portrait::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--ink-2), transparent 50%); }
.chef-portrait .cap { position: absolute; bottom: 32px; left: 0; right: 0; text-align: center; z-index: 2; }
.chef-portrait .cap b { font-family: var(--display); font-weight: 400; font-style: italic; font-size: 1.9rem; color: var(--gold-light); display: block; }
.chef-portrait .cap small { font-size: 10px; letter-spacing: .35em; text-transform: uppercase; color: rgba(255,255,255,.6); }

/* ---------- Gallery ---------- */
.gal-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 56px; flex-wrap: wrap; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
@media (max-width: 768px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery .c2, .gallery .r2 { grid-column: auto; grid-row: auto; } }
.gallery .c2 { grid-column: span 2; } .gallery .r2 { grid-row: span 2; }
.gal-item { position: relative; overflow: hidden; border-radius: 16px; width: 100%; height: 100%; display: block; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: all 1.2s; }
.gal-item:hover img { transform: scale(1.1) rotate(1deg); }
.gal-item::before { content: ''; position: absolute; inset: 0; background: rgba(10,10,11,0); transition: .5s; z-index: 1; }
.gal-item:hover::before { background: rgba(10,10,11,.4); }
.gal-item .zoom { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: .5s; z-index: 2; }
.gal-item .zoom i { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ink); transform: scale(.5); transition: transform .5s; font-style: normal; font-size: 1.4rem; }
.gal-item:hover .zoom { opacity: 1; } .gal-item:hover .zoom i { transform: scale(1); }
.gal-item span { position: absolute; left: 16px; bottom: 16px; z-index: 2; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: 0; transform: translateY(16px); transition: .5s; }
.gal-item:hover span { opacity: 1; transform: none; }
#lightbox { position: fixed; inset: 0; z-index: 980; background: rgba(10,10,11,.95); backdrop-filter: blur(12px); display: none; align-items: center; justify-content: center; }
#lightbox.open { display: flex; animation: fadeUp .3s ease; }
#lightbox img { max-width: 90vw; max-height: 80vh; object-fit: contain; animation: popIn .4s var(--ease); border-radius: 8px; }
#lightbox .close { position: absolute; top: 24px; right: 24px; font-size: 1.8rem; color: rgba(255,255,255,.6); }
#lightbox .close:hover { color: var(--gold); }
#lightbox .arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(212,168,83,.4); color: var(--gold); font-size: 1.6rem; display: flex; align-items: center; justify-content: center; transition: .3s; }
#lightbox .arrow:hover { background: var(--gold); color: var(--ink); }
#lightbox .prev { left: 16px; } #lightbox .next { right: 16px; }
#lightbox .cap { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); padding: 8px 20px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }

/* ---------- Testimonials ---------- */
.testi-wrap { max-width: 860px; margin: 0 auto; text-align: center; }
.testi-box { position: relative; min-height: 300px; margin-top: 56px; }
.testi-box .q { position: absolute; top: -40px; left: 50%; transform: translateX(-50%); font-family: var(--display); font-size: 160px; line-height: 1; color: rgba(212,168,83,.1); }
.testi { display: none; position: relative; }
.testi.active { display: block; animation: fadeUp 1s var(--ease); }
.testi .stars { color: var(--gold); margin-bottom: 24px; letter-spacing: 4px; }
.testi p { font-family: var(--display); font-size: clamp(1.3rem, 3vw, 1.9rem); line-height: 1.5; color: rgba(255,255,255,.9); }
.testi .who { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; text-align: left; }
.testi .who i { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-style: normal; font-weight: 700; color: var(--ink); font-size: 1.1rem; }
.testi .who b { display: block; } .testi .who small { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.dots { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }
.dots button { height: 8px; width: 8px; border-radius: 999px; background: rgba(255,255,255,.2); transition: all .5s; }
.dots button.active { width: 40px; background: var(--gold); }
.review-form { display: none; margin: 32px auto 0; max-width: 640px; padding: 24px; text-align: left; gap: 16px; grid-template-columns: 1fr 1fr; }
.review-form.open { display: grid; animation: slideDown .4s ease; }
.review-form .full { grid-column: 1/-1; }
.star-pick { display: flex; gap: 4px; font-size: 1.6rem; align-items: center; }
.star-pick button { color: rgba(255,255,255,.2); transition: all .2s; } .star-pick button.on { color: var(--gold); } .star-pick button:hover { transform: scale(1.25); }
@media (max-width: 640px) { .review-form { grid-template-columns: 1fr; } }

/* ---------- Reservation ---------- */
.reserve { background: url('../images/interior.jpg') center/cover fixed; }
.reserve::before { content: ''; position: absolute; inset: 0; background: rgba(10,10,11,.85); }
.reserve::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink), transparent 30%, transparent 70%, var(--ink)); }
.reserve .container { position: relative; z-index: 2; display: grid; grid-template-columns: 2fr 3fr; gap: 64px; }
@media (max-width: 1024px) { .reserve .container { grid-template-columns: 1fr; } }
.info-list { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.info-item { display: flex; align-items: center; gap: 16px; }
.info-item i { position: relative; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(212,168,83,.5); color: var(--gold); display: flex; align-items: center; justify-content: center; font-style: normal; flex-shrink: 0; }
.info-item i::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); animation: pulseRing 2s ease-out infinite; }
.info-item small { display: block; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(212,168,83,.8); }
.form-card { padding: 40px; position: relative; overflow: hidden; }
.form-card::before { content: ''; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: rgba(212,168,83,.1); filter: blur(60px); pointer-events: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; position: relative; }
.form-grid .full { grid-column: 1/-1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 24px; } }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button { width: 48px; height: 48px; border-radius: 8px; border: 1px solid rgba(212,168,83,.3); color: var(--gold); font-size: 1.3rem; transition: .3s; }
.stepper button:hover { background: var(--gold); color: var(--ink); }
.stepper b { flex: 1; text-align: center; font-family: var(--display); font-weight: 400; font-size: 1.5rem; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slot { padding: 8px 4px; border-radius: 6px; border: 1px solid rgba(255,255,255,.15); font-size: 11px; color: rgba(255,255,255,.6); transition: .3s; }
.slot:hover { border-color: rgba(212,168,83,.5); } .slot.active { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.success { text-align: center; padding: 48px 0; animation: popIn .5s var(--ease); }
.success .ok { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--ink); }
.success h3 { font-family: var(--display); font-weight: 400; font-size: 1.9rem; margin-top: 24px; }
.success p { color: rgba(255,255,255,.6); margin-top: 12px; }
.success .ref { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-top: 16px; }
.err { color: #f87171; font-size: .85rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
@media (max-width: 1024px) { .contact-grid { grid-template-columns: 1fr; } }
.map { margin-top: 40px; height: 280px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(212,168,83,.2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.9) contrast(.9) hue-rotate(180deg) saturate(.5); }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
@media (max-width: 640px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-cards div { background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 16px; transition: border-color .3s; }
.contact-cards div:hover { border-color: rgba(212,168,83,.4); }
.contact-cards small { display: block; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.contact-cards p { font-size: .85rem; color: rgba(255,255,255,.8); margin-top: 4px; word-break: break-all; }
.contact-form { padding: 40px; display: grid; gap: 20px; }
.contact-form textarea { resize: none; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid rgba(212,168,83,.15); background: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; padding: 64px 0; }
@media (max-width: 1024px) { .foot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h4 { font-size: 10px; letter-spacing: .35em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.foot-grid p, .foot-grid li { font-size: .85rem; color: rgba(255,255,255,.5); }
.foot-grid ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.foot-grid li a:hover { color: var(--gold); }
.foot-grid li.row { display: flex; justify-content: space-between; }
.socials { display: flex; gap: 12px; margin-top: 24px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; letter-spacing: .1em; color: rgba(255,255,255,.6); transition: .3s; }
.socials a:hover { transform: translateY(-4px); border-color: var(--gold); color: var(--gold); }
.news-form { display: flex; margin-top: 16px; }
.news-form input { border-radius: 8px 0 0 8px; }
.news-form button { padding: 0 16px; border-radius: 0 8px 8px 0; color: var(--ink); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.05); padding: 24px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.4); }

/* ---------- Misc ---------- */
#totop { position: fixed; bottom: 24px; right: 24px; z-index: 850; width: 48px; height: 48px; border-radius: 50%; color: var(--ink); display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(24px); pointer-events: none; transition: .5s; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
#totop.show { opacity: 1; transform: none; pointer-events: auto; } #totop:hover { transform: scale(1.1); }
.announce { position: fixed; left: 0; right: 0; bottom: 0; z-index: 840; padding: 10px 48px; text-align: center; font-size: .85rem; font-weight: 600; color: var(--ink); animation: slideDown .5s ease; }
.announce button { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: rgba(10,10,11,.7); }
.glow { position: absolute; border-radius: 50%; filter: blur(130px); pointer-events: none; background: rgba(212,168,83,.08); }
.noise::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; } }
