
/* Food tabs + carousel */
.section-food{ padding: 40px 0; }
.food-tabs{ display:flex; flex-wrap:wrap; gap:10px; margin: 16px 0 24px; }
.food-tab{ border:1px solid #ddd; padding:8px 14px; border-radius:999px; background:#fff; cursor:pointer; font-weight:500; }
.food-tab.active{ background:#111; color:#fff; border-color:#111; }

.food-panel{ display:none; }
.food-panel.active{ display:block; }

.food-carousel{ position:relative; }
.food-carousel .track{ display:flex; gap:18px; overflow:hidden; scroll-behavior:smooth; }
.food-carousel .card{ flex:0 0 auto; width:360px; height:480px; display:flex; align-items:center; justify-content:center; border-radius:16px; background:#fff; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.food-carousel img, .food-carousel video{ max-width:90%; max-height:90%; object-fit:contain; border-radius:12px; }

.food-carousel .nav{ position:absolute; top:50%; transform:translateY(-50%); width:44px; height:44px; border-radius:999px; border:none; background:#111; color:#fff; cursor:pointer; opacity:.9; }
.food-carousel .nav.prev{ left:-10px; } .food-carousel .nav.next{ right:-10px; }
@media (max-width: 1024px){
  .food-carousel .card{ width:300px; height:420px; }
}
/* === FOOD LIGHTBOX (overlay) === */
.section-food .food-carousel .card img,
.section-food .food-carousel .card video{
  cursor: zoom-in;
}

.lightbox-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.78);
  display: none;              /* gizli başlar */
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 9999;
}

.lightbox-backdrop.is-open{ display: flex; }

.lightbox-body{
  position: relative;
  max-width: min(1100px, 92vw);
  max-height: 92vh;
  display: grid;
  gap: 10px;
  place-items: center;
}

.lightbox-body img,
.lightbox-body video{
  max-width: 100%;
  max-height: 90vh;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
  background: #fff;
}

.lightbox-cap{
  color: #fff;
  font-size: 14px;
  text-align: center;
  opacity: .9;
}

.lightbox-close{
  position: absolute;
  top: -12px;
  right: -12px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  display: grid;
  place-items: center;
  font-size: 20px;
  cursor: pointer;
}

body.modal-open{ overflow: hidden; }
/* Kart üzerinde her tıklama geçsin */
.section-food .food-carousel .card { position: relative; z-index: 1; }
.section-food .food-carousel .card::before,
.section-food .food-carousel .card::after { pointer-events: none; }

/* Track tıklamayı engellemesin */
.section-food .food-carousel .track { pointer-events: auto; }

/* Görseller/video tıklanabilir kalsın */
.section-food .food-carousel .card img,
.section-food .food-carousel .card video {
  pointer-events: auto;
  cursor: zoom-in;
}
/* ==== Food header (başlıklar) ==== */
.section-food .rb-sec-head{
  text-align:center;
  margin: 8px 0 18px;
}
.section-food .rb-sec-head .rb-title{
  margin:0;
  font-weight:700;
  font-size: clamp(28px, 3vw, 42px);
}
.section-food .rb-sec-head .rb-subtitle{
  margin:.35rem 0 0;
  font-style: italic;
  color:#a9813a;
  font-size: clamp(14px, 2vw, 22px);
}

/* ==== Carousel okları ve kartlar ==== */
.section-food .food-carousel{ position: relative; }
.section-food .food-carousel .nav{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  z-index: 6;                  /* kartların üzerinde */
  width:42px; height:42px;
  border-radius: 999px;
  background:#111;
  color:#fff; border:0;
  display:grid; place-items:center;
  opacity:.9;
  cursor: pointer;
}
.section-food .food-carousel .nav:hover{ opacity:1; }
.section-food .food-carousel .nav.prev{ left:-14px; }
.section-food .food-carousel .nav.next{ right:-14px; }

/* Kart tıklanabilir, ama imleç normal kalsın */
.section-food .food-carousel .card{ position:relative; z-index:1; }
.section-food .food-carousel .card::before,
.section-food .food-carousel .card::after{ pointer-events:none; }
.section-food .food-carousel .track{ pointer-events:auto; }
.section-food .food-carousel .card img,
.section-food .food-carousel .card video{
  pointer-events:auto;
  cursor: default;   /* mercek yerine normal imleç */
}
/* ==== Food header (başlıklar) ==== */
.section-food .rb-sec-head{
  text-align:center;
  margin: 8px 0 18px;
}
.section-food .rb-sec-head .rb-title{
  margin:0;
  font-weight:700;
  font-size: clamp(28px, 3vw, 42px);
}
.section-food .rb-sec-head .rb-subtitle{
  margin:.35rem 0 0;
  font-style: italic;
  color:#a9813a;
  font-size: clamp(14px, 2vw, 22px);
}

/* ==== Carousel okları ve kartlar ==== */
.section-food .food-carousel{ position: relative; }
.section-food .food-carousel .nav{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  z-index: 6;
  width:42px; height:42px;
  border-radius: 999px;
  background:#111;
  color:#fff; border:0;
  display:grid; place-items:center;
  opacity:.9;
  cursor: pointer;
}
.section-food .food-carousel .nav:hover{ opacity:1; }
.section-food .food-carousel .nav.prev{ left:-14px; }
.section-food .food-carousel .nav.next{ right:-14px; }

/* Kart tıklanabilir, ama imleç normal kalsın */
.section-food .food-carousel .card{ position:relative; z-index:1; }
.section-food .food-carousel .card::before,
.section-food .food-carousel .card::after{ pointer-events:none; }
.section-food .food-carousel .track{ pointer-events:auto; }
.section-food .food-carousel .card img,
.section-food .food-carousel .card video{
  pointer-events:auto;
  cursor: default;
}

/* === LIGHTBOX === */
.lightbox-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.78);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 9999;
}
.lightbox-backdrop.is-open{ display: flex; }

.lightbox-body{
  position: relative;
  max-width: min(1100px, 92vw);
  max-height: 92vh;
  display: grid;
  gap: 10px;
  place-items: center;
}
.lightbox-body img,
.lightbox-body video{
  max-width: 100%;
  max-height: 90vh;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
  background: #fff;
}
.lightbox-cap{
  color: #fff;
  font-size: 14px;
  text-align: center;
  opacity: .9;
}
.lightbox-close{
  position: absolute;
  top: -12px;
  right: -12px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  display: grid;
  place-items: center;
  font-size: 20px;
  cursor: pointer;
}
body.modal-open{ overflow: hidden; }
/* === Yemek başlık font/stili (Ziya Şark sitesindeki gibi) === */

/* Google Fonts (gerekiyorsa açık bırakın) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Great+Vibes&display=swap');

.section-food .rb-sec-head{
  text-align:center;
  margin: 8px 0 22px;
}

/* Ana başlık: Playfair Display, koyu ve doygun */
.section-food .rb-sec-head .rb-title{
  font-family: "Playfair Display", ui-serif, Georgia, "Times New Roman", serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .2px;
  color: #231f1a;                 /* koyu başlık rengi */
  font-size: clamp(36px, 4.5vw, 64px);
  margin: 0;
}

/* Alt başlık: Playfair Display (script) ve altın tonu */
.section-food .rb-sec-head .rb-subtitle{
  font-family: "Playfair Display", "Allura", "Dancing Script", cursive;
  font-weight: 400;
  color: #b9893d;                 /* altın ton */
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.25;
  margin: 10px 0 0;
  letter-spacing: .3px;
}
/* === FOOD SECTION • Üst katmanda tekrar eden desen === */
.section-food{
  position: relative;
  background: var(--page-bg);   /* arka plan renginiz (panelden gelen) */
  overflow: hidden;             /* ::before taşmasın */
}
.section-food::before{
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;                   /* içeriğin altında, arkaplanın üstünde */

  /* Desen (tile) */
  background-image: url('../img/bg-pattern.svg'); /* DİKKAT: css -> ../img yolu */
  background-repeat: repeat;
  background-size: var(--pattern-size, 320px auto);
  opacity: var(--pattern-opacity, .12);          /* yoğunluk */
}
/* İçerik üstte kalsın */
.section-food > *{ position: relative; z-index: 1; }
