/* Genel Sıfırlamalar ve Renk Değişkenleri */
:root {
  --bg-color: #faf7f2;
  --card-bg: #ffffff;
  --primary-color: #4a2c1b;
  --accent-color: #c59b6d;
  --text-main: #2b2b2b;
  --text-muted: #6e6e6e;
  --border-color: #eee3d5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px; /* Mobilde kenar boşlukları daraltıldı */
}

/* Navigasyon */
.navbar {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px; /* Mobilde üst menü biraz daha ince */
}

.logo {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--primary-color);
}

.logo span {
  color: var(--accent-color);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 15px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

/* Menü Alanı */
.menu-section {
  padding: 40px 0; /* Mobilde üst boşluk azaltıldı */
}

.section-title {
  text-align: center;
  margin-bottom: 25px;
}

.section-title h2 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* 
  Kategori Tab Butonları - MOBİL İÇİN YATAY KAYDIRMA (SWIPE) ÖZELLİĞİ 
*/
.menu-tabs {
  display: flex;
  flex-wrap: nowrap; /* Alt satıra geçmesini engeller */
  overflow-x: auto; /* Yatay kaydırma çubuğu ekler */
  gap: 10px;
  margin-bottom: 30px;
  padding-bottom: 10px; /* Mobilde parmakla kaydırırken ferahlık sağlar */
  -webkit-overflow-scrolling: touch; /* iOS'ta akıcı kaydırma (momentum) */
  scrollbar-width: none; /* Firefox'ta scroll bar gizleme */
}

/* Chrome ve Safari'de çirkin kaydırma çubuğunu gizler */
.menu-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap; /* Buton içindeki yazıların iki satıra bölünmesini engeller */
  flex-shrink: 0; /* Butonların sıkışıp şeklinin bozulmasını engeller */
  transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}

/* Menü Panelleri */
.category-panel {
  display: none;
  animation: fadeIn 0.3s ease forwards;
}

.category-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Menü Kart Yapısı */
.menu-grid {
  display: grid;
  /* Mobilde kartları tek sütun yapar, ekrana tam oturtur */
  grid-template-columns: 1fr; 
  gap: 15px;
}

.menu-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.item-info h3 {
  font-size: 1.05rem;
  color: var(--primary-color);
  margin-bottom: 2px;
}

.item-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-color);
  white-space: nowrap;
  padding-left: 15px;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: #f1f1f1;
  text-align: center;
  padding: 20px 15px;
  font-size: 0.85rem;
}

/* Tablet ve Masaüstü Ekranlar İçin Ekstra Düzenleme */
@media (min-width: 768px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr); /* Tablette 2 sütun */
  }
  .menu-tabs {
    justify-content: center; /* Masaüstünde ortala */
    flex-wrap: wrap; /* Masaüstünde sığıyorsa alt satıra geçebilir */
    overflow-x: visible;
  }
}
@media (min-width: 1024px) {
  .menu-grid {
    grid-template-columns: repeat(3, 1fr); /* PC'de 3 sütun */
  }
}/* Menü Görselleri İçin Eklemeler */
.menu-item {
  display: flex;
  justify-content: flex-start; /* Elemanları baştan sırala */
  align-items: center; /* Dikeyde ortala */
  gap: 15px; /* Fotoğraf ile yazı arasındaki boşluk */
}

.menu-img {
  width: 75px;
  height: 75px;
  object-fit: cover; /* Fotoğrafı esnetmeden kırparak sığdırır */
  border-radius: 10px; /* Köşeleri yuvarlatır */
  flex-shrink: 0; /* Fotoğrafın sıkışıp küçülmesini engeller */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.item-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}/* Hakkımızda Bölümü */
.about-section {
  padding: 60px 0;
  background-color: var(--card-bg);
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.about-content p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  padding: 0 15px;
}

/* Footer Butonları */
.footer-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap; /* Mobilde sığmazsa alt satıra geçer */
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: #ffffff;
  transition: transform 0.2s ease, filter 0.2s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.footer-btn:hover {
  transform: translateY(-3px);
  color: #ffffff;
}

/* Konum Butonu - Kırmızı Ton */
.btn-location {
  background-color: #ea4335; 
}

.btn-location:hover {
  background-color: #d33828;
}

/* Instagram Butonu - Orijinal Renk Geçişi */
.btn-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.btn-instagram:hover {
  filter: brightness(1.1);
}/* =========================================
   GÖRSEL EFEKTLER VE ANİMASYONLAR
   ========================================= */

/* 1. Kategori Geçiş Animasyonu (Aşağıdan Süzülme) */
@keyframes fadeInSlide {
  0% { 
    opacity: 0; 
    transform: translateY(20px) scale(0.98); 
  }
  100% { 
    opacity: 1; 
    transform: translateY(0) scale(1); 
  }
}

.category-panel.active {
  display: block;
  animation: fadeInSlide 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* 2. Menü Kartlarına Dokunma/Hover Efekti */
.menu-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden; /* Fotoğrafın taşmasını engeller */
}

/* Kart havaya kalkar ve gölgesi belirginleşir */
.menu-item:hover, 
.menu-item:active {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(74, 44, 27, 0.12);
  border-color: var(--accent-color);
}

/* Fotoğraf kendi içinde estetik bir şekilde yakınlaşır */
.menu-img {
  transition: transform 0.5s ease;
}

.menu-item:hover .menu-img,
.menu-item:active .menu-img {
  transform: scale(1.08); 
}

/* 3. Footer Butonları İçin "Pulse" (Nabız/Parlama) Efekti */
@keyframes pulseLocation {
  0% { box-shadow: 0 0 0 0 rgba(234, 67, 53, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(234, 67, 53, 0); }
  100% { box-shadow: 0 0 0 0 rgba(234, 67, 53, 0); }
}

.btn-location {
  animation: pulseLocation 2s infinite;
}

@keyframes pulseInsta {
  0% { box-shadow: 0 0 0 0 rgba(225, 48, 108, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(225, 48, 108, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 48, 108, 0); }
}

.btn-instagram {
  animation: pulseInsta 2s infinite;
  animation-delay: 1s; /* İkisi aynı anda değil, uyumlu bir ritimle parlasın */
}/* =========================================
   GECE MODU (DARK THEME) VE YENİ BUTONLAR
   ========================================= */

/* Üst Menü Düzeni */
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.action-buttons {
  display: flex;
  gap: 10px;
}

.icon-btn {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--primary-color);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-btn:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* Karanlık Mod Renkleri */
body.dark-theme {
  --bg-color: #121212;
  --card-bg: #1e1e1e;
  --primary-color: #e5b98a; /* Karanlıkta daha iyi okunan altın/kahve tonu */
  --accent-color: #c59b6d;
  --text-main: #f1f1f1;
  --text-muted: #a0a0a0;
  --border-color: #333333;
}

body.dark-theme .navbar {
  background-color: #1e1e1e;
}

body.dark-theme .menu-item {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}