@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap");

:root {
  --paper: #f2f3ee;
  --paper-raised: #fffefb;
  --paper-tint: #e7ede8;
  --ink: #12201c;
  --ink-soft: #55635c;
  --teal-deep: #0e3b37;
  --teal-mid: #3f8f7b;
  --teal-soft: #dce9e2;
  --flag: #b8502f;
  --line: #d7d9d0;
  --line-strong: #aeb4a6;
  --radius: 3px;
  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", monospace;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Fine paper grain — breaks the flatness of the solid background without
   reading as a texture "effect". */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.035 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

body > * { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.3rem, 3.4vw + 1.2rem, 3.9rem);
  letter-spacing: -0.015em;
}

h2 { font-size: clamp(1.5rem, 1.6vw + 1rem, 2.1rem); }

h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: -0.005em;
}

p { margin: 0 0 1em; color: var(--ink-soft); }

/* Tag — bracketed reference code, replaces the generic dot-bullet eyebrow */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--teal-deep);
  display: inline-block;
  font-weight: 600;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--teal-mid);
  margin-bottom: 1rem;
}

.eyebrow::before { content: "// "; color: var(--line-strong); }

/* Grid-paper signature texture */
.scan-grid {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85em 1.5em;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--teal-deep);
  color: #fff;
}

.btn-primary:hover { background: var(--flag); }

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover { border-color: var(--flag); color: var(--flag); }

/* Navbar — flat, no blur; a thin brand-teal rule bookends the top */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line-strong);
  box-shadow: inset 0 2px 0 var(--teal-deep);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}

.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.nav-links {
  display: none;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.nav-links a:hover { color: var(--flag); }

.nav-cta { display: none; }

.hamburger {
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hamburger span, .hamburger span::before, .hamburger span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hamburger span::before { position: absolute; top: -6px; }
.hamburger span::after { position: absolute; top: 6px; }

.mobile-sidebar { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.mobile-sidebar[data-open="true"] { visibility: visible; }

.mobile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 32, 28, 0.5);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mobile-sidebar[data-open="true"] .mobile-overlay { opacity: 1; }

.mobile-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(78vw, 320px);
  background: var(--paper-raised);
  border-left: 1px solid var(--line);
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-sidebar[data-open="true"] .mobile-panel { transform: translateX(0); }

.mobile-panel-header { display: flex; justify-content: space-between; align-items: center; }

.mobile-close {
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

.mobile-panel-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.mobile-panel-links a { text-decoration: none; font-size: 1.05rem; font-weight: 500; color: var(--ink); }

@media (min-width: 860px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .hamburger { display: none; }
}

/* Hero */
.hero { padding: 80px 0 64px; position: relative; overflow: hidden; }

.hero-inner { display: grid; gap: 48px; align-items: start; }

@media (min-width: 940px) {
  .hero-inner { grid-template-columns: 1fr 1fr; align-items: center; }
}

.hero-copy p.lede { font-size: 1.08rem; color: var(--ink-soft); max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.75rem; }

/* Framed photo — the one repeating photo treatment used everywhere on the
   site: same border, same offset shadow, same mono caption chip. Individual
   size classes (.hero-photo, .about-photo, .process-photo, .service-photo)
   only set aspect-ratio/placement, never their own border or shadow. */
.framed-photo {
  position: relative;
  margin: 0;
  border: 1px solid var(--line-strong);
  box-shadow: 10px 10px 0 var(--teal-deep);
  overflow: hidden;
}

.framed-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.framed-photo:hover img { transform: scale(1.04); }

.section-alt .framed-photo { border-color: rgba(255, 255, 255, 0.25); }

.hero-photo { aspect-ratio: 4 / 5; max-height: 560px; }
.hero-photo img { object-position: center 20%; }

@media (max-width: 939px) {
  .hero-photo { max-height: 420px; }
}

/* Sections */
.section { padding: 64px 0; }
.section-head { max-width: 60ch; margin-bottom: 2.25rem; }
.section-tint { background: var(--paper-tint); }
.section-alt { background: var(--teal-deep); color: #fff; }
.section-alt .eyebrow { color: #cfe4de; border-bottom-color: rgba(255, 255, 255, 0.35); }
.section-alt .eyebrow::before { color: rgba(255,255,255,0.4); }
.section-alt h1, .section-alt h2, .section-alt h3 { color: #fff; }
.section-alt p { color: #cfe4de; }

/* Report list — used for the homepage hizmet listing.
   A saha raporu satırı, not a SaaS pricing card. */
.report-list {
  border-top: 1px solid var(--line-strong);
  background: var(--paper-raised);
  box-shadow: 0 1px 0 var(--line), 0 12px 24px -20px rgba(14, 59, 55, 0.4);
}

.report-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 24px 20px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease, padding-left 0.15s ease;
}

.report-row:hover { background: var(--teal-deep); color: #fff; padding-left: 28px; }
.report-row:hover .row-body p { color: #cfe4de; }
.report-row:hover .row-num { color: #fff; }

.report-row .row-num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--flag);
  line-height: 1;
}

.report-row .row-body h3 { margin-bottom: 0.15em; }
.report-row .row-body p { margin: 0; font-size: 0.92rem; }

.report-row .row-arrow {
  font-size: 1.3rem;
  color: var(--line-strong);
  transition: transform 0.15s ease;
}

.report-row:hover .row-arrow { color: var(--flag); transform: translateX(4px); }

@media (max-width: 600px) {
  .report-row { grid-template-columns: 40px 1fr; padding: 20px 16px; }
  .report-row .row-arrow { display: none; }
  .report-row .row-num { font-size: 1.3rem; }
}

/* Service cards — reused on Contact page as flat info tiles */
.service-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.service-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  box-shadow: 0 12px 24px -20px rgba(14, 59, 55, 0.5);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
}

.service-card h3 { margin-bottom: 0.2em; }
.service-card p { margin: 0; font-size: 0.94rem; }

/* Process steps (real 3-step sequence) */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.process-step {
  border-left: 2px solid var(--flag);
  padding: 16px 0 16px 20px;
  background: rgba(255, 255, 255, 0.035);
}

.process-step h3 { margin-bottom: 0.3em; }
.process-step p { margin: 0; max-width: 46ch; }

.process-step .step-num {
  font-family: var(--font-mono);
  color: #cfe4de;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line-strong);
  box-shadow: inset 0 2px 0 var(--teal-deep);
  padding: 52px 0 28px;
  background: var(--paper-raised);
}

.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; margin-bottom: 32px; }

@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 1em;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6em; }
.footer-col a { text-decoration: none; color: var(--ink); font-size: 0.94rem; }
.footer-col a:hover { color: var(--flag); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}

/* Content pages */
.prose h2 { margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; color: var(--ink-soft); }

.prose > p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 3.4em;
  font-weight: 500;
  float: left;
  line-height: 0.8;
  padding: 0.05em 0.08em 0 0;
  color: var(--teal-deep);
}

/* Pull-quote — a brand statement breaking up long text blocks */
.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.4vw + 1rem, 1.7rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  border-left: 3px solid var(--flag);
  padding: 0.2em 0 0.2em 1.1em;
  margin: 2em 0;
}

/* Mobile sticky CTA bar */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper-raised);
  border-top: 1px solid var(--line-strong);
  box-shadow: 0 -8px 20px rgba(14, 59, 55, 0.12);
}

.mobile-cta-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 14px 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}

.mobile-cta-bar a:first-child { background: var(--teal-deep); color: #fff; }
.mobile-cta-bar a:last-child { color: var(--ink); border-left: 1px solid var(--line); }

@media (min-width: 860px) {
  .mobile-cta-bar { display: none; }
}

body.has-mobile-cta { padding-bottom: 60px; }

@media (min-width: 860px) {
  body.has-mobile-cta { padding-bottom: 0; }
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--flag);
  z-index: 70;
  transition: width 0.1s linear;
}

.page-hero { padding: 56px 0 36px; border-bottom: 1px solid var(--line-strong); }

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }

/* Page icon badge */
.page-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: var(--teal-soft);
  color: var(--teal-deep);
  margin-bottom: 14px;
}

/* Row mark (icon + numeral) inside report rows */
.row-mark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.row-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  background: var(--teal-soft);
  color: var(--teal-deep);
}

.report-row:hover .row-icon {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

/* Contact tile icon chips */
.icon-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  background: var(--teal-soft);
  color: var(--teal-deep);
}

/* About page layout */
.about-grid { display: grid; gap: 40px; }

@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
}

.about-photo { aspect-ratio: 4 / 5; max-height: 620px; }
.about-photo img { object-position: center 25%; }

/* Process section layout with supporting photo */
.process-grid { display: grid; gap: 40px; }

@media (min-width: 900px) {
  .process-grid { grid-template-columns: 1.2fr 0.8fr; align-items: center; }
}

.process-photo { aspect-ratio: 3 / 2; }

/* Service page hero photo (below the intro paragraph) */
.service-photo { margin: 28px 0 0; aspect-ratio: 16 / 9; }

/* Contact form */
.contact-form {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
  max-width: 720px;
}

.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row-full { grid-column: 1 / -1; }

.contact-form label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #cfe4de;
}

.contact-form input, .contact-form textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.7em 0.85em;
  border-radius: var(--radius);
}

.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.5); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--flag); }

.contact-form button { justify-self: start; margin-top: 4px; }

.form-hint {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}

@media (max-width: 600px) {
  .contact-form { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

:focus-visible { outline: 2px solid var(--flag); outline-offset: 2px; }
