/* ─── serdark.digital İçerik — Kum & Kağıt paleti ─── */
:root {
  --bg: #F5F1EA; --bg-2: #EFEAE1; --paper: #FFFFFF;
  --ink: #1C1A17; --ink-dim: #5C5850; --ink-mute: #8A857C;
  --sage: #3E7A67; --sage-deep: #2E5F4F; --terra: #B0603C;
  --line: #E4DFD5; --line-strong: #D3CCBE;
  --display: 'Fraunces', Georgia, serif;
  --body: 'Manrope', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); background: var(--bg); color: var(--ink); line-height: 1.7; -webkit-font-smoothing: antialiased; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 2rem; }

/* NAV */
nav { position: sticky; top: 0; z-index: 50; background: rgba(245,241,234,.92); backdrop-filter: blur(10px); border-bottom: 1.5px solid var(--line); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; }
.brand { font-family: var(--display); font-size: 1.25rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.brand em { color: var(--sage); font-style: italic; }
.nav-links { display: flex; gap: 1.6rem; list-style: none; font-size: .88rem; font-weight: 600; }
.nav-links a { color: var(--ink-dim); text-decoration: none; transition: color .3s; }
.nav-links a:hover, .nav-links a.active { color: var(--sage-deep); }

/* HUB HEADER */
.hub-head { padding: 4.5rem 0 2.5rem; }
.kicker { font-family: var(--mono); font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: var(--terra); margin-bottom: 1rem; }
.hub-head h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.12; }
.hub-head h1 em { color: var(--sage); font-style: italic; }
.hub-head p { max-width: 620px; color: var(--ink-dim); margin-top: 1.1rem; font-size: 1.02rem; }

/* SEARCH + FILTER */
.hub-tools { padding: .5rem 0 1.5rem; }
.search { width: 100%; max-width: 480px; padding: .85rem 1.2rem; font-family: var(--body); font-size: .95rem; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--paper); color: var(--ink); outline: none; }
.search:focus { border-color: var(--sage); }
.cat-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.cat-nav a, .cat-nav button { font-family: var(--body); font-size: .8rem; font-weight: 600; padding: .45rem 1rem; border-radius: 999px; border: 1.5px solid var(--line-strong); background: transparent; color: var(--ink-dim); text-decoration: none; cursor: pointer; transition: all .25s; }
.cat-nav a:hover { border-color: var(--sage); color: var(--sage-deep); }

/* ARTICLE LISTS */
.cat-section { padding: 2.2rem 0 .8rem; border-top: 1.5px solid var(--line); }
.cat-section h2 { font-family: var(--display); font-weight: 500; font-size: 1.55rem; margin-bottom: .35rem; }
.cat-section .cat-count { font-family: var(--mono); font-size: .7rem; color: var(--ink-mute); letter-spacing: .15em; text-transform: uppercase; margin-bottom: 1.2rem; }
.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: .9rem; padding-bottom: 1.4rem; }
.art-card { display: block; background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px; padding: 1.1rem 1.25rem; text-decoration: none; color: var(--ink); transition: border-color .25s, transform .25s; }
.art-card:hover { border-color: var(--sage); transform: translateY(-2px); }
.art-card h3 { font-family: var(--display); font-weight: 500; font-size: 1.02rem; line-height: 1.35; }
.art-card span { display: inline-block; margin-top: .55rem; font-family: var(--mono); font-size: .68rem; color: var(--sage); letter-spacing: .12em; text-transform: uppercase; }

/* ARTICLE PAGE */
.crumbs { font-size: .8rem; color: var(--ink-mute); padding: 2.2rem 0 0; }
.crumbs a { color: var(--sage-deep); text-decoration: none; }
article { max-width: 760px; margin: 0 auto; padding: 1.5rem 0 3rem; }
article header h1 { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 4.5vw, 2.7rem); line-height: 1.15; margin: .6rem 0 1rem; }
.art-meta { font-family: var(--mono); font-size: .72rem; color: var(--ink-mute); letter-spacing: .14em; text-transform: uppercase; display: flex; gap: 1.4rem; flex-wrap: wrap; margin-bottom: 2rem; padding-bottom: 1.4rem; border-bottom: 1.5px solid var(--line); }
.art-meta .cat { color: var(--terra); }
article .lead { font-size: 1.13rem; color: var(--ink-dim); margin-bottom: 1.8rem; }
article h2 { font-family: var(--display); font-weight: 500; font-size: 1.5rem; margin: 2.4rem 0 .9rem; line-height: 1.25; }
article h3 { font-family: var(--display); font-weight: 500; font-size: 1.15rem; margin: 1.8rem 0 .7rem; }
article p { margin-bottom: 1.1rem; }
article ul, article ol { margin: 0 0 1.2rem 1.4rem; }
article li { margin-bottom: .45rem; }
article strong { font-weight: 700; }
article a { color: var(--sage-deep); }
article blockquote { border-left: 3px solid var(--sage); padding: .6rem 0 .6rem 1.2rem; margin: 1.5rem 0; color: var(--ink-dim); font-style: italic; background: var(--bg-2); border-radius: 0 10px 10px 0; }
.tip { background: var(--bg-2); border: 1.5px solid var(--line-strong); border-radius: 14px; padding: 1.1rem 1.3rem; margin: 1.6rem 0; }
.tip .tip-label { font-family: var(--mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sage); margin-bottom: .4rem; }

/* FAQ */
.faq { margin-top: 2.6rem; border-top: 1.5px solid var(--line); padding-top: 1.6rem; }
.faq h2 { margin-top: 0; }
.faq details { border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); margin-bottom: .7rem; padding: .9rem 1.2rem; }
.faq summary { font-weight: 700; cursor: pointer; font-size: .97rem; }
.faq details p { margin: .7rem 0 0; color: var(--ink-dim); }

/* RELATED + CTA */
.related { margin-top: 2.8rem; border-top: 1.5px solid var(--line); padding-top: 1.6rem; }
.related h2 { font-family: var(--display); font-weight: 500; font-size: 1.3rem; margin-bottom: 1rem; }
.related ul { list-style: none; margin: 0; }
.related li { margin-bottom: .6rem; }
.related a { color: var(--sage-deep); text-decoration: none; font-weight: 600; }
.related a:hover { text-decoration: underline; }
/* Creative AI Studio — ölçülü tanıtım kartı */
.ai-note { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; margin-top: 2.2rem; padding: 1.15rem 1.35rem; background: var(--bg-2); border: 1.5px solid var(--line-strong); border-left: 3px solid var(--sage); border-radius: 14px; }
.ai-note .ai-note-body { flex: 1 1 300px; }
.ai-note .ai-note-label { font-family: var(--mono); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sage); margin-bottom: .3rem; }
.ai-note p { margin: 0; font-size: .93rem; color: var(--ink-dim); }
.ai-note p strong { color: var(--ink); }
.ai-note a.ai-note-link { flex: 0 0 auto; font-size: .85rem; font-weight: 700; color: var(--sage-deep); text-decoration: none; white-space: nowrap; border: 1.5px solid var(--sage); border-radius: 999px; padding: .5rem 1.1rem; transition: background .25s, color .25s; }
.ai-note a.ai-note-link:hover { background: var(--sage); color: #fff; }

.cta { margin-top: 2.8rem; background: #232B26; color: #EDE9E0; border-radius: 18px; padding: 2rem; }
.cta .kicker { color: #8FB8A8; }
.cta h2 { font-family: var(--display); font-weight: 400; color: #fff; margin: 0 0 .6rem; font-size: 1.5rem; }
.cta p { color: #C9C4B8; margin-bottom: 1.2rem; }
.cta a.btn { display: inline-block; background: #EDE9E0; color: #1C1A17; font-weight: 700; font-size: .9rem; padding: .75rem 1.5rem; border-radius: 999px; text-decoration: none; }

/* FOOTER */
footer { padding: 1.6rem 0; border-top: 1.5px solid var(--line); background: var(--bg-2); margin-top: 2rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; color: var(--ink-mute); }
@media (max-width: 640px) {
  .container { padding: 0 1.2rem; }
  .nav-links { gap: 1rem; font-size: .8rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
