/*
Theme Name: Cumhur Kumaş
Theme URI: https://ckumas.com
Author: Cumhur Kumaş
Description: ckumas.com için özel olarak tasarlanmış kişisel marka teması. "Dünyam" bento-grid mozaik ana sayfa ile tematik/konu bazlı bir kişisel site sunar.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ckumas
*/

:root{
  --bg:#F7F5F2;
  --ink:#2C2C2C;
  --muted:#6B6862;
  --faint:#A29C92;
  --chip-bg:#EFECE6;
  --card-bg:#EDEAE4;
  --header-navmuted:#8A8680;
  --gold:#B39770;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:'Space Grotesk',system-ui,-apple-system,'Segoe UI',sans-serif;
  min-height:100vh;
}
a{text-decoration:none;color:inherit;}
img{max-width:100%;display:block;}

.wrap{max-width:1280px;margin:0 auto;padding-left:56px;padding-right:56px;}

/* reading progress */
.ck-progress-track{position:fixed;top:0;left:0;right:0;height:3px;background:transparent;z-index:100;}
.ck-progress-bar{height:100%;width:0%;background:linear-gradient(90deg,#E8622C,#B8912F,#0E9DAE,#4338CA);transition:width .08s linear;}

/* header */
.ck-header{display:flex;align-items:center;justify-content:space-between;padding:30px 0;}
.ck-logo{display:flex;align-items:center;gap:11px;font-weight:600;font-size:17px;letter-spacing:-0.2px;}
.ck-logo-dot{width:10px;height:10px;border-radius:50%;background:var(--ink);display:inline-block;}
.ck-nav{display:flex;gap:34px;font-size:14px;font-weight:500;}
.ck-nav a{color:var(--header-navmuted);transition:color .2s;}
.ck-nav a.is-active,.ck-nav a:hover{color:var(--ink);}

/* hero */
.ck-hero{padding:70px 0 40px;display:grid;grid-template-columns:1.05fr 0.95fr;gap:72px;align-items:center;}
.ck-eyebrow{font-size:12px;font-weight:600;letter-spacing:2px;text-transform:uppercase;color:var(--gold);margin:0 0 24px;}
.ck-name{font-weight:600;font-size:60px;line-height:1.04;letter-spacing:-1.5px;margin:0 0 22px;}
.ck-role{font-size:17px;font-weight:500;color:var(--muted);margin:0 0 24px;}
.ck-lede{font-size:18px;line-height:1.7;color:#4A4741;max-width:440px;margin:0 0 32px;font-family:system-ui,-apple-system,sans-serif;}
.ck-tags{display:flex;gap:10px;flex-wrap:wrap;}
.ck-tag{font-size:13px;font-weight:500;color:var(--muted);padding:8px 14px;background:var(--chip-bg);border-radius:100px;}

/* generic card */
.ck-card{
  --cat:#2C2C2C;--glow:rgba(44,44,44,.3);
  display:block;padding:24px;border-radius:14px;border-left:2px solid transparent;
  transition:box-shadow .35s ease,background .35s ease,border-color .35s ease,transform .18s ease;
  will-change:transform;height:100%;
}
.ck-card:hover{background:#FFFFFF;box-shadow:0 24px 55px -20px var(--glow);border-left-color:var(--cat);}
.ck-card:hover .ck-go{color:var(--cat);gap:12px;}
.ck-cat-row{display:flex;align-items:center;gap:8px;margin-bottom:13px;}
.ck-dot{width:7px;height:7px;border-radius:50%;background:var(--cat);}
.ck-cat-label{font-size:11px;font-weight:600;letter-spacing:1.5px;text-transform:uppercase;color:var(--cat);}
.ck-card h3{font-weight:600;letter-spacing:-0.4px;margin:0 0 10px;color:var(--ink);}
.ck-card p{font-size:15px;line-height:1.6;color:var(--muted);margin:0 0 16px;font-family:system-ui,-apple-system,sans-serif;}
.ck-meta{font-size:13px;color:var(--faint);}
.ck-go{font-size:14px;font-weight:600;color:var(--ink);display:inline-flex;align-items:center;gap:6px;transition:gap .2s ease,color .2s ease;}
.ck-thumb{border-radius:8px;background:var(--card-bg);background-image:repeating-linear-gradient(135deg,#E6E2DB 0 10px,#EDEAE4 10px 20px);}

/* featured card (hero right) */
.ck-featured .ck-thumb{height:200px;display:flex;align-items:flex-end;padding:14px;margin-bottom:22px;}
.ck-featured .ck-thumb span{font-family:monospace;font-size:11px;letter-spacing:1px;color:#A29C92;text-transform:uppercase;}
.ck-featured h3{font-size:26px;line-height:1.15;}
.ck-featured .ck-row{display:flex;align-items:center;justify-content:space-between;}

/* bento */
.ck-bento-section{padding:50px 0 90px;}
.ck-bento-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:44px;flex-wrap:wrap;gap:12px;}
.ck-bento-head h2{font-weight:600;font-size:30px;letter-spacing:-0.7px;margin:0;}
.ck-bento-head span{font-size:13px;color:var(--faint);}
.ck-bento{display:grid;grid-template-columns:repeat(6,1fr);column-gap:48px;row-gap:56px;}
.ck-span-4{grid-column:span 4;}
.ck-span-2{grid-column:span 2;}
.ck-span-6{grid-column:span 6;}
.ck-bento .ck-card.horizontal{display:flex;gap:28px;align-items:center;}
.ck-bento .ck-card.horizontal .ck-thumb{width:120px;height:120px;flex-shrink:0;}
.ck-bento .ck-card.banner{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:30px 28px;flex-wrap:wrap;}
.ck-bento .ck-card.banner .ck-go{white-space:nowrap;}

/* footer */
.ck-footer{padding:36px 0 48px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;}
.ck-footer .ck-copy{font-size:14px;color:var(--faint);}
.ck-footer .ck-links{display:flex;gap:26px;font-size:14px;}
.ck-footer .ck-links a{color:var(--header-navmuted);transition:color .2s;}
.ck-footer .ck-links a:hover{color:var(--ink);}

/* archive / single */
.ck-page-head{padding:60px 0 20px;}
.ck-page-head .ck-cat-label{font-size:13px;}
.ck-page-head h1{font-weight:600;font-size:44px;letter-spacing:-1px;margin:16px 0 12px;}
.ck-page-head p{color:var(--muted);font-family:system-ui,-apple-system,sans-serif;max-width:640px;}
.ck-list{padding:20px 0 90px;display:grid;grid-template-columns:repeat(2,1fr);gap:32px;}
.ck-single{padding:20px 0 100px;max-width:760px;}
.ck-single .entry-content{font-size:18px;line-height:1.8;color:#3a3733;font-family:system-ui,-apple-system,sans-serif;}
.ck-single .entry-content p{margin:0 0 24px;}
.ck-single .entry-content h2{font-weight:600;margin:48px 0 18px;letter-spacing:-0.4px;}
.ck-single .entry-content img{border-radius:10px;margin:32px 0;}
.ck-empty{padding:40px;text-align:center;color:var(--faint);border-radius:14px;background:var(--chip-bg);font-family:system-ui,-apple-system,sans-serif;}

/* reveal on scroll */
[data-reveal]{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease;}
[data-reveal].is-visible{opacity:1;transform:none;}

@media (max-width:900px){
  .ck-hero{grid-template-columns:1fr;gap:40px;}
  .ck-bento{grid-template-columns:1fr;}
  .ck-span-2,.ck-span-4,.ck-span-6{grid-column:1/-1;}
  .wrap{padding-left:24px;padding-right:24px;}
  .ck-name{font-size:42px;}
  .ck-header{padding:22px 0;}
  .ck-list{grid-template-columns:1fr;}
  .ck-bento .ck-card.horizontal{flex-direction:column;align-items:flex-start;}
}
@media (prefers-reduced-motion:reduce){
  [data-reveal]{opacity:1!important;transform:none!important;}
  html{scroll-behavior:auto;}
}
