/* Kesici Demir — site stilleri */

:root {
  --accent: #E8611A;
  --accent-dark: #A3400B;
  --ink: #121417;
  --ink-2: #1A1E22;
  --ink-3: #0C0E10;
  --line: #2A3036;
  --line-2: #3A4148;
  --line-3: #343B42;
  --text: #EDEBE6;
  --muted: #A6ADB4;
  --soft: #C2C7CC;
  --paper: #F3F1EC;
  --paper-line: #D9D5CC;
  --paper-ink: #16181B;
  --paper-muted: #575D63;
  --whatsapp: #25D366;
  --whatsapp-ink: #0B2E18;
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--text);
}

a:hover {
  color: #FFFFFF;
}

.kd-light a {
  color: var(--paper-ink);
}

.kd-light a:hover {
  color: #000000;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding-top: 112px;
  padding-bottom: 112px;
}

.icon-inline {
  flex: none;
}

/* ---------- Ortak tipografi ---------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.kd-light .eyebrow {
  color: var(--accent-dark);
}

.h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  text-transform: uppercase;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.section-title {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 640px;
}

/* ---------- Butonlar ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 28px;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.btn-accent,
.btn-accent:hover {
  background: var(--accent);
  color: var(--ink);
}

.btn-whatsapp,
.btn-whatsapp:hover {
  background: var(--whatsapp);
  color: var(--whatsapp-ink);
}

.btn-accent:hover,
.btn-whatsapp:hover {
  filter: brightness(1.08);
}

.btn-link {
  padding: 0 8px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn-outline {
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid #4A525A;
  font-weight: 600;
  font-size: 15px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.06em;
  color: var(--text);
  white-space: nowrap;
}

.brand-name span {
  color: var(--accent);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
}

.main-nav a {
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.head-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 8px;
  text-decoration: none;
}

.head-phone-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-2);
  color: var(--accent);
}

.stack-label {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.stack-label small {
  font-size: 12px;
  color: var(--muted);
}

.stack-label strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.icon-btn-whatsapp,
.icon-btn-whatsapp:hover {
  background: var(--whatsapp);
  color: var(--whatsapp-ink);
}

.head-cta,
.head-cta:hover {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--text);
  cursor: pointer;
}

.mobile-menu {
  border-top: 1px solid var(--line);
  background: var(--ink);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  padding: 8px 24px 20px;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#1B1F23 1px, transparent 1px),
    linear-gradient(90deg, #1B1F23 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-inner {
  position: relative;
  padding-top: 96px;
  padding-bottom: 104px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-kicker::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--accent);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(46px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.accent {
  color: var(--accent);
}

.hero-lead {
  margin: 0;
  max-width: 540px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 0;
  padding: 20px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.hero-checks li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-media {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 320px;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid var(--line-3);
}

.hero-badge {
  position: absolute;
  left: -20px;
  top: 32px;
  padding: 16px 20px;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.05;
  text-transform: uppercase;
}

/* ---------- Hizmetler ---------- */

.services {
  background: var(--paper);
  color: var(--paper-ink);
}

.services .container,
.projects .container,
.process .container {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.services-intro {
  margin: 0;
  max-width: 400px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--paper-muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px;
  background: var(--paper-line);
  border: 2px solid var(--paper-line);
}

.service-card {
  background: var(--paper);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 260px;
}

.service-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  text-transform: uppercase;
}

.service-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--paper-muted);
}

.service-card .card-link {
  margin-top: auto;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}

.service-card-dark {
  background: var(--paper-ink);
  color: var(--text);
}

.service-card-dark p {
  color: #B8BEC4;
}

.kd-light .service-card-dark .card-link {
  color: var(--text);
}

/* ---------- Projeler ---------- */

.projects .container {
  gap: 48px;
}

.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter button {
  min-height: 44px;
  padding: 0 18px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-2);
  font: 500 14px var(--font-body);
  cursor: pointer;
}

.filter button[aria-pressed="true"] {
  background: var(--text);
  color: var(--ink);
  border-color: var(--text);
  font-weight: 600;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.project {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.project[hidden] {
  display: none;
}

.project img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line-3);
}

.project figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.project-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.project-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
}

.project-meta {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Süreç ---------- */

.process {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.steps li {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 24px;
  border-top: 3px solid var(--line-2);
}

.steps li:first-child {
  border-top-color: var(--accent);
}

.step-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  color: #4A525A;
}

.steps h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  text-transform: uppercase;
}

.steps p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Hakkımızda ---------- */

.about {
  background: var(--paper);
  color: var(--paper-ink);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line-3);
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-copy p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: #3E4348;
}

.facts {
  margin: 8px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  border-top: 1px solid #CFC9BD;
  padding-top: 24px;
}

.facts div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.facts dt {
  order: 2;
  font-size: 13px;
  color: var(--paper-muted);
}

.facts dd {
  order: 1;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
}

/* ---------- İletişim ---------- */

.contact .two-col {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.contact-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.contact-button {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 0 20px;
  text-decoration: none;
}

.contact-button .stack-label small {
  font-size: 13px;
  font-weight: 600;
  color: inherit;
}

.contact-button .stack-label strong {
  font-size: 26px;
}

.contact-note {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--soft);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.contact-list li {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list .stack-label {
  gap: 2px;
}

.contact-list .stack-label small {
  font-size: 13px;
}

.contact-list a {
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}

.quote-form {
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quote-form h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  text-transform: uppercase;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--soft);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  min-height: 48px;
  padding: 0 14px;
  background: var(--ink);
  border: 1px solid var(--line-2);
  border-radius: 0;
  color: var(--text);
  font: 400 15px var(--font-body);
}

.quote-form textarea {
  padding: 12px 14px;
  resize: vertical;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: #7E868E;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--accent);
  outline: none;
}

.quote-form .btn {
  justify-content: center;
  min-height: 52px;
  font-size: 16px;
  font-weight: 600;
}

.form-hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.form-error {
  margin: 0;
  font-size: 14px;
  color: #FF9A6B;
}

.form-error:empty {
  display: none;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink-3);
  border-top: 1px solid var(--line);
}

.footer-inner {
  padding-top: 64px;
  padding-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-col a {
  text-decoration: none;
}

.footer-col .eyebrow {
  font-size: 12px;
  letter-spacing: 0.1em;
}

.footer-about {
  gap: 16px;
}

.footer-about p {
  margin: 0;
  line-height: 1.6;
  color: var(--muted);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Mobil sabit alt bar ---------- */

.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.35);
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--ink);
}

.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 64px;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
}

/* ---------- Duyarlı ---------- */

@media (max-width: 1080px) {
  .main-nav {
    gap: 22px;
  }

  .head-phone {
    display: none;
  }
}

@media (max-width: 860px) {
  .main-nav,
  .head-phone {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-bar {
    display: grid;
  }

  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }

  .hero-inner,
  .two-col,
  .contact .two-col {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 72px);
  }

  .hero-inner {
    padding-top: 48px;
    padding-bottom: 64px;
    gap: 40px;
  }

  .hero-media {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .hero-badge {
    left: 0;
    top: 20px;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .two-col {
    gap: 40px;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 20px;
  }

  .header-inner {
    height: 64px;
  }

  .site-header .icon-btn-whatsapp,
  .head-cta {
    display: none;
  }

  .brand-name {
    font-size: 22px;
  }

  .brand svg {
    width: 28px;
    height: 28px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    font-size: 16px;
    padding: 0 16px;
  }

  .service-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 28px 22px;
    min-height: 0;
  }

  .quote-form {
    padding: 24px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
