/* samicansiz.com ana stiller */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --ink: #0b0d12;
  --ink-soft: #5a6072;
  --line: #e9eaef;
  --accent: #1e40af;
  --accent-dark: #16308a;
  --accent-soft: #eef2ff;
  --radius: 16px;
  --shadow: 0 20px 60px rgba(11, 13, 18, 0.08);
  --font: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-underline-offset: 4px; }
a:hover { color: var(--ink); }

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.035em;
  color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.02em; }

p { margin: 0 0 1.15em; }

.wrap { width: min(1120px, 100% - 3rem); margin-inline: auto; }

/* --- erişilebilirlik --- */
.skip-link {
  position: absolute;
  left: -999px; top: 0;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  z-index: 200;
}
.skip-link:focus { left: 0; color: #fff; }

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

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

/* --- üst menü --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.6rem;
}

.brand {
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}
.brand span { color: var(--accent); }
.brand img { display: block; height: 26px; width: auto; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle .bars,
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  display: block;
  content: "";
  width: 20px;
  height: 2px;
  background: currentColor;
  position: relative;
}
.nav-toggle .bars::before { position: absolute; top: -6px; }
.nav-toggle .bars::after { position: absolute; top: 6px; }

.site-nav { display: flex; align-items: center; gap: 0.6rem; }
.site-nav ul {
  display: flex;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.site-nav a:not(.btn) {
  display: inline-block;
  padding: 0.6rem 0.95rem;
  min-height: 44px;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.96rem;
  border-radius: 10px;
  transition: color 0.15s ease;
}
.site-nav a:not(.btn):hover { color: var(--ink); }
.site-nav a:not(.btn)[aria-current="page"] { color: var(--ink); font-weight: 800; }

.site-nav .btn { min-height: 44px; padding: 0.55rem 1.3rem; font-size: 0.92rem; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    position: absolute;
    inset: 100% 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: none;
    box-shadow: var(--shadow);
    padding: 0.75rem 1.5rem 1.5rem;
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a:not(.btn) { display: block; padding: 0.85rem 0.5rem; font-size: 1.05rem; }
  .site-nav .btn { width: 100%; margin-top: 0.5rem; }
}

/* --- butonlar --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: var(--font);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); color: #fff; }

.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

/* --- görünme animasyonu (zarif) --- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

/* --- kicker (bölüm etiketi) --- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.kicker::before {
  content: "";
  width: 2.2rem;
  height: 2px;
  background: var(--accent);
}

/* --- hero --- */
.hero { padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 7vw, 5.5rem); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.hero p.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.28rem);
  color: var(--ink-soft);
  max-width: 30em;
}

.hero-photo { justify-self: center; position: relative; }
.hero-photo img {
  width: min(380px, 74vw);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 1.2rem -1.2rem -1.2rem 1.2rem;
  border: 1.5px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  z-index: -1;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { grid-row: 1; }
}

/* --- istatistik şeridi (kutusuz, çizgili) --- */
.stats { border-block: 1px solid var(--line); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.stat {
  padding: 2.2rem 1.5rem;
  text-align: center;
}
.stat + .stat { border-left: 1px solid var(--line); }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.stat b {
  display: block;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.stat span { color: var(--ink-soft); font-size: 0.92rem; font-weight: 500; }

/* --- bölümler --- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section.alt { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-head { max-width: 44em; margin-bottom: 3rem; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.section-head .row-link { font-weight: 700; text-decoration: none; }

/* --- proje kartları (minimal) --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.card-media {
  aspect-ratio: 13 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-soft);
}
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.card:hover .card-media img { transform: scale(1.05); }

.card-body { padding: 1.1rem 0.2rem 0; display: flex; flex-direction: column; gap: 0.25rem; }
.card-tag {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.card h3 { margin: 0.15rem 0; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card:hover h3 a { color: var(--accent); }
.card p { color: var(--ink-soft); font-size: 0.96rem; margin: 0; }

/* --- hizmetler: numaralı satırlar --- */
.service-list { list-style: none; margin: 0; padding: 0; }
.service {
  display: grid;
  grid-template-columns: 4.5rem 1fr 2rem;
  gap: 1.5rem;
  align-items: baseline;
  padding: 2rem 0.2rem;
  border-top: 1px solid var(--line);
  transition: background 0.2s ease;
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service:hover { background: var(--bg-soft); }
.service .num {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.service h3 { margin-bottom: 0.3em; }
.service p { color: var(--ink-soft); margin: 0; max-width: 46em; }
.service .arrow { color: var(--ink-soft); font-size: 1.3rem; justify-self: end; }
@media (max-width: 640px) {
  .service { grid-template-columns: 3rem 1fr; }
  .service .arrow { display: none; }
}

/* --- CTA (siyah bant) --- */
.cta {
  background: var(--ink);
  color: #fff;
  border-radius: calc(var(--radius) + 10px);
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, 0.72); max-width: 38em; margin-inline: auto; }
.cta .btn-primary { background: #fff; color: var(--ink); }
.cta .btn-primary:hover { background: var(--accent-soft); color: var(--accent-dark); }
.cta .btn-ghost { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.cta .btn-ghost:hover { background: #fff; color: var(--ink); }
.cta .btn-row { justify-content: center; }

/* --- içerik sayfaları --- */
.page-head {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(1.5rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.page-head h1 { margin-bottom: 0.25em; }
.page-head .lead { color: var(--ink-soft); max-width: 40em; margin: 0; font-size: 1.15rem; }

.breadcrumb { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 1.2rem; font-weight: 500; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--accent); font-weight: 700; }

.prose { max-width: 44em; }
.prose h2 { margin-top: 1.9em; font-size: 1.45rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.45em; }
.prose blockquote {
  margin: 1.8em 0;
  padding: 0.3em 0 0.3em 1.4em;
  border-left: 3px solid var(--accent);
  color: var(--ink-soft);
  font-size: 1.12rem;
}

/* --- proje detay --- */
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 3.5rem;
  padding: 1.6rem 0;
  margin: 2rem 0;
  border-block: 1px solid var(--line);
  font-size: 1rem;
  font-weight: 600;
}
.project-meta b {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  margin-bottom: 0.1rem;
}
.project-hero-img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin: 0.5rem 0 2rem;
  max-width: 460px;
}

/* --- blog listesi --- */
.post-list { list-style: none; margin: 0; padding: 0; }
.post-item {
  display: grid;
  grid-template-columns: 9rem 1fr 2rem;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.9rem 0.2rem;
  border-top: 1px solid var(--line);
  position: relative;
  transition: background 0.2s ease;
}
.post-item:last-child { border-bottom: 1px solid var(--line); }
.post-item:hover { background: var(--bg-soft); }
.post-item time { color: var(--ink-soft); font-size: 0.9rem; font-weight: 600; }
.post-item h3 { margin: 0 0 0.25em; }
.post-item h3 a { color: var(--ink); text-decoration: none; }
.post-item h3 a::after { content: ""; position: absolute; inset: 0; }
.post-item:hover h3 a { color: var(--accent); }
.post-item p { color: var(--ink-soft); margin: 0; font-size: 0.97rem; max-width: 44em; }
.post-item .arrow { color: var(--ink-soft); font-size: 1.3rem; justify-self: end; }
@media (max-width: 640px) {
  .post-item { grid-template-columns: 1fr; gap: 0.3rem; }
  .post-item .arrow { display: none; }
}

.post-meta { color: var(--ink-soft); font-size: 0.92rem; font-weight: 600; margin-bottom: 2rem; }

/* --- iletişim --- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-item:first-child { border-top: 1px solid var(--line); }
.contact-item .icon {
  width: 48px; height: 48px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 12px;
}
.contact-item b { display: block; }
.contact-item a { color: var(--ink-soft); }
.contact-item a:hover { color: var(--accent); }

/* --- formlar --- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  padding: clamp(1.6rem, 4vw, 2.6rem);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

label { font-weight: 700; font-size: 0.92rem; display: block; margin-bottom: 0.45rem; }

input, textarea, select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  min-height: 52px;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  outline: 3px solid var(--accent-soft);
  background: #fff;
}

.form-note { font-size: 0.9rem; color: var(--ink-soft); }
.form-note.ok { color: #15803d; font-weight: 700; }
.form-note.err { color: #b91c1c; font-weight: 700; }

/* --- başvuru sihirbazı --- */
.wizard-steps {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.wizard-steps li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-soft);
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.wizard-steps li .dot {
  width: 22px; height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--line);
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 800;
}
.wizard-steps li.active { border-color: var(--accent); color: var(--accent); }
.wizard-steps li.active .dot { background: var(--accent); color: #fff; }
.wizard-steps li.done { border-color: #15803d; color: #15803d; }
.wizard-steps li.done .dot { background: #15803d; color: #fff; }
.wizard-steps { padding: 0; margin-left: 0; }

.wizard-panel { display: none; }
.wizard-panel.active { display: block; animation: panelIn 0.3s ease; }
@keyframes panelIn {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: none; }
}

.wizard-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.8rem;
}
.choice {
  position: relative;
  display: block;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-align: center;
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease;
  margin-bottom: 0;
}
.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%; height: 100%;
  min-height: 0;
  cursor: pointer;
}
.choice:hover { border-color: var(--accent); }
.choice:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-dark);
}
.choice:has(input:focus-visible) { outline: 3px solid var(--accent-soft); }

.summary-box {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.4rem 1.5rem;
  font-size: 0.97rem;
}
.summary-box dt {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  margin-top: 0.9rem;
}
.summary-box dt:first-child { margin-top: 0; }
.summary-box dd { margin: 0.1rem 0 0; }

/* --- zaman çizelgesi --- */
.timeline { list-style: none; margin: 2rem 0; padding: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
}
.timeline li { position: relative; padding: 0 0 2rem 2.2rem; }
.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
}
.timeline b { display: block; font-size: 1.12rem; letter-spacing: -0.02em; }
.timeline p { color: var(--ink-soft); margin: 0.2em 0 0; }

/* --- footer --- */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: clamp(3.5rem, 8vw, 6rem);
  padding: 3rem 0 2.2rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.7rem; list-style: none; margin: 0; padding: 0; }
.footer-nav a { color: var(--ink-soft); text-decoration: none; padding: 0.5rem 0; display: inline-block; }
.footer-nav a:hover { color: var(--ink); }

.social { display: flex; gap: 0.75rem; list-style: none; margin: 0; padding: 0; }
.social a {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.social a:hover { color: var(--accent); border-color: var(--accent); }

.copyright { width: 100%; text-align: center; margin-top: 1.6rem; font-size: 0.85rem; }

/* --- hareket azaltma --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
