/* ============================================
   BEYAZTAŞ HUKUK VE DANIŞMANLIK — Tasarım Sistemi v2
   Minimal, kurumsal, güven veren. Referans: Apple / Stripe / Linear / Vercel / Notion
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Inter+Tight:wght@500;600;700&display=swap');

:root {
  --black: #111113;
  --white: #FFFFFF;
  --off-white: #FAFAF8;
  --paper: #F5F4F1;
  --gray-900: #1C1C1F;
  --gray-700: #4B4B50;
  --gray-500: #6E6E73;
  --gray-300: #9A9A9E;
  --line: rgba(17, 17, 19, 0.10);
  --line-soft: rgba(17, 17, 19, 0.06);
  --red: #B3241F;
  --red-deep: #8F1C18;

  --display: 'Inter Tight', 'Inter', sans-serif;
  --body: 'Inter', sans-serif;

  --max: 1180px;
  --radius: 6px;
}

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

body {
  margin: 0;
  font-family: var(--body);
  background: var(--white);
  color: var(--gray-700);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--black); margin: 0; }

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

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: var(--max);
  margin: 0 auto;
}
.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.2px;
  color: var(--black);
}
.wordmark span { color: var(--red); }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  font-size: 14.5px;
  font-weight: 500;
}
.nav-links a {
  position: relative;
  padding: 4px 0;
  color: var(--gray-700);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--black); }
.nav-links a.active { color: var(--black); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1.5px;
  background: var(--red);
}
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-tel {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gray-700);
  display: none;
}
.nav-cta {
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--white);
  transition: background 0.15s ease;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--red); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span { width: 20px; height: 1.5px; background: var(--black); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { background: var(--red); }
.btn-outline { border-color: var(--line); color: var(--black); background: var(--white); }
.btn-outline:hover { border-color: var(--black); }
.btn-text { color: var(--red); font-weight: 600; font-size: 14.5px; }
.btn-text:hover { color: var(--red-deep); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }

/* ---------- Hero (ana sayfa) ---------- */
.hero {
  background: var(--off-white);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 108px 32px 96px;
  text-align: center;
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--red);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
  display: inline-block;
}
.hero h1 {
  font-size: clamp(34px, 5.4vw, 54px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 22px;
}
.hero-lede {
  font-size: 17.5px;
  color: var(--gray-500);
  max-width: 56ch;
  margin: 0 auto 36px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Page hero (iç sayfalar) ---------- */
.page-hero { background: var(--off-white); border-bottom: 1px solid var(--line); padding: 64px 0 52px; }
.page-hero .wrap { max-width: 860px; }
.page-hero h1 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.6px;
  margin-bottom: 14px;
}
.page-hero p { font-size: 16px; color: var(--gray-500); max-width: 62ch; margin: 0; }
.breadcrumb {
  font-size: 13px;
  color: var(--gray-300);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--red); }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 {
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.section-head p { color: var(--gray-500); font-size: 15.5px; margin: 0; }
.section-head.left { text-align: left; margin: 0 0 44px; max-width: 100%; }

.divider { border: none; border-top: 1px solid var(--line); margin: 0; }
.bg-off { background: var(--off-white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Faaliyet alanları kartları ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.area-card {
  background: var(--white);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.15s ease;
}
.area-card:hover { background: var(--off-white); }
.area-card h3 { font-size: 18.5px; font-weight: 600; }
.area-card p { font-size: 14px; color: var(--gray-500); margin: 0; flex-grow: 1; }
.area-card .btn-text { font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Hizmetler sayfası — profesyonel hizmet kartları ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.service-card:hover {
  border-color: var(--red);
  box-shadow: 0 14px 32px rgba(17, 17, 19, 0.08);
  transform: translateY(-3px);
}
.service-card-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--off-white);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.service-card-icon svg { width: 22px; height: 22px; }
.service-card:hover .service-card-icon {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.service-card h3 { font-size: 18.5px; font-weight: 600; }
.service-card p { font-size: 14px; color: var(--gray-500); margin: 0; flex-grow: 1; }
.service-card-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.service-card-tags li {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-700);
  background: var(--off-white);
  border: 1px solid var(--line);
  padding: 5px 11px;
  border-radius: 20px;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--red);
  margin-top: 2px;
}
.service-card-link:hover { color: var(--red-deep); }
.service-card-link .arrow { transition: transform 0.15s ease; }
.service-card:hover .service-card-link .arrow { transform: translateX(3px); }

/* ---------- Neden Biz — check list ---------- */
.check-list { list-style: none; display: grid; gap: 22px; max-width: 640px; margin: 0 auto; }
.check-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--gray-700);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.check-item:last-child { border-bottom: none; padding-bottom: 0; }
.check-mark {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--red);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-top: 1px;
}
.check-item strong { color: var(--black); font-weight: 600; }

/* ---------- Generic info cards ---------- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.info-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--white); }
.info-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.info-card p { font-size: 14px; color: var(--gray-500); margin: 0; }

/* ---------- Kapsam listesi (hizmet detay) ---------- */
.scope-list { list-style: none; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.scope-list li {
  padding: 18px 22px;
  font-size: 15px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
}
.scope-list li:last-child { border-bottom: none; }
.scope-list li::before { content: '—'; color: var(--red); flex-shrink: 0; }

.two-col { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--black); color: var(--white); text-align: center; }
.cta-band h2 { color: var(--white); font-size: clamp(24px, 3vw, 32px); font-weight: 700; margin-bottom: 14px; letter-spacing: -0.4px; }
.cta-band p { color: rgba(255,255,255,0.65); font-size: 15.5px; margin: 0 0 28px; }
.cta-band .btn-outline { background: transparent; border-color: rgba(255,255,255,0.24); color: var(--white); }
.cta-band .btn-outline:hover { border-color: var(--white); }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Forms ---------- */
form.formcard {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  background: var(--off-white);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 12px 14px;
  font-family: var(--body);
  font-size: 14.5px;
  color: var(--black);
  border-radius: var(--radius);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--black);
  outline-offset: 1px;
}
.field textarea { resize: vertical; min-height: 100px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 12.5px; color: var(--gray-300); margin-top: 14px; }

/* ---------- İletişim ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-detail { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-detail:first-child { padding-top: 0; }
.contact-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; color: var(--gray-300); width: 120px; flex-shrink: 0; padding-top: 2px; }
.contact-value { font-size: 15px; color: var(--black); }
.contact-value a:hover { color: var(--red); }
.map-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 28px; }
.map-frame iframe { width: 100%; height: 260px; border: 0; display: block; }

/* ---------- Makaleler ---------- */
.category-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.cat-btn {
  font-size: 13.5px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  color: var(--gray-700);
  transition: all 0.15s ease;
}
.cat-btn:hover { border-color: var(--black); color: var(--black); }
.cat-btn.active { background: var(--black); color: var(--white); border-color: var(--black); }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.article-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.article-card:hover { border-color: var(--red); box-shadow: 0 8px 20px rgba(17, 17, 19, 0.06); }
.article-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.article-cat {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  background: var(--off-white);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 20px;
}
.article-status { font-size: 11.5px; font-weight: 500; color: var(--gray-300); }
.article-card h3 { font-size: 17px; font-weight: 600; min-height: 44px; }
.article-card p {
  font-size: 14px;
  color: var(--gray-500);
  margin: 0;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--red); margin-top: 2px; }
.article-card-link:hover { color: var(--red-deep); }
.article-card-link .arrow { transition: transform 0.15s ease; }
.article-card:hover .article-card-link .arrow { transform: translateX(3px); }
.article-empty { display: none; text-align: center; color: var(--gray-300); padding: 40px 0; font-size: 14.5px; }

/* ---------- Makale kategori sayfaları ---------- */
.cat-intro { font-size: 15.5px; color: var(--gray-500); max-width: 760px; margin: 0 0 32px; }
.cat-section-foot { margin-top: 28px; }
.badge-soon {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--red-deep);
  background: rgba(179, 36, 31, 0.08);
  border: 1px solid rgba(179, 36, 31, 0.25);
  padding: 4px 10px;
  border-radius: 20px;
  margin: 4px 0 16px;
}

/* ---------- Legal pages (KVKK vs.) ---------- */
.legal-body { max-width: 760px; margin: 0 auto; }
.legal-body h2 { font-size: 20px; font-weight: 600; margin: 40px 0 14px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { font-size: 15px; color: var(--gray-700); margin: 0 0 14px; }
.legal-body ul { margin: 0 0 14px; padding-left: 20px; }
.legal-body li { font-size: 15px; color: var(--gray-700); margin-bottom: 8px; }
.legal-updated { font-size: 13px; color: var(--gray-300); margin-bottom: 36px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: rgba(255,255,255,0.6); padding: 64px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-grid h5 { font-size: 12px; font-weight: 600; letter-spacing: 0.4px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 9px; font-size: 14px; }
.footer-grid a:hover { color: var(--white); }
.footer-word { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--white); margin-bottom: 12px; }
.footer-desc { font-size: 13.5px; max-width: 32ch; opacity: 0.75; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 22px; font-size: 12.5px; opacity: 0.5; flex-wrap: wrap; gap: 8px; }
.footer-bottom a:hover { color: var(--white); }

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

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .article-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; padding: 20px 32px 24px; gap: 16px;
    border-bottom: 1px solid var(--line);
  }
  .card-grid, .article-grid, .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
}
