/* ================================================================
   ALISOFT — projeler.css  (Projelerimiz)
   ================================================================ */

.pj {
    --pj-ink: var(--a-ink);
    --pj-text: var(--a-text);
    --pj-muted: var(--a-muted);
    --pj-line: var(--a-line);
    --pj-bg: var(--a-soft);
    --pj-accent: var(--a-accent);
    --pj-black: var(--a-black);

    background: #fff;
    color: var(--pj-ink);
    padding-bottom: 96px;
}

.pj-wrap {
    max-width: var(--a-wrap);
    margin: 0 auto;
    padding: 0 var(--a-gutter);
}

.pj-sr,
.ct-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

/* ── Ortak başlık öğeleri ───────────────────────────────── */
.pj-crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .8125rem; }
.pj-crumb a { text-decoration: none; }
.pj-crumb [aria-current] { font-weight: 600; }

.pj-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.pj-eyebrow::before { content: ""; width: 28px; height: 2px; }

.pj-title { margin: 0; letter-spacing: -.045em; }

/* ── Düğmeler ───────────────────────────────────────────── */
.pj-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 50px;
    padding: 0 24px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: background .15s, color .15s, border-color .15s;
}

.pj-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pj-btn--light { color: var(--pj-ink); background: #fff; }
.pj-btn--light:hover { color: #fff; background: var(--pj-accent); }
.pj-btn--accent { color: #fff; background: var(--pj-accent); }
.pj-btn--accent:hover { color: var(--pj-ink); background: #fff; }
.pj-btn--line { color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.pj-btn--line:hover { background: rgba(255, 255, 255, .1); }
.pj-btn:focus-visible { outline: 2px solid var(--pj-accent); outline-offset: 3px; }

.pj-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 28px 0 0;
    padding: 14px 18px;
    font-size: .9375rem;
    color: #3538CD;
    background: var(--a-accent-soft);
    border-radius: 12px;
}

.pj-notice svg {
    flex: none;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

/* ── Çalışma şekli şeridi ───────────────────────────────── */
.pj-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 72px;
    border-top: 1px solid var(--pj-line);
    border-bottom: 1px solid var(--pj-line);
}

.pj-strip div {
    display: flex;
    gap: 16px;
    padding: 28px 24px 28px 0;
}

.pj-strip div + div { padding-left: 24px; border-left: 1px solid var(--pj-line); }

.pj-strip strong { font-size: .875rem; color: var(--pj-accent); }
.pj-strip span { font-size: .9375rem; line-height: 1.6; color: var(--pj-text); }

/* ── Çağrı ──────────────────────────────────────────────── */
.pj-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px 40px;
    margin-top: 72px;
    padding: 48px 56px;
    color: #fff;
    background:
        radial-gradient(500px 260px at 100% 0%, rgba(66, 99, 235, .4), transparent 70%),
        var(--pj-black);
    border-radius: 28px;
}

.pj-cta h2 { margin: 0 0 8px; font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.25rem); letter-spacing: -.03em; }
.pj-cta p { margin: 0; font-size: 1.0625rem; color: rgba(255, 255, 255, .7); }
.pj-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── Duyarlı ────────────────────────────────────────────── */

@media (max-width: 760px) {
    .pj-wrap { padding: 0 16px; }
    .pj-strip { grid-template-columns: 1fr; }
    .pj-strip div, .pj-strip div + div { padding: 20px 0; border-left: 0; }
    .pj-strip div + div { border-top: 1px solid var(--pj-line); }
    .pj-cta { padding: 32px 22px; border-radius: 20px; }
    .pj-cta-actions, .pj-cta .pj-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .pj *, .pj *::before, .pd * { animation: none !important; transition: none !important; }
}

/* ================================================================
   v2 — cihaz vitrinli başlık + tema renkli maket kartlar
   ================================================================ */

/* ── Duyarlı ────────────────────────────────────────────── */
@media (max-width: 1000px) {
    .pj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pc--wide { grid-column: span 2; }
    .pd-grid { grid-template-columns: 1fr; gap: 40px; }
    .pd-side { position: static; }
}

@media (max-width: 760px) {
    .pj-grid { grid-template-columns: 1fr; gap: 18px; }
    .pc--wide { grid-column: auto; display: flex; }
    .pc--wide .pc-media { min-height: 0; aspect-ratio: 16 / 11; }
    .pc--wide .pc-body { padding: 24px 26px 8px; }
    .pc--wide .pc-title { font-size: 1.3125rem; }
    .pc--wide .pc-foot { margin: 18px 26px 0; }
    .pd-head { padding: 36px 0 110px; }
    .pd-meta div, .pd-meta div + div { padding: 14px 24px 0 0; border-left: 0; }
    .pd-cover { margin-top: -80px; aspect-ratio: 4 / 3; border-radius: 20px; }
    .pd-sec { grid-template-columns: 1fr; }
    .pd-gallery { grid-template-columns: 1fr; }
    .pd-gallery img:first-child { grid-column: auto; }
}


/* proje sayfası koyu başlığında kırıntı */
.pd-crumb { color: rgba(255, 255, 255, .55); }
.pd-crumb a { color: rgba(255, 255, 255, .75); }
.pd-crumb a:hover { color: #fff; }
.pd-crumb [aria-current] { color: #fff; }


/* ================================================================
   v5 — tam boy fotoğraflı hero + ince filtre çubuğu
   ================================================================ */
.pj-full {
    --pj-nav-h: 76px;
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 100vh;
    min-height: 100svh;
    margin-top: calc((var(--pj-nav-h) + 38px) * -1);
    padding: calc(var(--pj-nav-h) + 38px + 40px) 0 120px;
    overflow: hidden;
    color: #fff;
    text-align: center;
    background: var(--pj-black);
}

.pj-full-img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(3px);
    transform: scale(1.04);
}

.pj-full::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(11, 11, 15, .82) 0%, rgba(11, 11, 15, .55) 35%, rgba(11, 11, 15, .6) 70%, rgba(11, 11, 15, .92) 100%),
        rgba(20, 30, 70, .25);
}

.pj-full-inner { display: flex; flex-direction: column; align-items: center; width: 100%; }

.pj-full-crumb { justify-content: center; margin-bottom: 28px; color: rgba(255, 255, 255, .6); }
.pj-full-crumb a { color: rgba(255, 255, 255, .75); }
.pj-full-crumb a:hover { color: #fff; }
.pj-full-crumb [aria-current] { color: #fff; }

.pj-full-eyebrow { color: rgba(255, 255, 255, .7); }
.pj-full-eyebrow::before, .pj-full-eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--a-accent-light); }

.pj-full-title {
    max-width: 900px;
    font-size: clamp(2.5rem, 1.4rem + 4.2vw, 4.75rem);
    line-height: 1.02;
}

.pj-full-title span { color: var(--a-accent-light); }

.pj-full-lead {
    max-width: 600px;
    margin: 22px auto 36px;
    font-size: 1.125rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, .8);
}

.pj-full-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* aşağı kaydır işareti */
.pj-scroll {
    position: absolute;
    left: 50%;
    bottom: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    transform: translateX(-50%);
    transition: color .2s;
}

.pj-scroll:hover { color: #fff; }
.pj-scroll:focus-visible { outline: 2px solid #fff; outline-offset: 6px; border-radius: 8px; }

.pj-scroll-mouse {
    position: relative;
    width: 26px;
    height: 42px;
    border: 2px solid currentColor;
    border-radius: 14px;
}

.pj-scroll-mouse i {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    border-radius: 2px;
    background: currentColor;
    animation: pj-tekerlek 1.8s ease-in-out infinite;
}

@keyframes pj-tekerlek {
    0%   { transform: translateY(0); opacity: 1; }
    70%  { transform: translateY(12px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

.pj-scroll-text {
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.pj-credit {
    position: absolute;
    right: 16px;
    bottom: 12px;
    margin: 0;
    font-size: .6875rem;
    color: rgba(255, 255, 255, .45);
}

/* ince filtre çubuğu */
.pj-bar {
    position: sticky;
    top: 76px;
    z-index: 50;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--pj-line);
    scroll-margin-top: 76px;
}

.pj-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 60px;
}

.pj-tabs {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.pj-tabs::-webkit-scrollbar { display: none; }

.pj-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: none;
    height: 36px;
    padding: 0 12px;
    font: inherit;
    font-size: .875rem;
    font-weight: 500;
    color: var(--pj-muted);
    background: none;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    transition: color .15s, background .15s, border-color .15s;
}

.pj-tab span { font-size: .75rem; color: #98A2B3; }
.pj-tab:hover { color: var(--pj-ink); background: var(--pj-bg); }

.pj-tab.is-on {
    font-weight: 600;
    color: var(--pj-ink);
    background: #fff;
    border-color: var(--pj-line);
    box-shadow: 0 1px 2px rgba(16, 24, 40, .06);
}

.pj-tab.is-on span { color: var(--pj-accent); }
.pj-tab:focus-visible { outline: 2px solid var(--pj-accent); outline-offset: 1px; }

.pj-dot { width: 8px; height: 8px; border-radius: 50%; }
.pj-dot--mavi    { background: var(--a-accent); }
.pj-dot--mor     { background: #7A5AF8; }
.pj-dot--turkuaz { background: #15B79E; }
.pj-dot--gece    { background: #1D2748; }
.pj-dot--amber   { background: #F79009; }

.pj-bar-count {
    flex: none;
    margin: 0;
    font-size: .875rem;
    color: var(--pj-muted);
}

.pj-bar-count strong { color: var(--pj-ink); }

.pj-bar + .pj-wrap .pj-notice { margin-top: 32px; }

@media (max-width: 960px) {
    .pj-full { --pj-nav-h: 64px; }
    .pj-bar { top: 64px; scroll-margin-top: 64px; }
}

@media (max-width: 760px) {
    .pj-full { padding-bottom: 110px; }
    .pj-full-lead { font-size: 1rem; }
    .pj-full-actions .pj-btn { flex: 1 1 100%; }
    .pj-bar-count { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .pj-scroll-mouse i { animation: none; }
}

/* ── Filtre çubuğu: siyah, sekmeler tüm genişliğe yayılır ── */
.pj-bar {
    background: rgba(11, 11, 15, .96);
    border-bottom-color: rgba(255, 255, 255, .08);
}

.pj-bar-inner { gap: 24px; }
.pj-tabs { flex: 1; justify-content: space-between; gap: 6px; }

.pj-tab { flex: 1 1 auto; justify-content: center; color: rgba(255, 255, 255, .65); }
.pj-tab span { color: rgba(255, 255, 255, .4); }
.pj-tab:hover { color: #fff; background: rgba(255, 255, 255, .08); }

.pj-tab.is-on {
    color: var(--a-black);
    background: #fff;
    border-color: #fff;
    box-shadow: none;
}

.pj-tab.is-on span { color: var(--pj-accent); }
.pj-tab:focus-visible { outline-color: var(--a-accent-light); }
.pj-dot--gece { background: var(--a-accent-light); }

.pj-bar-count { padding-left: 24px; color: rgba(255, 255, 255, .55); border-left: 1px solid rgba(255, 255, 255, .14); }
.pj-bar-count strong { color: #fff; }

@media (max-width: 960px) {
    .pj-tabs { justify-content: flex-start; }
    .pj-tab { flex: none; }
}
