/* Masaüstü teması — retro bir işletim sistemi masaüstü.
   Kimliği taşıyan üç şey: kabartmalı pencere çerçevesi, çizgili başlık çubuğu ve
   yalnızca odaklı pencerede yanan vurgu rengi. Renkler portfolio-sites.css'te
   --dk-* değişkenlerine bağlanır; buradaki yedekler tema tek başına açıldığında
   (kart önizlemesi) devreye girer. */
.theme-masaustu{
  --dk-mono:ui-monospace,"Cascadia Mono","Segoe UI Mono",Consolas,monospace;
  --dk-edge:var(--dk-line,#4a453d);
  --dk-shadow:4px 4px 0 var(--dk-edge);
  /* Kısayol rayı SABİT. Geniş ekranda solda dikey durur, dar ekranda alta
     iner; sayfa payı ikisinde de aynı değişkenden hesaplanır. */
  --dk-rail:104px;
  color:var(--dk-ink,#141414)
}

/* Zemin RENGİ yazılmaz, yalnızca nokta dokusu: arka plan kullanıcının ayarından
   gelir ve iki renkli hareketli zemin seçildiyse onun altında kalmalı. */
.theme-masaustu .desk-page{position:relative;min-height:100vh;padding:34px clamp(14px,3vw,44px) 72px;padding-left:calc(var(--dk-rail) + clamp(14px,3vw,44px));background-image:radial-gradient(color-mix(in srgb,var(--dk-edge) 34%,transparent) 1px,transparent 1px);background-size:9px 9px}

/* ---- Kısayol rayı: temanın TEK gezinmesi ----
   Üstte ayrıca bir menü çubuğu vardı; aynı bağlantıları ikinci kez basıyor ve
   sabit yüksekliğiyle ilk pencerenin başlığını örtüyordu. Ray artık her ekran
   genişliğinde görünür. */
.theme-masaustu .desk-shortcuts{position:fixed;z-index:30;top:0;bottom:0;left:0;width:var(--dk-rail);display:flex;flex-direction:column;align-items:center;gap:14px;padding:20px 8px;overflow-y:auto;overflow-x:hidden;border-right:2px solid var(--dk-edge);background:color-mix(in srgb,var(--dk-chrome,#e4dfd5) 92%,transparent);scrollbar-width:thin}
.theme-masaustu .desk-shortcuts a{display:grid;justify-items:center;gap:5px;width:100%;padding:6px 2px;border:1px solid transparent;color:inherit;text-decoration:none}
.theme-masaustu .desk-shortcuts a>span{display:grid;place-items:center;width:44px;height:38px;border:2px solid var(--dk-edge);background:var(--accent-2,#e06636);box-shadow:3px 3px 0 var(--dk-edge);color:#fff;font-size:16px}
.theme-masaustu .desk-shortcuts a small{max-width:100%;overflow:hidden;font-size:10.5px;font-weight:600;line-height:1.25;text-align:center;text-overflow:ellipsis;white-space:nowrap}
.theme-masaustu .desk-shortcuts a:hover>span,.theme-masaustu .desk-shortcuts a:focus-visible>span{transform:translate(-1px,-1px);box-shadow:5px 5px 0 var(--dk-edge)}
.theme-masaustu .desk-shortcuts a.is-active{border-color:var(--dk-edge);border-style:dotted}
.theme-masaustu .desk-shortcuts a.is-active>span{background:var(--accent)}
.theme-masaustu .desk-badge{width:44px;height:38px;display:grid;place-items:center;border:2px solid var(--dk-edge);background:var(--accent);box-shadow:3px 3px 0 var(--dk-edge);color:#fff;font-family:var(--dk-mono);font-size:14px;font-weight:700;letter-spacing:-.04em}
.theme-masaustu .desk-shortcut-cv{margin-top:auto}
.theme-masaustu .desk-shortcut-cv>span{background:var(--dk-paper,#f5f2ec);color:var(--dk-ink,#141414)}
.theme-masaustu .desk-clock{flex:0 0 auto;margin-top:auto;padding:5px 8px;border:1px solid var(--dk-edge);background:var(--dk-paper,#f5f2ec);font-family:var(--dk-mono);font-size:12px;font-variant-numeric:tabular-nums}
/* CV kısayolu varsa boşluğu O alır; saat hemen altına yapışır. */
.theme-masaustu .desk-shortcut-cv+.desk-clock{margin-top:10px}

/* ---- Pencereler ---- */
.theme-masaustu .desk-space{display:flex;flex-direction:column;gap:clamp(20px,2.6vw,34px);max-width:1180px;margin:0 auto}
.theme-masaustu .desk-window{scroll-margin-top:24px;border:2px solid var(--dk-edge);background:var(--dk-paper,#f5f2ec);box-shadow:var(--dk-shadow)}
.theme-masaustu .desk-titlebar{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:7px 9px;border-bottom:2px solid var(--dk-edge);background:var(--dk-chrome,#e4dfd5)}
/* Odaksız pencere klasik "çizgili" başlık taşır; odaklanan pencere vurgu
   rengine döner. Fark yalnızca renkte değil dokuda da: renk körü bir ziyaretçi
   için de ayırt edilebilir kalmalı. */
.theme-masaustu .desk-titlebar::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,color-mix(in srgb,var(--dk-edge) 26%,transparent) 0 1px,transparent 1px 4px);pointer-events:none}
.theme-masaustu .desk-titlebar>*{position:relative;z-index:1}
.theme-masaustu .desk-window.is-focused .desk-titlebar{background:var(--accent);color:#fff}
.theme-masaustu .desk-window.is-focused .desk-titlebar::before{background:repeating-linear-gradient(0deg,rgba(255,255,255,.22) 0 1px,transparent 1px 4px)}
.theme-masaustu .desk-titlebar b{overflow:hidden;font-size:13px;font-weight:700;letter-spacing:.01em;text-overflow:ellipsis;white-space:nowrap}
.theme-masaustu .desk-ext{opacity:.6;font-family:var(--dk-mono);font-size:.82em;font-weight:400}
.theme-masaustu .desk-dots{display:flex;gap:5px}
.theme-masaustu .desk-dots i{width:11px;height:11px;border:1.5px solid var(--dk-edge);border-radius:50%;background:var(--dk-chrome,#e4dfd5)}
.theme-masaustu .desk-window.is-focused .desk-dots i:first-child{background:var(--accent-2,#e06636)}
.theme-masaustu .desk-window.is-focused .desk-dots i:nth-child(2){background:var(--accent-3,#f2c14e)}
.theme-masaustu .desk-window.is-focused .desk-dots i:last-child{background:#fff}
.theme-masaustu .desk-minimize{display:grid;place-items:center;width:22px;height:20px;padding:0;border:1.5px solid var(--dk-edge);background:var(--dk-paper,#f5f2ec);color:var(--dk-ink,#141414);font-size:10px;cursor:pointer}
.theme-masaustu .desk-minimize:active{transform:translate(1px,1px)}
.theme-masaustu .desk-window.is-minimized .desk-body{display:none}
.theme-masaustu .desk-window.is-minimized{box-shadow:2px 2px 0 var(--dk-edge)}
.theme-masaustu .desk-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.theme-masaustu .desk-body{padding:clamp(20px,2.6vw,34px)}

/* ---- Karşılama penceresi ---- */
/* Sol sütun DİKEYDE ORTALANIR: portre + özellik kutusu 700px'i geçerken kısa
   tanıtım metni üstte kalıp altında yaklaşık 350px boşluk bırakıyordu. */
.theme-masaustu .desk-hero-body{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(270px,.65fr);gap:clamp(24px,3vw,46px);align-items:center}
.theme-masaustu .desk-hero-side{align-self:start}
.theme-masaustu .desk-path{margin:0 0 14px;color:var(--accent);font-family:var(--dk-mono);font-size:12.5px;letter-spacing:.02em}
.theme-masaustu .desk-hero h1{margin:0;font-size:clamp(38px,5vw,68px);font-weight:700;letter-spacing:-.035em;line-height:1.02}
.theme-masaustu .desk-hero h2{margin:12px 0 0;font-size:clamp(16px,1.7vw,21px);font-weight:600}
.theme-masaustu .desk-intro{max-width:56ch;margin:16px 0 0;font-size:15.5px;line-height:1.7}
.theme-masaustu .desk-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.theme-masaustu .desk-button{display:inline-flex;align-items:center;gap:9px;padding:11px 18px;border:2px solid var(--dk-edge);background:var(--dk-chrome,#e4dfd5);box-shadow:3px 3px 0 var(--dk-edge);color:inherit;font-size:13px;font-weight:700;text-decoration:none;cursor:pointer}
.theme-masaustu .desk-button.is-primary{background:var(--accent);color:#fff}
.theme-masaustu .desk-button:hover{transform:translate(-1px,-1px);box-shadow:5px 5px 0 var(--dk-edge)}
.theme-masaustu .desk-button:active{transform:translate(3px,3px);box-shadow:none}
.theme-masaustu .desk-chips{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 0;padding:0;list-style:none}
.theme-masaustu .desk-chips li{display:inline-flex;align-items:center;gap:7px;padding:6px 11px;border:1px solid var(--dk-edge);background:color-mix(in srgb,var(--dk-chrome,#e4dfd5) 60%,transparent);font-family:var(--dk-mono);font-size:12px}
.theme-masaustu .desk-chips a{color:inherit;text-decoration:none}
.theme-masaustu .desk-chips i{color:var(--accent)}
.theme-masaustu .desk-frame{margin:0;border:2px solid var(--dk-edge);background:var(--dk-chrome,#e4dfd5);box-shadow:var(--dk-shadow)}
.theme-masaustu .desk-frame-bar{display:flex;align-items:center;gap:5px;padding:6px 8px;border-bottom:2px solid var(--dk-edge)}
.theme-masaustu .desk-frame-bar i{width:9px;height:9px;border:1.5px solid var(--dk-edge);border-radius:50%}
.theme-masaustu .desk-frame-bar b{margin-left:4px;font-size:11px;font-weight:700}
.theme-masaustu .desk-frame img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover}
.theme-masaustu .desk-socials{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.theme-masaustu .desk-socials a{display:grid;place-items:center;width:36px;height:32px;border:2px solid var(--dk-edge);background:var(--dk-chrome,#e4dfd5);box-shadow:2px 2px 0 var(--dk-edge);color:inherit;font-size:14px;text-decoration:none}
.theme-masaustu .desk-socials a:hover{background:var(--accent);color:#fff}

/* ---- Bölüm içerikleri ---- */
.theme-masaustu .desk-readme{margin:0;font-size:16.5px;line-height:1.75}
.theme-masaustu .desk-status{display:inline-flex;align-items:center;gap:9px;margin:20px 0 0;padding:8px 14px;border:1px solid var(--dk-edge);background:color-mix(in srgb,var(--accent) 10%,transparent);font-family:var(--dk-mono);font-size:12.5px}
.theme-masaustu .desk-status i{color:var(--accent);font-size:7px}
.theme-masaustu .desk-list{display:grid;gap:2px;padding:0}
.theme-masaustu .desk-list article{display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px;padding:clamp(16px,2vw,24px) clamp(20px,2.6vw,34px)}
.theme-masaustu .desk-list article:nth-child(even){background:color-mix(in srgb,var(--dk-chrome,#e4dfd5) 55%,transparent)}
.theme-masaustu .desk-icon{display:grid;place-items:center;width:38px;height:34px;border:2px solid var(--dk-edge);background:var(--accent-3,#f2c14e);color:var(--dk-ink,#141414);font-size:14px}
.theme-masaustu .desk-icon.is-check{background:var(--accent);color:#fff}
.theme-masaustu .desk-row-top{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 16px}
.theme-masaustu .desk-list h3,.theme-masaustu .desk-grid h3,.theme-masaustu .desk-tiles h3{margin:0;font-size:17px;font-weight:700}
.theme-masaustu .desk-list time,.theme-masaustu .desk-grid time{flex:0 0 auto;padding:3px 8px;border:1px solid var(--dk-edge);background:var(--dk-paper,#f5f2ec);font-family:var(--dk-mono);font-size:11.5px;white-space:nowrap}
.theme-masaustu .desk-org{margin:6px 0 0;font-size:13.5px;font-weight:600;opacity:.82}
.theme-masaustu .desk-list ul,.theme-masaustu .desk-grid ul{margin:12px 0 0;padding-left:17px;font-size:14px;line-height:1.65}
.theme-masaustu .desk-list li,.theme-masaustu .desk-grid li{margin-bottom:5px}
.theme-masaustu .desk-list li::marker,.theme-masaustu .desk-grid li::marker{color:var(--accent)}

.theme-masaustu .desk-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px}
.theme-masaustu .desk-grid article{display:flex;flex-direction:column;padding:16px;border:2px solid var(--dk-edge);background:var(--dk-chrome,#e4dfd5)}
.theme-masaustu .desk-thumb{position:relative;display:grid;place-items:center;min-height:118px;margin-bottom:14px;border:1px solid var(--dk-edge);background:var(--accent);color:#fff;font-size:34px}
.theme-masaustu .desk-thumb span{position:absolute;right:7px;bottom:5px;font-family:var(--dk-mono);font-size:12px;opacity:.75}
.theme-masaustu .desk-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:8px 0 0;font-size:12.5px}
.theme-masaustu .desk-grid .desk-button{align-self:flex-start;margin-top:14px;padding:8px 14px;font-size:12px}

.theme-masaustu .desk-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px}
.theme-masaustu .desk-tiles article{padding:16px;border:2px solid var(--dk-edge);background:var(--dk-chrome,#e4dfd5)}
.theme-masaustu .desk-tile-icon{display:grid;place-items:center;width:32px;height:28px;margin-bottom:11px;border:1px solid var(--dk-edge);background:var(--accent);color:#fff;font-size:12px}
.theme-masaustu .desk-tiles h3{font-size:15px}
.theme-masaustu .desk-tiles p{margin:6px 0 0;font-size:13px;line-height:1.55}

.theme-masaustu .desk-levels{display:grid;gap:2px;padding:0}
.theme-masaustu .desk-levels article{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;padding:14px clamp(20px,2.6vw,34px)}
.theme-masaustu .desk-levels article:nth-child(even){background:color-mix(in srgb,var(--dk-chrome,#e4dfd5) 55%,transparent)}
.theme-masaustu .desk-levels b{flex:1 1 150px;font-size:15px}
.theme-masaustu .desk-blocks{display:flex;gap:4px}
.theme-masaustu .desk-blocks i{width:22px;height:13px;border:1.5px solid var(--dk-edge);background:var(--dk-paper,#f5f2ec)}
.theme-masaustu .desk-blocks i.is-on{background:var(--accent)}
.theme-masaustu .desk-levels small{font-family:var(--dk-mono);font-size:12px}

/* ---- İletişim ---- */
.theme-masaustu .desk-contact-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(24px,3vw,44px)}
.theme-masaustu .desk-eyebrow{display:inline-block;padding:5px 10px;border:1px solid var(--dk-edge);background:var(--accent-3,#f2c14e);color:var(--dk-ink,#141414);font-family:var(--dk-mono);font-size:11.5px}
.theme-masaustu .desk-contact-info h3{margin:16px 0 0;font-size:clamp(23px,2.6vw,34px);font-weight:700;letter-spacing:-.02em;line-height:1.15}
.theme-masaustu .desk-contact-info>p{margin:12px 0 0;font-size:14.5px;line-height:1.65}
.theme-masaustu .desk-contact-links{display:grid;gap:8px;margin-top:22px}
.theme-masaustu .desk-contact-links>*{display:flex;align-items:center;gap:11px;padding:10px 13px;border:1px solid var(--dk-edge);background:color-mix(in srgb,var(--dk-chrome,#e4dfd5) 65%,transparent);color:inherit;font-size:13.5px;text-decoration:none}
.theme-masaustu .desk-contact-links i{color:var(--accent)}
.theme-masaustu .desk-contact-links a:hover{background:var(--accent);color:#fff}
.theme-masaustu .desk-contact-links a:hover i{color:#fff}
/* Form da bir sistem iletişim kutusudur: alanlar İÇE gömülü görünür, düğme
   dışa. Yuvarlak köşeler ortak stilden gelir, burada sıfırlanır. */
.theme-masaustu .desk-form{padding:clamp(16px,2vw,22px);border:2px solid var(--dk-edge);background:var(--dk-chrome,#e4dfd5)}
.theme-masaustu .desk-form label{font-family:var(--dk-mono);font-size:10.5px;letter-spacing:.06em}
.theme-masaustu .desk-form input,.theme-masaustu .desk-form textarea{border:2px solid var(--dk-edge);border-radius:0;background:var(--dk-paper,#f5f2ec);box-shadow:inset 2px 2px 0 color-mix(in srgb,var(--dk-edge) 25%,transparent)}
.theme-masaustu .desk-form button{border:2px solid var(--dk-edge);border-radius:0;background:var(--accent);box-shadow:3px 3px 0 var(--dk-edge)}
.theme-masaustu .desk-form button:active{transform:translate(3px,3px);box-shadow:none}
.theme-masaustu .desk-form .pc-form-note{border:2px solid var(--dk-edge);border-radius:0}

.theme-masaustu :is(a,button,input,textarea):focus-visible{outline:3px solid var(--accent);outline-offset:3px}

/* Kısayol sütunu içeriğin üstüne binmemeli: yalnızca pencereler ortalandığında
   yanda gerçekten boşluk kalan genişlikte gösterilir. */
@media(max-width:900px){
  .theme-masaustu .desk-hero-body{grid-template-columns:1fr}
  .theme-masaustu .desk-hero-side{max-width:420px}
  .theme-masaustu .desk-contact-grid{grid-template-columns:1fr}
}
@media(max-width:640px){
  /* Ray alta iner ve yatay kayar: dikey rayda sekiz kısayol dar bir ekranın
     yüksekliğini yiyordu. */
  .theme-masaustu .desk-page{padding:20px 12px calc(var(--dk-rail) + 20px)}
  .theme-masaustu .desk-shortcuts{top:auto;right:0;bottom:0;width:auto;height:var(--dk-rail);flex-direction:row;align-items:center;gap:8px;padding:8px 10px;overflow-x:auto;overflow-y:hidden;border-right:0;border-top:2px solid var(--dk-edge);background:var(--dk-chrome,#e4dfd5)}
  .theme-masaustu .desk-shortcuts a{width:auto;flex:0 0 auto;min-width:64px}
  .theme-masaustu .desk-shortcut-cv{margin-top:0}
  .theme-masaustu .desk-clock{display:none}
  .theme-masaustu .desk-hero h1{font-size:clamp(30px,10vw,44px)}
  .theme-masaustu .desk-list article{grid-template-columns:1fr}
  .theme-masaustu .desk-icon{display:none}
  .theme-masaustu .pc-form-row{grid-template-columns:1fr}
}

/* Kart küçük resmi tek kare olarak alınır: sabit menü çubuğu ve kısayollar
   küçük resimde içeriği örtüyordu. */
.theme-masaustu.design-card-preview .desk-shortcuts{position:absolute}
