/* =========================================================
   PROJELERİMİZ SAYFASI  (projelerimiz.php ile eşleşir) — önek: pj-
   resim-galeri / video-galeri / kurumsal ile AYNI tasarım dili: beyaz hakim zemin,
   cyan sol yüzlü çerçeveler, neon çizgiler, mimari ızgara.
   Bölümler: üst alan · öne çıkan proje · proje kartları · alt bant
   ========================================================= */
.projelerimiz {
    --pj-ink: #0b2a4a;
    --pj-text: #3b4d5e;
    --pj-line: rgba(11, 42, 74, .14);
    --pj-neon: #00d9ff;
    --pj-cyan: #25c3fd;
    --pj-ice: #7ae7ff;
    --pj-blue: #0a7fe0;
    --pj-ease: cubic-bezier(.16, 1, .3, 1);
    position: relative;
    overflow-x: clip;
    margin-top: calc(-1 * (var(--hdr) + var(--subnav-h)));
    background: #fff;
    color: var(--pj-ink);
    font-family: 'Segoe UI', 'Helvetica Neue', Roboto, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
.projelerimiz *, .projelerimiz *::before, .projelerimiz *::after { box-sizing: border-box; }
.projelerimiz h1, .projelerimiz h2, .projelerimiz h3, .projelerimiz p, .projelerimiz ul, .projelerimiz ol { margin: 0; padding: 0; }
.projelerimiz ul, .projelerimiz ol { list-style: none; }
.projelerimiz img { display: block; max-width: 100%; }
.pj-wrap { position: relative; z-index: 2; width: min(1240px, 100% - clamp(40px, 8vw, 120px)); margin-inline: auto; }

/* ---------- ÜST ALAN: SİTE HARİTASI + BAŞLIK ---------- */
.pj-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-start; padding: calc(var(--hdr) + var(--subnav-h) + clamp(4px, 1vw, 14px)) 0 clamp(96px, 10vw, 140px); color: #fff; background: linear-gradient(120deg, #0c3b6e, #0a5fb8); }
.pj-hero-bg { position: absolute; inset: 0; z-index: -3; background-size: cover; background-position: center; background-repeat: no-repeat; animation: pjZoom 30s ease-in-out infinite alternate; }
.pj-hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 100% at 0% 50%, rgba(0, 217, 255, .28), transparent 62%), linear-gradient(100deg, rgba(8, 40, 82, .92) 0%, rgba(10, 95, 184, .78) 55%, rgba(10, 127, 224, .6) 100%); }
@keyframes pjZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.pj-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 96px 96px; animation: pjGrid 50s linear infinite; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%); }
@keyframes pjGrid { to { background-position: 96px 96px, 96px 96px; } }
.pj-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.pj-bg > * { position: absolute; }
.pj-beam { left: -30%; width: 160%; top: var(--t); height: 1px; background: rgba(255, 255, 255, .2); transform: rotate(-14deg); opacity: .8; }
.pj-beam::after { content: ""; position: absolute; top: 0; height: 100%; width: 22%; background: linear-gradient(90deg, transparent, var(--pj-neon), transparent); filter: drop-shadow(0 0 6px var(--pj-neon)); animation: pjBeam 9s linear infinite; animation-delay: var(--dl); }
@keyframes pjBeam { from { left: -25%; } to { left: 110%; } }
.pj-compass { right: -7%; bottom: -26%; width: clamp(300px, 36vw, 560px); color: #fff; opacity: .13; animation: pjSpin 120s linear infinite; }
@keyframes pjSpin { to { transform: rotate(360deg); } }
.pj-cube { width: var(--s); left: var(--x); top: var(--y); color: var(--pj-ice); opacity: .3; animation: pjCube 11s ease-in-out infinite alternate; animation-delay: var(--dl); }
@keyframes pjCube { from { transform: translateY(0) rotate(0); } to { transform: translateY(-28px) rotate(14deg); } }
.pj-hero-in { position: relative; z-index: 2; width: min(1240px, 100% - clamp(40px, 8vw, 120px)); margin-inline: auto; }

.pj-crumb { margin-bottom: clamp(22px, 3vw, 36px); animation: pjRise .9s var(--pj-ease) both; }
.pj-crumb ol { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 0; padding: 10px 20px 10px 16px; border: 1px solid rgba(10, 90, 170, .14); border-left: 5px solid var(--pj-cyan); border-radius: 4px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 24px -14px rgba(10, 90, 170, .5), 0 0 18px rgba(0, 200, 245, .12); font-size: 14px; font-weight: 600; }
.pj-crumb li { display: inline-flex; align-items: center; }
.pj-crumb li + li::before { content: ""; width: 7px; height: 7px; margin: 0 12px; border-top: 2px solid var(--pj-cyan); border-right: 2px solid var(--pj-cyan); transform: rotate(45deg); }
.pj-crumb a { color: var(--pj-blue); text-decoration: none; transition: color .25s ease; }
.pj-crumb a:hover { color: var(--pj-ink); }
.pj-crumb a:focus-visible { outline: 2px solid var(--pj-blue); outline-offset: 3px; border-radius: 2px; }
.pj-crumb span { color: var(--pj-ink); }
.pj-hero h1 { position: relative; padding-bottom: 22px; font-size: clamp(46px, 7vw, 96px); font-weight: 300; line-height: 1.02; letter-spacing: -.03em; color: #fff; text-shadow: 0 6px 30px rgba(3, 20, 48, .35); animation: pjRise 1s var(--pj-ease) .1s both; }
.pj-hero h1::after { content: ""; position: absolute; left: 0; bottom: 0; width: clamp(70px, 9vw, 120px); height: 3px; background: linear-gradient(90deg, #fff, var(--pj-neon)); box-shadow: 0 0 12px var(--pj-neon); }
.pj-hero-lead { max-width: 46ch; margin-top: 22px; font-size: clamp(16px, 1.5vw, 20px); font-weight: 300; line-height: 1.7; color: #dcebf6; animation: pjRise 1s var(--pj-ease) .22s both; }
@keyframes pjRise { from { opacity: 0; transform: translateY(26px); } }

/* ---------- ORTAK BÖLÜM ---------- */
.pj-sec { position: relative; padding-block: clamp(72px, 8vw, 120px); background: #fff; }
.pj-main { z-index: 3; margin-top: -40px; padding-bottom: clamp(90px, 10vw, 150px); border-radius: 36px 36px 0 0; box-shadow: 0 -26px 50px -30px rgba(11, 42, 74, .45); background: radial-gradient(45% 35% at 92% 8%, rgba(0, 190, 255, .10), transparent 70%), linear-gradient(180deg, #fff 0%, #f6f9fc 100%); }
.pj-main::after { content: ""; position: absolute; left: 12%; right: 12%; top: 0; height: 2px; background: linear-gradient(90deg, rgba(0, 217, 255, 0), var(--pj-neon) 50%, rgba(0, 217, 255, 0)); filter: drop-shadow(0 0 6px rgba(0, 217, 255, .85)); }
.pj-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; font-size: 13px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--pj-blue); }
.pj-eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--pj-cyan); box-shadow: 0 0 8px var(--pj-cyan); }
.pj-eyebrow--lt { color: var(--pj-ice); }
.projelerimiz h2 { text-wrap: balance; font-size: clamp(28px, 3.6vw, 50px); font-weight: 300; line-height: 1.12; letter-spacing: -.02em; color: var(--pj-ink); }
.pj-head h2 { max-width: 22ch; }
.pj-head p { margin-top: 20px; max-width: 54ch; font-size: 17px; font-weight: 300; line-height: 1.7; color: var(--pj-text); }
.pj-headrow { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 24px 40px; margin-bottom: clamp(30px, 4vw, 48px); }
.pj-count { display: flex; align-items: baseline; gap: 12px; padding: 14px 24px 14px 20px; border: 1.5px solid rgba(11, 42, 74, .12); border-left: 5px solid var(--pj-cyan); border-radius: 4px; background: #fff; box-shadow: 0 18px 38px -24px rgba(11, 42, 74, .5); }
.pj-count b { font-size: clamp(34px, 4vw, 50px); font-weight: 300; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--pj-ink); }
.pj-count span { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--pj-blue); }
.pj-empty { padding: 28px; border: 1.5px dashed var(--pj-line); border-left: 6px solid var(--pj-cyan); border-radius: 6px; color: var(--pj-text); font-size: 17px; font-weight: 300; }

.pj-btn { display: inline-flex; align-items: center; padding: 15px 28px 15px 22px; border-radius: 4px; border-left: 6px solid var(--pj-cyan); font-size: 15px; font-weight: 600; text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, background .3s ease, color .3s ease, border-color .3s ease; }
.pj-btn::after { content: "→"; margin-left: 12px; display: inline-block; transition: transform .35s var(--pj-ease); }
.pj-btn:hover::after { transform: translateX(5px); }
.pj-btn:hover { transform: translateY(-2px); }
.pj-btn:focus-visible { outline: 2px solid var(--pj-blue); outline-offset: 3px; }
.pj-btn--primary { background: linear-gradient(90deg, #00cfff 0%, #0077c8 100%); box-shadow: 0 4px 16px rgba(0, 207, 255, .4); color: #fff; }
.pj-btn--primary:hover { box-shadow: 0 8px 24px rgba(0, 207, 255, .6); }
.pj-btn--light { background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(255, 255, 255, .35); border-left: 6px solid var(--pj-cyan); color: #fff; }
.pj-btn--light:hover { background: linear-gradient(90deg, #1aa7ff, #0a7fe0); border-color: #36c6ff; border-left-color: #78e8ff; box-shadow: 0 8px 24px rgba(0, 150, 255, .5); }
.pj-btn--light:focus-visible { outline-color: #fff; }

/* kaydırınca beliren öğeler (yalnızca .pj-js) */
.pj-js .pj-reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s var(--pj-ease); }
.pj-js .pj-reveal.is-in { opacity: 1; transform: none; }
.pj-js .pj-grid .pj-reveal:nth-child(3n+2) { transition-delay: .1s; }
.pj-js .pj-grid .pj-reveal:nth-child(3n) { transition-delay: .2s; }

/* ---------- ORTAK GÖRSEL ÇERÇEVESİ (köşe işaretleri + tarama çizgisi) ---------- */
.pj-img { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(rgba(11, 42, 74, .07) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, rgba(11, 42, 74, .07) 1px, transparent 1px) 0 0 / 32px 32px, #dfe9f1; }
.pj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--pj-ease), filter .6s ease; filter: saturate(.96); }
.pj-brk { position: absolute; z-index: 3; right: 14px; top: 14px; width: 34px; height: 34px; border-top: 2px solid var(--pj-neon); border-right: 2px solid var(--pj-neon); filter: drop-shadow(0 0 5px var(--pj-neon)); opacity: .0; transform: translate(8px, -8px); transition: opacity .45s ease, transform .6s var(--pj-ease); pointer-events: none; }
.pj-scan { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 3px; background: var(--pj-neon); box-shadow: 0 0 12px var(--pj-neon); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--pj-ease); pointer-events: none; }
.pj-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--pj-ice); }

/* ---------- ÖNE ÇIKAN PROJE ---------- */
.pj-feature { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); margin-bottom: clamp(16px, 2vw, 28px); overflow: hidden; border: 1px solid var(--pj-line); border-left: 6px solid var(--pj-cyan); border-radius: 4px; background: #fff; box-shadow: 0 30px 60px -34px rgba(11, 42, 74, .55); }
.pj-feature-img { position: relative; display: block; min-height: clamp(300px, 36vw, 500px); }
.pj-feature-img::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, transparent 60%, rgba(8, 40, 82, .35)); pointer-events: none; }
.pj-feature:hover .pj-img img { transform: scale(1.05); }
.pj-feature:hover .pj-brk { opacity: 1; transform: none; }
.pj-feature:hover .pj-scan { transform: scaleX(1); }
.pj-feature-body { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; padding: clamp(28px, 4vw, 56px); color: #fff; background: radial-gradient(70% 60% at 100% 0%, rgba(0, 217, 255, .22), transparent 65%), linear-gradient(150deg, #082852, #0a5fb8); }
.pj-feature-body::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(200deg, #000, transparent 70%); mask-image: linear-gradient(200deg, #000, transparent 70%); }
.pj-feature-body > * { position: relative; }
.pj-bigidx { position: absolute; right: clamp(16px, 3vw, 36px); top: clamp(4px, 1vw, 16px); font-size: clamp(90px, 11vw, 160px); font-weight: 200; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(122, 231, 255, .55); user-select: none; }
.pj-feature-body h3 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 300; line-height: 1.1; letter-spacing: -.02em; }
.pj-feature-body p { max-width: 34ch; font-size: 16.5px; font-weight: 300; line-height: 1.7; color: #dcebf6; }
.pj-feature-body .pj-btn { margin-top: 10px; }

/* ---------- PROJE KARTLARI ---------- */
.pj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.pj-card { min-width: 0; }
.pj-link { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--pj-line); border-left: 5px solid var(--pj-cyan); border-radius: 4px; color: #fff; text-decoration: none; background: #0c3b6e; box-shadow: 0 22px 44px -26px rgba(11, 42, 74, .6); transition: box-shadow .5s ease, transform .6s var(--pj-ease); -webkit-tap-highlight-color: transparent; }
.pj-link::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8, 40, 82, 0) 38%, rgba(8, 40, 82, .88) 100%); transition: opacity .5s ease; }
.pj-link:hover, .pj-link:focus-visible { transform: translateY(-6px); box-shadow: 0 34px 56px -22px rgba(0, 150, 255, .6); }
.pj-link:hover .pj-img img, .pj-link:focus-visible .pj-img img { transform: scale(1.08); filter: saturate(1.1); }
.pj-link:hover .pj-brk, .pj-link:focus-visible .pj-brk { opacity: 1; transform: none; }
.pj-link:hover .pj-scan, .pj-link:focus-visible .pj-scan { transform: scaleX(1); }
.pj-link:focus-visible { outline: 3px solid var(--pj-blue); outline-offset: 3px; }
.pj-idx { position: absolute; z-index: 2; left: 18px; top: 14px; font-size: 14px; font-weight: 700; letter-spacing: .16em; font-variant-numeric: tabular-nums; color: #fff; text-shadow: 0 2px 10px rgba(3, 20, 48, .7); }
.pj-go { position: absolute; z-index: 4; right: 16px; bottom: 18px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, #1aa7ff, #0a7fe0); border: 2px solid rgba(255, 255, 255, .85); color: #fff; box-shadow: 0 10px 24px -6px rgba(0, 120, 220, .8); transition: transform .5s var(--pj-ease), box-shadow .5s ease; }
.pj-go svg { width: 20px; height: 20px; }
.pj-link:hover .pj-go { transform: rotate(45deg) scale(1.08); box-shadow: 0 0 0 8px rgba(0, 217, 255, .18), 0 12px 28px -6px rgba(0, 150, 255, .9); }
.pj-info { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: block; padding: 22px 76px 22px 22px; }
.pj-info h3 { margin: 8px 0 0; font-size: clamp(22px, 2vw, 28px); font-weight: 400; line-height: 1.15; letter-spacing: -.01em; text-shadow: 0 3px 16px rgba(3, 20, 48, .6); }
.pj-info p { margin-top: 10px; font-size: 14.5px; font-weight: 300; line-height: 1.55; color: #dcebf6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pj-info em { display: block; max-height: 0; overflow: hidden; opacity: 0; font-style: normal; font-size: 13.5px; font-weight: 700; letter-spacing: .08em; color: var(--pj-ice); transition: max-height .5s var(--pj-ease), opacity .4s ease, margin .5s var(--pj-ease); }
.pj-link:hover .pj-info em, .pj-link:focus-visible .pj-info em { max-height: 24px; margin-top: 10px; opacity: 1; }

/* ---------- ALT BANT ---------- */
.pj-cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 28px 48px; margin-top: clamp(64px, 8vw, 110px); padding: clamp(30px, 4.5vw, 60px); border-left: 6px solid var(--pj-cyan); border-radius: 4px; color: #fff; background: radial-gradient(60% 120% at 0% 50%, rgba(0, 217, 255, .26), transparent 62%), linear-gradient(100deg, #082852 0%, #0a5fb8 70%, #0a7fe0 100%); box-shadow: 0 34px 64px -34px rgba(8, 40, 82, .8); }
.pj-cta::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 72px 72px; animation: pjGrid 50s linear infinite; }
.pj-cta > * { position: relative; }
.projelerimiz .pj-cta h2 { max-width: 20ch; color: #fff; font-size: clamp(26px, 3vw, 40px); }
.pj-cta-btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- TABLET / MOBİL ---------- */
@media (max-width: 1000px) {
    .pj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pj-feature { grid-template-columns: 1fr; }
    .pj-feature-img { min-height: 0; aspect-ratio: 16 / 10; }
    .pj-feature-img::after { background: linear-gradient(180deg, transparent 60%, rgba(8, 40, 82, .3)); }
    .pj-compass { display: none; }
    .pj-js .pj-grid .pj-reveal:nth-child(n) { transition-delay: 0s; }
}
@media (max-width: 900px) {
    .pj-hero { padding-top: calc(var(--hdr) + 22px); }
    .pj-hero-in { width: calc(100% - 40px); }
}
@media (max-width: 700px) {
    .pj-wrap { width: calc(100% - 32px); }
    .pj-hero { padding-bottom: 104px; }
    .pj-hero-in { width: calc(100% - 32px); }
    .pj-crumb ol { font-size: 13px; padding: 9px 16px 9px 14px; }
    .pj-hero-lead { font-size: 16px; }
    .pj-main { margin-top: -30px; border-radius: 28px 28px 0 0; padding-bottom: 80px; }
    .pj-sec { padding-block: 64px; }
    .pj-cube { display: none; }
    .pj-count { padding: 10px 18px 10px 16px; }
    .pj-grid { grid-template-columns: 1fr; }
    .pj-link { aspect-ratio: 4 / 3.6; border-left-width: 4px; }
    .pj-feature { border-left-width: 4px; }
    .pj-cta { border-left-width: 4px; }
    .pj-cta-btns .pj-btn { flex: 1 1 100%; justify-content: center; }
}
/* dokunmatikte hover'a bağlı süsler her zaman görünür */
@media (hover: none) {
    .pj-link:hover { transform: none; }
    .pj-brk { opacity: 1; transform: none; }
    .pj-info em { max-height: 24px; margin-top: 10px; opacity: 1; }
    .pj-link:hover .pj-img img, .pj-feature:hover .pj-img img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .projelerimiz *, .projelerimiz *::before, .projelerimiz *::after { transition-duration: .01ms !important; animation: none !important; }
    .pj-js .pj-reveal { opacity: 1; transform: none; }
}