/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --bg:            #0D0C0A;
  --bg-card:       #161412;
  --bg-card-hover: #1D1A16;
  --border:        #272320;
  --border-hover:  #3D3730;
  --text-primary:  #F2EDE6;
  --text-secondary:#9A8F85;
  --text-muted:    #5C544C;
  --accent:        #C8902A;
  --accent-light:  #E0A840;
  --accent-glow:   rgba(200, 144, 42, 0.12);
  --font:          'Inter', system-ui, -apple-system, sans-serif;
  --nav-h:         60px;
  --bottom-nav-h:  68px;
  --radius:        12px;
  --radius-sm:     8px;
  --ease:          0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

img { display: block; max-width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 65%, var(--accent-glow) 0%, transparent 65%),
    linear-gradient(160deg, #130F0A 0%, #0D0C0A 60%);
  transition: opacity 0.6s ease;
}

.hero-bg.has-image {
  background-size: cover;
  background-position: center;
}
.hero-bg.has-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13, 12, 10, 0.5) 0%,
    rgba(13, 12, 10, 0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
  animation: fadeUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: clamp(52px, 11vw, 104px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  margin-bottom: 0;
}

.hero-btn {
  display: inline-block;
  margin-top: 28px;
  padding: 13px 30px;
  background: var(--accent);
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 100px;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
}
.hero-btn:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200, 144, 42, 0.35);
}

/* Hero bottom tags */
.hero-tags {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 24px;
  animation: fadeIn 1s 0.9s ease both;
}

.hero-tag {
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(13, 12, 10, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
}
.hero-tag--accent {
  background: rgba(200, 144, 42, 0.18);
  border-color: rgba(200, 144, 42, 0.35);
  color: var(--accent-light);
}

/* ============================================================
   STICKY CATEGORY NAV
   ============================================================ */
#category-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(13, 12, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.nav-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 0;
  overflow: visible;
}

.nav-brand {
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-right: 16px;
  white-space: nowrap;
  transition: color var(--ease);
}
.nav-brand:hover { color: var(--accent-light); }
.nav-brand span { color: var(--accent); }

.nav-pills-wrap {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  flex: 1;
  scrollbar-width: none;
  padding: 0 2px;
}
.nav-pills-wrap::-webkit-scrollbar { display: none; }

.cat-pill {
  flex-shrink: 0;
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid transparent;
  transition: color var(--ease), background var(--ease), border-color var(--ease);
  white-space: nowrap;
}
.cat-pill:hover { color: var(--text-primary); border-color: var(--border-hover); }
.cat-pill.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.nav-call {
  flex-shrink: 0;
  margin-left: 12px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--accent);
  border: 1px solid rgba(200, 144, 42, 0.3);
  transition: border-color var(--ease), background var(--ease), color var(--ease);
  white-space: nowrap;
}
.nav-call:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
  color: var(--accent-light);
}

/* ============================================================
   MENU LAYOUT
   ============================================================ */
#menu {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px 100px;
}

.menu-section { padding-top: 72px; }

.section-title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title--featured {
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom-color: rgba(200, 144, 42, 0.2);
}

.cat-emoji {
  font-size: 18px;
  line-height: 1;
  opacity: 0.75;
}

/* ============================================================
   FEATURED CARD
   ============================================================ */
.featured-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, #1C1812 0%, #231E16 50%, #1C1812 100%);
  border: 1px solid rgba(200, 144, 42, 0.22);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color var(--ease), box-shadow var(--ease);
}
.featured-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 90% at 85% 50%, rgba(200,144,42,0.07), transparent);
  pointer-events: none;
}
.featured-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.featured-card:hover {
  border-color: rgba(200, 144, 42, 0.4);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.featured-body {
  padding: 28px 32px;
  flex: 1;
  position: relative;
  z-index: 1;
}

.featured-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.featured-name {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 10px;
}

.featured-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 20px;
}

.featured-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.featured-price {
  font-size: 20px;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: -0.01em;
}

.featured-media {
  flex-shrink: 0;
  width: 260px;
  height: 200px;
  position: relative;
  overflow: hidden;
}

.featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-emoji-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1A1714 0%, #201C18 100%);
}

.featured-emoji {
  font-size: 72px;
  opacity: 0.4;
  filter: drop-shadow(0 4px 16px rgba(200,144,42,0.2));
}

/* ============================================================
   CARDS GRID
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.menu-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
  opacity: 0;
  transform: translateY(12px);
}
.menu-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease, border-color var(--ease), box-shadow var(--ease);
}
.menu-card:hover { border-color: var(--border-hover); box-shadow: 0 8px 32px rgba(0,0,0,0.4); }
@media (hover: hover) { .menu-card:hover { transform: translateY(-3px); } }

.card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }

.card-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #1A1714 0%, #201C18 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.card-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 60%, rgba(200,144,42,0.07), transparent 70%);
}
.card-img-placeholder .placeholder-emoji {
  font-size: 44px;
  opacity: 0.25;
  position: relative;
  z-index: 1;
  filter: grayscale(0.3);
}

.card-body { padding: 16px; }
.card-name { font-size: 14.5px; font-weight: 600; color: var(--text-primary); margin-bottom: 5px; line-height: 1.3; }
.card-desc { font-size: 12.5px; color: var(--text-secondary); line-height: 1.55; margin-bottom: 14px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-price { font-size: 15px; font-weight: 600; color: var(--accent-light); letter-spacing: -0.01em; }
.card-badge {
  font-size: 10.5px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 100px;
  background: rgba(200,144,42,0.14);
  color: var(--accent);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
#contact { border-top: 1px solid var(--border); background: #0A0908; }

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 32px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.footer-col h3 {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.footer-col p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.8; }
.footer-col a { color: var(--text-secondary); transition: color var(--ease); }
.footer-col a:hover { color: var(--text-primary); }
.footer-col--maps { display: flex; align-items: flex-start; padding-top: 24px; }

.footer-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 9px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: border-color var(--ease), color var(--ease);
}
.footer-tel::before { content: '↗'; font-size: 11px; color: var(--accent); }
.footer-tel:hover { border-color: var(--accent); color: var(--text-primary); }

.maps-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 18px;
  transition: border-color var(--ease), color var(--ease);
}
.maps-link:hover { border-color: var(--accent); color: var(--accent); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 32px 28px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================
   MOBILE BOTTOM NAV
   ============================================================ */
#bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(10,9,8,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 10px 12px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  overflow-x: auto;
  gap: 6px;
  scrollbar-width: none;
  align-items: center;
}
#bottom-nav::-webkit-scrollbar { display: none; }

.bottom-pill {
  flex-shrink: 0;
  padding: 8px 15px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: color var(--ease), background var(--ease);
  white-space: nowrap;
}
.bottom-pill:hover { color: var(--text-secondary); }
.bottom-pill.active { background: var(--accent); color: #fff; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp  { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn  { from { opacity: 0; }                               to { opacity: 1; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .featured-media { width: 200px; height: 160px; }
  .featured-name  { font-size: 22px; }
}

@media (max-width: 768px) {
  #category-nav { display: none; }
  #bottom-nav { display: flex; }
  #menu { padding: 0 16px; padding-bottom: calc(var(--bottom-nav-h) + 48px); }
  .menu-section { padding-top: 52px; }
  .cards-grid { grid-template-columns: 1fr; gap: 12px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; padding: 40px 20px 32px; }
  .footer-col--maps { grid-column: 1 / -1; padding-top: 0; }
  .footer-bottom { padding: 16px 20px calc(var(--bottom-nav-h) + 20px); }
  .featured-card { flex-direction: column-reverse; }
  .featured-media { width: 100%; height: 200px; }
  .featured-body { padding: 20px 20px 24px; }
  .featured-desc { max-width: 100%; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 52px; }
  .hero-tags { gap: 6px; }
  .hero-tag { font-size: 10px; padding: 4px 11px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .featured-name { font-size: 20px; }
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 3px; }
