/* ============================================================
   MUSTO BISTRO — menu.css (menü sayfasına özel stiller)
   ============================================================ */

/* ---- Menü hero ---- */
.menu-hero {
  padding: 160px 32px 50px;
  text-align: center;
}
.menu-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 500;
}
.menu-hero-sub {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1.15rem;
  margin-top: 10px;
}

.back-link {
  text-decoration: none;
  color: rgba(250,247,242,.7);
  font-size: .75rem;
  letter-spacing: .2em;
  transition: color .3s;
}
.back-link:hover { color: var(--gold); }

/* ---- Kategori sekmeleri (yapışkan) ---- */
.category-tabs {
  position: sticky;
  top: 76px;               /* header yüksekliği kadar */
  z-index: 90;
  display: flex;
  gap: 6px;
  justify-content: flex-start;
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--cream);
  border-top: 1px solid #e6ddcd;
  border-bottom: 1px solid #e6ddcd;
  padding: 0 20px;
}
.category-tabs::-webkit-scrollbar { display: none; }
.category-tabs .tab {
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .2em;
  padding: 16px 16px 13px;
  border-bottom: 3px solid transparent;
  transition: color .3s, border-color .3s;
  white-space: nowrap;
}
.category-tabs .tab:hover { color: var(--ink); }
.category-tabs .tab.active {
  color: var(--gold-dark);
  border-bottom-color: var(--gold);
}

/* ---- Kategori bölümleri ---- */
.menu-page { padding-bottom: 40px; }
.menu-category {
  padding: 64px 0 10px;
  scroll-margin-top: 150px;  /* sticky header + sekmeler */
}
.menu-category:nth-child(even) { background: var(--cream-dark); }
.menu-category h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 30px;
}
.menu-category h2 span { color: var(--gold); font-size: .7em; vertical-align: middle; margin-right: 10px; }

/* ---- Yemek kartları ---- */
.dish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px 28px;
  padding-bottom: 50px;
}
.dish {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  background: #fff;
  border: 1px solid #eee6d8;
  transition: box-shadow .3s, transform .3s;
}
.dish:hover {
  box-shadow: 0 8px 28px rgba(46, 42, 36, .09);
  transform: translateY(-2px);
}

/* Küçük foto alanı — img eklenince otomatik kaplar */
.dish-photo {
  flex: 0 0 84px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream-dark), #e4dccc);
  border: 1px dashed var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.dish-photo span { font-size: .58rem; letter-spacing: .25em; color: var(--gold-dark); }
.dish-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* img konunca kesikli çerçeve kalksın */
.dish-photo:has(img) { border: none; }

.dish-info { flex: 1; min-width: 0; }
.dish-info h3 {
  font-size: 1.25rem;
  margin-bottom: 2px;
}
.dish-info p {
  color: var(--ink-soft);
  font-size: .84rem;
  line-height: 1.5;
}
.price {
  display: block;
  margin-top: 6px;
  color: var(--gold-dark);
  font-weight: 500;
  font-size: .9rem;
  letter-spacing: .08em;
}

.menu-note {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1rem;
  text-align: center;
  max-width: 60ch;
  margin: 10px auto 30px;
  line-height: 1.6;
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .menu-hero { padding-top: 130px; }
  .category-tabs { top: 68px; }
  .dish-grid { grid-template-columns: 1fr; }
  .dish-photo { flex-basis: 72px; width: 72px; height: 72px; }
  .header-left { display: block; }   /* geri linki mobilde de görünsün */
}
