/* ==========================================================================
   Tuğba'nın Yemek Tarifleri — tema
   ========================================================================== */

:root {
  --bg: #fdf8f3;
  --bg-alt: #f7ede2;
  --surface: #ffffff;
  --text: #2b2320;
  --muted: #7d6f66;
  --accent: #c4532d;
  --accent-dark: #9f3f1e;
  --accent-soft: #fbe5d9;
  --olive: #5f7448;
  --olive-soft: #eef1e4;
  --gold: #d9952b;
  --gold-soft: #fdf0d8;
  --border: #efe3d7;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(80, 45, 20, .06);
  --shadow: 0 18px 40px -18px rgba(80, 45, 20, .35);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; font-variant-numeric: lining-nums; }
h1 { font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.15; }
h2 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

.text-muted { color: var(--muted) !important; }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .4rem;
}

/* ---------- Butonlar ve form ---------- */

.btn { border-radius: 999px; font-weight: 700; padding: .55rem 1.3rem; }
.btn-lg { padding: .75rem 1.75rem; font-size: 1.05rem; }
.btn-sm { padding: .35rem .9rem; font-size: .85rem; }

.btn-accent { background: var(--accent); border: 1px solid var(--accent); color: #fff; box-shadow: 0 6px 16px -6px rgba(196, 83, 45, .6); }
.btn-accent:hover, .btn-accent:focus, .btn-accent:active { background: var(--accent-dark) !important; border-color: var(--accent-dark) !important; color: #fff !important; }

.btn-soft { background: var(--surface); border: 1px solid var(--border); color: var(--text); }
.btn-soft:hover { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--accent-dark); }

.btn-danger-soft { background: #fdecea; border: 1px solid #fdecea; color: #b42318; }
.btn-danger-soft:hover { background: #b42318; border-color: #b42318; color: #fff; }

.form-label { font-weight: 700; font-size: .92rem; margin-bottom: .35rem; }
.form-control, .form-select, .input-group-text { border-radius: var(--radius-sm); border-color: var(--border); }
.input-group > .form-control { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group-text { background: var(--bg-alt); color: var(--muted); }
.form-control:focus, .form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 .22rem rgba(196, 83, 45, .15); }
.form-check-input:checked { background-color: var(--accent); border-color: var(--accent); }
.form-check-input:focus { box-shadow: 0 0 0 .22rem rgba(196, 83, 45, .15); border-color: var(--accent); }

/* ---------- Üst menü ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 248, 243, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .navbar { padding: .7rem 0; }

.brand { display: flex; align-items: center; gap: .7rem; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.5rem;
  background: var(--accent-soft); box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px var(--border);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-small { font-family: var(--font-display); font-style: italic; color: var(--accent); font-size: .95rem; }
.brand-big { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }

.site-header .nav-link { color: var(--text); font-weight: 700; padding: .45rem .95rem !important; border-radius: 999px; }
.site-header .nav-link:hover { color: var(--accent); }
.site-header .nav-link.active { color: var(--accent); background: var(--accent-soft); }
.nav-logout { background: none; border: 0; color: var(--muted) !important; }
.nav-login { border: 1px solid var(--border); }
.navbar-toggler { border: 0; }
.navbar-toggler:focus { box-shadow: none; }

.flash {
  margin-top: 1.25rem; padding: .85rem 1.2rem;
  background: var(--olive-soft); color: var(--olive); font-weight: 700;
  border-radius: var(--radius-sm); border: 1px solid #dfe5cf;
  animation: flash-in .35s ease;
}
.flash span { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--olive); color: #fff; margin-right: .4rem; font-size: .8rem; }
@keyframes flash-in { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Ana sayfa: karşılama ---------- */

.hero {
  position: relative; overflow: hidden;
  padding: 4rem 0 4.5rem;
  background:
    radial-gradient(circle at 90% 10%, rgba(196, 83, 45, .10), transparent 45%),
    radial-gradient(circle at 5% 90%, rgba(95, 116, 72, .10), transparent 40%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); margin-bottom: 1.1rem; }
.hero h1 em { color: var(--accent); font-style: italic; }
.hero-lead { font-size: 1.15rem; color: var(--muted); max-width: 32rem; margin-bottom: 1.8rem; }

.search-pill {
  display: flex; align-items: center; gap: .5rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: .4rem .4rem .4rem 1.1rem; max-width: 34rem;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s, box-shadow .15s;
}
.search-pill:focus-within { border-color: var(--accent); box-shadow: 0 0 0 .22rem rgba(196, 83, 45, .12); }
.search-pill input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: .5rem 0; font-size: 1rem; }
.search-pill .btn { padding: .6rem 1.5rem; }
.search-pill-sm { max-width: 28rem; padding: .25rem .25rem .25rem 1rem; }
.search-pill-sm .btn { padding: .45rem 1.2rem; }
.search-icon { opacity: .6; }

.hero-stats { display: flex; gap: 2.5rem; margin-top: 2rem; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-display); font-size: 2rem; line-height: 1; font-variant-numeric: lining-nums; }
.hero-stats span { color: var(--muted); font-size: .9rem; }

.featured-card {
  display: block; position: relative; color: var(--text);
  border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
  transition: transform .3s ease;
}
.featured-card:hover { color: var(--text); transform: rotate(0) scale(1.01); }
.featured-image { aspect-ratio: 4 / 4.2; background: var(--bg-alt); }
.featured-image img, .featured-image .placeholder { width: 100%; height: 100%; object-fit: cover; }
.featured-body {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem;
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(6px);
  border-radius: var(--radius); padding: 1.1rem 1.3rem;
}
.featured-body h2 { font-size: 1.45rem; margin: .35rem 0 .5rem; }
.ribbon { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--gold); }

.hero-plate {
  aspect-ratio: 1; max-width: 420px; margin-inline: auto; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle, #fff 52%, var(--accent-soft) 53%, var(--accent-soft) 68%, #fff 69%);
  box-shadow: var(--shadow);
}
.hero-plate span { font-size: 9rem; }

/* ---------- Bölümler ---------- */

.section { padding: 3.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.8rem; }
.section-head h2 { margin: 0; }
.link-arrow { font-weight: 800; white-space: nowrap; }

.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.category-tile {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .3rem;
  padding: 1.4rem 1rem; background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.category-tile:hover { color: var(--text); transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.category-icon {
  width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center;
  font-size: 2.1rem; background: var(--accent-soft); margin-bottom: .4rem;
  transition: transform .25s ease;
}
.category-tile:hover .category-icon { transform: scale(1.1) rotate(-6deg); }
.category-name { font-weight: 800; }
.category-count { font-size: .82rem; color: var(--muted); }

/* ---------- Tarif kartları ---------- */

.recipe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.6rem; }

.recipe-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--surface); color: var(--text);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: transform .2s ease, box-shadow .2s ease;
}
.recipe-card:hover { color: var(--text); transform: translateY(-5px); box-shadow: var(--shadow); }
.recipe-card-image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.recipe-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.recipe-card:hover .recipe-card-image img { transform: scale(1.06); }
.card-badge {
  position: absolute; top: .8rem; left: .8rem;
  background: rgba(255, 255, 255, .94); color: var(--text);
  font-size: .75rem; font-weight: 800; padding: .3rem .75rem; border-radius: 999px;
}
.card-star {
  position: absolute; top: .8rem; right: .8rem;
  width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: #fff; font-size: .95rem;
}
.recipe-card-body { padding: 1.1rem 1.25rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.recipe-card-body h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.recipe-card-body p {
  color: var(--muted); font-size: .93rem; margin-bottom: .9rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.recipe-card-body .facts { margin-top: auto; }

.placeholder {
  width: 100%; height: 100%; display: grid; place-items: center; font-size: 4rem;
  background: linear-gradient(135deg, var(--accent-soft), var(--gold-soft));
}

.facts { display: flex; flex-wrap: wrap; gap: .4rem 1rem; list-style: none; padding: 0; margin: 0; font-size: .86rem; color: var(--muted); font-weight: 600; }
.facts li { display: flex; align-items: center; gap: .3rem; }

.dots { display: inline-flex; gap: 3px; vertical-align: middle; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--border); }
.dots i.on { background: var(--accent); }

/* ---------- Liste sayfası ---------- */

.page-header { padding: 2.5rem 0 1.8rem; }
.page-header h1 { margin-bottom: .3rem; }
.page-sub { color: var(--muted); margin-bottom: 1.3rem; }
.title-icon { margin-right: .2rem; }

.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: .9rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs span { margin: 0 .45rem; opacity: .5; }

.chips { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; margin-bottom: 1.8rem; scrollbar-width: thin; }
.chip {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: .35rem;
  padding: .5rem 1rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); font-weight: 700; font-size: .9rem;
  transition: all .15s;
}
.chip small { color: var(--muted); font-weight: 600; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.active { background: var(--text); border-color: var(--text); color: #fff; }
.chip.active small { color: rgba(255, 255, 255, .7); }

.empty-state {
  text-align: center; padding: 3.5rem 1.5rem;
  background: var(--surface); border: 2px dashed var(--border); border-radius: var(--radius);
}
.empty-state p { color: var(--muted); max-width: 26rem; margin: 0 auto 1.4rem; }
.empty-icon { font-size: 3.5rem; margin-bottom: .5rem; }

/* ---------- Tarif detay ---------- */

.recipe-page { padding-top: 2rem; }

.recipe-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; margin-bottom: 3rem; }
.recipe-hero-image { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3.3; box-shadow: var(--shadow); background: var(--bg-alt); }
.recipe-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.recipe-hero-image .placeholder { font-size: 8rem; }
.recipe-hero-info h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin: .8rem 0; }
.recipe-lead { font-size: 1.12rem; color: var(--muted); }

.category-pill {
  display: inline-flex; gap: .35rem; align-items: center;
  background: var(--accent-soft); color: var(--accent-dark);
  font-weight: 800; font-size: .85rem; padding: .35rem .9rem; border-radius: 999px;
}

.fact-boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: .75rem; margin: 1.6rem 0; }
.fact-box {
  display: flex; flex-direction: column; gap: .1rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: .8rem 1rem;
}
.fact-icon { font-size: 1.2rem; height: 1.6rem; display: flex; align-items: center; }
.fact-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.fact-box strong { font-size: 1.05rem; }

.recipe-actions { display: flex; gap: .6rem; flex-wrap: wrap; }

.recipe-body { display: grid; grid-template-columns: 360px 1fr; gap: 3rem; align-items: start; padding-bottom: 3.5rem; }

.ingredients-card {
  position: sticky; top: 100px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem 1.6rem 1.2rem; box-shadow: var(--shadow-sm);
}
.ingredients-card h2 { display: flex; align-items: center; gap: .6rem; font-size: 1.5rem; margin-bottom: .2rem; }
.count-badge { font-family: var(--font-body); font-size: .8rem; font-weight: 800; background: var(--accent); color: #fff; border-radius: 999px; padding: .15rem .6rem; }
.ingredients-card .hint { font-size: .82rem; color: var(--muted); margin-bottom: .9rem; }
.ingredient-list { list-style: none; padding: 0; margin: 0; }
.ingredient-list li { border-bottom: 1px dashed var(--border); }
.ingredient-list li:last-child { border-bottom: 0; }
.ingredient-list label { display: flex; gap: .75rem; align-items: flex-start; padding: .65rem 0; cursor: pointer; }
.ingredient-list input {
  appearance: none; flex-shrink: 0; margin-top: .15rem;
  width: 1.25rem; height: 1.25rem; border: 2px solid var(--border); border-radius: 6px;
  display: grid; place-items: center; cursor: pointer; transition: all .15s;
}
.ingredient-list input:checked { background: var(--olive); border-color: var(--olive); }
.ingredient-list input:checked::after { content: "✓"; color: #fff; font-size: .8rem; font-weight: 800; }
.ingredient-list input:checked + span { color: var(--muted); text-decoration: line-through; }
.ingredient-group { font-weight: 800; color: var(--accent); padding: 1rem 0 .3rem; border-bottom: 0 !important; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }

.steps-col h2 { font-size: 1.8rem; margin-bottom: 1.4rem; }
.step-list { list-style: none; padding: 0; margin: 0; }
.step-list li { display: flex; gap: 1.1rem; margin-bottom: 1.5rem; }
.step-no {
  flex-shrink: 0; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; font-size: 1.1rem;
  background: var(--accent); color: #fff;
  box-shadow: 0 6px 14px -6px rgba(196, 83, 45, .7);
}
.step-list p { margin: .45rem 0 0; font-size: 1.06rem; line-height: 1.7; }
.step-list .step-group { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--accent-dark); margin: 2rem 0 1rem; }

.tips-card { margin-top: 2rem; background: var(--gold-soft); border-left: 4px solid var(--gold); border-radius: var(--radius-sm); padding: 1.3rem 1.5rem; }
.tips-card h3 { font-size: 1.2rem; margin-bottom: .7rem; }
.tips-card ul { margin: 0; padding-left: 1.2rem; }
.tips-card li { margin-bottom: .35rem; line-height: 1.6; }

/* ---------- Panel ---------- */

.panel-page { padding-top: 2rem; padding-bottom: 4rem; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.panel-head h1 { margin: 0; font-size: clamp(1.7rem, 3.5vw, 2.3rem); }

.panel-tabs { display: flex; gap: .4rem; border-bottom: 2px solid var(--border); margin-bottom: 1.8rem; overflow-x: auto; scrollbar-width: none; }
.panel-tabs a { flex-shrink: 0; padding: .7rem 1.1rem; font-weight: 800; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px; }
.panel-tabs a:hover { color: var(--text); }
.panel-tabs a.active { color: var(--accent); border-bottom-color: var(--accent); }

.panel-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.panel-toolbar .search-pill { flex: 1; }

.admin-list { display: flex; flex-direction: column; gap: .7rem; }
.admin-row {
  display: flex; align-items: center; gap: 1rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: .75rem 1rem; transition: box-shadow .15s, border-color .15s;
}
.admin-row:hover { box-shadow: var(--shadow-sm); }
.admin-row.editing { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.admin-thumb { width: 64px; height: 64px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.admin-thumb.placeholder { font-size: 1.8rem; }
.admin-info { flex: 1; min-width: 0; }
.admin-title { font-weight: 800; font-size: 1.05rem; color: var(--text); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.admin-title:hover { color: var(--accent); }
.admin-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; font-size: .82rem; color: var(--muted); margin-top: .2rem; }
.admin-actions { display: flex; gap: .4rem; flex-shrink: 0; }
.mini-pill { background: var(--bg-alt); color: var(--text); padding: .15rem .6rem; border-radius: 999px; font-weight: 700; }
.mini-pill.muted { color: var(--muted); }
.mini-pill.gold { background: var(--gold-soft); color: #9a6514; }

.form-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem 1.7rem; margin-bottom: 1.2rem; box-shadow: var(--shadow-sm);
}
.form-card h2 { font-size: 1.3rem; display: flex; align-items: center; gap: .6rem; margin-bottom: 1.2rem; }
.form-card h2 small { font-family: var(--font-body); font-size: .85rem; font-weight: 600; color: var(--muted); }
.step-chip { width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-dark); font-family: var(--font-body); font-size: .9rem; font-weight: 800; }
.form-hint { font-size: .88rem; color: var(--muted); margin-top: -.6rem; }
.form-hint code { color: var(--accent-dark); background: var(--accent-soft); padding: .05rem .35rem; border-radius: 4px; }
textarea.lined { line-height: 1.8; }
.sticky-card { position: sticky; top: 100px; }
.narrow-card { max-width: 480px; margin-inline: auto; }

.form-page { max-width: 920px; }
.back-link { display: inline-block; color: var(--muted); font-weight: 700; margin-bottom: .8rem; }
.back-link:hover { color: var(--accent); }

.form-actions {
  position: sticky; bottom: 0; z-index: 10;
  display: flex; justify-content: flex-end; gap: .7rem;
  padding: 1rem 0; margin-top: .5rem;
  background: linear-gradient(to top, var(--bg) 70%, transparent);
}

.photo-field { display: flex; gap: 1.2rem; align-items: flex-start; flex-wrap: wrap; }
.photo-preview {
  width: 170px; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0;
  display: grid; place-items: center; font-size: 2.4rem;
  background: var(--bg-alt); border: 2px dashed var(--border);
}
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }

.icon-field { display: flex; align-items: center; gap: .8rem; }
.icon-input { width: 4.2rem; text-align: center; font-size: 1.6rem; padding: .3rem; }
.emoji-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)); gap: .35rem; margin-top: .7rem; }
.emoji-picker button {
  aspect-ratio: 1; font-size: 1.35rem; border-radius: 10px;
  border: 1px solid var(--border); background: var(--surface); cursor: pointer; transition: all .12s;
}
.emoji-picker button:hover { background: var(--accent-soft); transform: scale(1.08); }
.emoji-picker button.selected { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 2px var(--accent); }

/* ---------- Giriş ---------- */

.auth-card {
  max-width: 440px; margin: 3.5rem auto; text-align: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 24px;
  padding: 2.5rem 2.2rem; box-shadow: var(--shadow);
}
.auth-card form { text-align: left; margin-top: 1.5rem; }
.auth-mark { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 1rem; display: grid; place-items: center; font-size: 2.4rem; background: var(--accent-soft); }
.auth-card h1 { font-size: 1.9rem; }

/* ---------- Alt bilgi ---------- */

.site-footer { background: var(--text); color: rgba(255, 255, 255, .7); padding: 2.5rem 0; margin-top: auto; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.footer-brand { font-family: var(--font-display); font-size: 1.3rem; color: #fff; font-weight: 700; margin-bottom: .3rem; }
.site-footer p { margin: 0; }

/* ---------- Duyarlı tasarım ---------- */

@media (max-width: 991px) {
  .hero { padding: 2.5rem 0 3rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .featured-card { transform: none; max-width: 520px; }
  .featured-image { aspect-ratio: 4 / 3.4; }
  .recipe-hero { grid-template-columns: 1fr; gap: 1.8rem; }
  .recipe-body { grid-template-columns: 1fr; gap: 2rem; }
  .ingredients-card, .sticky-card { position: static; }
}

@media (max-width: 767px) {
  .site-header .navbar-collapse { padding: .8rem 0; }
  .admin-row { flex-wrap: wrap; }
  .admin-actions { width: 100%; justify-content: flex-end; }
  .form-card { padding: 1.3rem 1.1rem; }
}

@media (max-width: 575px) {
  .hero-plate span { font-size: 6rem; }
  .search-pill .btn { padding: .55rem 1rem; }
  .section { padding: 2.5rem 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

/* ---------- Yazdırma ---------- */

@media print {
  .site-header, .site-footer, .crumbs, .recipe-actions, .related, .flash, .hint { display: none !important; }
  body { background: #fff; }
  .recipe-hero { grid-template-columns: 220px 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
  .recipe-hero-image { box-shadow: none; }
  .recipe-body { grid-template-columns: 1fr 1.6fr; gap: 1.5rem; }
  .ingredients-card { position: static; box-shadow: none; }
  .step-no { box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
