/* ozgurozatay.com.tr — ortak stil */
:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --ink: #14202e;
  --muted: #5b6573;
  --line: #e3dfd6;
  --accent: #b0742c;
  --accent-ink: #ffffff;
  --navy: #14202e;
  --ok: #2f7d4f;
  --err: #b3362c;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 32, 46, .06), 0 8px 24px rgba(20, 32, 46, .06);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f151d;
    --surface: #17202b;
    --ink: #eef1f4;
    --muted: #9aa5b2;
    --line: #273342;
    --accent: #d39a55;
    --accent-ink: #14202e;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }

/* Üst bar */
.topbar { border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; text-decoration: none; letter-spacing: .2px; }
.brand span { color: var(--accent); }
.nav { display: flex; gap: 20px; align-items: center; font-size: .93rem; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--bg); font: 600 .92rem var(--sans);
  text-decoration: none; cursor: pointer; transition: transform .15s, opacity .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.sm { padding: 7px 14px; font-size: .85rem; }

/* Public hero */
.hero { padding: 88px 0 56px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; color: var(--accent); font-weight: 700; margin: 0 0 14px; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.05; margin: 0 0 20px; letter-spacing: -.01em; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; margin: 0 0 28px; }
.section { padding: 48px 0; border-top: 1px solid var(--line); }
.section h2 { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; margin: 0 0 24px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card h3 { margin: 0 0 6px; font-size: 1.02rem; }
.card p { margin: 0; color: var(--muted); font-size: .93rem; }
.roles { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.roles li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.roles li strong { font-weight: 600; }
.roles li span { color: var(--muted); }
.footer { padding: 32px 0 48px; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); }

/* Giriş */
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.login-card { width: 100%; max-width: 400px; }
.login-card h1 { font-family: var(--serif); font-weight: 500; font-size: 1.9rem; margin: 0 0 6px; }
.login-card .sub { color: var(--muted); margin: 0 0 24px; font-size: .95rem; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .85rem; font-weight: 600; }
.field input {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); font: 1rem var(--sans);
}
.field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.alert { padding: 10px 14px; border-radius: 10px; font-size: .9rem; margin-bottom: 16px; }
.alert.err { background: color-mix(in srgb, var(--err) 12%, transparent); color: var(--err); }
.back { display: inline-block; margin-top: 18px; font-size: .88rem; color: var(--muted); }

/* Panel */
.panel-head { padding: 40px 0 8px; display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.panel-head h1 { font-family: var(--serif); font-weight: 500; font-size: 2.2rem; margin: 0; }
.panel-head p { margin: 4px 0 0; color: var(--muted); }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0; }
.toolbar input { flex: 1; min-width: 200px; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: .95rem var(--sans); }
.chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); font: 600 .82rem var(--sans); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.apps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); padding-bottom: 56px; }
.app { display: flex; flex-direction: column; gap: 14px; }
.app-top { display: flex; gap: 14px; align-items: flex-start; }
.app-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: color-mix(in srgb, var(--accent) 16%, transparent); }
.app h3 { margin: 0; font-size: 1.05rem; }
.meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.tag { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
.tag.web { color: var(--ok); }
.tag.desktop { color: var(--accent); }
.app p { margin: 0; color: var(--muted); font-size: .92rem; flex: 1; }
.app .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.note { font-size: .8rem; color: var(--muted); }
.empty { padding: 40px; text-align: center; color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 10px; font-size: .9rem; box-shadow: var(--shadow); max-width: calc(100% - 32px); opacity: 0; pointer-events: none; transition: opacity .2s; }
.toast.show { opacity: 1; }

/* Kısa bağlantılar */
.link-form { display: grid; gap: 4px 16px; grid-template-columns: 1.2fr 2fr 1.4fr auto; margin-top: 24px; }
.link-form .field { margin-bottom: 0; }
.prefix-input { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); overflow: hidden; }
.prefix-input span { padding-left: 12px; color: var(--muted); font-size: .85rem; white-space: nowrap; }
.prefix-input input { border: 0; padding-left: 2px; background: transparent; }
.table-wrap { overflow-x: auto; }
table.links { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.links th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 14px 18px; border-bottom: 1px solid var(--line); }
table.links td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.links tr:last-child td { border-bottom: 0; }
table.links .num { text-align: right; font-variant-numeric: tabular-nums; }
table.links .target { max-width: 420px; overflow-wrap: anywhere; }
table.links .target a { color: var(--muted); }
table.links .row-actions { white-space: nowrap; text-align: right; }
.group-title { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; margin: 8px 0 14px; }

@media (max-width: 860px) {
  .link-form { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav .hide-sm { display: none; }
  .hero { padding: 56px 0 40px; }
}

/* İletişim formu */
.contact-form { display: grid; gap: 4px 16px; grid-template-columns: 1fr 1fr; max-width: 760px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 1rem var(--sans); resize: vertical; }
.contact-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.contact-form .opt { font-weight: 400; color: var(--muted); }
.contact-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.form-msg { font-size: .92rem; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--err); }
@media (max-width: 600px) { .contact-form { grid-template-columns: 1fr; } }

/* Mesajlar */
.msg { margin-bottom: 14px; }
.msg.unread { border-left: 4px solid var(--accent); }
.msg-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.msg-head h3 { margin: 0; font-size: 1rem; }
.msg-meta { color: var(--muted); font-size: .85rem; }
.msg-body { white-space: pre-wrap; margin: 12px 0; color: var(--ink); font-size: .95rem; overflow-wrap: anywhere; }
.badge { display: inline-block; min-width: 20px; padding: 1px 7px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .75rem; font-weight: 700; text-align: center; margin-left: 4px; }
