/* ===================================================================
   Mühdesk — Modern koyu tema
   =================================================================== */

:root {
    --bg: #070b16;
    --bg-2: #0b1120;
    --surface: #111a2e;
    --surface-2: #16223c;
    --border: #223049;
    --text: #e7edf7;
    --muted: #93a2bd;
    --primary: #6366f1;
    --primary-2: #8b5cf6;
    --cyan: #22d3ee;
    --grad: linear-gradient(120deg, #6366f1 0%, #8b5cf6 45%, #22d3ee 100%);
    --grad-soft: linear-gradient(120deg, rgba(99,102,241,.18), rgba(34,211,238,.14));
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 24px 60px -20px rgba(0, 0, 0, .7);
    --maxw: 1200px;
    --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    --font-display: 'Sora', var(--font);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand-text { font-family: var(--font-display); line-height: 1.15; }

a { color: inherit; text-decoration: none; }

.container { width: min(var(--maxw), 92%); margin-inline: auto; }

/* Arka plan ızgara / ışıltı */
.bg-grid {
    position: fixed; inset: 0; z-index: -2; pointer-events: none;
    background-image:
        radial-gradient(600px circle at 15% 10%, rgba(99,102,241,.16), transparent 45%),
        radial-gradient(700px circle at 85% 20%, rgba(34,211,238,.12), transparent 45%),
        radial-gradient(600px circle at 60% 90%, rgba(139,92,246,.12), transparent 45%);
}
.bg-grid::after {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}

/* ---------- Header / Nav ---------- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    transition: background .3s, backdrop-filter .3s, border-color .3s;
    border-bottom: 1px solid transparent;
}
.site-header.scrolled {
    background: rgba(7, 11, 22, .8);
    backdrop-filter: blur(14px);
    border-bottom-color: var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; }
.brand-mark {
    width: 38px; height: 38px; display: grid; place-items: center;
    background: var(--grad); border-radius: 11px; color: #fff;
    font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
    box-shadow: 0 8px 22px -6px rgba(99,102,241,.6);
}
.brand-logo { height: 30px; width: auto; display: block; }
.brand-text { font-size: 1.35rem; letter-spacing: -.5px; }

.nav-links { display: flex; align-items: center; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
    padding: .55rem .9rem; border-radius: 10px; color: var(--muted);
    font-weight: 500; font-size: .95rem; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-cta {
    background: var(--grad); color: #fff !important; font-weight: 600;
    box-shadow: 0 10px 24px -10px rgba(99,102,241,.7);
}
.nav-cta:hover { filter: brightness(1.08); background: var(--grad) !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Butonlar ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .5rem; cursor: pointer;
    padding: .85rem 1.6rem; border-radius: 12px; font-weight: 600; font-size: .98rem;
    border: 1px solid transparent; transition: transform .2s, box-shadow .2s, filter .2s, background .2s;
    font-family: var(--font);
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 14px 30px -12px rgba(99,102,241,.8); }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: rgba(255,255,255,.08); transform: translateY(-2px); }

/* ---------- Bölüm başlıkları ---------- */
section { padding: 96px 0; position: relative; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.eyebrow {
    display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: 2px;
    text-transform: uppercase; color: var(--cyan); margin-bottom: 14px;
    padding: .35rem .9rem; border: 1px solid var(--border); border-radius: 999px;
    background: rgba(34,211,238,.06);
}
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 700; margin: 0 0 14px; letter-spacing: -1px; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Hero ---------- */
.hero { padding: 170px 0 120px; text-align: center; position: relative; }
.hero-badge {
    display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 28px;
    padding: .5rem 1.1rem; border: 1px solid var(--border); border-radius: 999px;
    background: rgba(255,255,255,.03); color: var(--muted); font-size: .9rem;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 12px #34d399; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; letter-spacing: -2px; margin: 0 0 24px; }
.hero p { max-width: 640px; margin: 0 auto 38px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero-tagline { font-family: var(--font-display); font-weight: 600; color: var(--text) !important; font-size: clamp(1.1rem, 2.2vw, 1.35rem) !important; margin-bottom: 16px !important; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; justify-content: center; margin-top: 72px; flex-wrap: wrap; }
.hero-stats .stat b { display: block; font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; }
.hero-stats .stat span { color: var(--muted); font-size: .95rem; }

/* ---------- Kartlar / grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
    position: relative; background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 30px; transition: transform .3s, border-color .3s, box-shadow .3s;
    overflow: hidden;
}
.card::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
    background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s;
    /* Kartın içindeki bağlantı/butonların tıklanmasını engellememeli */
    pointer-events: none;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }

/* Hizmet kartı */
.service-icon {
    width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
    background: var(--grad-soft); border: 1px solid var(--border); margin-bottom: 22px; color: var(--cyan);
}
.service-icon svg { width: 28px; height: 28px; }
.service-card { display: flex; flex-direction: column; }
.service-card h3 { font-size: 1.18rem; margin: 0 0 10px; line-height: 1.35; }
.service-card p { color: var(--muted); margin: 0 0 16px; font-size: .95rem; flex: 1; }
.service-card .project-link { font-size: .88rem; }

/* Proje kartı */
.project-card { padding: 0; display: flex; flex-direction: column; }
.project-thumb {
    height: 190px; background: var(--grad-soft); position: relative; overflow: hidden;
    display: grid; place-items: center;
}
.project-thumb img { width: 100%; height: 100%; object-fit: cover; }
.project-thumb .ph-icon { font-size: 3rem; opacity: .5; }
.project-badge {
    position: absolute; top: 14px; left: 14px; z-index: 2;
    padding: .3rem .8rem; border-radius: 999px; font-size: .78rem; font-weight: 600;
    background: rgba(7,11,22,.7); backdrop-filter: blur(6px); border: 1px solid var(--border); color: var(--cyan);
}
.project-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.project-body h3 { font-size: 1.2rem; margin: 0 0 8px; }
.project-body p { color: var(--muted); font-size: .95rem; margin: 0 0 16px; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tag { font-size: .78rem; padding: .28rem .7rem; border-radius: 8px; background: rgba(255,255,255,.04); border: 1px solid var(--border); color: var(--muted); }
.project-link { color: var(--cyan); font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; }
.project-link:hover { gap: 10px; }

/* Ekip kartı */
.member { text-align: center; }
.member-avatar {
    width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 18px; overflow: hidden;
    background: var(--grad); display: grid; place-items: center; font-family: var(--font-display);
    font-size: 2.2rem; font-weight: 800; color: #fff; border: 3px solid var(--border);
}
.member-avatar img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { font-size: 1.15rem; margin: 0 0 4px; }
.member .role { color: var(--cyan); font-size: .9rem; font-weight: 600; margin-bottom: 10px; }
.member .bio { color: var(--muted); font-size: .9rem; margin: 0 0 14px; }
.member-social { display: flex; gap: 10px; justify-content: center; }
.member-social a {
    width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center;
    background: rgba(255,255,255,.04); border: 1px solid var(--border); color: var(--muted); transition: .2s;
}
.member-social a:hover { color: var(--cyan); border-color: var(--cyan); transform: translateY(-2px); }
.member-social svg { width: 18px; height: 18px; }

/* ---------- Hakkımızda ---------- */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.about h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 0 0 20px; letter-spacing: -1px; }
.about p { color: var(--muted); margin: 0 0 18px; }
.about-features { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.about-features li { display: flex; gap: 12px; align-items: flex-start; }
.about-features .check {
    flex-shrink: 0; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center;
    background: var(--grad-soft); color: var(--cyan); border: 1px solid var(--border); font-size: .8rem;
}
.about-visual {
    aspect-ratio: 1; border-radius: 24px; background: var(--grad-soft); border: 1px solid var(--border);
    position: relative; overflow: hidden; display: grid; place-items: center;
}
.about-visual .code-window {
    width: 82%; background: var(--bg-2); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow);
}
.code-dots { display: flex; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.code-dots span { width: 11px; height: 11px; border-radius: 50%; }
.code-dots span:nth-child(1) { background: #ff5f57; }
.code-dots span:nth-child(2) { background: #febc2e; }
.code-dots span:nth-child(3) { background: #28c840; }
.code-body { padding: 18px; font-family: 'Cascadia Code', 'Consolas', monospace; font-size: .82rem; line-height: 1.9; }
.code-body .kw { color: #c084fc; } .code-body .fn { color: #22d3ee; } .code-body .str { color: #86efac; } .code-body .cm { color: #64748b; }

/* ---------- İletişim ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: start; }
.contact-info h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0 0 16px; letter-spacing: -1px; }
.contact-info p { color: var(--muted); margin: 0 0 28px; }
.contact-item { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.contact-item .ci-icon { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--border); color: var(--cyan); flex-shrink: 0; }
.contact-item b { display: block; font-size: .95rem; }
.contact-item span { color: var(--muted); font-size: .9rem; }

.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: 8px; color: var(--text); }
.field input, .field textarea, .field select {
    width: 100%; padding: .85rem 1rem; border-radius: 11px; background: var(--bg-2);
    border: 1px solid var(--border); color: var(--text); font-family: var(--font); font-size: .95rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99,102,241,.2); }
.field .val { color: #f87171; font-size: .82rem; margin-top: 6px; display: block; }

.alert { padding: 14px 18px; border-radius: 11px; margin-bottom: 20px; font-size: .92rem; }
.alert-success { background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.4); color: #6ee7b7; }
.alert-error { background: rgba(248,113,113,.12); border: 1px solid rgba(248,113,113,.4); color: #fca5a5; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 60px 0 30px; margin-top: 40px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-tag { color: var(--muted); margin: 16px 0 0; max-width: 320px; }
.footer-grid h4 { font-size: 1rem; margin: 0 0 16px; }
.footer-grid a { display: block; color: var(--muted); padding: 5px 0; font-size: .93rem; transition: color .2s; }
.footer-grid a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: center; align-items: center; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: .9rem; flex-wrap: wrap; gap: 12px; text-align: center; }

/* ---------- Projeler sayfası filtre ---------- */
.page-hero { padding: 150px 0 60px; text-align: center; }
.filter-bar { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.filter-bar a { padding: .55rem 1.2rem; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); font-size: .92rem; font-weight: 500; transition: .2s; }
.filter-bar a:hover { color: var(--text); border-color: var(--primary); }
.filter-bar a.active { background: var(--grad); color: #fff; border-color: transparent; }

.empty-state { text-align: center; padding: 80px 20px; color: var(--muted); }

/* ---------- Hata sayfası ---------- */
.error-code {
    font-family: var(--font-display); font-weight: 800; font-size: clamp(4.5rem, 14vw, 8rem);
    line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text;
    color: transparent; letter-spacing: -4px;
}

/* ---------- Proje detay sayfası ---------- */
/* align-items: start yapılırsa yan sütun kısa kalır ve sticky kutu kaybolup
   sağ taraf boş görünür; stretch ile kutu sayfa boyunca yapışık kalır. */
.detail-grid { display: grid; grid-template-columns: 1fr 330px; gap: 48px; align-items: stretch; }
.detail-h { font-size: 1.4rem; margin: 0 0 16px; letter-spacing: -.5px; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.feature-list .check { flex-shrink: 0; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: var(--grad-soft); color: var(--cyan); border: 1px solid var(--border); font-size: .8rem; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.gallery-item { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16/10; background: var(--surface); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.05); }
.meta-list { margin: 0; display: grid; gap: 12px; }
.meta-list > div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.meta-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.meta-list dt { color: var(--muted); font-size: .9rem; margin: 0; }
.meta-list dd { margin: 0; font-weight: 600; font-size: .92rem; text-align: right; }
.detail-cta { text-align: center; margin: 80px 0 20px; padding: 50px 30px; border-radius: var(--radius); background: var(--grad-soft); border: 1px solid var(--border); }
.detail-cta h3 { font-size: 1.6rem; margin: 0 0 10px; }
.detail-cta p { color: var(--muted); margin: 0 0 24px; }

/* ---------- Scroll reveal animasyonu ---------- */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal].d1 { transition-delay: .08s; } [data-reveal].d2 { transition-delay: .16s; }
[data-reveal].d3 { transition-delay: .24s; } [data-reveal].d4 { transition-delay: .32s; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.floating { animation: float 6s ease-in-out infinite; }

/* ---------- Açık tema ---------- */
:root[data-theme="light"] {
    --bg: #f7f8fc;
    --bg-2: #ffffff;
    --surface: #ffffff;
    --surface-2: #f1f3f9;
    --border: #e2e6f0;
    --text: #12182a;
    --muted: #5a6782;
    /* Açık zeminde parlak turkuaz okunmuyor (1.7:1); koyu ton 5:1 üzeri kontrast verir */
    --cyan: #0e7490;
    --shadow: 0 24px 60px -24px rgba(30, 41, 90, .25);
}
:root[data-theme="light"] .site-header.scrolled { background: rgba(255, 255, 255, .82); }
:root[data-theme="light"] .nav-links a:hover { background: rgba(0, 0, 0, .04); }
:root[data-theme="light"] .code-body .cm { color: #94a3b8; }
:root[data-theme="light"] .bg-grid::after { opacity: .5; }

/* ---------- Nav araçları: tema + dil ---------- */
.nav-tools { display: flex; align-items: center; gap: 8px; }
.icon-btn { background: rgba(255,255,255,.04); border: 1px solid var(--border); color: var(--muted); width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; cursor: pointer; transition: .2s; }
.icon-btn:hover { color: var(--text); border-color: var(--primary); }
.icon-btn .icon-moon { display: none; }
:root[data-theme="light"] .icon-btn .icon-sun { display: none; }
:root[data-theme="light"] .icon-btn .icon-moon { display: block; }
.lang-switch { font-size: .82rem; font-weight: 700; letter-spacing: .5px; padding: .5rem .7rem; border: 1px solid var(--border); border-radius: 10px; color: var(--muted); transition: .2s; }
.lang-switch:hover { color: var(--text); border-color: var(--primary); }

/* ---------- Referanslar ---------- */
.testimonial { display: flex; flex-direction: column; }
.testimonial .stars { color: #fbbf24; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial .quote { color: var(--text); font-size: 1.02rem; line-height: 1.7; margin: 0 0 22px; flex: 1; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: var(--grad); display: grid; place-items: center; font-weight: 800; color: #fff; flex-shrink: 0; }
.t-avatar img { width: 100%; height: 100%; object-fit: cover; }
.t-author b { display: block; font-size: .95rem; }
.t-author span { color: var(--muted); font-size: .85rem; }

/* ---------- SSS akordeon ---------- */
.faq-list { display: grid; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: var(--grad-soft); color: var(--cyan); display: grid; place-items: center; font-size: 1.2rem; transition: transform .3s; border: 1px solid var(--border); }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 22px; color: var(--muted); line-height: 1.75; }

/* ---------- Blog ---------- */
.blog-date { color: var(--cyan); font-size: .82rem; font-weight: 600; display: block; margin-bottom: 8px; }
.blog-content { color: var(--muted); font-size: 1.08rem; line-height: 1.9; }
.blog-content { white-space: normal; }
.blog-content p { margin: 0 0 1.2em; }
.blog-content h2 { color: var(--text); font-size: 1.55rem; letter-spacing: -.5px; margin: 1.8em 0 .6em; }
.blog-content h3 { color: var(--text); font-size: 1.2rem; margin: 1.5em 0 .5em; }
.blog-content ul { margin: 0 0 1.2em; padding-left: 1.3em; }
.blog-content li { margin-bottom: .4em; }
.blog-content strong { color: var(--text); }
.blog-content a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.blog-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: center; color: var(--muted); font-size: .9rem; }

/* ---------- WhatsApp butonu ---------- */
.whatsapp-fab { position: fixed; bottom: 26px; right: 26px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7); transition: transform .25s; animation: float 5s ease-in-out infinite; }
.whatsapp-fab:hover { transform: scale(1.08); }

/* ---------- Yasal sayfalar ---------- */
.legal { color: var(--muted); font-size: 1.02rem; line-height: 1.85; }
.legal h2 { color: var(--text); font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -.3px; margin: 38px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal p { margin: 0 0 16px; }
.legal ul { margin: 0 0 18px; padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { opacity: .8; }
.legal strong { color: var(--text); }
.legal code { background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: .1rem .4rem; font-size: .88em; font-family: 'Cascadia Code', Consolas, monospace; }
.legal-note { background: var(--grad-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 22px; margin: 26px 0; color: var(--text); font-size: .96rem; }
.table-wrap { overflow-x: auto; margin: 0 0 22px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.legal-table th, .legal-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.legal-table th { color: var(--text); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .5px; }
.legal-table tr:last-child td { border-bottom: 0; }
.muted-inline { font-size: .82em; opacity: .7; }

/* ---------- Form onay kutusu ---------- */
.consent-field { display: flex; align-items: flex-start; gap: 11px; margin: 0 0 20px; cursor: pointer; font-size: .9rem; color: var(--muted); line-height: 1.6; }
.consent-field input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--primary); cursor: pointer; }
.consent-field a { color: var(--cyan); }
.consent-field a:hover { text-decoration: underline; }

/* ---------- Alt bilgi yasal linkler ---------- */
.footer-legal { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; padding-top: 22px; font-size: .88rem; }
.footer-legal a { color: var(--muted); transition: color .2s; }
.footer-legal a:hover { color: var(--cyan); }
.footer-legal .sep { color: var(--border); }

/* ---------- Çerez bilgilendirme şeridi ---------- */
.cookie-notice {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 18px 22px;
    transform: translateY(140%); opacity: 0; transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .35s;
    max-width: 760px; margin-inline: auto;
}
.cookie-notice.show { transform: translateY(0); opacity: 1; }
.cookie-inner { display: flex; align-items: center; gap: 20px; }
.cookie-text { flex: 1; font-size: .9rem; color: var(--muted); line-height: 1.55; }
.cookie-text strong { display: block; color: var(--text); font-size: .96rem; margin-bottom: 3px; }
.cookie-text a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.btn-cookie { flex-shrink: 0; padding: .7rem 1.5rem; font-size: .92rem; }

/* ---------- Çerez onayı (Analytics açıkken) ---------- */
.cookie-notice.consent .cookie-inner { align-items: flex-end; }
.consent-actions { display: flex; gap: 8px; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
.consent-actions .btn-cookie { padding: .65rem 1.1rem; }
.consent-options { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; }
.consent-options[hidden] { display: none; }
.consent-options label { display: inline-flex; align-items: center; gap: 8px; color: var(--text); cursor: pointer; }
.consent-options input { width: 16px; height: 16px; accent-color: var(--primary); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; transition: color .2s; }
.link-btn:hover { color: var(--cyan); }

/* ---------- Teklif formu ---------- */
.quote-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.quote-aside { position: sticky; top: 100px; }
.quote-aside ol { margin: 0; padding-left: 20px; color: var(--muted); line-height: 1.7; }
.quote-aside li { margin-bottom: 10px; }
.quote-aside li b { color: var(--text); }
.field select { width: 100%; }
.consent-error { display: block; color: #f87171; font-size: .85rem; margin: -12px 0 16px; }
.field .hint { display: block; color: var(--muted); font-size: .82rem; margin-top: 6px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #f87171; }
.char-count { float: right; font-weight: 400; color: var(--muted); font-size: .8rem; }
.quote-success { text-align: center; padding: 40px 20px; }
.quote-success .ok-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; background: var(--grad-soft); color: var(--cyan); font-size: 1.8rem; }

/* ---------- Adımlı teklif formu ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.q-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.q-step[hidden], .q-steps[hidden], .q-nav [hidden], .q-wa[hidden] { display: none; }
.q-steps { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 26px; }
.q-steps li { flex: 1; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); color: var(--muted); font-size: .86rem; font-weight: 500; }
.q-steps li span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: .78rem; font-weight: 700; flex-shrink: 0; }
.q-steps li.active { color: var(--text); border-color: var(--primary); }
.q-steps li.active span, .q-steps li.done span { background: var(--grad); color: #fff; }
.q-nav { display: flex; gap: 12px; }
.q-nav .btn { flex: 1; justify-content: center; }
.q-nav .btn-ghost { flex: 0 0 auto; }
.q-wa { text-align: center; color: var(--muted); font-size: .9rem; margin: 16px 0 0; }
.q-wa a { color: var(--cyan); font-weight: 600; }

/* ---------- Hizmet fiyatı, proje sonucu ---------- */
.price-from { display: inline-flex; gap: 8px; align-items: baseline; margin: 20px 0 0; padding: 8px 18px; border-radius: 999px; background: var(--grad-soft); border: 1px solid var(--border); color: var(--muted); font-size: .95rem; }
.price-from b { color: var(--text); }
.outcome-box { border: 1px solid var(--border); border-left: 4px solid var(--cyan); border-radius: var(--radius-sm); background: var(--grad-soft); padding: 20px 24px; margin-bottom: 36px; }
.outcome-box h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--cyan); }
.outcome-box p { margin: 0; color: var(--text); font-size: 1.05rem; line-height: 1.7; white-space: pre-line; }
.google-badge { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.google-badge:hover { color: var(--cyan); }

/* ---------- Mobil sabit iletişim çubuğu ---------- */
.mobile-bar { display: none; }
@media (max-width: 680px) {
    .mobile-bar {
        display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 140;
        background: var(--surface); border-top: 1px solid var(--border); padding-bottom: env(safe-area-inset-bottom);
    }
    .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 4px 8px; font-size: .74rem; font-weight: 600; color: var(--text); }
    .mobile-bar a + a { border-left: 1px solid var(--border); }
    .mobile-bar svg { width: 20px; height: 20px; }
    .mobile-bar a.primary { background: var(--grad); color: #fff; }
    body.has-mobile-bar { padding-bottom: 58px; }
    body.has-mobile-bar .whatsapp-fab { display: none; }
    body.has-mobile-bar .cookie-notice { bottom: 70px; }
    .q-steps li { font-size: 0; justify-content: center; padding: 8px; }
}

/* ---------- Mağaza / kaynak bağlantıları ---------- */
.store-links { display: grid; gap: 10px; margin-top: 22px; }
.store-links .btn { width: 100%; justify-content: center; }

/* ---------- Honeypot (gizli) ---------- */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Lightbox (galeri büyüteci) ---------- */
.lightbox {
    position: fixed; inset: 0; z-index: 200; display: none;
    align-items: center; justify-content: center;
    background: rgba(4, 7, 15, .93); backdrop-filter: blur(6px);
    padding: 40px 70px;
}
.lightbox.open { display: flex; animation: lbFade .22s ease; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
.lb-img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.8); object-fit: contain; }
.lb-close, .lb-nav {
    position: absolute; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
    color: #fff; cursor: pointer; border-radius: 50%; display: grid; place-items: center;
    transition: background .2s, transform .2s; line-height: 1;
}
.lb-close { top: 20px; right: 24px; width: 44px; height: 44px; font-size: 1.7rem; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 2rem; }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.18); }
.lb-nav:hover { transform: translateY(-50%) scale(1.08); }
.lb-counter { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.75); font-size: .9rem; }
.gallery-item { cursor: zoom-in; }

/* ---------- Video oynatıcı (16:9) ---------- */
.video-frame { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Bölüm ritmi: dönüşümlü zeminler ---------- */
.band { position: relative; background: var(--bg-2); }
.band::before, .band::after {
    content: ""; position: absolute; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--border) 15%, var(--border) 85%, transparent);
}
.band::before { top: 0; } .band::after { bottom: 0; }

/* ---------- Süreç: yatay zaman çizgisi ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.timeline-line {
    position: absolute; top: 21px; left: 12%; right: 12%; height: 2px;
    background: linear-gradient(90deg, rgba(99,102,241,.15), var(--primary), var(--primary-2), var(--cyan), rgba(34,211,238,.15));
    border-radius: 2px;
}
.timeline-step { position: relative; text-align: center; padding-top: 0; }
.timeline-step .process-num {
    width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 20px;
    background: var(--grad); color: #fff; display: grid; place-items: center;
    font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
    box-shadow: 0 0 0 6px var(--bg-2), 0 10px 24px -10px rgba(99,102,241,.8);
    position: relative; z-index: 2; transition: transform .3s;
}
.timeline-step:hover .process-num { transform: scale(1.12); }
.timeline-step h3 { font-size: 1.08rem; margin: 0 0 8px; }
.timeline-step p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Süreç kartı (eski grid — diğer sayfalarda kullanılabilir) */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.process-step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; transition: transform .3s, border-color .3s; }
.process-step:hover { transform: translateY(-5px); border-color: var(--primary); }
.process-num { width: 42px; height: 42px; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; margin-bottom: 18px; box-shadow: 0 10px 22px -10px rgba(99,102,241,.7); }
.process-step h3 { font-size: 1.12rem; margin: 0 0 8px; }
.process-step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- Proje vitrini: ilk proje büyük (bento) ---------- */
.project-showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card.featured { grid-column: span 2; grid-row: span 2; }
/* Tek öne çıkan proje varken kart tüm genişliği kaplar; sağda boşluk kalmaz */
.project-card.featured:only-child { grid-column: 1 / -1; grid-row: auto; }
.project-card.featured:only-child .project-thumb { height: 420px; }
/* Tam iki öne çıkan proje: biri büyük biri küçük durmasın, eşit iki sütun */
.project-showcase:has(> .project-card:nth-child(2):last-child) { grid-template-columns: 1fr 1fr; }
.project-showcase:has(> .project-card:nth-child(2):last-child) > .project-card { grid-column: auto; grid-row: auto; }
.project-showcase:has(> .project-card:nth-child(2):last-child) .project-thumb { height: 300px; }
.project-card.featured .project-thumb { height: 320px; }
.project-card.featured .project-body { padding: 30px; }
.project-card.featured .project-body h3 { font-size: 1.6rem; letter-spacing: -.5px; }
.project-card.featured .project-body p { font-size: 1.02rem; }

/* ---------- Hizmet satırları (hizmetler sayfası) ---------- */
.service-rows { display: grid; gap: 22px; }
.service-row {
    display: grid; grid-template-columns: 110px 1fr; gap: 30px; align-items: center;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 34px; transition: transform .3s, border-color .3s, box-shadow .3s;
}
.service-row:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow); }
.service-row.reverse { grid-template-columns: 1fr 110px; }
.service-row.reverse .service-row-icon { order: 2; }
.service-row-icon {
    width: 100px; height: 100px; border-radius: 22px; display: grid; place-items: center;
    background: var(--grad-soft); border: 1px solid var(--border); color: var(--cyan);
}
.service-row-icon svg { width: 46px; height: 46px; }
.service-row-body h2 { font-size: 1.5rem; margin: 0 0 10px; letter-spacing: -.5px; }
.service-row-body p { color: var(--muted); margin: 0 0 14px; }
.mini-features { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.mini-features li { color: var(--muted); font-size: .89rem; position: relative; padding-left: 16px; }
.mini-features li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-size: .8rem; }

/* Hizmet detay sayfası */
.service-hero-icon {
    width: 76px; height: 76px; border-radius: 20px; display: grid; place-items: center;
    background: var(--grad-soft); border: 1px solid var(--border); color: var(--cyan); margin: 0 auto;
}
.service-hero-icon svg { width: 38px; height: 38px; }
.other-services { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.other-service {
    display: inline-flex; align-items: center; gap: 10px; padding: .7rem 1.2rem;
    border: 1px solid var(--border); border-radius: 999px; color: var(--muted);
    font-size: .92rem; font-weight: 500; transition: .2s; background: var(--surface);
}
.other-service:hover { color: var(--text); border-color: var(--primary); transform: translateY(-2px); }
.os-icon { display: grid; place-items: center; color: var(--cyan); }
.os-icon svg { width: 17px; height: 17px; }

/* ---------- Kategori sayı rozeti ---------- */
.filter-bar .count { display: inline-block; margin-left: 7px; padding: .1rem .45rem; border-radius: 999px; background: rgba(255,255,255,.08); font-size: .75rem; font-weight: 600; }
.filter-bar a.active .count { background: rgba(255,255,255,.25); }
:root[data-theme="light"] .filter-bar .count { background: rgba(0,0,0,.07); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .about, .contact, .detail-grid { grid-template-columns: 1fr; gap: 40px; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .timeline { grid-template-columns: repeat(2, 1fr); gap: 34px; }
    .timeline-line { display: none; }
    .project-showcase { grid-template-columns: repeat(2, 1fr); }
    .project-card.featured { grid-column: span 2; grid-row: auto; }
    .project-card.featured .project-thumb, .project-card.featured:only-child .project-thumb { height: 240px; }
    .about-visual { max-width: 420px; }
    .detail-aside .card { position: static !important; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .quote-wrap { grid-template-columns: 1fr; }
    .quote-aside { position: static; }
}
@media (max-width: 680px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed; top: 74px; left: 0; right: 0; flex-direction: column; align-items: stretch;
        background: rgba(7,11,22,.97); backdrop-filter: blur(14px); padding: 16px; gap: 6px;
        border-bottom: 1px solid var(--border); transform: translateY(-140%); transition: transform .35s; z-index: 99;
    }
    .nav-links.open { transform: translateY(0); }
    .nav-links a { padding: .8rem 1rem; }
    .grid-3, .grid-4, .grid-2, .form-row, .process-grid, .timeline, .project-showcase { grid-template-columns: 1fr; }
    .cookie-inner { flex-direction: column; align-items: stretch; gap: 14px; }
    .btn-cookie { width: 100%; justify-content: center; }
    .consent-actions { flex-direction: column-reverse; }
    .cookie-notice.consent .cookie-inner { align-items: stretch; }
    .form-card { padding: 22px; }
    .project-card.featured { grid-column: span 1; }
    .project-card.featured .project-thumb, .project-card.featured:only-child .project-thumb { height: 190px; }
    .project-showcase:has(> .project-card:nth-child(2):last-child) { grid-template-columns: 1fr; }
    .project-showcase:has(> .project-card:nth-child(2):last-child) .project-thumb { height: 190px; }
    .project-card.featured .project-body { padding: 24px; }
    .project-card.featured .project-body h3 { font-size: 1.2rem; }
    .service-row, .service-row.reverse { grid-template-columns: 1fr; gap: 20px; padding: 26px; text-align: left; }
    .service-row.reverse .service-row-icon { order: 0; }
    .service-row-icon { width: 72px; height: 72px; border-radius: 18px; }
    .service-row-icon svg { width: 34px; height: 34px; }
    .lightbox { padding: 20px 12px; }
    .lb-nav { width: 40px; height: 40px; font-size: 1.6rem; }
    .lb-prev { left: 6px; } .lb-next { right: 6px; }
    .hero-stats { gap: 30px; }
    section { padding: 70px 0; }
    .footer-grid { grid-template-columns: 1fr; }
}
