/* ==========================================================================
   MUN CHICKEN — KURUMSAL DİJİTAL QR MENÜ SİSTEMİ
   Sade, Modern, Şık ve İştah Açıcı Restoran Tasarım Dili
   Tamamen Türkçe • 2'li Kategori Izgarası • Sol Sidebar Çekmecesi
   ========================================================================== */

:root {
  --c-bg: #F8F9FA;
  --c-bg-card: #FFFFFF;
  --c-bg-subtle: #F1F3F5;
  --c-bg-hover: #E9ECEF;
  --c-dark-logo: #181513;
  
  --c-primary: #E65100;
  --c-primary-hover: #D84315;
  --c-primary-light: #FFF3E0;
  --c-primary-tint: rgba(230, 81, 0, 0.08);
  
  --c-text: #1F2937;
  --c-text-muted: #6B7280;
  --c-text-subtle: #9CA3AF;
  
  --c-border: #E5E7EB;
  --c-border-hover: #D1D5DB;
  --c-border-orange: rgba(230, 81, 0, 0.35);

  --f-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --r-pill: 9999px;
  --r-sm: 8px;
  --r-card: 16px;
  --r-card-lg: 22px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-orange: 0 8px 24px rgba(230, 81, 0, 0.25);

  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--f-sans);
  background-color: var(--c-bg);
  color: var(--c-text);
  line-height: 1.5;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  padding-bottom: 30px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  outline: none;
  border: none;
}

/* ==========================================================================
   1. GİRİŞ KARŞILAMA EKRANI (WELCOME SPLASH SCREEN)
   ========================================================================== */
.welcome-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #FFFFFF;
  color: var(--c-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 40px 20px 24px;
  text-align: center;
  overflow-y: auto;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.welcome-screen.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
}

.welcome-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 400px;
  width: 100%;
  margin: auto 0;
}

/* KOYU ZEMİNLİ LOGO KUTUSU (BEYAZ "MUN" YAZISI NET OKUNUR) */
.welcome-logo-box {
  width: 140px;
  height: 140px;
  border-radius: 30px;
  background: var(--c-dark-logo);
  border: 2px solid rgba(230, 81, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  padding: 16px;
}

.welcome-logo-box img {
  max-height: 105px;
  max-width: 105px;
  object-fit: contain;
}

.welcome-brand-title {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #111827;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.welcome-brand-subtitle {
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--c-primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.welcome-tagline {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--c-text-muted);
  margin-bottom: 28px;
  max-width: 320px;
}

/* ANA BUTON: MENÜYÜ GÖRÜNTÜLE */
.btn-welcome-primary {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--c-primary);
  color: #FFFFFF;
  font-size: 1.0625rem;
  font-weight: 800;
  padding: 16px 24px;
  border-radius: var(--r-pill);
  cursor: pointer;
  box-shadow: var(--shadow-orange);
  transition: var(--transition);
  margin-bottom: 16px;
}

.btn-welcome-primary:hover,
.btn-welcome-primary:active {
  background: var(--c-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(230, 81, 0, 0.35);
}

/* GOOGLE VE INSTAGRAM GRID */
.welcome-social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  margin-bottom: 16px;
}

.btn-welcome-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid var(--c-border);
  color: var(--c-text);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 12px 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-welcome-social:hover,
.btn-welcome-social:active {
  background: var(--c-bg-subtle);
  border-color: var(--c-border-hover);
  transform: translateY(-1px);
}

.btn-welcome-social.google:hover {
  color: #EA4335;
  border-color: #EA4335;
}

.btn-welcome-social.instagram:hover {
  color: #E1306C;
  border-color: #E1306C;
}

/* SİPARİŞ TELEFON BUTONU */
.btn-welcome-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--c-bg-subtle);
  border: 1px solid var(--c-border);
  color: var(--c-text);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 11px 16px;
  border-radius: var(--r-pill);
  transition: var(--transition);
}

.btn-welcome-phone:hover {
  background: var(--c-primary-light);
  color: var(--c-primary);
  border-color: var(--c-border-orange);
}

.welcome-footer {
  font-size: 0.75rem;
  color: var(--c-text-subtle);
  margin-top: 16px;
}

.welcome-credit {
  margin-top: 4px;
  font-size: 0.6875rem;
}

.welcome-credit a {
  color: var(--c-primary);
  font-weight: 700;
}

/* ==========================================================================
   2. STICKY NAVBAR (MENÜ TOGGLE + LOGO + ARAMA)
   ========================================================================== */
.editorial-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.navbar-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* SOL MENÜ TOGGLE BUTONU */
.btn-nav-menu-toggle {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--c-bg-subtle);
  border: 1px solid var(--c-border);
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.btn-nav-menu-toggle:hover {
  background: var(--c-primary-light);
  color: var(--c-primary);
  border-color: var(--c-border-orange);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  flex-shrink: 0;
}

/* NAVBAR LOGO KUTUSU (KOYU ZEMİN) */
.brand-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--c-dark-logo);
  border: 1.5px solid rgba(230, 81, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  padding: 4px;
}

.brand-icon-box img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.brand-title-wrap h1 {
  font-size: 1.0625rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: #111827;
  text-transform: uppercase;
}

.brand-title-wrap span {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--c-primary);
  text-transform: uppercase;
  display: block;
}

.nav-center-wrap {
  flex: 1;
  max-width: 440px;
}

.nav-search-wrap {
  position: relative;
  width: 100%;
}

.nav-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--c-text-subtle);
  font-size: 0.8125rem;
  pointer-events: none;
}

.nav-search-input {
  width: 100%;
  background: var(--c-bg-subtle);
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  padding: 9px 34px 9px 34px;
  font-size: 0.8125rem;
  color: var(--c-text);
  transition: var(--transition);
}

.nav-search-input:focus {
  background: #FFFFFF;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(230, 81, 0, 0.12);
}

.nav-search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: var(--c-text-subtle);
  cursor: pointer;
  display: none;
  padding: 4px;
  font-size: 0.75rem;
}

.nav-search-clear.visible {
  display: block;
}

/* ==========================================================================
   3. SOL SIDEBAR ÇEKMECESİ (DRAWER)
   ========================================================================== */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(17, 24, 39, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.sidebar-overlay.open {
  opacity: 1;
  visibility: visible;
}

.sidebar-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 290px;
  max-width: 85vw;
  background: #FFFFFF;
  z-index: 2001;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
  transform: translateX(-100%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.sidebar-overlay.open .sidebar-drawer {
  transform: translateX(0);
}

.sidebar-header {
  padding: 18px 16px;
  border-bottom: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--c-dark-logo);
  border: 1.5px solid rgba(230, 81, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.sidebar-brand-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.sidebar-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-bg-subtle);
  color: var(--c-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.sidebar-close-btn:hover {
  background: var(--c-primary-light);
  color: var(--c-primary);
}

.sidebar-nav {
  padding: 14px 12px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--c-text);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.sidebar-item i {
  font-size: 1rem;
  color: var(--c-primary);
  width: 20px;
  text-align: center;
}

.sidebar-item:hover,
.sidebar-item.active {
  background: var(--c-primary-light);
  color: var(--c-primary);
}

.sidebar-footer {
  padding: 16px;
  border-top: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-footer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--c-text-muted);
  padding: 6px 8px;
  border-radius: 8px;
  transition: var(--transition);
}

.sidebar-footer-link:hover {
  color: var(--c-primary);
  background: var(--c-bg-subtle);
}

/* ==========================================================================
   4. ANA İÇERİK ALANI & 2'Lİ KATEGORİ IZGARASI
   ========================================================================== */
.section-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 16px 16px 40px;
}

.category-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.cat-tile {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.cat-tile:hover {
  transform: translateY(-3px);
  border-color: var(--c-border-orange);
  box-shadow: var(--shadow-md);
}

.cat-tile:active {
  transform: scale(0.98);
}

.cat-tile-img-box {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #F1F3F5;
  position: relative;
}

.cat-tile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.cat-tile:hover .cat-tile-img {
  transform: scale(1.05);
}

.cat-tile-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(17, 24, 39, 0.75);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--r-pill);
}

.cat-tile-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.cat-tile-title {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.25;
}

.cat-tile-footer {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--c-primary);
  font-weight: 700;
}

/* ==========================================================================
   5. KATEGORİ İÇİ ÜRÜNLER LİSTESİ
   ========================================================================== */
.category-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
}

.btn-back-clean {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid var(--c-border);
  color: var(--c-text);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-back-clean:hover {
  background: var(--c-bg-subtle);
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.category-active-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: #111827;
  text-align: right;
}

/* ÜRÜN KARTLARI LİSTESİ */
.products-clean-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-clean-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  gap: 14px;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.product-clean-card:hover {
  border-color: var(--c-border-orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.product-clean-card:active {
  transform: scale(0.99);
}

.product-clean-thumb {
  width: 90px;
  height: 90px;
  border-radius: 10px;
  overflow: hidden;
  background: #F1F3F5;
  flex-shrink: 0;
}

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

.product-clean-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.product-clean-name {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.25;
}

.product-clean-price {
  font-size: 1rem;
  font-weight: 900;
  color: var(--c-primary);
  white-space: nowrap;
}

.product-clean-desc {
  font-size: 0.8125rem;
  color: var(--c-text-muted);
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-clean-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.product-clean-badge {
  background: var(--c-primary-light);
  color: var(--c-primary);
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
}

.product-clean-weight-pill {
  background: var(--c-bg-subtle);
  color: var(--c-text-muted);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

/* ==========================================================================
   6. ÜRÜN DETAY MODALI (GRAMAJ & ALERJEN ALANLARI DAHİL)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(17, 24, 39, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-box-clean {
  background: #FFFFFF;
  border-radius: var(--r-card-lg);
  max-width: 440px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open .modal-box-clean {
  transform: translateY(0);
}

.modal-close-clean {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-border);
  transition: var(--transition);
}

.modal-close-clean:hover {
  background: var(--c-bg-subtle);
}

.modal-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #F1F3F5;
  overflow: hidden;
}

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

.modal-body-clean {
  padding: 20px;
}

.modal-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.modal-title-clean {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
}

.modal-price-clean {
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--c-primary);
  white-space: nowrap;
}

.modal-desc-clean {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

/* GRAMAJ VE ALERJEN BİLGİLENDİRME ALANLARI */
.modal-specs-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--c-bg-subtle);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.modal-spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--c-text);
}

.modal-spec-item i {
  font-size: 0.9375rem;
  color: var(--c-primary);
  width: 18px;
  text-align: center;
}

.modal-spec-item.allergen i {
  color: #D97706;
}

.modal-spec-item strong {
  font-weight: 800;
}

/* ==========================================================================
   7. SİTE ALT ALANI (FOOTER)
   ========================================================================== */
.site-footer-clean {
  background: #FFFFFF;
  border-top: 1px solid var(--c-border);
  padding: 32px 16px 20px;
  margin-top: 40px;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand-clean {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--c-dark-logo);
  border: 1px solid rgba(230, 81, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.footer-brand-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.footer-brand-clean strong {
  font-size: 1.125rem;
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.01em;
}

.footer-info-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.8125rem;
  color: var(--c-text-muted);
  margin-bottom: 18px;
}

.footer-info-row a:hover {
  color: var(--c-primary);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--c-text-subtle);
  border-top: 1px solid var(--c-border);
  padding-top: 16px;
}

.footer-copy a {
  color: var(--c-primary);
  font-weight: 700;
}

/* RESPONSIVE */
@media (max-width: 500px) {
  .category-grid-2col {
    gap: 10px;
  }
  .cat-tile-title {
    font-size: 0.875rem;
  }
  .product-clean-thumb {
    width: 76px;
    height: 76px;
  }
}
