/* ============ Portfolyo Teması ============ */
:root {
    --bg: #0b0d13;
    --bg-soft: #11141d;
    --card: #161a26;
    --line: #252b3b;
    --txt: #eef0f7;
    --muted: #98a0b6;
    --acc: #7c6cf7;
    --acc-2: #4ecdc4;
    --acc-grad: linear-gradient(120deg, #7c6cf7, #4ecdc4);
    --radius: 16px;
    --ok: #2ecc71;
    --err: #e74c3c;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--txt);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Sora', 'Inter', sans-serif; line-height: 1.25; }
a { color: var(--acc); text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---- Header ---- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(11, 13, 19, .82);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 21px; color: var(--txt); }
.logo-dot { color: var(--acc); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--muted); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav a:hover { color: var(--txt); }
.nav-toggle { display: none; background: none; border: none; color: var(--txt); font-size: 24px; cursor: pointer; }

/* ---- Butonlar ---- */
.btn {
    display: inline-block; padding: 13px 26px; border-radius: 12px;
    font-weight: 600; font-size: 15px; cursor: pointer; border: none;
    transition: transform .15s, filter .2s, background .2s;
    font-family: 'Inter', sans-serif;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.btn-primary { background: var(--acc-grad); color: #fff !important; }
.btn-outline { background: transparent; color: var(--txt) !important; border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--acc); }
.btn-sm { padding: 9px 18px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ---- Hero ---- */
.hero { padding: 96px 0 80px; position: relative; overflow: hidden; }
.hero::before {
    content: ''; position: absolute; top: -220px; right: -160px;
    width: 560px; height: 560px; border-radius: 50%;
    background: radial-gradient(circle, rgba(124,108,247,.22), transparent 65%);
    pointer-events: none;
}
.hero::after {
    content: ''; position: absolute; bottom: -260px; left: -180px;
    width: 520px; height: 520px; border-radius: 50%;
    background: radial-gradient(circle, rgba(78,205,196,.14), transparent 65%);
    pointer-events: none;
}
.hero-inner { position: relative; max-width: 720px; }
.hero .kicker {
    display: inline-block; padding: 7px 16px; border-radius: 100px;
    border: 1px solid var(--line); color: var(--acc-2);
    font-size: 13px; font-weight: 600; letter-spacing: .04em;
    margin-bottom: 22px; background: var(--bg-soft);
}
.hero h1 { font-size: clamp(34px, 6vw, 58px); font-weight: 800; margin-bottom: 18px; }
.hero h1 .grad { background: var(--acc-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 18px; color: var(--muted); margin-bottom: 34px; max-width: 600px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- Bölümler ---- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 40px; }
.section-head h2 { font-size: clamp(26px, 4vw, 34px); margin-bottom: 8px; }
.section-head p { color: var(--muted); max-width: 560px; }

/* ---- Proje kartları ---- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-5px); border-color: #3a4260; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.card-img { aspect-ratio: 16/10; background: #0d1019; position: relative; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-img .noimg {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    font-family: 'Sora', sans-serif; font-size: 40px; font-weight: 800; color: #2b3350;
    background: linear-gradient(135deg, #131728, #0d1019);
}
.card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 19px; margin-bottom: 8px; }
.card-body h3 a { color: var(--txt); }
.card-body h3 a:hover { color: var(--acc); }
.card-body p { color: var(--muted); font-size: 14.5px; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; gap: 10px; }
.price { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 18px; color: var(--acc-2); }
.badge {
    display: inline-block; padding: 4px 12px; border-radius: 100px; font-size: 12px; font-weight: 600;
    background: rgba(124,108,247,.15); color: #a99cff;
}

/* ---- Proje detay ---- */
.detail { padding: 64px 0; }
.detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.detail-img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.detail h1 { font-size: clamp(28px, 4.5vw, 40px); margin-bottom: 14px; }
.detail-desc { color: #c6ccdd; font-size: 16px; white-space: pre-line; margin-top: 26px; }
.buy-box {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px; position: sticky; top: 92px;
}
.buy-box .price { font-size: 32px; display: block; margin-bottom: 6px; }
.buy-box .note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.buy-box ul { list-style: none; margin: 18px 0; }
.buy-box ul li { padding: 7px 0; color: var(--muted); font-size: 14.5px; border-bottom: 1px dashed var(--line); }
.buy-box ul li::before { content: '✓  '; color: var(--ok); font-weight: 700; }

/* ---- Hakkımda ---- */
.about-text { max-width: 760px; color: #c6ccdd; font-size: 16.5px; white-space: pre-line; }

/* ---- Formlar ---- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
input, textarea, select {
    width: 100%; padding: 13px 15px; background: #0e111a; border: 1px solid var(--line);
    border-radius: 11px; color: var(--txt); font-size: 15px; font-family: 'Inter', sans-serif;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--acc); }
textarea { resize: vertical; min-height: 130px; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; max-width: 680px; }

/* ---- Uyarılar ---- */
.alert { padding: 14px 18px; border-radius: 12px; font-size: 14.5px; margin: 18px 0; }
.alert-ok { background: rgba(46,204,113,.1); border: 1px solid rgba(46,204,113,.35); color: #7ee2a8; }
.alert-err { background: rgba(231,76,60,.1); border: 1px solid rgba(231,76,60,.35); color: #ff8a7a; }
.alert-info { background: rgba(124,108,247,.1); border: 1px solid rgba(124,108,247,.35); color: #b3a8ff; }

/* ---- Sipariş / satın alma sayfaları ---- */
.narrow { max-width: 620px; margin: 0 auto; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.order-row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.order-row b { font-family: 'Sora', sans-serif; }
.status-pill { display: inline-block; padding: 5px 14px; border-radius: 100px; font-size: 13px; font-weight: 600; }
.st-odendi { background: rgba(46,204,113,.15); color: #7ee2a8; }
.st-bekliyor { background: rgba(241,196,15,.15); color: #f5d367; }
.st-basarisiz { background: rgba(231,76,60,.15); color: #ff8a7a; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0; margin-top: 40px; }
.footer-wrap { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--txt); }

/* ---- Duyarlı ---- */
@media (max-width: 900px) {
    .grid { grid-template-columns: repeat(2, 1fr); }
    .detail-grid { grid-template-columns: 1fr; }
    .buy-box { position: static; }
}
@media (max-width: 640px) {
    .grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .nav {
        display: none; position: absolute; top: 68px; left: 0; right: 0;
        background: var(--bg-soft); border-bottom: 1px solid var(--line);
        flex-direction: column; padding: 22px; gap: 18px;
    }
    .nav.open { display: flex; }
    .nav-toggle { display: block; }
    .hero { padding: 64px 0 56px; }
}
