/* Gastronomi (Uludaginfo) — page-scoped V1 styles.
 *
 * Extracted from legacy/uludaginfocom-v1/gastronomi.html. Selectors are
 * page-scoped via body[data-page=gastronomi] so they only fire on the
 * matching Next.js route (set by <PageMarker page="gastronomi" />).
 */

body[data-page="gastronomi"] .gs-wrap { padding: 16px 0 80px; background: var(--u-snow); }
body[data-page="gastronomi"] .gs-result {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0 16px;
}
body[data-page="gastronomi"] .gs-result .ct {
  font-family: 'Mark Pro'; font-weight: 900; font-style: italic;
  font-size: 13px; letter-spacing: 0.14em; color: var(--u-black);
}
body[data-page="gastronomi"] .gs-result .ct strong { color: var(--u-fuchsia); }
body[data-page="gastronomi"] .gs-result .ct .muted { color: var(--u-muted); font-weight: 500; }

body[data-page="gastronomi"] .gs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
body[data-page="gastronomi"] .gs-card {
  background: #fff; border: 2px solid var(--u-black); border-radius: 18px;
  overflow: hidden; box-shadow: var(--u-shadow);
  display: flex; flex-direction: column;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
body[data-page="gastronomi"] .gs-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px -16px rgba(0,0,0,0.22); }

body[data-page="gastronomi"] .gs-card .poster {
  position: relative;
  aspect-ratio: 4/3;
  background-size: cover; background-position: center;
  background-color: #0A1622;
  border-bottom: 2px solid var(--u-black);
  cursor: pointer;
}
body[data-page="gastronomi"] .gs-card .poster::before {
  content:''; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0.0) 50%, rgba(0,0,0,0.6) 100%);
}
body[data-page="gastronomi"] .gs-card .top-chips {
  position: absolute; top: 10px; left: 10px; right: 10px;
  display: flex; justify-content: space-between; gap: 6px;
}
body[data-page="gastronomi"] .gs-card .cat-chip,
body[data-page="gastronomi"] .gs-card .zone-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  font-family: 'Mark Pro'; font-weight: 900; font-style: italic;
  font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  border: 1.5px solid var(--u-black);
}
body[data-page="gastronomi"] .gs-card .cat-chip.restaurant { background: var(--u-fuchsia); color: #fff; }
body[data-page="gastronomi"] .gs-card .cat-chip.cafe       { background: var(--u-yellow); color: var(--u-black); }
body[data-page="gastronomi"] .gs-card .cat-chip.coffee     { background: #6F4E37; color: #fff; }
body[data-page="gastronomi"] .gs-card .cat-chip.bar        { background: var(--u-black); color: var(--u-yellow); }
body[data-page="gastronomi"] .gs-card .zone-chip {
  background: rgba(255,255,255,0.95); color: var(--u-black);
}
body[data-page="gastronomi"] .gs-card .gal-btn {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(255,255,255,0.95); color: var(--u-black);
  border: 1.5px solid var(--u-black);
  padding: 5px 10px; border-radius: 999px;
  font-family: 'Mark Pro'; font-weight: 900; font-style: italic;
  font-size: 10.5px; letter-spacing: 0.14em;
  display: inline-flex; align-items: center; gap: 6px;
}
body[data-page="gastronomi"] .gs-card .gal-btn svg { width: 11px; height: 11px; }

body[data-page="gastronomi"] .gs-card .name-overlay {
  position: absolute; bottom: 10px; left: 10px;
  color: #fff;
  font-family: 'Mark Pro'; font-weight: 900; font-style: italic;
  font-size: 22px; letter-spacing: -0.01em; text-transform: uppercase;
  text-shadow: 0 4px 16px rgba(0,0,0,0.6);
  max-width: 70%;
  line-height: 1.05;
}

body[data-page="gastronomi"] .gs-card .body {
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 10px;
  /* 13.07.2026 — kart içi hizalama tutarlılığı (Burak): body kart yüksekliğine
     yayılır; .actions (margin-top:auto) her kartta EN ALTTA sabitlenir —
     içerik az olsa da konum butonu yukarı kaymaz. */
  flex: 1 1 auto;
}
/* Sosyal medya satırı: içerik yoksa da alan REZERVE kalır (altındaki
   aksiyon satırı yukarı kaymasın). */
body[data-page="gastronomi"] .gs-card .body .facility-social-row { min-height: 34px; }
body[data-page="gastronomi"] .gs-card .body .meta {
  display: flex; flex-wrap: wrap; gap: 10px;
  font-family: 'Mark Pro'; font-weight: 700; font-size: 11.5px;
  color: var(--u-muted); letter-spacing: 0.08em; text-transform: uppercase;
}
body[data-page="gastronomi"] .gs-card .body .meta .it { display: inline-flex; align-items: center; gap: 5px; }
body[data-page="gastronomi"] .gs-card .body .desc {
  font-family: 'Gotham'; font-size: 13px; color: var(--u-slate); line-height: 1.5;
}
/* madde 10 — TipTap HTML açıklama margin normalize. */
body[data-page="gastronomi"] .gs-card .body .desc > :first-child { margin-top: 0; }
body[data-page="gastronomi"] .gs-card .body .desc > :last-child { margin-bottom: 0; }
body[data-page="gastronomi"] .gs-card .body .desc p { margin: 0 0 0.4em; }
body[data-page="gastronomi"] .gs-card .body .desc ul,
body[data-page="gastronomi"] .gs-card .body .desc ol { margin: 0.2em 0; padding-left: 1.2em; }
/* 03.06 P2-11: Konum/Web alanı daraltıldı, 3. kutu (WhatsApp) eklendi.
   auto-fit → 2 buton varsa 2 kolon, 3 buton varsa 3 kolon (eşit dağıtım). */
body[data-page="gastronomi"] .gs-card .body .actions {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 7px; margin-top: auto;
}
body[data-page="gastronomi"] .gs-card .body .actions a {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  padding: 9px 8px; border-radius: 10px; border: 2px solid var(--u-black);
  font-family: 'Mark Pro'; font-weight: 900; font-style: italic;
  font-size: 10.5px; letter-spacing: 0.06em; text-decoration: none;
  white-space: nowrap;
  transition: transform 140ms ease, background 140ms ease;
}
body[data-page="gastronomi"] .gs-card .body .actions a:hover { transform: translateY(-1px); }
body[data-page="gastronomi"] .gs-card .body .actions .loc { background: var(--u-yellow); color: var(--u-black); }
body[data-page="gastronomi"] .gs-card .body .actions .loc:hover { background: var(--u-black); color: var(--u-yellow); }
body[data-page="gastronomi"] .gs-card .body .actions .menu { background: var(--u-fuchsia); color: #fff; }
body[data-page="gastronomi"] .gs-card .body .actions .menu:hover { background: var(--u-black); color: var(--u-yellow); }
/* WhatsApp aksiyon butonu (rezervasyon yerine). */
body[data-page="gastronomi"] .gs-card .body .actions .wa { background: #25D366; color: #fff; }
body[data-page="gastronomi"] .gs-card .body .actions .wa:hover { background: #128C7E; color: #fff; }
body[data-page="gastronomi"] .gs-card .body .actions svg { width: 12px; height: 12px; }

/* 03.06 P2-11: toolbar arama kutusunu select'lerle aynı hizaya al
   (etiketli select'ler daha yüksek olduğu için arama yukarıda kalıyordu). */
body[data-page="gastronomi"] .lp-toolbar .ctrls,
body[data-page="mekanlar"] .lp-toolbar .ctrls { align-items: flex-end; }

/* Category strip with counts */
body[data-page="gastronomi"] .gs-cat-strip {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding: 16px 0 20px;
}
body[data-page="gastronomi"] .gs-cat-strip .cat-card {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 2px solid var(--u-black); border-radius: 14px;
  padding: 10px 14px;
  font-family: 'Mark Pro'; font-weight: 900; font-style: italic;
  font-size: 12px; letter-spacing: 0.14em;
  box-shadow: 0 4px 0 var(--u-black);
}
body[data-page="gastronomi"] .gs-cat-strip .cat-card .ic {
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center; border: 1.5px solid var(--u-black);
}
body[data-page="gastronomi"] .gs-cat-strip .cat-card .ic.restaurant { background: var(--u-fuchsia); color: #fff; }
body[data-page="gastronomi"] .gs-cat-strip .cat-card .ic.cafe       { background: var(--u-yellow); color: var(--u-black); }
body[data-page="gastronomi"] .gs-cat-strip .cat-card .ic.coffee     { background: #6F4E37; color: #fff; }
body[data-page="gastronomi"] .gs-cat-strip .cat-card .ic.bar        { background: var(--u-black); color: var(--u-yellow); }
body[data-page="gastronomi"] .gs-cat-strip .cat-card strong { color: var(--u-fuchsia); }

/* =========================================================
 * Mobile + tablet (Burak 2026-05-18)
 * - Drop the hero key-strip stat boxes.
 * - Restaurant grid: 1 column (single-card-per-row).
 * ========================================================= */
@media (max-width: 768px) {
  body[data-page="gastronomi"] .key-strip { display: none !important; }
  body[data-page="gastronomi"] .gs-grid { grid-template-columns: 1fr !important; gap: 16px; }
}

/* =========================================================
 * Facility API binding additions (feat/web-gastronomi-real-api-bind)
 * - Empty state container (API returns zero items)
 * - Social media icon row (per card, conditional)
 * - "Web sayfasi" / "Rezervasyon" action pills (next to Konum)
 * ========================================================= */

body[data-page="gastronomi"] .facility-empty-state {
  background: #fff;
  border: 2px dashed #c0c0c0;
  border-radius: 18px;
  padding: 64px 40px;
  text-align: center;
  color: var(--u-muted);
  margin: 24px 0;
}
body[data-page="gastronomi"] .facility-empty-state h3 {
  font-family: 'Mark Pro';
  font-weight: 900;
  font-style: italic;
  font-size: 22px;
  color: var(--u-black);
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}
body[data-page="gastronomi"] .facility-empty-state p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

body[data-page="gastronomi"] .gs-card .body .facility-social-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 0 4px;
}
body[data-page="gastronomi"] .gs-card .body .facility-social-row .facility-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--u-black);
  background: #fff;
  color: var(--u-black);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}
body[data-page="gastronomi"] .gs-card .body .facility-social-row .facility-social-icon:hover {
  background: var(--u-black);
  color: var(--u-yellow);
  transform: translateY(-1px);
}
body[data-page="gastronomi"] .gs-card .body .facility-social-row .facility-social-icon svg {
  width: 14px;
  height: 14px;
}

body[data-page="gastronomi"] .gs-card .body .actions .web {
  background: #fff;
  color: var(--u-black);
  border: 1.5px solid var(--u-black);
}
body[data-page="gastronomi"] .gs-card .body .actions .web:hover {
  background: var(--u-black);
  color: var(--u-yellow);
}
body[data-page="gastronomi"] .gs-card .body .actions .reservation {
  background: var(--u-fuchsia);
  color: #fff;
}
body[data-page="gastronomi"] .gs-card .body .actions .reservation:hover {
  background: var(--u-black);
  color: var(--u-yellow);
}

/* =========================================================
 * Facility filter dropdown — chip → <select> migration
 * (gastronomi: lp-toolbar açık zemin, V1 yellow/black paleti)
 * ========================================================= */
.facility-filter-row {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: end;
}
.facility-filter-row .grp { display: flex; flex-direction: column; gap: 6px; flex: 1 1 180px; }
.facility-filter-row .grp label {
  font-family: 'Mark Pro', sans-serif; font-weight: 700;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--u-black);
}
.facility-filter-select {
  width: 100%;
  appearance: none; -webkit-appearance: none;
  background: #fff
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>")
    no-repeat right 12px center / 14px 14px;
  border: 2px solid var(--u-black);
  border-radius: 12px;
  padding: 11px 34px 11px 14px;
  box-shadow: 0 3px 0 var(--u-black);
  font-family: 'Mark Pro', sans-serif;
  font-weight: 900; font-style: italic;
  font-size: 12.5px; letter-spacing: 0.06em;
  color: var(--u-black);
  cursor: pointer;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.facility-filter-select:hover { border-color: var(--u-fuchsia); }
.facility-filter-select:focus { border-color: var(--u-fuchsia); box-shadow: 0 3px 0 var(--u-fuchsia); }
