
/*
Theme Name: Balgat Diyetisyen Rehberi
Theme URI: https://balgatdiyetisyen.com.tr/
Author: OpenAI
Description: Balgat ve Çankaya odaklı bağımsız beslenme rehberi için hafif, görselli WordPress teması.
Version: 1.0.0
Text Domain: balgat-diyetisyen
*/
:root{
 --bg:#fbfcf9;--card:#fff;--ink:#17312a;--muted:#607069;--accent:#2f7d5a;--accent2:#e9f4ec;--line:#dce7df;
 --shadow:0 12px 36px rgba(28,62,48,.08);--radius:22px;--max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--ink);line-height:1.72}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto;display:block}
.wrap{width:min(var(--max),calc(100% - 36px));margin:auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(251,252,249,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:17px 0}
.brand{display:flex;align-items:center;gap:12px;font-weight:800;color:var(--ink)}
.brand-mark{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(145deg,#2f7d5a,#79ad78);color:#fff;font-weight:900}
.brand small{display:block;font-weight:500;color:var(--muted);font-size:12px}
.nav{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.nav a{font-size:14px;font-weight:700;color:var(--ink)}
.hero{padding:42px 0 30px}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:34px;align-items:center}
.eyebrow{display:inline-flex;padding:7px 12px;border-radius:999px;background:var(--accent2);font-weight:800;font-size:13px;color:var(--accent);margin-bottom:14px}
h1{font-size:clamp(38px,6vw,72px);line-height:1.02;letter-spacing:-.04em;margin:0 0 18px}
h2{font-size:clamp(27px,4vw,42px);line-height:1.14;letter-spacing:-.025em;margin:38px 0 14px}
h3{font-size:21px;line-height:1.25;margin:24px 0 10px}
.lead{font-size:19px;color:var(--muted);max-width:740px}
.hero-photo{min-height:470px;border-radius:34px;overflow:hidden;box-shadow:var(--shadow);position:relative;background:#dfe8df}
.hero-photo img{width:100%;height:100%;min-height:470px;object-fit:cover}
.hero-photo:after{content:"";position:absolute;inset:auto 18px 18px 18px;height:70px;border-radius:20px;background:rgba(255,255,255,.88);backdrop-filter:blur(6px)}
.hero-note{position:absolute;z-index:2;left:38px;right:38px;bottom:37px;font-weight:800}
.badges{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}
.badge{background:#fff;border:1px solid var(--line);padding:9px 13px;border-radius:999px;font-size:13px;font-weight:700}
.section{padding:54px 0}
.section.soft{background:#f0f6f1;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:0 8px 28px rgba(28,62,48,.04)}
.card h3{margin-top:0}
.card p{color:var(--muted)}
.card .arrow{display:inline-flex;margin-top:8px;font-weight:800}
.photo-strip{display:grid;grid-template-columns:1.15fr .85fr .85fr;gap:14px;margin-top:26px}
.photo-strip img{width:100%;height:260px;object-fit:cover;border-radius:22px}
.photo-strip img:first-child{height:360px}
.content-shell{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:34px;padding:38px 0 64px}
.article{background:#fff;border:1px solid var(--line);border-radius:28px;padding:clamp(24px,4vw,52px);box-shadow:var(--shadow)}
.article h1{font-size:clamp(36px,5vw,58px)}
.article p,.article li{font-size:17px}
.article .intro{font-size:20px;color:var(--muted)}
.breadcrumb{font-size:13px;color:var(--muted);margin-bottom:20px}
.sidebar{display:flex;flex-direction:column;gap:16px}
.sidebox{background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px}
.sidebox h3{margin-top:0;font-size:18px}
.sidebox ul{margin:0;padding-left:19px}
.notice{background:#f6f8ef;border-left:4px solid #9aab62;padding:16px 18px;border-radius:14px;margin:26px 0}
.site-footer{background:#17312a;color:#dce9e2;padding:50px 0 32px}
.footer-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:28px}
.site-footer a{color:#fff}
.site-footer p{color:#bcd0c5}
.copyright{border-top:1px solid rgba(255,255,255,.12);margin-top:34px;padding-top:20px;font-size:13px;color:#a8beb2}
@media(max-width:900px){
 .hero-grid,.content-shell,.footer-grid{grid-template-columns:1fr}
 .cards{grid-template-columns:repeat(2,1fr)}
 .nav{display:none}
 .hero-photo,.hero-photo img{min-height:340px}
 .photo-strip{grid-template-columns:1fr 1fr}
 .photo-strip img:first-child{grid-column:1/-1;height:300px}
}
@media(max-width:620px){
 .cards,.photo-strip{grid-template-columns:1fr}
 .photo-strip img,.photo-strip img:first-child{grid-column:auto;height:230px}
 .wrap{width:min(var(--max),calc(100% - 24px))}
 .topbar{padding:12px 0}
 h1{font-size:42px}
}
