:root {
  --ink: #161310;
  --ink-soft: #3a342c;
  --paper: #f6f1e8;
  --paper-2: #efe8db;
  --white: #fffcf7;
  --line: rgba(22, 19, 16, 0.1);
  --bronze: #b0894f;
  --bronze-2: #d4b483;
  --bronze-dark: #8a6a38;
  --slate: #2b333c;
  --ok: #1f7a4d;
  --shadow: 0 18px 50px rgba(22, 19, 16, 0.12);
  --radius: 18px;
  --max: 1180px;
  --nav-h: 78px;
  --font: "Manrope", system-ui, sans-serif;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16.5px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.skip {
  position: absolute; left: -999px; top: 8px;
}
.skip:focus { left: 12px; z-index: 80; background: #fff; padding: 8px 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 232, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--nav-h); gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 48px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--serif); font-size: 1.35rem; letter-spacing: .04em; }
.brand-text span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.nav-links { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: .95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--bronze-dark); }
.lang {
  display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-size: .8rem; font-weight: 700;
}
.lang a { padding: 6px 10px; }
.lang a.active { background: var(--ink); color: var(--paper); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 13px 22px; font-weight: 700; border: 0; cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--paper); border: 1px solid rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-line { background: transparent; border: 1px solid var(--ink); }
.menu-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; width: 22px; background: var(--ink); margin: 7px auto; }

/* Hero */
.hero {
  position: relative; min-height: 92vh; display: grid; place-items: center;
  color: var(--white); overflow: hidden;
}
.hero img.bg, .page-hero img.bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero::after, .page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,13,11,.55) 0%, rgba(16,13,11,.72) 55%, rgba(16,13,11,.88) 100%);
}
.hero-inner, .page-hero-inner { position: relative; z-index: 1; padding: 90px 0 80px; }
.kicker {
  display: inline-block; letter-spacing: .22em; text-transform: uppercase;
  font-size: .78rem; font-weight: 700; color: var(--bronze-2); margin-bottom: 16px;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 5.2rem); max-width: 14ch; color: #fff; }
.hero p.lead { max-width: 56ch; font-size: 1.12rem; color: rgba(255,252,247,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-points {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.15);
}
.hero-points strong { display: block; font-family: var(--serif); font-size: 1.7rem; color: #fff; }
.hero-points span { color: rgba(255,252,247,.75); font-size: .9rem; }

.page-hero { position: relative; color: #fff; min-height: 340px; display: grid; align-items: end; }
.page-hero-inner { padding: 120px 0 48px; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); color: #fff; }

/* Sections */
section { padding: 88px 0; }
.section-head { max-width: 720px; margin-bottom: 42px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.muted { color: var(--ink-soft); }
.grid-2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: 0 10px 30px rgba(22,19,16,.04);
}
.card h3 { font-size: 1.45rem; }
.num {
  font-family: var(--serif); color: var(--bronze); font-size: 1.4rem; font-weight: 700;
}
.photo-frame {
  border-radius: 24px; overflow: hidden; box-shadow: var(--shadow);
  min-height: 360px;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }

.cycle { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cycle article {
  background: var(--white); border-radius: var(--radius); padding: 24px 22px;
  border: 1px solid var(--line); position: relative;
}
.cycle article::after {
  content: "→"; position: absolute; right: -12px; top: 42%; color: var(--bronze); font-size: 1.4rem;
}
.cycle article:last-child::after { display: none; }

.modules .card { min-height: 210px; }
.modules .card small { color: var(--bronze-dark); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.dark {
  background: var(--ink); color: var(--paper);
}
.dark .muted { color: rgba(246,241,232,.72); }
.dark .card { background: #221e1a; color: var(--paper); border-color: rgba(255,255,255,.08); }

.feature-list { display: grid; gap: 14px; padding: 0; margin: 0 0 22px; list-style: none; }
.feature-list li { padding-left: 28px; position: relative; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px;
  border: 2px solid var(--bronze); border-radius: 50%;
}

.report-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 16px; overflow: hidden; }
.report-table th, .report-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.report-table th { background: #ebe4d6; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }

/* Software mock */
.mock {
  background: #0f172a; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.08); min-height: 420px; display: grid;
  grid-template-columns: 190px 1fr;
}
.mock-side { background: linear-gradient(180deg, #0f172a, #111827); padding: 16px; color: #cbd5e1; }
.mock-brand {
  background: #fff; color: #0f172a; border-radius: 8px; padding: 8px; text-align: center;
  font-weight: 800; margin-bottom: 16px; font-size: .78rem; letter-spacing: .08em;
}
.mock-side p { margin: 0 0 8px; font-size: .82rem; padding: 8px 10px; border-radius: 8px; }
.mock-side p.active { background: linear-gradient(90deg, #2563eb, #4f46e5); color: #fff; }
.mock-main { background: #eef2f7; padding: 16px; }
.mock-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.metric { border-radius: 12px; color: #fff; padding: 12px; min-height: 86px; }
.metric b { display: block; font-size: 1.4rem; }
.metric span { font-size: .75rem; opacity: .9; }
.m1 { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.m2 { background: linear-gradient(135deg, #059669, #047857); }
.m3 { background: linear-gradient(135deg, #f59e0b, #d97706); }
.m4 { background: linear-gradient(135deg, #ef4444, #dc2626); }
.mock-cal { background: #fff; border-radius: 12px; min-height: 220px; padding: 12px; }
.mock-cal .row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.mock-cal i {
  display: block; height: 22px; border-radius: 6px; background: #e2e8f0; font-style: normal; font-size: 10px;
  text-align: center; line-height: 22px; color: #334155;
}
.mock-cal i.on { background: #dbeafe; color: #1d4ed8; font-weight: 700; }

.cta {
  background:
    linear-gradient(180deg, rgba(22,19,16,.78), rgba(22,19,16,.86)),
    url("../images/ocak-havadan.jpg") center/cover;
  color: #fff; text-align: center;
}
.cta h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-card a { color: var(--bronze-dark); font-weight: 700; }

footer {
  background: #120f0c; color: #efe8db; padding: 48px 0 24px; font-size: .95rem;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 28px; }
footer a:hover { color: var(--bronze-2); }
.legal { border-top: 1px solid rgba(255,255,255,.1); padding-top: 16px; color: rgba(246,241,232,.65); font-size: .85rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.cookie {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: min(860px, calc(100% - 24px)); background: var(--ink); color: var(--paper);
  border-radius: 14px; padding: 16px 18px; z-index: 70; display: none;
  box-shadow: var(--shadow);
}
.cookie.show { display: block; }
.cookie button { margin-top: 10px; }

.breadcrumb { font-size: .9rem; margin-bottom: 10px; color: rgba(255,255,255,.78); }
.breadcrumb a { color: #fff; text-decoration: underline; }
.prose { max-width: 78ch; }
.prose h2 { margin-top: 1.4em; }
.shot-note {
  background: #fff7e8; border: 1px dashed var(--bronze); border-radius: 14px; padding: 16px 18px; font-size: .92rem;
}
.shot {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: #0b1220;
}
.shot img {
  width: 100%;
  height: auto;
  display: block;
}
.shot a { display: block; }
.shot-cap {
  margin: 10px 0 0;
  font-size: .9rem;
  color: var(--ink-soft);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 22px;
}
.gallery figure { margin: 0; }
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(12, 10, 8, .92);
  display: none;
  place-items: center;
  z-index: 90;
  padding: 24px;
  cursor: zoom-out;
}
.lightbox.open { display: grid; }
.lightbox img {
  max-width: min(1200px, 96vw);
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}

@media (max-width: 980px) {
  .brand-text { display: none; }
  .menu-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: var(--nav-h);
    background: var(--paper); flex-direction: column; align-items: flex-start;
    padding: 18px 22px 24px; border-bottom: 1px solid var(--line); gap: 14px;
  }
  .nav-links.open { display: flex; }
  .grid-2, .grid-3, .grid-4, .cycle, .hero-points, .contact-grid, .foot-grid, .mock, .mock-metrics, .gallery {
    grid-template-columns: 1fr;
  }
  .cycle article::after { display: none; }
  .hero { min-height: 86vh; }
  .mock { min-height: auto; }
}
