/* ============================================================
   🍽️  صفحة قائمة الطعام
   تبني على أشكال base.css ذاتها المستخدمة في لوحة الإدارة.
   ============================================================ */

/* ============================================================
   الواجهة
   ============================================================ */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  position: relative;
}

.hero-frame {
  padding: 50px 40px 40px;
  max-width: 600px;
  width: 100%;
  animation: fadeUp 1s ease both;
}

.hero-logo {
  width: min(360px, 75%);
  height: auto;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.5));
  animation: fadeUp 1.1s 0.15s ease both;
}

.hero-tag {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-light);
  letter-spacing: 1px;
  animation: fadeUp 1.1s 0.3s ease both;
}

.hero-divider {
  margin: 26px auto 0;
  max-width: 200px;
  animation: fadeUp 1.1s 0.45s ease both;
}

.scroll-hint {
  margin-top: 40px;
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 2px;
  animation: bounce 2s infinite;
}

/* ============================================================
   القائمة
   ============================================================ */

.menu-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 30px 18px 60px;
}

.section {
  margin: 46px 0;
  animation: fadeUp 0.8s ease both;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.section-head .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-bright));
}

.section-head .line:last-child {
  background: linear-gradient(90deg, var(--line-bright), transparent);
}

.section-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  white-space: nowrap;
  text-shadow: var(--text-glow);
}

/* معيّن ذهبي صغير بدل الإيموجي — نفس معيّن الفاصل بالهوية */
.section-gem {
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.items {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 8px 22px;
  backdrop-filter: blur(2px);
}

.item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line-faint);
}

.item:last-child {
  border-bottom: none;
}

.item.unavailable {
  opacity: 0.4;
}

.item.unavailable .item-name::after {
  content: " (غير متوفر)";
  color: #f87171;
  font-size: 0.85em;
}

.item-name {
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--cream);
  white-space: nowrap;
}

.item-dots {
  flex: 1;
  border-bottom: 1px dotted var(--line);
  transform: translateY(-4px);
}

.item-price {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--gold-light);
  white-space: nowrap;
}

.item-price small {
  font-size: 0.7rem;
  color: var(--gold-deep);
  margin-right: 3px;
}

/* ---------- حالة التحميل ---------- */

.loading {
  text-align: center;
  padding: 60px 20px;
  color: var(--gold);
}

/* ============================================================
   التواصل
   ============================================================ */

.contact {
  max-width: 760px;
  margin: 0 auto;
  padding: 50px 18px 70px;
  text-align: center;
}

.contact-frame {
  padding: 40px 30px;
}

.contact-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 24px;
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 14px 0;
  font-size: 1.1rem;
}

.contact-row a {
  color: var(--cream);
  text-decoration: none;
  direction: ltr;
  font-weight: 600;
  letter-spacing: 1px;
}

.contact-row a:hover {
  color: var(--gold-light);
}

.contact-loc {
  color: var(--cream);
  font-weight: 600;
}

footer {
  text-align: center;
  padding: 30px 20px 50px;
  color: var(--gold-deep);
  font-size: 0.85rem;
}

footer .heart {
  color: var(--gold);
}

/* ---------- شارة "مباشر" ---------- */

.live-badge {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ============================================================
   الشاشات الصغيرة
   ============================================================ */

@media (max-width: 520px) {
  .section-title {
    font-size: 1.6rem;
  }

  .item-name,
  .item-price {
    font-size: 0.98rem;
  }

  .hero-frame {
    padding: 40px 22px 30px;
  }

  .live-badge {
    font-size: 0.7rem;
    padding: 4px 10px;
  }
}
