/* Ece Yalçın — sakin, doğal tonlar (adaçayı yeşili, bej, toprak) */
:root {
    --bg: #F7F3EC;
    --surface: #FFFDF9;
    --ink: #2E3830;
    --muted: #6A7168;
    --line: #E4DCCF;
    --sage: #6E8B70;
    --sage-dark: #4C6650;
    --sage-soft: #E2EADD;
    --clay: #B5785A;
    --clay-soft: #F2E4DA;
    --radius: 18px;
    --shadow: 0 1px 2px rgba(46, 56, 48, .05), 0 8px 24px rgba(46, 56, 48, .06);
    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --container: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 17px/1.7 var(--sans);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage-dark); text-underline-offset: 3px; }
a:hover { color: var(--clay); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.15rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 2px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .4em;
    background: var(--sage-dark); color: #fff; text-decoration: none;
    padding: .85em 1.5em; border-radius: 999px; border: 0; cursor: pointer;
    font: 600 1rem/1 var(--sans); transition: background .2s, transform .2s;
}
.btn:hover { background: var(--ink); color: #fff; transform: translateY(-1px); }
.btn-small { padding: .6em 1.1em; font-size: .92rem; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--sage-soft); color: var(--ink); }
.btn-light { background: var(--surface); color: var(--sage-dark); }
.btn-light:hover { background: var(--clay-soft); color: var(--ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 243, 236, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--ink); }
.brand-title { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: .98rem; }
.site-nav a:not(.btn):hover { color: var(--clay); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; content: ""; }
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { left: 0; top: -7px; }
.nav-toggle-bar::after { left: 0; top: 7px; }
.nav-open .nav-toggle-bar { background: transparent; }
.nav-open .nav-toggle-bar::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle-bar::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; }
    .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
    .site-nav .btn { margin-top: 16px; }
    .nav-open .site-nav { display: flex; }
}

/* Sections */
.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { display: inline-block; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--clay); font-weight: 600; margin-bottom: 14px; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* Hero */
.hero { padding: 72px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--sage-dark); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-visual {
    aspect-ratio: 4 / 5; border-radius: 200px 200px var(--radius) var(--radius);
    background: radial-gradient(circle at 30% 25%, var(--clay-soft), transparent 55%), linear-gradient(160deg, var(--sage-soft), #D5DFCF);
    overflow: hidden; position: relative;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 70%; }
.hero-visual .leaf { position: absolute; inset: auto 12% 12% auto; width: 46%; opacity: .55; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.hero-facts li::before { content: "•"; color: var(--sage); margin-right: 8px; }

@media (max-width: 860px) {
    .hero { padding: 40px 0 56px; }
    .hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .hero-visual { max-width: 360px; width: 100%; margin: 0 auto; order: -1; aspect-ratio: 1 / 1; border-radius: var(--radius); }
    .hero-visual.no-photo { display: none; }
    .section { padding: 56px 0; }
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--sage-soft); color: var(--sage-dark); display: grid; place-items: center; margin-bottom: 18px; }
.card-icon svg { width: 24px; height: 24px; }
.card .meta { font-size: .9rem; color: var(--clay); font-weight: 600; margin-bottom: .6em; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.chips li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .45em 1em; font-size: .95rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps li { counter-increment: step; position: relative; padding-left: 58px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--clay-soft); color: var(--clay); font-weight: 700; display: grid; place-items: center; font-family: var(--serif); }
.steps strong { display: block; margin-bottom: 2px; }

/* Page header */
.page-hero { padding: 64px 0 24px; }
.page-hero .lead { max-width: 640px; }

/* Prose */
.prose { font-size: 1.08rem; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.6em 0; padding: .4em 0 .4em 1.3em; border-left: 3px solid var(--sage); font-family: var(--serif); font-size: 1.2rem; color: var(--sage-dark); }
.prose img, .prose figure { margin: 1.8em 0; border-radius: 12px; }
.prose figcaption { text-align: center; font-size: .88rem; color: var(--muted); margin-top: .6em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose a { color: var(--sage-dark); }
.kg-width-wide { width: min(1040px, 100vw - 40px); margin-left: 50%; transform: translateX(-50%); }
.kg-width-full { width: 100vw; margin-left: 50%; transform: translateX(-50%); border-radius: 0; }
.kg-width-full img { border-radius: 0; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--sage); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.post-card-image { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card-placeholder { background: linear-gradient(150deg, var(--sage-soft), var(--clay-soft)); }
.post-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card-title { font-size: 1.3rem; margin: 6px 0 10px; }
.post-card-excerpt { color: var(--muted); font-size: .98rem; flex: 1; }
.post-card-meta { font-size: .85rem; color: var(--muted); }
.tag { display: inline-block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--clay); font-weight: 700; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tag-list a { text-decoration: none; background: var(--surface); border: 1px solid var(--line); color: var(--ink); padding: .35em .95em; border-radius: 999px; font-size: .9rem; }
.tag-list a:hover, .tag-list a.active { background: var(--sage-dark); border-color: var(--sage-dark); color: #fff; }

.pagination { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; color: var(--muted); }
.pagination a { text-decoration: none; }

.article-header { padding: 56px 0 28px; text-align: center; }
.article-header .post-card-meta { display: block; margin-top: 12px; }
.article-image { margin: 0 auto 44px; max-width: 1040px; padding: 0 20px; }
.article-image img { width: 100%; border-radius: var(--radius); }
.article-footer { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 28px; }
.author-box { display: flex; gap: 18px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.author-box .avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--sage-soft); flex-shrink: 0; }
.author-box p { margin: 0; }

/* Form embed */
.form-embed { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.form-embed iframe { display: block; width: 100%; height: 2400px; border: 0; }
.notice { background: var(--clay-soft); border-radius: 14px; padding: 18px 22px; font-size: .98rem; }
.notice p:last-child { margin: 0; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; }
.contact-list strong { min-width: 110px; }
.contact-list.card { padding: 28px; }
.page-hero + .section-tight { padding-top: 16px; }

/* CTA */
.cta-band { background: var(--sage-dark); color: #fff; padding: 56px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { margin: 0; opacity: .88; max-width: 560px; }

/* Footer */
.site-footer { padding: 56px 0 28px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-brand { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; margin-bottom: .3em; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--ink); text-decoration: none; }
.footer-links a:hover { color: var(--clay); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 22px; }
.footer-bottom a { color: var(--muted); }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }

/* Cookie banner */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 560px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(46, 56, 48, .18); padding: 20px 22px; font-size: .93rem; }
.cookie-banner p { margin-bottom: 14px; }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* Error */
.error-page { text-align: center; padding: 120px 0; }
