/* tutarteknoloji.com service pages (/web-sitesi/, /mobil-uygulama/).
   Same language as the rest of the site: dark ground, one accent colour, Inter Tight + Instrument Serif + JetBrains Mono.
   The light theme follows the device setting. --accent is the fill colour; --accent-ink is its readable variant for text. */
:root {
  color-scheme: dark;
  --bg: #1b1d21;
  --panel: #24272c;
  --ink: #f2f1ec;
  --muted: #9a9ca3;
  --dim: #6b6e75;
  --line: rgba(242, 241, 236, 0.1);
  --line-2: rgba(242, 241, 236, 0.18);
  --accent: #d4ff4f;
  --accent-ink: #d4ff4f;
  --glass: rgba(32, 35, 40, .72);
  --logo-filter: none;
  --sans: "Inter Tight", system-ui, -apple-system, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --pad: clamp(20px, 4.5vw, 72px);
  --gap: clamp(72px, 10vw, 150px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #f4f3ee;
    --panel: #ffffff;
    --ink: #17191d;
    --muted: #62656c;
    --dim: #9a9ca3;
    --line: rgba(23, 25, 29, 0.1);
    --line-2: rgba(23, 25, 29, 0.18);
    --accent-ink: #4f6d00;
    --glass: rgba(255, 255, 255, .72);
    --logo-filter: brightness(0);
  }
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { font: 17px/1.55 var(--sans); background: var(--bg); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
i { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent-ink); }
::selection { background: var(--accent); color: #000; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-ink); }
.wrap { padding: 0 var(--pad); }
.section { padding: var(--gap) var(--pad) 0; }
.section__title { margin: 22px 0 0; max-width: 16ch; font-weight: 600; font-size: clamp(38px, 5.4vw, 84px); line-height: .98; letter-spacing: -0.045em; }
.section__lead { margin-top: 22px; max-width: 620px; color: var(--muted); }

/* ---------- nav */
.nav { position: fixed; top: 24px; left: 0; right: 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--pad); pointer-events: none; transition: transform .6s var(--ease); }
.nav > * { pointer-events: auto; }
.nav.is-hidden { transform: translateY(calc(-100% - 40px)); }
.nav__logo { justify-self: start; }
.nav__logo img { height: 42px; width: auto; filter: var(--logo-filter); }
.nav__pill { display: flex; gap: 4px; padding: 6px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--glass); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); }
.nav__pill a { padding: 9px 18px; border-radius: 99px; font-size: 14.5px; color: var(--muted); transition: color .25s, background .25s; }
.nav__pill a:hover { color: var(--ink); }
.nav__pill a.is-on { color: #000; background: var(--accent); }
.nav__cta { justify-self: end; display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font: 500 13px var(--mono); transition: background .3s, color .3s, border-color .3s; }
.nav__cta svg { width: 16px; height: 16px; fill: currentColor; }
.nav__cta:hover { background: var(--accent); color: #000; border-color: var(--accent); }

/* ---------- hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr); gap: clamp(32px, 5vw, 90px); align-items: end; padding: clamp(150px, 17vw, 230px) var(--pad) 0; }
.hero h1 { margin: 26px 0 28px; font-weight: 600; font-size: clamp(46px, 7.4vw, 124px); line-height: .92; letter-spacing: -0.055em; }
.hero__lead { max-width: 600px; font-size: clamp(17px, 1.35vw, 20px); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.facts { display: grid; border-top: 1px solid var(--line-2); }
.facts li { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.facts b { font-weight: 600; font-size: clamp(30px, 3vw, 46px); letter-spacing: -0.04em; line-height: 1; }
.facts span { font: 400 13px var(--mono); color: var(--muted); text-align: right; }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 18px 30px; border-radius: 99px; border: 1px solid var(--line-2); font-weight: 500; transition: background .3s, color .3s, border-color .3s, transform .3s; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: #000; }
.btn--accent:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* ---------- what is included */
.includes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: clamp(40px, 5vw, 70px); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; background: var(--line); }
.includes li { padding: clamp(24px, 2.6vw, 40px); background: var(--bg); transition: background .35s; }
.includes li:hover { background: var(--panel); }
.includes code { font: 500 12.5px var(--mono); color: var(--accent-ink); }
.includes h3 { margin: 34px 0 10px; font-weight: 600; font-size: clamp(20px, 1.7vw, 26px); letter-spacing: -0.03em; line-height: 1.15; }
.includes p { color: var(--muted); font-size: 16px; }

/* ---------- kinds of work: plain rows */
.kinds { margin-top: clamp(36px, 4vw, 60px); border-top: 1px solid var(--line-2); }
.kinds li { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; align-items: baseline; padding: clamp(20px, 2.2vw, 32px) 0; border-bottom: 1px solid var(--line); }
.kinds em { font: 500 12.5px var(--mono); font-style: normal; color: var(--dim); }
.kinds h3 { font-weight: 600; font-size: clamp(22px, 2.4vw, 38px); letter-spacing: -0.035em; line-height: 1.1; }
.kinds p { color: var(--muted); }

/* ---------- examples: site screenshots */
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: clamp(40px, 5vw, 70px); }
.shot { display: block; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.shot__img { aspect-ratio: 16 / 10; overflow: hidden; }
.shot__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.shot:hover .shot__img img { transform: scale(1.04); }
.shot__cap { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; border-top: 1px solid var(--line); }
.shot__cap b { font-weight: 600; letter-spacing: -0.02em; }
.shot__cap span { font: 400 12.5px var(--mono); color: var(--muted); }
.more { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding: 14px 24px; border-radius: 99px; border: 1px solid var(--line-2); font: 500 13px var(--mono); transition: background .3s, color .3s, border-color .3s; }
.more:hover { background: var(--accent); border-color: var(--accent); color: #000; }

/* ---------- examples: app tiles */
.apps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: clamp(40px, 5vw, 70px); }
.app { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 22px; border: 1px solid var(--line); background: var(--panel); }
.app img { flex: none; width: 64px; height: 64px; border-radius: 16px; object-fit: cover; }
.app b { display: block; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.app span { display: block; margin-top: 4px; font-size: 14.5px; color: var(--muted); line-height: 1.3; }
.app small { display: block; margin-top: 7px; font: 400 11.5px var(--mono); color: var(--dim); }

/* ---------- process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: clamp(40px, 5vw, 70px); counter-reset: step; }
.steps li { padding-top: 22px; border-top: 2px solid var(--line-2); counter-increment: step; }
.steps li::before { content: "0" counter(step); font: 500 12.5px var(--mono); color: var(--accent-ink); }
.steps h3 { margin: 26px 0 10px; font-weight: 600; font-size: clamp(20px, 1.7vw, 26px); letter-spacing: -0.03em; }
.steps p { color: var(--muted); font-size: 16px; }

/* ---------- questions: adjacent <details>, more than one can stay open */
.faq { margin-top: clamp(36px, 4vw, 60px); border-top: 1px solid var(--line-2); max-width: 1100px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(20px, 2.2vw, 30px) 0; cursor: pointer; list-style: none; font-weight: 600; font-size: clamp(19px, 1.7vw, 26px); letter-spacing: -0.03em; line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); font: 400 20px/1 var(--mono); transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: #000; }
.faq details p { max-width: 760px; padding: 0 60px 28px 0; color: var(--muted); }

/* ---------- call to action + footer */
.cta { padding: var(--gap) var(--pad) clamp(70px, 9vw, 120px); }
.cta__title { margin: 24px 0 26px; font-weight: 600; font-size: clamp(50px, 9vw, 150px); line-height: .9; letter-spacing: -0.055em; }
.cta__lead { max-width: 560px; color: var(--muted); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin: 0 var(--pad); padding: 26px 0 34px; border-top: 1px solid var(--line); font: 400 13px var(--mono); color: var(--muted); }
.foot nav { display: flex; gap: 12px; flex-wrap: wrap; }
.foot nav a { padding: 10px 20px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--ink); transition: background .3s, color .3s, border-color .3s; }
.foot nav a:hover { background: var(--accent); border-color: var(--accent); color: #000; }

/* ---------- reveal on scroll (service.js adds .is-in); content stays visible without scripts */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- smaller screens */
@media (max-width: 1100px) {
  .includes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
}
@media (max-width: 900px) {
  .nav__pill { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .hero { grid-template-columns: 1fr; align-items: start; }
  .kinds li { grid-template-columns: 44px minmax(0, 1fr); }
  .kinds p { grid-column: 2; }
}
@media (max-width: 700px) {
  .nav { top: 16px; }
  .nav__logo img { height: 36px; }
  .nav__cta span { display: none; }
  .hero { padding-top: 120px; }
  .includes, .shots, .apps, .steps { grid-template-columns: 1fr; }
  .includes h3 { margin-top: 22px; }
  .btn { padding: 16px 24px; }
  .faq details p { padding-right: 0; }
  .foot { justify-content: center; text-align: center; }
}
