/* QR Menü Pro – app.css  |  SedixWeb v3.1  |  cappamasa.qrmenum.app birebir */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@300;400;500;600;700&display=swap');


/* ============================================================
   CAPPAMASA BİREBİR REPLIKA  –  SedixWeb v3.1
   Gerçek site HTML analizinden elde edilmiştir.
   ============================================================ */

/* ── CSS TOKENS ─────────────────────────────────────── */
:root {
  /* WordPress admin panelinden override – wp_head'de inject edilir */
  --bg:      #0d0d0d;
  --bg2:     #111111;
  --bg3:     #1a1a1a;
  --bg4:     #222222;
  --card:    #161616;
  --bdr:     rgba(255,255,255,.07);
  --bdr2:    rgba(255,255,255,.12);
  --gold:    #c9a96e;
  --gold2:   #dbbe85;
  --txt:     #ffffff;
  --txt2:    #d4d4d4;
  --txt3:    #a0a0a0;
  --muted:   #666666;
  --nav-h:   62px;
  --hdr-h:   50px;
  --max:     480px;
  --font:    'Noto Sans', -apple-system, sans-serif;
}

/* ── RESET ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--txt);
  font-size: 14px;
  line-height: 1.5;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
button { font-family: var(--font); cursor: pointer; outline: none; }
img { display: block; }
a { color: inherit; text-decoration: none; }

/* ── APP SHELL ──────────────────────────────────────── */
#app {
  position: fixed;
  inset: 0;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  overflow: hidden;
}

/* ── HEADER ─────────────────────────────────────────── */
#hdr {
  height: var(--hdr-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 0 6px;
  background: var(--bg);
  border-bottom: 1px solid var(--bdr);
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}

/* MENU butonu (soldaki hamburger area) */
.hdr-menu-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 8px 10px;
  color: var(--txt2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  border-radius: 6px;
  transition: background .15s;
  min-width: 70px;
}
.hdr-menu-btn:hover { background: var(--bg3); }
.hdr-menu-btn .lines {
  display: flex;
  flex-direction: column;
  gap: 4.5px;
}
.hdr-menu-btn .lines span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--txt2);
  border-radius: 1px;
  transition: all .2s;
}

/* Logo – merkez */
.hdr-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  cursor: pointer;
  height: 30px;
}
.hdr-logo img { height: 28px; width: auto; }
.hdr-logo .logo-txt {
  font-size: 16px;
  font-weight: 700;
  color: var(--txt);
  letter-spacing: .5px;
  white-space: nowrap;
}

/* Sağ – dil seçici */
.hdr-right { display: flex; align-items: center; gap: 4px; }

.lang-wrap { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--bdr2);
  border-radius: 20px;
  padding: 5px 10px;
  color: var(--txt3);
  font-size: 12px;
  font-weight: 500;
  transition: border-color .15s, color .15s;
}
.lang-btn:hover { border-color: var(--gold); color: var(--txt2); }
.lang-btn img { width: 20px; height: 13px; border-radius: 2px; }
.lang-btn svg { width: 10px; height: 10px; stroke: currentColor; fill: none; stroke-width: 2.5; }

.lang-dd {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--bg3);
  border: 1px solid var(--bdr2);
  border-radius: 8px;
  overflow: hidden;
  min-width: 140px;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,.6);
  display: none;
}
.lang-dd.open { display: block; }
.lang-opt {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  background: none;
  border: none;
  color: var(--txt2);
  font-size: 13px;
  width: 100%;
  text-align: left;
  transition: background .12s;
}
.lang-opt:hover { background: var(--bg4); }
.lang-opt img { width: 22px; height: 14px; border-radius: 2px; }
.lang-opt.active { color: var(--gold); }

/* ── SCROLL ──────────────────────────────────────────── */
#scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
#scroll::-webkit-scrollbar { width: 2px; }
#scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); }

/* ── BOTTOM NAV ──────────────────────────────────────── */
#nav {
  height: var(--nav-h);
  display: flex;
  background: var(--bg2);
  border-top: 1px solid var(--bdr);
  flex-shrink: 0;
}
.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: none;
  border: none;
  color: #555;
  position: relative;
  padding: 4px 2px 6px;
  -webkit-tap-highlight-color: transparent;
  transition: color .15s;
}
.nav-item::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--gold);
  border-radius: 0 0 2px 2px;
  transition: width .2s;
}
.nav-item.active { color: var(--gold); }
.nav-item.active::after { width: 60%; }
.nav-item .nav-ic {
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
}
.nav-item .nav-ic img {
  width: 24px; height: 24px;
  object-fit: contain;
  /* cappamasa sitesinin icon renklendirme tekniği */
  filter: brightness(0) saturate(100%) invert(35%) sepia(0%) saturate(0%);
  transition: filter .15s;
}
.nav-item.active .nav-ic img {
  filter: brightness(0) saturate(100%) invert(78%) sepia(30%) saturate(600%) hue-rotate(0deg) brightness(95%);
}
.nav-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .3px;
  text-transform: uppercase;
  line-height: 1;
}

/* ── DRAWER ──────────────────────────────────────────── */
#overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.75);
  z-index: 100;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
#overlay.on { opacity: 1; pointer-events: all; }

#drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 292px;
  background: var(--bg2);
  border-right: 1px solid var(--bdr);
  z-index: 101;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
#drawer.on { transform: translateX(0); }

/* Drawer header */
.drw-hdr {
  height: var(--hdr-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid var(--bdr);
  flex-shrink: 0;
}
.drw-logo { display: flex; align-items: center; height: 28px; }
.drw-logo img { height: 26px; width: auto; }
.drw-logo .logo-txt { font-size: 15px; font-weight: 700; color: var(--txt); }

.drw-close {
  background: none; border: none;
  padding: 7px; color: var(--txt3);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  transition: color .15s, background .15s;
}
.drw-close:hover { color: var(--txt); background: var(--bg3); }
.drw-close svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

/* Drawer body scroll */
.drw-body { flex: 1; overflow-y: auto; padding-bottom: 16px; }
.drw-body::-webkit-scrollbar { width: 2px; }

/* Memnuniyet Anketi butonu */
.drw-survey {
  display: flex;
  align-items: center;
  gap: 10px;
  width: calc(100% - 24px);
  margin: 10px 12px 6px;
  padding: 10px 14px;
  background: var(--bg3);
  border: 1px solid var(--bdr2);
  border-radius: 8px;
  color: var(--txt3);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.drw-survey:hover { border-color: var(--gold); color: var(--gold); }
.drw-survey img { width: 22px; height: 22px; opacity: .7; }

/* Drawer grup */
.drw-section-title {
  padding: 13px 16px 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
}
.drw-link {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 8px 18px;
  color: var(--txt3);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: .2px;
  cursor: pointer;
  transition: background .12s, color .12s;
}
.drw-link:hover { background: var(--bg3); color: var(--txt); }
.drw-link.active { color: var(--gold); }
.drw-sep { height: 1px; background: var(--bdr); margin: 4px 0; }

/* Dil seçici drawer içi */
.drw-langs {
  display: flex; gap: 8px;
  padding: 10px 12px 4px;
}
.drw-lang {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 6px;
  background: none; border: 1px solid var(--bdr2);
  border-radius: 7px; color: var(--txt3);
  font-size: 12px; cursor: pointer;
  transition: all .15s;
}
.drw-lang:hover, .drw-lang.active {
  border-color: var(--gold); color: var(--txt);
  background: rgba(201,169,110,.07);
}
.drw-lang img { width: 20px; height: 13px; border-radius: 2px; }

/* ── HERO ────────────────────────────────────────────── */
.hero {
  position: relative;
  background: #080808;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 270px;
  object-fit: cover;
  display: block;
  filter: brightness(.5);
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,.7) 100%);
}

/* Play button – cappamasa birebir */
.hero-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border: 1.5px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .2s;
}
.hero-play:hover {
  background: rgba(255,255,255,.2);
  transform: translate(-50%, -50%) scale(1.05);
}
.hero-play svg { width: 20px; height: 20px; fill: white; margin-left: 3px; }

/* ── HOME PAGE ───────────────────────────────────────── */
.home-info {
  padding: 16px;
  background: var(--bg2);
  border-top: 1px solid var(--bdr);
}
.home-info p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2px;
}
.home-hours {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--bdr);
}

/* ── CATEGORY PAGE ───────────────────────────────────── */

/* Breadcrumb bar: MENU / KATEGORİ */
.cat-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  background: var(--bg);
  border-bottom: 1px solid var(--bdr);
  flex-shrink: 0;
}
.bc-back {
  background: none; border: none;
  display: flex; align-items: center; gap: 4px;
  color: var(--gold);
  font-size: 11px; font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
}
.bc-back:hover { opacity: .75; }
.bc-back svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; }
.bc-sep { color: var(--bdr2); font-size: 13px; }
.bc-cur { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--txt3); }

/* Logo bar (kategori altı) */
.cat-logo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-bottom: 1px solid var(--bdr);
  background: var(--bg);
}
.cat-logo-bar img { height: 24px; width: auto; }
.cat-logo-bar .logo-txt { font-size: 15px; font-weight: 700; color: var(--txt); }

/* Banner */
.sec-banner {
  position: relative;
  width: 100%;
  height: 155px;
  overflow: hidden;
  background: var(--bg3);
  margin-bottom: 0;
}
.sec-banner img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.4);
}
.sec-banner-title {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 700;
  letter-spacing: 1.5px;
  color: #fff;
  text-align: center;
  padding: 0 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,.8);
}

/* ── ÜRÜN LİSTESİ ────────────────────────────────────── */
.items-wrap { padding: 0 14px; }

.item-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.item-row:last-child { border-bottom: none; }
.item-row:hover { opacity: .82; }

.item-body { flex: 1; min-width: 0; padding-right: 12px; }

/* İsim: bold, büyük harf */
.item-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--txt);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .2px;
  margin-bottom: 5px;
}
.item-name span { font-weight: 400; font-style: normal; text-transform: none; }

/* Açıklama: ince, gri */
.item-desc {
  font-size: 12px;
  color: var(--txt3);
  line-height: 1.55;
  font-weight: 300;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Fiyat: sağda, altın, büyük, bold */
.item-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 1px;
}

/* ── FOOTER BİLGİ ─────────────────────────────────────── */
.footer-strip {
  padding: 16px 14px 20px;
  background: var(--bg2);
  border-top: 1px solid var(--bdr);
  margin-top: 4px;
}
.footer-strip p {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.7;
}
.footer-strip .footer-sep {
  height: 1px; background: var(--bdr); margin: 10px 0;
}
.footer-hours {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--muted);
  padding: 2px 0;
}
.footer-hours span:last-child { color: var(--txt3); font-weight: 500; }
.footer-bon {
  font-style: italic;
  font-size: 13px;
  color: var(--txt3);
  margin-top: 10px;
  text-align: center;
}
.footer-brand {
  text-align: center;
  margin-top: 14px;
  opacity: .3;
}
.footer-brand img { height: 16px; margin: 0 auto; }
.footer-brand-txt { font-size: 10px; color: var(--muted); }

/* ── INFO PANELİ ─────────────────────────────────────── */
#info-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.78);
  z-index: 200;
  opacity: 0; pointer-events: none;
  transition: opacity .22s;
}
#info-overlay.on { opacity: 1; pointer-events: all; }

#info-panel {
  position: fixed;
  bottom: 0; left: 50%;
  width: 100%; max-width: var(--max);
  transform: translate(-50%, 100%);
  background: var(--bg2);
  border-radius: 18px 18px 0 0;
  border: 1px solid var(--bdr);
  border-bottom: none;
  z-index: 201;
  max-height: 80vh;
  overflow-y: auto;
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  padding-bottom: 16px;
}
#info-panel.on { transform: translate(-50%, 0); }

.panel-handle {
  width: 36px; height: 4px;
  background: rgba(255,255,255,.12);
  border-radius: 2px;
  margin: 12px auto 0;
}
.panel-title-bar {
  padding: 14px 18px 12px;
  border-bottom: 1px solid var(--bdr);
}
.panel-rest-name {
  font-size: 20px; font-weight: 700;
  color: var(--txt); line-height: 1.2;
}
.panel-body { padding: 16px 18px 0; }

.panel-section-title {
  font-size: 10px; font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 6px;
}
.panel-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--bdr);
}

.panel-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 5px 0;
  font-size: 13px;
}
.panel-row .lbl { color: var(--txt3); }
.panel-row .val { color: var(--txt2); font-weight: 500; }

.panel-address {
  font-size: 13px;
  color: var(--txt2);
  line-height: 1.6;
  margin-bottom: 8px;
}
.panel-map-btn {
  display: inline-flex; align-items: center; gap: 5px;
  border: 1px solid var(--gold);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px; color: var(--gold);
  background: none; cursor: pointer;
  transition: background .15s;
}
.panel-map-btn:hover { background: rgba(201,169,110,.1); }

.panel-note {
  background: var(--bg3);
  border-radius: 7px;
  padding: 10px 13px;
  font-size: 12px;
  color: var(--txt3);
  line-height: 1.6;
  margin: 12px 0;
}
.panel-about {
  font-size: 12px; color: var(--txt3); line-height: 1.65; margin-bottom: 12px;
}
.panel-bon {
  font-style: italic; font-size: 13.5px;
  color: var(--txt3); text-align: center;
  padding: 8px 0 2px;
}
.panel-divider { height: 1px; background: var(--bdr); margin: 12px 0; }

.panel-close-btn {
  display: block;
  width: calc(100% - 36px);
  margin: 14px 18px 0;
  padding: 12px;
  background: var(--bg3);
  border: 1px solid var(--bdr2);
  border-radius: 8px;
  color: var(--txt2);
  font-size: 14px; font-weight: 500;
  cursor: pointer; font-family: var(--font);
  transition: border-color .15s, color .15s;
}
.panel-close-btn:hover { border-color: var(--gold); color: var(--gold); }

/* ── VİDEO MODAL ─────────────────────────────────────── */
#vid-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.95);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#vid-modal.on { display: flex; }
#vid-modal video {
  width: 100%; max-width: var(--max);
  max-height: 65vh;
  border-radius: 10px;
  outline: none;
}
.vid-close {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: #fff; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}

/* ── DESKTOP FRAME ───────────────────────────────────── */
@media (min-width: 481px) {
  body { background: #050505; }
  #app {
    box-shadow: 0 0 60px rgba(0,0,0,.95),
                0 0 0 1px rgba(255,255,255,.04);
  }
}
@media (max-width: 360px) {
  .item-name  { font-size: 12.5px; }
  .item-price { font-size: 14px; }
  .sec-banner-title { font-size: 22px; }
}

/* ── ANİMASYON ───────────────────────────────────────── */
@keyframes fadeIn  { from { opacity: 0 } to { opacity: 1 } }
@keyframes slideUp { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: none } }
.fade-in  { animation: fadeIn  .2s ease both; }
.slide-up { animation: slideUp .22s ease both; }
