/* ALISOFT — maket.css: saf CSS cihaz çizimleri (projeler ve ana sayfa ortak) */

/* ================================================================
   MAKETLER (mk-) — saf CSS cihaz çizimleri
   ================================================================ */
.mk-browser {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 0 14px;
    overflow: hidden;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 18px 36px -18px rgba(16, 24, 40, .45);
}

.mk-bar {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 9px 12px;
    background: #F2F4F7;
}

.mk-bar i { width: 8px; height: 8px; border-radius: 50%; background: #D0D5DD; }
.mk-bar i:nth-child(1) { background: #FDA29B; }
.mk-bar i:nth-child(2) { background: #FEC84B; }
.mk-bar i:nth-child(3) { background: #75E0A7; }
.mk-bar b { flex: 1; height: 10px; margin-left: 10px; background: #fff; border-radius: 6px; }

.mk-nav {
    height: 8px;
    margin: 0 14px;
    background: linear-gradient(90deg, var(--a-ink) 0 14%, transparent 14% 52%, var(--a-line) 52% 62%, transparent 62% 65%, var(--a-line) 65% 75%, transparent 75% 78%, var(--a-accent) 78% 100%);
    border-radius: 4px;
}

.mk-hero {
    display: grid;
    gap: 7px;
    margin: 6px 14px 0;
    padding: 16px;
    background: linear-gradient(135deg, var(--a-ink), #2A3A7A);
    border-radius: 8px;
}

.mk-hero i { display: block; height: 9px; width: 70%; background: rgba(255, 255, 255, .85); border-radius: 4px; }
.mk-hero i + i { width: 48%; height: 7px; background: rgba(255, 255, 255, .45); }
.mk-hero b { display: block; width: 26%; height: 14px; margin-top: 4px; background: var(--a-accent); border-radius: 5px; }

.mk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 14px; }
.mk-cards i { height: 36px; background: #F2F4F7; border-radius: 6px; }
.mk-cards i:first-child { background: var(--a-accent-soft); }

/* e-ticaret */
.mk-shop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 2px 14px 0; }
.mk-product { display: grid; gap: 5px; }
.mk-product i { aspect-ratio: 1; background: linear-gradient(135deg, #F4EBFF, #E3D1FF); border-radius: 6px; }
.mk-product:nth-child(3n+2) i { background: linear-gradient(135deg, var(--a-accent-soft), #D3DCFF); }
.mk-product:nth-child(3n) i { background: linear-gradient(135deg, #FFF1E6, #FFD9B8); }
.mk-product b { height: 6px; width: 60%; background: var(--a-ink); border-radius: 3px; }

/* panel */
.mk-browser--dash { padding-bottom: 0; }
.mk-dash { flex: 1; display: grid; grid-template-columns: 22% 1fr; min-height: 0; margin-top: -10px; }
.mk-side { display: grid; align-content: start; gap: 8px; padding: 12px 10px; background: var(--a-ink); }
.mk-side i { height: 6px; background: rgba(255, 255, 255, .3); border-radius: 3px; }
.mk-side i:first-child { background: var(--a-accent); }
.mk-dash-main { display: grid; grid-template-rows: auto 1fr; gap: 8px; padding: 10px; }
.mk-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mk-kpis i { height: 22px; background: #F2F4F7; border-radius: 5px; border-left: 3px solid #12B76A; }
.mk-kpis i:nth-child(2) { border-left-color: var(--a-accent); }
.mk-kpis i:nth-child(3) { border-left-color: #F79009; }
.mk-chart { display: flex; align-items: flex-end; gap: 5px; padding: 8px; background: #F9FAFB; border-radius: 6px; min-height: 50px; }
.mk-chart i { flex: 1; height: var(--h); background: linear-gradient(180deg, var(--a-accent), var(--a-accent-light)); border-radius: 3px 3px 0 0; }

/* telefon */
.mk-phone {
    position: relative;
    display: grid;
    align-content: start;
    gap: 7px;
    aspect-ratio: 9 / 19;
    padding: 26px 10px 12px;
    background: #fff;
    border: 5px solid var(--a-ink);
    border-radius: 24px;
    box-shadow: 0 18px 36px -16px rgba(0, 0, 0, .55);
}

.mk-notch { position: absolute; top: 6px; left: 50%; width: 34%; height: 9px; background: var(--a-ink); border-radius: 8px; transform: translateX(-50%); }
.mk-app-head { height: 8px; width: 55%; background: var(--a-ink); border-radius: 4px; }
.mk-app-card { height: 54px; border-radius: 10px; }
.mk-app-card--accent { background: linear-gradient(135deg, var(--a-accent), var(--a-accent-light)); }
.mk-app-row { height: 18px; background: #F2F4F7; border-radius: 6px; }
.mk-app-row--short { width: 70%; }
.mk-app-tabs { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; justify-content: space-between; }
.mk-app-tabs i { width: 12px; height: 12px; background: #D0D5DD; border-radius: 4px; }
.mk-app-tabs i:first-child { background: var(--a-accent); }

/* kurumsal kimlik */
.mk-brand {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 14px 18px;
    align-items: center;
    padding: 22px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 36px -18px rgba(16, 24, 40, .4);
}

.mk-logo { grid-row: span 2; display: grid; place-items: center; width: 74px; height: 74px; background: var(--a-ink); border-radius: 18px; }
.mk-logo svg { width: 42px; height: 42px; fill: #FDB022; }
.mk-type { display: flex; align-items: center; gap: 8px; }
.mk-type b { font-size: 1.75rem; font-weight: 800; letter-spacing: -.04em; color: var(--a-ink); }
.mk-type i { height: 8px; width: 34%; background: var(--a-line); border-radius: 4px; }
.mk-swatches { display: flex; gap: 6px; }
.mk-swatches i { width: 26px; height: 26px; border-radius: 8px; background: var(--a-ink); }
.mk-swatches i:nth-child(2) { background: #FDB022; }
.mk-swatches i:nth-child(3) { background: #F2F4F7; border: 1px solid var(--a-line); }
.mk-swatches i:nth-child(4) { background: var(--a-accent); }

/* ================================================================
   PROJE KARTI (pc-)
   ================================================================ */
.pj-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
}

.pc {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--pj-line);
    border-radius: 24px;
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, border-color .3s;
}

.pc[hidden] { display: none; }

.pc:hover {
    border-color: transparent;
    box-shadow: 0 32px 64px -36px rgba(16, 24, 40, .5), 0 0 0 1px var(--pj-line);
    transform: translateY(-6px);
}

a.pc:focus-visible { outline: 2px solid var(--pj-accent); outline-offset: 3px; }

/* görsel alanı */
.pc-media {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 11;
    overflow: hidden;
}

.pc-media--mavi    { background: linear-gradient(150deg, #E7ECFF, #C3CFFF); }
.pc-media--mor     { background: linear-gradient(150deg, #F2EAFF, #D6C3FF); }
.pc-media--turkuaz { background: linear-gradient(150deg, #E2F8F4, #B6EBE2); }
.pc-media--gece    { background: radial-gradient(420px 280px at 70% 20%, rgba(66, 99, 235, .55), transparent 70%), var(--a-black); }
.pc-media--amber   { background: linear-gradient(150deg, #FFF4E0, #FFD898); }

.pc-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}

.pc:hover .pc-media img { transform: scale(1.05); }

.pc-maket {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 30px 34px 0;
    transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}

/* maket alttan taşsın: ekran kartın içinden çıkıyor gibi */
.pc-maket > * { align-self: end; margin-bottom: -18px; }
.pc-maket .mk-browser { width: 100%; max-width: 440px; aspect-ratio: 16 / 10.5; }
.pc-maket .mk-phone { width: 34%; max-width: 140px; margin-bottom: -60px; }
.pc-maket .mk-brand { align-self: center; width: 80%; margin: 0 0 18px; }

.pc:hover .pc-maket { transform: translateY(-8px); }

.pc-pill,
.pc-year {
    position: absolute;
    top: 16px;
    z-index: 2;
    padding: 6px 12px;
    font-size: .75rem;
    font-weight: 700;
    border-radius: 999px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.pc-pill { left: 16px; color: var(--pj-ink); background: rgba(255, 255, 255, .85); }
.pc-year { right: 16px; color: #fff; background: rgba(11, 11, 15, .75); }
.pc-year--soon { background: #F79009; }

/* metin alanı */
.pc-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    padding: 24px 26px 8px;
}

.pc-client {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.pc-logo {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    font-weight: 800;
    color: #fff;
    background: var(--pj-black);
    border-radius: 12px;
}

.pc--soon .pc-logo { color: var(--pj-muted); background: var(--pj-bg); border: 1.5px dashed #D0D5DD; }

.pc-client strong { display: block; font-size: .875rem; line-height: 1.3; }
.pc-client small { display: block; font-size: .8125rem; color: var(--pj-muted); }

.pc-title {
    margin: 0;
    font-size: 1.3125rem;
    line-height: 1.3;
    letter-spacing: -.02em;
}

.pc-desc {
    margin: 0;
    font-size: .9375rem;
    line-height: 1.65;
    color: var(--pj-text);
}

.pc-services {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
}

.pc-services li {
    padding: 5px 11px;
    font-size: .75rem;
    font-weight: 600;
    color: var(--pj-text);
    border: 1px solid var(--pj-line);
    border-radius: 999px;
}

/* alt şerit */
.pc-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 18px 26px 0;
    padding: 16px 0 22px;
    border-top: 1px solid var(--pj-line);
}

.pc-tech { font-size: .8125rem; color: var(--pj-muted); }

.pc-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    font-size: .875rem;
    font-weight: 700;
    color: var(--pj-ink);
}

.pc-more svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .2s;
}

.pc:hover .pc-more { color: var(--pj-accent); }
.pc:hover .pc-more svg { transform: translateX(4px); }

.pc-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--pj-muted);
}

.pc-status i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #F79009;
    box-shadow: 0 0 0 4px rgba(247, 144, 9, .18);
}

/* öne çıkan geniş kart */
.pc--wide {
    grid-column: span 2;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    grid-template-rows: 1fr auto;
}

.pc--wide .pc-media { grid-row: span 2; aspect-ratio: auto; min-height: 380px; }
.pc--wide .pc-body { justify-content: center; padding: 36px 36px 8px; }
.pc--wide .pc-title { font-size: 1.75rem; }
.pc--wide .pc-desc { font-size: 1rem; }
.pc--wide .pc-foot { margin: 18px 36px 0; }
.pc--wide .pc-maket { padding: 40px 48px 0; }

/* ================================================================
   PROJE SAYFASI (pd-)
   ================================================================ */
.pd-demo {
    padding: 10px 16px;
    font-size: .875rem;
    text-align: center;
    color: #93370D;
    background: #FFFAEB;
    border-bottom: 1px solid #FEDF89;
}

.pd-head {
    padding: 48px 0 140px;
    color: #fff;
    background:
        radial-gradient(600px 320px at 85% 0%, rgba(66, 99, 235, .35), transparent 70%),
        var(--pj-black);
}

.pd-crumb { margin-bottom: 32px; }

.pd-pill {
    display: inline-block;
    margin-bottom: 18px;
    padding: 6px 14px;
    font-size: .8125rem;
    font-weight: 700;
    color: var(--pj-ink);
    background: #fff;
    border-radius: 999px;
}

.pd-title {
    max-width: 900px;
    margin: 0 0 18px;
    font-size: clamp(2.25rem, 1.4rem + 3vw, 3.75rem);
    line-height: 1.05;
    letter-spacing: -.045em;
}

.pd-lead {
    max-width: 680px;
    margin: 0 0 36px;
    font-size: 1.1875rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .75);
}

.pd-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.pd-meta div { padding: 18px 40px 0 0; }
.pd-meta div + div { padding-left: 40px; border-left: 1px solid rgba(255, 255, 255, .14); }
.pd-meta dt { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.pd-meta dd { margin: 4px 0 0; font-weight: 600; }

.pd-cover {
    display: grid;
    place-items: center;
    margin: -100px 0 0;
    overflow: hidden;
    aspect-ratio: 16 / 8;
    border-radius: 28px;
    box-shadow: 0 40px 80px -40px rgba(16, 24, 40, .5);
}

.pd-cover img { width: 100%; height: 100%; object-fit: cover; }
.pd-cover-maket { display: grid; place-items: center; width: 100%; height: 100%; padding: 56px 15% 0; }
.pd-cover-maket > * { align-self: end; margin-bottom: -24px; }
.pd-cover-maket .mk-browser { width: 100%; max-width: 760px; aspect-ratio: 16 / 9.5; }
.pd-cover-maket .mk-phone { width: 22%; max-width: 200px; margin-bottom: -120px; }
.pd-cover-maket .mk-brand { align-self: center; width: 60%; margin: 0 0 56px; }

.pd-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 64px;
    align-items: start;
    margin-top: 72px;
}

.pd-sec {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 8px;
    padding: 32px 0;
    border-top: 1px solid var(--pj-line);
}

.pd-sec:first-child { padding-top: 0; border-top: 0; }
.pd-num { margin: 4px 0 0; font-size: .875rem; font-weight: 700; color: var(--pj-accent); }
.pd-sec h2 { margin: 0 0 12px; font-size: 1.5rem; letter-spacing: -.02em; }
.pd-sec p { margin: 0; font-size: 1.0625rem; line-height: 1.8; color: var(--pj-text); }

.pd-results { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }

.pd-results li {
    position: relative;
    padding: 16px 18px 16px 52px;
    font-weight: 600;
    background: var(--pj-bg);
    border-radius: 14px;
}

.pd-results li::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    width: 24px;
    height: 24px;
    margin-top: -12px;
    border-radius: 50%;
    background: var(--pj-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.pd-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.pd-gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.pd-gallery img:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }

.pd-side { position: sticky; top: 100px; display: grid; gap: 16px; }

.pd-card {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--pj-line);
    border-radius: 22px;
}

.pd-card--dark { color: #fff; background: var(--pj-black); border-color: var(--pj-black); }

.pd-card-title {
    margin: 0 0 12px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--pj-muted);
}

.pd-card-title:not(:first-child) { margin-top: 24px; }

.pd-facts { display: grid; margin: 0; }
.pd-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: .9375rem; }
.pd-facts div + div { border-top: 1px solid var(--pj-line); }
.pd-facts dt { color: var(--pj-muted); }
.pd-facts dd { margin: 0; font-weight: 600; text-align: right; }

.pd-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pd-list li { position: relative; padding-left: 18px; font-size: .9375rem; }
.pd-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 2px; background: var(--pj-accent); }
.pd-tags { margin-top: 0; }

.pd-full { width: 100%; margin-top: 24px; }
.pj-btn--dark { color: #fff; background: var(--pj-black); }
.pj-btn--dark:hover { background: var(--pj-accent); }
.pd-card--dark .pd-full { margin-top: 18px; }
.pd-ask { margin: 0 0 8px; font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.pd-ask-text { margin: 0; font-size: .9375rem; line-height: 1.6; color: rgba(255, 255, 255, .7); }

.pd-more { margin-top: 96px; }
.pd-more-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.pd-more-head h2 { margin: 0; font-size: 1.75rem; letter-spacing: -.025em; }
.pd-more-head a { font-weight: 600; color: var(--pj-accent); text-decoration: none; }
.pj-grid--3 .pc--wide { grid-column: auto; display: flex; }

.pd-back { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--pj-line); }
.pd-back a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--pj-ink); text-decoration: none; }
.pd-back a:hover { color: var(--pj-accent); }
.pd-back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.pj-notice a { margin-left: 6px; font-weight: 700; color: inherit; }



/* Proje detayı telefonda tek sütun (projeler.css'teki kural bu dosyadan sonra ezilmesin diye burada da) */
@media (max-width: 1000px) {
    .pd-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .pd-side { position: static; }
}
