/* Güney Kebap QR Menü — tasarım CSS'i (guney-kebap.html <style> bloğundan) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:        #C0272D;
  --red-dark:   #8B1A1E;
  --red-deeper: #5E0F12;
  --red-light:  #F5E0E0;
  --red-mid:    #E8B4B6;
  --white:      #FFFFFF;
  --offwhite:   #FDF8F8;
  --cream:      #FAF3F3;
  --muted:      #8A5A5C;
  --text:       #2A0D0E;
  --border:     rgba(192,39,45,0.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--offwhite);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

/* ===== HEADER ===== */
header {
  background: var(--red-deeper);
  position: relative;
  overflow: hidden;
  padding: 0;
}

/* Decorative pattern background */
header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 20px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 20px);
}

.header-top-bar {
  background: var(--red);
  padding: 10px 24px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
}

.header-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 52px 24px 48px;
  position: relative;
}

/* LOGO SVG */
.logo-wrap {
  margin-bottom: 24px;
  animation: fadeDown 0.8s ease both;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.header-name {
  font-family: 'Yeseva One', serif;
  font-size: clamp(36px, 8vw, 72px);
  color: var(--white);
  line-height: 1;
  text-align: center;
  letter-spacing: 1px;
  animation: fadeDown 0.8s 0.1s ease both;
}

.header-name span {
  color: #FFCDD0;
  display: block;
  font-size: 0.55em;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-top: 6px;
}

.slogan {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  animation: fadeDown 0.8s 0.2s ease both;
}

.slogan-line {
  width: 40px;
  height: 1px;
  background: rgba(255,200,200,0.5);
}

.slogan-text {
  font-size: 13px;
  font-weight: 600;
  color: #FFCDD0;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Decorative arch at bottom of header */
.header-arch {
  position: relative;
  height: 40px;
  background: var(--offwhite);
  margin-top: -1px;
}

.header-arch::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0; right: 0;
  height: 40px;
  background: var(--offwhite);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* ===== NAV ===== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--red);
  box-shadow: 0 2px 12px rgba(139,26,30,0.3);
}

.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 12px;
}
.nav-inner::-webkit-scrollbar { display: none; }

nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  letter-spacing: 0.3px;
}
nav a:hover, nav a.active {
  color: #fff;
  border-bottom-color: #FFCDD0;
  background: rgba(255,255,255,0.08);
}
nav a .ic { font-size: 15px; }

/* ===== INFO BAR ===== */
.info-bar {
  background: var(--red-light);
  border-bottom: 1px solid var(--red-mid);
  padding: 12px 24px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--red-dark);
}

/* ===== MAIN ===== */
main {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

/* ===== CATEGORY ===== */
.category { padding-top: 64px; }

.cat-header {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 6px;
}

.cat-badge {
  background: var(--red);
  color: white;
  font-family: 'Yeseva One', serif;
  font-size: 11px;
  padding: 4px 14px 4px 14px;
  border-radius: 4px 0 0 4px;
  letter-spacing: 1px;
}

.cat-title {
  font-family: 'Yeseva One', serif;
  font-size: 30px;
  color: var(--red-dark);
  padding-left: 16px;
  line-height: 1;
  border-left: 4px solid var(--red);
  margin-left: 0;
}

.cat-desc {
  font-size: 13px;
  color: var(--muted);
  margin: 10px 0 28px;
  max-width: 500px;
}

/* ===== MENU ITEM (card layout, image on top, description below) ===== */
.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.menu-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  cursor: default;
}

.menu-item:hover {
  border-color: var(--red-mid);
  box-shadow: 0 10px 26px rgba(192,39,45,0.14);
  transform: translateY(-4px);
}

.item-emoji {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  line-height: 1;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--red-light), var(--cream));
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

.item-image {
  width: 100%;
  height: 220px;
  border-radius: 0;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  border: none;
  box-shadow: none;
}

.item-body {
  flex: 1;
  min-width: 0;
  padding: 18px 20px 4px;
}

.item-name {
  font-family: 'Yeseva One', serif;
  font-size: 19px;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.25;
}

.item-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

.item-badges {
  display: flex;
  gap: 5px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}
.badge-pop  { background: #FFF0F0; color: var(--red-dark); border: 1px solid var(--red-mid); }
.badge-hot  { background: #FFF3E0; color: #BF360C; border: 1px solid #FFCC80; }
.badge-new  { background: #E8F5E9; color: #2E7D32; border: 1px solid #A5D6A7; }
.badge-veg  { background: #F1F8E9; color: #33691E; border: 1px solid #C5E1A5; }
.badge-sig  { background: var(--red-light); color: var(--red-dark); border: 1px solid var(--red-mid); }

.item-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  gap: 4px;
  margin: 14px 20px 18px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}

.item-price {
  font-family: 'Yeseva One', serif;
  font-size: 22px;
  color: var(--red);
  white-space: nowrap;
}

.item-unit {
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  text-align: right;
}

/* ===== SECTION DIVIDER ===== */
.section-line {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--red-mid), transparent);
  margin: 56px 0 0;
}

/* ===== FOOTER ===== */
footer {
  background: var(--red-deeper);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 48px 24px 36px;
  font-size: 13px;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-name {
  font-family: 'Yeseva One', serif;
  font-size: 28px;
  color: white;
  display: block;
  margin-bottom: 4px;
}

.footer-slogan {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #FFCDD0;
  margin-bottom: 20px;
}

footer p { margin: 4px 0; line-height: 1.8; }

.footer-copy {
  margin-top: 20px;
  font-size: 11px;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .items-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
  .item-image, .item-emoji { height: 180px; }
}

@media (max-width: 600px) {
  .items-grid { grid-template-columns: 1fr; gap: 16px; }
  .item-image, .item-emoji { height: 200px; }
  .item-emoji { font-size: 48px; }
  .item-body { padding: 16px 18px 4px; }
  .item-right { margin: 12px 18px 16px; }
  .item-name { font-size: 17px; }
  .item-price { font-size: 19px; }
  .header-name { font-size: 36px; }
}

@media (max-width: 420px) {
  .item-image, .item-emoji { height: 170px; }
  .item-body { padding: 14px 16px 4px; }
  .item-right { margin: 10px 16px 14px; }
  .item-price { font-size: 17px; }
  .item-unit { font-size: 10px; }
}

/* ===== Tasarımda olmayan, panel tarafından üretilen sayfalar için ek sınıflar =====
   (kategori detay, ürün detay, arama, 404 — anasayfa menüsünün görsel dilini korur) */
.back-link {
  display: inline-block;
  margin: 18px 0 0 18px;
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
}
.back-link:hover { text-decoration: underline; }

.empty-note {
  color: var(--muted);
  text-align: center;
  padding: 28px 12px;
  font-size: 15px;
}

.searchbar {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
}
.searchbar input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
}
.searchbar input:focus { outline: 2px solid var(--red); outline-offset: -1px; }
.searchbar button {
  padding: 12px 24px;
  border: 0;
  border-radius: 10px;
  background: var(--red);
  color: var(--white);
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}
.searchbar button:hover { background: var(--red-dark); }

.crumbs { padding: 14px 18px; color: var(--muted); font-size: 14px; }
.crumbs a { color: var(--red); text-decoration: none; }
.crumbs .sep { margin: 0 7px; opacity: .5; }
.crumb-active { color: var(--text); font-weight: 600; }

.detail-card {
  display: grid;
  grid-template-columns: minmax(0, 320px) 1fr;
  gap: 26px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}
.detail-image { width: 100%; border-radius: 10px; display: block; }
.detail-name { font-family: 'Yeseva One', serif; font-size: 30px; color: var(--red-deeper); margin-bottom: 10px; }
.detail-desc { color: var(--muted); margin-bottom: 14px; }
.detail-price {
  font-family: 'Yeseva One', serif;
  font-size: 30px;
  color: var(--red);
  margin-top: 16px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.err-code { font-family: 'Yeseva One', serif; font-size: 76px; color: var(--red); line-height: 1; }

.portion {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 14px;
  margin: 0 8px 8px 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
}
.portion b { color: var(--red); }

@media (max-width: 680px) {
  .detail-card { grid-template-columns: 1fr; }
}

/* ===== DİL SEÇİCİ (üst şeritte, sağda) ===== */
.langdd {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
}
.langdd__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid rgba(255,205,208,0.35);
  border-radius: 999px;
  background: rgba(94,15,18,0.35);
  color: rgba(255,255,255,0.92);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.langdd__btn:hover { background: rgba(94,15,18,0.6); border-color: rgba(255,205,208,0.6); }
.langdd__globe, .langdd__chev {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.langdd__chev { width: 11px; height: 11px; transition: transform 0.2s; }
.langdd.is-open .langdd__chev { transform: rotate(180deg); }

.langdd__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 7px);
  min-width: 152px;
  padding: 5px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(94,15,18,0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.langdd.is-open .langdd__menu { opacity: 1; visibility: visible; transform: translateY(0); }

.langdd__opt {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 7px;
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.langdd__opt:hover { background: var(--cream); }
.langdd__opt-code {
  flex: none;
  min-width: 26px;
  padding: 2px 5px;
  border-radius: 5px;
  background: var(--red-light);
  color: var(--red-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-align: center;
}
.langdd__opt.is-active { color: var(--red); }
.langdd__opt.is-active .langdd__opt-code { background: var(--red); color: var(--white); }

@media (max-width: 560px) {
  .header-top-bar { padding-right: 76px; text-align: left; padding-left: 16px; }
  .langdd { right: 10px; }
}
