/* ===================== Genel Ayarlar ===================== */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;       /* Beyaz zemin */
  color: #383e42;               /* Yazılar antrasit */
}

/* Sabit footer içerik kapatmasın */
main, #main, #menu {
  padding-bottom: 140px;         /* Footer yüksekliğine göre ayar */
  box-sizing: border-box;
}



/* ===================== Menü Kısmı ===================== */
#menu { padding: 20px 0; }

.menu-carousel-wrapper {
  overflow: hidden;
  position: relative;
  touch-action: pan-y;          /* Dikey scroll serbest */
  user-select: none;            /* Sürüklerken metin seçilmesin */
}

.menu-carousel {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;       /* GPU ipucu */
}

.category-slide {
  min-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* === DÜZ LİSTE STİLİ: ÇERÇEVE, ARKA PLAN, GÖLGE YOK === */
.menu-item {
  margin: 6px 0;
  width: 100%;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 6px 0;
  transition: none;
}

/* Hover ve focus etkilerini tamamen kaldır */
.menu-item:hover,
.menu-item:focus {
  box-shadow: none;
  transform: none;
  background: none;
  outline: none;
}
/* Menüdeki ürün linklerinde underline olmasın */
.menu-item a,
.menu-content a,
a.glightbox {
  text-decoration: none !important;
  color: inherit; /* link rengi metinle aynı olsun */
}

.menu-item a:hover,
.menu-content a:hover,
a.glightbox:hover {
  color: inherit; /* hover’da da renk değişmesin */
  text-decoration: none !important;
}


/* İçeriği hizala, alt çizgiyle ayır */
.menu-content {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  width: 94%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* Başlık kısmı (h9 ve h4) */
.menu-content h9,
.menu-content h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #383e42;
  font-family: 'Barlow', sans-serif;
  line-height: 1.2;
  flex: 1;                      /* Uzun adlarda fiyatı kaydırmaz */
}

/* Fiyat */
.menu-content span {
  font-size: 16px;
  font-weight: 700;
  color: #383e42;
  white-space: nowrap;
  font-family: 'Barlow', sans-serif;
  margin-left: 12px;
}

/* Açıklama */
.menu-ingredients {
  margin: 6px auto 8px;
  font-style: italic;
  font-size: 14px;
  color: #383e42;
  opacity: 0.9;
  width: 94%;
  max-width: 1100px;
}

/* ===================== Yeni Eklenenler ===================== */

/* Açıklama (ürün adı altında küçük puntoda) */
.menu-description {
  margin: 4px auto 6px;
  font-size: 14px;
  color: #666;
  line-height: 1.35;
  width: 94%;
  max-width: 1100px;
}

/* Thumbnail görsel (liste içi küçük önizleme) */
.menu-item .thumb {
  display: block;
  margin: 6px auto;
  width: 100px;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  cursor: zoom-in;
  transition: transform .18s ease, box-shadow .18s ease;
}

.menu-item .thumb:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* ===== GLightbox: kare görünüm ve overlay başlık + açıklama ===== */

/* Medya kapsayıcısı (kare) */
.glightbox-clean .gslide-media,
.glightbox .gslide-media {
  width: min(520px, 90vw);
  height: min(520px, 90vw);
  max-width: 90vw;
  max-height: 90vw;
  position: relative;       /* overlay başlık için referans */
  overflow: hidden;
  border-radius: 8px;
  margin: 0 auto;           /* ortalama */
  display: flex;
  align-items: flex-end;    /* alt köşeye hizalama */
}

/* Görsel kırpma ve fill */
.glightbox-clean .gslide-media img,
.glightbox .gslide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Ürün ismi: görselin sol alt köşesinde */
.glightbox-clean .gtitle,
.glightbox .gtitle {
  position: absolute;
  bottom: 12px;              /* görselin alt kenarından içeride */
  left: 12px;
  padding: 4px 8px;
  background: rgba(0,0,0,0.5);
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  border-radius: 4px;
  z-index: 50;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
  max-width: calc(100% - 24px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Açıklama: görselin hemen altında (görselin alt kenarına bitişik) */
.glightbox-clean .gdesc,
.glightbox .gdesc {
  position: absolute;
  bottom: -40px;             /* görselin hemen altı */
  left: 12px;
  max-width: calc(100% - 24px);
  color: #fff !important;
  font-size: 14px;
  line-height: 1.45;
  padding: 2px 6px;
  background: transparent;
  z-index: 50;
}

/* Overlay arkaplan */
.goverlay,
.glightbox-overlay {
  background: rgba(56, 62, 66, 0.99) !important; /* antrasit, %60 opak */
}

/* Mobil cihazlar */
@media (max-width: 480px) {
  .glightbox-clean .gslide-media,
  .glightbox .gslide-media {
    width: 86vw;
    height: 86vw;
  }
  .glightbox-clean .gtitle,
  .glightbox .gtitle {
    font-size: 14px;
    padding: 3px 6px;
    bottom: 10px;
    left: 8px;
  }
  .glightbox-clean .gdesc,
  .glightbox .gdesc {
    font-size: 13px;
    bottom: -36px;
    left: 8px;
  }
}



/* ===================== Başlık ===================== */
h3 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 10px;
  color: #383e42;
  text-align: center;
  margin: 20px 0;
}

/* ===================== Filtreler ===================== */
#menu-flters {
  padding: 0;
  margin: 0 auto 10px;
  list-style: none;
  text-align: center;
  border-radius: 50px;
}

#menu-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #383e42;
  margin: 0 3px 10px;
  transition: all 0.2s ease-in-out;
  background: #fff;
  border: 2px solid #383e42;
  border-radius: 50px;
  user-select: none;
}

#menu-flters li:hover,
#menu-flters li.filter-active {
  color: #fff;
  background: #383e42;
}

/* ===================== Footer ===================== */
#footer {
  background: #383e42;
  color: #fff;
  text-align: center;
  padding: 6px 0;
  line-height: 1.2;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
}

#footer .container { padding: 0 8px; }

#footer h3 {
  font-size: 14px;
  margin: 0;
  padding: 0;
}

#footer .copyright,
#footer .credits {
  margin: 0;
  font-size: 10px;
  line-height: 1;
}

#footer .footer-logo {
  display: block;
  margin: 6px auto 4px;
  max-width: 40px;
  height: auto;
}

/* ===================== Responsive ===================== */
@media (max-width: 992px) {
  h3 { letter-spacing: 6px; }
  .menu-item { width: 100%; }
  .menu-content h9,
  .menu-content h4 { font-size: 18px; }
  .menu-ingredients { width: 96%; }
}

@media (max-width: 768px) {
  .menu-item { width: 100%; }
  .menu-content h9,
  .menu-content h4 { font-size: 16px; }
  .menu-content span { font-size: 16px; }
  h3 { letter-spacing: 4px; }
}

@media (max-width: 480px) {
  .menu-ingredients { font-size: 13px; }
  h3 { letter-spacing: 2px; }
}
