/* ── Tokens ─────────────────────────────────────────── */
:root {
  --primary:       #e31e24;
  --primary-light: #ff3a3f;
  --primary-dark:  #b81920;
  --gold:          #c9a46a;
  --bg:            #0e0e0e;
  --surface:       #161616;
  --surface-2:     #1e1e1e;
  --border:        #282828;
  --border-light:  #333333;
  --white:         #ffffff;
  --text:          #efefef;
  --text-muted:    #888888;
  --text-dim:      #555555;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Ticker ─────────────────────────────────────────── */
.ticker-bar {
  background: var(--primary);
  color: var(--white);
  height: 34px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker 32s linear infinite;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  height: 34px;
  flex-shrink: 0;
}

.ticker-sep { opacity: 0.5; }

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Header ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 14, 14, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  border-color: var(--border-light);
  box-shadow: 0 2px 32px rgba(0,0,0,0.6);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo { display: flex; align-items: center; gap: 10px; }

.site-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-light);
}

.logo-text {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

.site-logo:hover .logo-text { color: var(--primary); }

.site-nav { display: flex; gap: 36px; align-items: center; }

.nav-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-link:hover, .nav-link.active {
  color: var(--white);
  border-color: var(--primary);
}

/* ── Burger ─────────────────────────────────────────── */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.25s;
}

.burger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 640px) {
  .burger { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--surface);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
  }

  .site-nav.active { display: flex; }

  .nav-link {
    padding: 18px 28px;
    border-bottom: 1px solid var(--border);
    border-left: none;
    font-size: 14px;
    color: var(--text);
  }
}

/* ── WhatsApp FAB ────────────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 200;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}

/* ── Footer ─────────────────────────────────────────── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 64px 28px 40px;
}

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

.footer-brand { display: flex; flex-direction: column; gap: 12px; }

.footer-logo { display: flex; align-items: center; gap: 10px; }

.footer-logo-img {
  width: 40px; height: 40px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--border-light);
}

.footer-name {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 220px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.footer-col p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 2;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  max-width: 1280px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
}

.footer-accent {
  width: 32px;
  height: 2px;
  background: var(--primary);
}

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; }
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.25s;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
}

.btn-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(227,30,36,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.06);
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

/* Grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.3;
  pointer-events: none;
}

/* Red glow from bottom-left */
.hero::after {
  content: '';
  position: absolute;
  bottom: -120px; left: -80px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(227,30,36,0.15) 0%, transparent 65%);
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.1); }
}

/* Embers */
.hero-embers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.ember {
  position: absolute;
  bottom: -8px;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 6px 2px rgba(227,30,36,0.6);
  animation: rise var(--dur, 6s) ease-in var(--delay, 0s) infinite;
  opacity: 0;
}

@keyframes rise {
  0%   { transform: translateY(0) translateX(0) scale(1);   opacity: 0; }
  10%  { opacity: 1; }
  85%  { opacity: 0.6; }
  100% { transform: translateY(-80vh) translateX(var(--drift, 40px)) scale(0); opacity: 0; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.3s forwards;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--primary);
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(56px, 9vw, 112px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.5s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--primary);
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 440px;
  line-height: 1.7;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.7s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.9s forwards;
}

/* Hero bottom bar */
.hero-meta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: fadeIn 1s ease 1.2s forwards;
}

.hero-meta-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: stretch;
}

.hero-meta-item {
  flex: 1;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid var(--border);
}

.hero-meta-item:last-child { border-right: none; }

.hero-meta-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hero-meta-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (max-width: 640px) {
  .hero { min-height: 100svh; }
  .hero-meta-inner { flex-direction: column; }
  .hero-meta-item { border-right: none; border-bottom: 1px solid var(--border); }
  .hero-meta-item:last-child { border-bottom: none; }
}

/* ── Features (home) ─────────────────────────────────── */
.features {
  padding: 96px 28px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.features-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}

.feature-card {
  background: var(--surface);
  padding: 48px 36px;
  transition: background 0.2s;
}

.feature-card:hover { background: var(--surface-2); }

.feature-icon {
  font-size: 32px;
  margin-bottom: 18px;
  display: block;
}

.feature-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .features-inner { grid-template-columns: 1fr; }
}

/* ── Menu Page ───────────────────────────────────────── */
.menu-page { min-height: 100vh; background: var(--bg); }

/* Hero strip for menu */
.menu-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 56px 28px 48px;
  display: flex;
  align-items: flex-end;
}

.menu-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.menu-hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--white);
}

.menu-hero-title em {
  color: var(--primary);
  font-style: italic;
}

.menu-hero-sub {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  max-width: 240px;
  text-align: right;
}

/* Category nav */
.cat-nav {
  position: sticky;
  top: 68px;
  z-index: 90;
  background: rgba(14,14,14,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}

.cat-nav::-webkit-scrollbar { display: none; }

.cat-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  gap: 0;
  white-space: nowrap;
}

.cat-nav-btn {
  padding: 16px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.cat-nav-btn:hover { color: var(--text); }

.cat-nav-btn.active {
  color: var(--primary);
  border-color: var(--primary);
}

/* Menu sections */
.menu-sections { padding: 0 0 96px; }

.menu-section { padding: 64px 0 0; }

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

.menu-section-title {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
  margin-left: 4px;
}

/* Menu grid — 3 cols, equal cells */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}

/* Menu card */
.menu-card {
  background: var(--surface);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}

.menu-card:hover { background: var(--surface-2); }

.menu-card-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  flex-shrink: 0;
}

.menu-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.menu-card:hover .menu-card-img { transform: scale(1.04); }

.menu-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.menu-card-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}

.badge {
  font-size: 9px;
  font-weight: 800;
  padding: 3px 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-popular { background: var(--primary); color: var(--white); }
.badge-new     { background: var(--gold); color: #0e0e0e; }

.menu-card-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
}

.menu-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.menu-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.menu-card-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}

.menu-card-more {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s;
}

.menu-card:hover .menu-card-more { color: var(--primary); }

/* Cards without image */
.menu-card-no-img {
  flex-direction: row;
  align-items: center;
  gap: 0;
}

.menu-card-no-img .menu-card-body {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  gap: 16px;
}

.menu-card-no-img .menu-card-text { flex: 1; }
.menu-card-no-img .menu-card-footer { padding: 0; border: none; margin: 0; }

@media (max-width: 1024px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .menu-grid { grid-template-columns: 1fr; }
  .menu-hero { padding: 40px 20px 32px; }
  .menu-hero-inner { flex-direction: column; align-items: flex-start; }
  .menu-hero-sub { text-align: left; }

  /* No-img cards stack on mobile */
  .menu-card-no-img .menu-card-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* Hero actions stack */
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Logo text hides on very small screens */
  @media (max-width: 380px) {
    .logo-text { display: none; }
  }
}

/* ── Item Popup ──────────────────────────────────────── */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.popup-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.popup-card {
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: none;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s ease;
}

.popup-card::-webkit-scrollbar { display: none; }

.popup-overlay.open .popup-card {
  transform: translateY(0) scale(1);
}

.popup-img-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.popup-img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.popup-body { padding: 28px; }

.popup-badges {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.popup-name {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 12px;
}

.popup-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.popup-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

.popup-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s;
  border: 1px solid var(--border);
}

.popup-close:hover { background: rgba(255,255,255,0.15); }

.popup-card { position: relative; }

/* ── Error Pages ─────────────────────────────────────── */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
}

.error-code {
  font-family: "Playfair Display", serif;
  font-size: 100px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 16px;
}

.error-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.error-text {
  color: var(--text-muted);
  margin-bottom: 32px;
}
