/* Goldenstone Dev — stüdyo teması: turuncu + mor, koyu zemin. Projeler kendi --ac rengini getirir. */
:root {
  --bg: #0a0a12;
  --bg2: #10101b;
  --panel: #151522;
  --panel2: #1b1b2b;
  --line: #262638;
  --text: #ecebf5;
  --dim: #9a99b3;
  --faint: #6b6a85;
  --orange: #f97316;
  --purple: #a855f7;
  --ok: #34d399;
  --doing: #f59e0b;
  --wait: #a855f7;
  --plan: #7c7b98;
  --park: #64748b;
  --rej: #f43f5e;
  --ret: #94a3b8;
  --chg: #38bdf8;
  --head: "Chakra Petch", "Segoe UI", sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
  --r: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.6 var(--body);
  background-image:
    radial-gradient(ellipse 70% 40% at 15% -10%, rgba(249,115,22,.10), transparent 70%),
    radial-gradient(ellipse 60% 40% at 90% -5%, rgba(168,85,247,.12), transparent 70%);
  background-repeat: no-repeat;
  min-height: 100vh; display: flex; flex-direction: column;
}
body.noscroll { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
main { flex: 1; padding-bottom: 48px; }
.muted { color: var(--faint); font-size: 13px; }
h1, h2, h3, h4, h5 { font-family: var(--head); letter-spacing: .01em; margin: 0; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(10,10,18,.82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 50%; }
.brand span { font-family: var(--head); font-size: 17px; letter-spacing: .08em; }
.brand b { font-weight: 700; }
.brand i { font-style: normal; color: var(--orange); margin-left: 6px; padding: 1px 7px; border: 1px solid rgba(249,115,22,.5); border-radius: 6px; font-size: 13px; }
.head-links { display: flex; gap: 18px; }
.head-links a { text-decoration: none; color: var(--dim); font-size: 14px; }
.head-links a:hover { color: var(--text); }
.site-foot { border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; padding: 22px 0; }

/* Ana sayfa */
.intro { padding: 44px 0 26px; }
.intro h1 { font-size: 40px; background: linear-gradient(90deg, var(--orange), var(--purple)); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.intro p { color: var(--dim); max-width: 640px; margin: 8px 0 0; font-size: 16px; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.pcard { display: flex; flex-direction: column; text-decoration: none; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; }
.pcard:hover { transform: translateY(-3px); border-color: var(--ac); box-shadow: 0 12px 40px -12px color-mix(in srgb, var(--ac) 45%, transparent); }
.pcard-img { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pcard:hover .pcard-img img { transform: scale(1.04); }
.pcard-img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, var(--ac), var(--ac2)); }
.pcard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; }
.pcard-top { display: flex; justify-content: space-between; align-items: center; }
.pcard h2 { font-size: 26px; }
.pcard p { margin: 0; color: var(--dim); }
.stage { font: 600 12px var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--ac); border: 1px solid color-mix(in srgb, var(--ac) 50%, transparent); padding: 2px 9px; border-radius: 999px; }
.now { background: var(--bg2); border-left: 3px solid var(--ac); padding: 8px 12px; border-radius: 6px; font-size: 14px; }
.now span, .hero-now span { display: block; font: 600 11px var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--ac); }
.counts { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--dim); }
.cnt { display: inline-flex; align-items: center; gap: 5px; }
.cnt svg, .legend svg { width: 14px; height: 14px; }

.block { margin-top: 48px; }
.sec-title { font-size: 20px; margin: 36px 0 14px; display: flex; align-items: baseline; gap: 10px; }
.sec-title small { font: 500 13px var(--body); color: var(--faint); }

/* Tek proje varken kart geniş ve yatay */
@media (min-width: 861px) {
  .pgrid.solo { grid-template-columns: 1fr; }
  .pgrid.solo .pcard { flex-direction: row; }
  .pgrid.solo .pcard-img { flex: 0 0 58%; aspect-ratio: auto; min-height: 340px; }
  .pgrid.solo .pcard-img::after { inset: 0 0 0 auto; width: 3px; height: auto; background: linear-gradient(180deg, var(--ac), var(--ac2)); }
  .pgrid.solo .pcard-body { padding: 24px 26px; justify-content: center; }
  .pgrid.solo .pcard h2 { font-size: 34px; }
}

/* Akış */
.feed { display: flex; flex-direction: column; gap: 12px; }
.fitem { display: grid; grid-template-columns: 110px 1fr; gap: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.fdate { font: 600 13px var(--head); color: var(--dim); padding-top: 2px; }
.fbody h4 { font-size: 17px; margin: 2px 0 4px; }
.fbody p { margin: 0; color: var(--dim); }
.ftag { display: inline-block; font: 600 11px var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--ac); text-decoration: none; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.thumbs img { width: 150px; height: 88px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); cursor: zoom-in; transition: border-color .2s, transform .2s; }
.thumbs img:hover { border-color: var(--ac); transform: scale(1.03); }

/* Proje hero */
.hero { position: relative; margin: 20px 0 0; border-radius: 18px; overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; border: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,10,18,.15) 0%, rgba(10,10,18,.55) 45%, rgba(10,10,18,.96) 100%); }
.hero-in { position: relative; z-index: 2; padding: 28px; width: 100%; }
.back { position: absolute; z-index: 3; top: 16px; left: 18px; color: var(--text); text-decoration: none; font-size: 14px; background: rgba(10,10,18,.6); border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; backdrop-filter: blur(6px); }
.back:hover { border-color: var(--ac); }
.hero h1 { font-size: 56px; line-height: 1; text-shadow: 0 2px 30px rgba(0,0,0,.6); }
.hero h1::after { content: ""; display: block; width: 90px; height: 4px; margin-top: 12px; border-radius: 2px; background: linear-gradient(90deg, var(--ac), var(--ac2)); }
.tagline { font-size: 18px; max-width: 720px; margin: 12px 0 18px; color: #d8d7e6; }
.track { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0 0 16px; }
.track li { font: 600 12px var(--head); letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; background: rgba(10,10,18,.72); color: #77768f; clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%, 8px 50%); }
.track li:first-child { clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%); }
.track li.past { color: #c9c8da; background: rgba(40,40,58,.9); }
.track li.cur { color: #0a0a12; background: var(--ac); }
.hero-now { max-width: 720px; background: rgba(10,10,18,.7); border: 1px solid var(--line); border-left: 3px solid var(--ac); padding: 10px 14px; border-radius: 8px; }
.hero-meta { margin-top: 12px; color: var(--faint); font-size: 13px; }

/* Sekmeler */
.tabs { position: sticky; top: 58px; z-index: 10; display: flex; gap: 4px; overflow-x: auto; margin: 18px 0 8px; padding: 6px; background: rgba(21,21,34,.92); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 12px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; text-decoration: none; color: var(--dim); font: 600 14px var(--head); letter-spacing: .03em; padding: 8px 14px; border-radius: 8px; display: inline-flex; align-items: center; gap: 7px; }
.tabs a:hover { color: var(--text); background: var(--panel2); }
.tabs a.on { color: var(--text); background: var(--panel2); box-shadow: inset 0 -2px 0 var(--ac); }
.tabs b { font: 600 11px var(--body); background: var(--line); color: var(--dim); padding: 1px 7px; border-radius: 999px; }
.tabs a.on b { background: var(--ac); color: #0a0a12; }
.note { color: var(--faint); font-size: 14px; margin: 18px 0 10px; }

/* Genel bakış */
.ov { display: grid; grid-template-columns: 1fr 320px; gap: 28px; margin-top: 22px; }
.lead { font-size: 16px; color: #d6d5e4; margin: 0 0 14px; }
.lead b { color: var(--text); }
.hook { margin: 18px 0 0; padding: 16px 18px; background: linear-gradient(135deg, color-mix(in srgb, var(--ac) 14%, var(--panel)), var(--panel)); border: 1px solid color-mix(in srgb, var(--ac) 40%, var(--line)); border-radius: var(--r); font-size: 16px; }
.hook span { display: block; font: 700 12px var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--ac); margin-bottom: 4px; }
.facts { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 6px 16px; }
.facts div { padding: 9px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border: 0; }
.facts dt { font: 600 11px var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.facts dd { margin: 0; }
.refs { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.refs h6 { width: 100%; margin: 0 0 2px; font: 600 11px var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.refs span { font-size: 13px; padding: 3px 10px; border-radius: 999px; background: var(--panel2); border: 1px solid var(--line); color: var(--dim); }
.minis { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.mini { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; border-top: 2px solid var(--ac); }
.mini h5 { font-size: 16px; margin-bottom: 4px; }
.mini p { margin: 0; color: var(--dim); font-size: 14px; }

/* Yol haritası */
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; margin-bottom: 8px; }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.st-ok { color: var(--ok); } .st-doing { color: var(--doing); } .st-wait { color: var(--wait); } .st-plan { color: var(--plan); } .st-park { color: var(--park); }
.rgrid { columns: 3 320px; column-gap: 14px; margin-top: 16px; }
.rgroup { break-inside: avoid; margin-bottom: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.rgroup h4 { font-size: 17px; margin-bottom: 8px; }
.rgroup ul { list-style: none; padding: 0; margin: 0; }
.rgroup li { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: start; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.rgroup li:last-child { border: 0; }
.rgroup li i { display: flex; padding-top: 3px; }
.rgroup li svg { width: 16px; height: 16px; }
.rgroup li span { color: var(--text); }
.rgroup li.st-plan span { color: var(--dim); }
.rgroup li.st-doing span, .rgroup li.st-wait span { font-weight: 600; }
.rgroup time { font-size: 12px; color: var(--faint); white-space: nowrap; padding-top: 2px; }

/* Karar defteri */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { font: 600 13px var(--head); letter-spacing: .03em; color: var(--dim); background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; cursor: pointer; }
.chip b { font: 600 11px var(--body); margin-left: 4px; opacity: .8; }
.chip:hover { color: var(--text); }
.chip.on { color: #0a0a12; background: var(--vc, var(--text)); border-color: transparent; }
.v-approved { --vc: var(--ok); } .v-rejected { --vc: var(--rej); } .v-retired { --vc: var(--ret); } .v-changed { --vc: var(--chg); } .v-all { --vc: var(--orange); }
.declist { display: flex; flex-direction: column; }
.dec { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.dec[hidden] { display: none; }
.dec-rail { position: relative; display: flex; justify-content: center; }
.dec-rail::before { content: ""; position: absolute; top: 0; bottom: 0; width: 2px; background: var(--line); }
.dec-rail .dot { position: relative; margin-top: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 3px solid var(--vc); box-shadow: 0 0 12px color-mix(in srgb, var(--vc) 50%, transparent); }
.dec-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; margin-bottom: 12px; border-left: 3px solid var(--vc); }
.dec-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.stamp { font: 700 11px var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--vc); border: 1.5px solid var(--vc); padding: 1px 8px; border-radius: 4px; transform: rotate(-2deg); }
.dec h4 { font-size: 18px; margin: 8px 0 4px; }
.dec p { margin: 0; color: var(--dim); }
.v-rejected h4 { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--rej) 60%, transparent); text-decoration-thickness: 2px; }
.lesson { margin-top: 10px !important; padding: 8px 12px; background: var(--bg2); border-radius: 8px; color: var(--text) !important; font-size: 14px; }
.lesson span { font: 700 11px var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-right: 8px; }
.rejlist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.rejlist li { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font-size: 14px; }
.rejlist b { display: block; font-weight: 600; text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--rej) 60%, transparent); }
.rejlist span { color: var(--faint); font-size: 13px; }
.refs.parked span { border-style: dashed; }

/* Videolar (YouTube) */
.feat { margin: 22px auto 0; max-width: 900px; }
.vids { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.vid { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.yt { position: relative; aspect-ratio: 16/9; background: #000; cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s; }
.yt:hover img { opacity: 1; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 68px; height: 48px; border-radius: 12px; background: var(--ac, var(--orange)); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 24px rgba(0,0,0,.5); transition: transform .2s; }
.yt-play svg { width: 26px; height: 26px; }
.yt:hover .yt-play { transform: translate(-50%, -50%) scale(1.08); }
.vid figcaption { padding: 10px 14px; display: flex; flex-direction: column; }
.vid figcaption b { font: 600 15px var(--head); }
.vid figcaption span { font-size: 13px; color: var(--faint); }
.vid.big .yt-play { width: 84px; height: 60px; }
.vbadge { display: inline-flex; align-items: center; gap: 5px; width: fit-content; font: 600 12px var(--head); letter-spacing: .05em; color: var(--ac); }

/* Galeri */
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.gal figure { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.gal img { width: 100%; aspect-ratio: 16/10; object-fit: cover; cursor: zoom-in; transition: transform .3s; }
.gal figure:hover img { transform: scale(1.03); }
.gal figcaption { padding: 8px 12px; font-size: 13px; color: var(--dim); }

/* Bekleyenler */
.opengrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.openbox { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.openbox h4 { font-size: 18px; margin-bottom: 8px; }
.openbox.test h4 { color: var(--wait); }
.openbox.karar h4 { color: var(--orange); }
.openbox ul { margin: 0; padding-left: 20px; }
.openbox li { padding: 5px 0; }
.openbox li::marker { color: var(--faint); }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(5,5,10,.94); display: flex; align-items: center; justify-content: center; padding: 20px; }
.lb[hidden] { display: none; }
.lb figure { margin: 0; max-width: min(1500px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lb img { max-height: calc(100vh - 100px); object-fit: contain; border-radius: 8px; }
.lb figcaption { color: var(--dim); margin-top: 10px; font-size: 14px; text-align: center; }
.lb button { position: absolute; background: rgba(255,255,255,.08); border: 1px solid var(--line); color: var(--text); border-radius: 50%; width: 46px; height: 46px; font-size: 28px; line-height: 1; cursor: pointer; }
.lb button:hover { background: rgba(255,255,255,.16); }
.lb button[hidden] { display: none; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Mobil */
@media (max-width: 860px) {
  .ov { grid-template-columns: 1fr; }
  .opengrid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .intro h1 { font-size: 32px; }
  .pgrid { grid-template-columns: 1fr; }
  .hero { min-height: 460px; }
  .hero-in { padding: 18px; }
  .hero h1 { font-size: 40px; }
  .tagline { font-size: 16px; }
  .fitem { grid-template-columns: 1fr; gap: 4px; }
  .thumbs img { width: calc(50% - 4px); height: 90px; }
  .gal { grid-template-columns: 1fr 1fr; gap: 8px; }
  .vids { grid-template-columns: 1fr; }
  .gal figcaption { font-size: 12px; padding: 6px 8px; }
  .lb { padding: 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
}
