@font-face {
  font-family: "Menu Fiyat";
  src: url("/assets/fonts/barlow-semi-condensed-latin-800-italic.woff2") format("woff2");
  font-weight: 800; font-style: italic; font-display: block;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: #000; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Telefon & dikey tablet: sayfalar alt alta, tam genişlik */
.menu { display: flex; flex-direction: column; align-items: center; }
.page {
  position: relative;
  width: 100%;
  max-width: 762px;
  aspect-ratio: 762 / 1024;
  background: url("/assets/menu.jpg") no-repeat 0 0 / 200% 100%;
  container-type: inline-size;   /* fiyat yazıları bu genişliğe göre ölçeklenir */
  overflow: hidden;
}
.page.r { background-position: 100% 0; }

/* Yatay tablet & bilgisayar: iki sayfa yan yana, ekrana sığacak şekilde */
@media (min-aspect-ratio: 1/1) and (min-width: 700px) {
  .menu { flex-direction: row; justify-content: center; min-height: 100vh; align-items: center; }
  .page { width: min(50vw, 74.4vh); max-width: none; }
}

/* Fiyat etiketleri: konum ve boyut sayfaya göre yüzde → hiçbir ekranda kaymaz */
.p {
  position: absolute;
  display: flex; align-items: center; justify-content: center;
  font-family: "Menu Fiyat", "Arial Narrow", Arial, sans-serif;
  font-weight: 800; font-style: italic;
  line-height: 1; white-space: nowrap;
  color: #fff;
  letter-spacing: -0.01em;
  padding-right: 0.08em;
  text-shadow: 0 0.04em 0.08em rgba(80, 20, 0, .45);
  pointer-events: none;
}
.p b { font-weight: 800; }
.p i { font-size: 0.56em; margin-left: 0.14em; font-style: italic; align-self: center; margin-top: 0.18em; }
.p.t-w { color: #111; text-shadow: none; letter-spacing: -0.03em; }
.p.t-w i { margin-left: 0.03em; }
.p.t-k { color: #111; text-shadow: none; justify-content: flex-start; }

/* Alt bant (Alo Paket) telefonda dokununca arar */
.tel { position: absolute; left: 2.5%; width: 89%; top: 92.4%; height: 5.8%; border-radius: 2cqw; }

/* WhatsApp sipariş butonu – sağ alt köşede sabit */
.wa {
  position: fixed; z-index: 10;
  right: calc(16px + env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .45), 0 0 0 0 rgba(37, 211, 102, .6);
  animation: wa-pulse 2.4s infinite;
  -webkit-tap-highlight-color: transparent;
}
.wa svg { width: 34px; height: 34px; }
.wa:active { transform: scale(.94); }
@keyframes wa-pulse {
  0%   { box-shadow: 0 4px 14px rgba(0,0,0,.45), 0 0 0 0 rgba(37,211,102,.55); }
  70%  { box-shadow: 0 4px 14px rgba(0,0,0,.45), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 4px 14px rgba(0,0,0,.45), 0 0 0 0 rgba(37,211,102,0); }
}
@media (prefers-reduced-motion: reduce) { .wa { animation: none; } }
