/* ============================================================
   QR DÖNERCİ MENÜ SİSTEMİ - MÜŞTERİ MENÜ STİLLERİ
   ============================================================ */

:root {
  --primary-color: #c1272d;
  --primary-dark: #8f1a1f;
  --text-dark: #1f1f1f;
  --text-muted: #767676;
  --bg-light: #f8f7f5;
  --card-bg: #ffffff;
  --border-light: #eee;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
}

/* ============================================================
   HERO ALANI
   ============================================================ */
.menu-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 48px 16px 64px;
  position: relative;
  overflow: hidden;
}

.menu-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255,255,255,.06) 0%, transparent 50%);
  pointer-events: none;
}

.menu-logo {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,.85);
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  position: relative;
  z-index: 1;
}

.menu-logo-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 4px solid rgba(255,255,255,.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
}

.menu-title {
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: .5px;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
  text-transform: uppercase;
}

.menu-subtitle {
  font-size: .95rem;
  opacity: .9;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ============================================================
   KATEGORİ SEKME MENÜSÜ
   ============================================================ */
.category-nav {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  z-index: 100;
  margin-top: -28px;
  border-radius: 20px 20px 0 0;
  position: relative;
}

.category-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 16px 16px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.category-scroll::-webkit-scrollbar {
  display: none;
}

.category-pill {
  flex-shrink: 0;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--bg-light);
  color: var(--text-dark);
  font-weight: 600;
  font-size: .88rem;
  white-space: nowrap;
  transition: all .2s ease;
  border: 1.5px solid transparent;
}

.category-pill:hover {
  background: #f0eeea;
}

.category-pill.active {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 12px rgba(193,39,45,.3);
}

/* ============================================================
   ÜRÜN LİSTESİ
   ============================================================ */
.menu-main {
  padding: 28px 16px 40px;
  max-width: 1000px;
}

.category-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-light);
}

.category-heading h2 {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 0;
}

.category-count {
  font-size: .82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  transition: transform .25s ease, box-shadow .25s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.product-img-wrap {
  flex: 0 0 110px;
  width: 110px;
  height: 110px;
  overflow: hidden;
}

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

.product-img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c9c5bd;
  font-size: 28px;
}

.product-info {
  padding: 12px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.product-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 4px;
}

.product-name {
  font-size: .98rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-dark);
  line-height: 1.3;
}

.product-price {
  font-weight: 800;
  color: var(--primary-color);
  font-size: .95rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.product-desc {
  font-size: .8rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   BOŞ DURUM
   ============================================================ */
.empty-state {
  color: var(--text-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #1f1f1f;
  color: #d8d8d8;
  font-size: .88rem;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.footer-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background .2s ease, transform .2s ease;
}

.footer-icon:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

.footer-address {
  color: #bdbdbd;
  font-size: .85rem;
}

.footer-copy {
  color: #8f8f8f;
  font-size: .8rem;
}

/* ============================================================
   YUKARI ÇIK BUTONU
   ============================================================ */
.scroll-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  border: none;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(193,39,45,.4);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s ease;
  z-index: 999;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--primary-dark);
}

/* ============================================================
   RESPONSIVE İNCE AYARLAR
   ============================================================ */
@media (max-width: 400px) {
  .menu-title { font-size: 1.6rem; }
  .product-img-wrap { flex-basis: 90px; width: 90px; height: 90px; }
}