/* ============================================================
   Bir Yemek Fenomeni — sıcak, açık tema (özgün, framework'süz)
   ============================================================ */

:root {
  --y-bg: #fdf8f0;
  --y-surface: #ffffff;
  --y-ink: #2b2118;
  --y-muted: #7d6b58;
  --y-primary: #d9480f;
  --y-primary-dark: #b23a0a;
  --y-accent: #3d7a58;
  --y-gold: #ffb703;
  --y-dark: #221a12;
  --y-line: #f0e2d0;
  --y-radius: 14px;
  --y-shadow: 0 8px 26px rgba(90, 55, 20, 0.08);
  --y-font-head: 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif;
  --y-font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--y-font-body);
  background: var(--y-bg);
  color: var(--y-ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--y-font-head);
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--y-ink);
}

p { margin: 0 0 1em; }

a { color: var(--y-primary); }

.y-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Butonlar ---------- */
.y-btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.y-btn:hover { transform: translateY(-1px); }

.y-btn-primary { background: var(--y-primary); color: #fff; }
.y-btn-primary:hover { background: var(--y-primary-dark); }

.y-btn-outline { background: transparent; color: var(--y-ink); border-color: var(--y-line); }
.y-btn-outline:hover { border-color: var(--y-primary); color: var(--y-primary); }

.y-btn-gold { background: var(--y-gold); color: #3d2c00; }
.y-btn-gold:hover { background: #f5a902; }

.y-btn-light { background: #fff; color: var(--y-dark); }
.y-btn-light:hover { background: #f7ede0; }

.y-btn-lg { padding: 14px 30px; font-size: 16px; }

/* ---------- Header ---------- */
.y-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--y-line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(6px);
}

.y-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
}

.y-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.y-brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--y-primary), #f08c00);
  color: #fff;
  font-family: var(--y-font-head);
  font-weight: 700;
  font-size: 20px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.y-brand-name {
  font-family: var(--y-font-head);
  font-weight: 700;
  font-size: 19px;
  color: var(--y-ink);
}

.y-nav { display: flex; gap: 4px; align-items: center; }

.y-nav-link {
  display: inline-block;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--y-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.y-nav-link:hover { color: var(--y-primary); background: #fbeee1; }
.y-nav-link.active { color: var(--y-primary); background: #fbeee1; }

.y-burger {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.y-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--y-ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.y-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.y-burger.open span:nth-child(2) { opacity: 0; }
.y-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (ana sayfa) ---------- */
.y-hero {
  background:
    radial-gradient(900px 420px at 88% -10%, #ffe8ce 0%, rgba(255, 232, 206, 0) 60%),
    radial-gradient(700px 360px at -10% 110%, #fdeeda 0%, rgba(253, 238, 218, 0) 60%);
  border-bottom: 1px solid var(--y-line);
}

.y-hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items: center;
  padding: 56px 20px 48px;
}

.y-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--y-primary);
  background: #fbeee1;
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 16px;
}
.y-eyebrow-light { color: #ffd9a8; background: rgba(255, 255, 255, 0.1); }

.y-hero h1 { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 14px; }

.y-hero-intro {
  font-size: 17px;
  color: var(--y-muted);
  max-width: 560px;
}

.y-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

.y-hero-art img { width: 100%; max-width: 420px; margin: 0 auto; }

/* ---------- Maç günü bandı (ana sayfa) ---------- */
.y-matchband {
  background: linear-gradient(160deg, #2b1d10 0%, #221a12 70%);
  color: #f5e9db;
  padding: 46px 0 52px;
}
.y-matchband h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); }
.y-matchband p { color: #cdbba5; max-width: 640px; }

.y-matchband-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.y-matchband .y-card { background: #fffaf3; }

/* ---------- Bölümler ---------- */
.y-section { padding: 52px 0; }
.y-section-alt { background: #fbf3e8; border-top: 1px solid var(--y-line); border-bottom: 1px solid var(--y-line); }

.y-section-title {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 8px;
}
.y-section-note { color: var(--y-muted); margin-bottom: 22px; }

.y-section-subtitle { font-size: 22px; margin-top: 0; }

.y-more { text-align: center; margin-top: 30px; }

/* ---------- Kart grid ---------- */
.y-card-grid {
  display: grid;
  gap: 22px;
  margin-top: 20px;
}
.y-grid-3 { grid-template-columns: repeat(3, 1fr); }
.y-grid-4 { grid-template-columns: repeat(4, 1fr); }

.y-card {
  display: flex;
  flex-direction: column;
  background: var(--y-surface);
  border: 1px solid var(--y-line);
  border-radius: var(--y-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--y-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.y-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(90, 55, 20, 0.14); }

.y-card-media { position: relative; background: linear-gradient(140deg, #ffe9cf, #fdd3ad); }
.y-card-media img { width: 100%; height: 168px; object-fit: cover; }

.y-badge-match {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--y-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.y-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }

.y-card-cat {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--y-accent);
  margin-bottom: 6px;
}

.y-card-title { font-size: 19px; margin-bottom: 8px; }

.y-card-summary { font-size: 14.5px; color: var(--y-muted); flex: 1; margin-bottom: 10px; }

.y-card-meta { font-size: 13px; color: var(--y-muted); font-weight: 600; }

/* ---------- Kategori kartları ---------- */
.y-cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.y-cat-card {
  background: var(--y-surface);
  border: 1px solid var(--y-line);
  border-radius: var(--y-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--y-shadow);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.y-cat-card:hover { transform: translateY(-3px); border-color: var(--y-primary); }
.y-cat-card img { width: 100%; height: 128px; object-fit: cover; display: block; }
.y-cat-body { display: block; padding: 14px 16px 16px; }

.y-cat-name { display: block; font-family: var(--y-font-head); font-weight: 700; font-size: 18px; margin-bottom: 4px; }
.y-cat-note { display: block; font-size: 13.5px; color: var(--y-muted); }

/* ---------- Köprü bandı (dönüşüm) ---------- */
.y-bridge {
  background: linear-gradient(135deg, #e8590c 0%, #b23a0a 100%);
  color: #fff;
  padding: 46px 0;
}
.y-bridge h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); margin-bottom: 8px; }
.y-bridge p { color: #ffe3cd; max-width: 620px; margin-bottom: 0; }

.y-bridge-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.y-small-note { font-size: 12.5px; color: var(--y-muted); margin: 10px 0 0; }

/* ---------- Sayfa başlığı ---------- */
.y-page-head {
  background: linear-gradient(160deg, #fdf2e3, #fbe7d2);
  border-bottom: 1px solid var(--y-line);
  padding: 44px 0 36px;
}
.y-page-head h1 { font-size: clamp(28px, 3.6vw, 40px); }
.y-page-head p { color: var(--y-muted); max-width: 720px; margin-bottom: 0; }

.y-404 { text-align: center; }
.y-404 .y-hero-actions { justify-content: center; }

/* ---------- Filtre çipleri ---------- */
.y-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }

.y-chip {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--y-surface);
  border: 1px solid var(--y-line);
  color: var(--y-ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.y-chip:hover { border-color: var(--y-primary); color: var(--y-primary); }
.y-chip.active { background: var(--y-primary); border-color: var(--y-primary); color: #fff; }

/* ---------- Tarif detayı ---------- */
.y-recipe-head {
  background: linear-gradient(160deg, #fdf2e3, #fbe7d2);
  border-bottom: 1px solid var(--y-line);
  padding: 34px 0 30px;
}
.y-recipe-head h1 { font-size: clamp(28px, 3.6vw, 40px); margin-top: 10px; }

.y-recipe-summary { color: var(--y-muted); font-size: 17px; max-width: 780px; }

.y-breadcrumb { font-size: 13.5px; color: var(--y-muted); }
.y-breadcrumb a { color: var(--y-muted); text-decoration: none; }
.y-breadcrumb a:hover { color: var(--y-primary); }
.y-breadcrumb span { margin: 0 6px; }

.y-recipe-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

.y-meta-chip {
  background: var(--y-surface);
  border: 1px solid var(--y-line);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 13.5px;
}
.y-meta-match { background: var(--y-primary); border-color: var(--y-primary); color: #fff; font-weight: 700; }

.y-recipe-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 34px;
  align-items: start;
}

.y-recipe-intro { font-size: 16.5px; }

.y-panel {
  background: var(--y-surface);
  border: 1px solid var(--y-line);
  border-radius: var(--y-radius);
  padding: 20px 22px;
  box-shadow: var(--y-shadow);
  margin-bottom: 22px;
}

.y-panel-title { font-size: 19px; margin-bottom: 12px; }

.y-ingredients { list-style: none; margin: 0; padding: 0; }
.y-ingredients li {
  padding: 9px 2px;
  border-bottom: 1px dashed var(--y-line);
  font-size: 15px;
}
.y-ingredients li:last-child { border-bottom: 0; }
.y-ingredients li::before { content: '•'; color: var(--y-primary); font-weight: 700; margin-right: 9px; }

.y-panel-bridge {
  background: var(--y-dark);
  border-color: var(--y-dark);
  color: #f0e4d4;
}
.y-panel-bridge .y-panel-title { color: #ffd9a8; }
.y-panel-bridge p { color: #cdbba5; font-size: 14.5px; }
.y-panel-bridge .y-small-note { color: #9c8b77; }

.y-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.y-step {
  display: flex;
  gap: 16px;
  padding: 0 0 22px;
  position: relative;
}
.y-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 44px;
  bottom: 4px;
  width: 2px;
  background: var(--y-line);
}
.y-step-no {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--y-primary);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-family: var(--y-font-head);
  font-size: 17px;
}
.y-step-body h3 { font-size: 18px; margin-bottom: 6px; }
.y-step-body p { color: var(--y-muted); font-size: 15px; margin-bottom: 0; }

.y-tips {
  background: #edf6ef;
  border: 1px solid #d5e8da;
  border-radius: var(--y-radius);
  padding: 20px 24px;
  margin-top: 26px;
}
.y-tips ul { margin: 0; padding-left: 20px; }
.y-tips li { margin-bottom: 8px; font-size: 15px; color: #2c4a38; }
.y-tips li:last-child { margin-bottom: 0; }

/* ---------- Maç günü sayfası ---------- */
.y-matchhero {
  background: linear-gradient(160deg, #2b1d10 0%, #221a12 70%);
  color: #f5e9db;
  padding: 56px 0 50px;
}
.y-matchhero h1 { color: #fff; font-size: clamp(28px, 4vw, 42px); }
.y-matchhero p { color: #cdbba5; max-width: 720px; font-size: 17px; }
.y-matchhero .y-btn { margin-top: 10px; }

.y-timeline { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.y-timeline li {
  background: var(--y-surface);
  border: 1px solid var(--y-line);
  border-top: 4px solid var(--y-primary);
  border-radius: var(--y-radius);
  padding: 18px 18px 14px;
  box-shadow: var(--y-shadow);
}
.y-timeline-time {
  display: inline-block;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--y-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.y-timeline p { font-size: 14.5px; color: var(--y-muted); margin: 0; }

/* ---------- Düz yazı ---------- */
.y-prose { max-width: 820px; }

.y-article { margin-bottom: 30px; }
.y-article h2 { font-size: 24px; }
.y-article p, .y-article li { color: #4a3c2e; }
.y-article ul { padding-left: 20px; }

/* ---------- SSS ---------- */
.y-faq { margin-top: 12px; }

.y-faq-item {
  background: var(--y-surface);
  border: 1px solid var(--y-line);
  border-radius: var(--y-radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.y-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: none;
  border: 0;
  padding: 17px 20px;
  font-family: var(--y-font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--y-ink);
  text-align: left;
  cursor: pointer;
}

.y-faq-icon { position: relative; width: 16px; height: 16px; flex: 0 0 auto; }
.y-faq-icon::before, .y-faq-icon::after {
  content: '';
  position: absolute;
  background: var(--y-primary);
  border-radius: 2px;
}
.y-faq-icon::before { left: 0; right: 0; top: 7px; height: 2px; }
.y-faq-icon::after { top: 0; bottom: 0; left: 7px; width: 2px; transition: transform 0.2s ease; }
.y-faq-item.open .y-faq-icon::after { transform: scaleY(0); }

.y-faq-a { display: none; padding: 0 20px 18px; color: var(--y-muted); }
.y-faq-a p { margin: 0; }
.y-faq-item.open .y-faq-a { display: block; }

/* ---------- Footer ---------- */
.y-footer {
  background: var(--y-dark);
  color: #cdbba5;
  padding: 50px 0 26px;
  margin-top: 0;
}

.y-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 30px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.y-brand-light .y-brand-name { color: #fff; }

.y-footer-about { font-size: 14.5px; margin-top: 14px; }

.y-footer-title {
  color: #fff;
  font-size: 16px;
  margin-bottom: 14px;
}

.y-footer-link {
  display: block;
  color: #cdbba5;
  text-decoration: none;
  font-size: 14.5px;
  padding: 4px 0;
}
.y-footer-link:hover { color: var(--y-gold); }

.y-footer-small { font-size: 12.5px; color: #9c8b77; }

.y-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: 13px;
  color: #9c8b77;
}

/* ---------- Tarif detay fotoğrafı ---------- */
.y-recipe-photo-sec { margin-top: 26px; }

.y-recipe-photo { margin: 0; }

.y-recipe-photo img {
  width: 100%;
  aspect-ratio: 800 / 520;
  object-fit: cover;
  border-radius: var(--y-radius);
  box-shadow: var(--y-shadow);
}

.y-photo-credit {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--y-muted);
}
.y-photo-credit a { color: var(--y-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .y-hero-inner { grid-template-columns: 1fr; padding-top: 42px; }
  .y-hero-art { display: none; }
  .y-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .y-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .y-cat-grid { grid-template-columns: repeat(3, 1fr); }
  .y-recipe-layout { grid-template-columns: 1fr; }
  .y-timeline { grid-template-columns: repeat(2, 1fr); }
  .y-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .y-burger { display: block; }

  .y-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--y-line);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 16px;
    gap: 2px;
    box-shadow: 0 18px 30px rgba(60, 35, 10, 0.12);
  }
  .y-nav.open { display: flex; }
  .y-nav-link { padding: 12px 14px; border-radius: 10px; }

  .y-grid-4, .y-grid-3 { grid-template-columns: 1fr; }
  .y-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .y-timeline { grid-template-columns: 1fr; }
  .y-footer-grid { grid-template-columns: 1fr; }

  .y-matchband-head { align-items: flex-start; }
  .y-bridge-inner { flex-direction: column; align-items: flex-start; }

  .y-section { padding: 40px 0; }
}
