/* ==========================================================================
   Projelerimiz — slider (main.css .hero--service) altında proje kutuları
   ========================================================================== */
.pjb .s-head { margin-bottom: 44px; }
.pjb__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pjb__item { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--grey); }
.pjb__media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); cursor: zoom-in; }
.pjb__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.pjb__zoom { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); opacity: 0; transform: scale(.7); transition: opacity .3s var(--ease), transform .4s var(--ease-out); }
.pjb__media:hover img, .pjb__media:focus-visible img { transform: scale(1.05); }
.pjb__media:hover .pjb__zoom, .pjb__media:focus-visible .pjb__zoom { opacity: 1; transform: none; }
.pjb__body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 20px 22px 22px; }
.pjb__cat { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--lime-ink); }
.pjb__t { font-size: 19px; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; }
.pjb__link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; font-size: 14px; color: var(--muted); transition: color .25s var(--ease); }
.pjb__link .ico { transition: transform .35s var(--ease); }
.pjb__link:hover { color: var(--green); }
.pjb__link:hover .ico { transform: translateX(3px); }
.pjb__more { display: flex; justify-content: center; margin-top: 44px; }

@media (max-width: 960px) {
  .pjb .s-head { margin-bottom: 28px; }
  .pjb__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .pjb__body { padding: 16px 16px 18px; }
  .pjb__t { font-size: 16px; }
}
@media (max-width: 560px) {
  .pjb__grid { grid-template-columns: 1fr; }
}
@media (hover: none) { .pjb__zoom { opacity: 1; transform: none; } }


/* Slider: hizmet hero'su üzerinde daha koyu gradyan (yazı her karede net okunsun) */
.hero--projects .hero__frame::after {
  background:
    linear-gradient(180deg, rgba(8, 11, 9, .55) 0%, rgba(8, 11, 9, 0) 28%),
    linear-gradient(0deg, rgba(8, 11, 9, .9) 0%, rgba(8, 11, 9, .55) 40%, rgba(8, 11, 9, .15) 70%),
    linear-gradient(90deg, rgba(8, 11, 9, .78) 0%, rgba(8, 11, 9, .45) 48%, rgba(8, 11, 9, .1) 80%);
}
@media (max-width: 960px) {
  .hero--projects .hero__frame::after { background: linear-gradient(0deg, rgba(8, 11, 9, .92) 0%, rgba(8, 11, 9, .6) 45%, rgba(8, 11, 9, .35) 100%); }
}

/* Gerçek proje kutuları: kapakta fotoğraf sayısı, altında kısa açıklama */
.pjb__count { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 12px; font-weight: 500; color: var(--ink); }
.pjb__count .ico { color: var(--lime-ink); }
.pjb__x { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
