/* ============================================================
   Av. [AD SOYAD] — avukatlık sitesi (koyu tema)
   Sade, bağımlılıksız, çerezsiz. Dış kaynak çağrısı yoktur.

   Renk paleti #323235 zemin ve #E9D8CE metin üzerine kurulmuştur.
   Kontrast oranları WCAG AA eşiğinin üzerindedir:
     metin   #E9D8CE / #323235 →  9.2:1
     ikincil #C4A98A / #2C2C2E →  6.2:1
   ============================================================ */

/* --- Yerel yazı tipleri -------------------------------------------
   Playfair Display + Montserrat, Google Fonts'tan indirilip siteye
   gömüldü. Dış sunucuya hiçbir istek gitmez, çerez oluşmaz.
   İki subset de şart: latin ç/ö/ü/ı'yı, latin-ext ğ/Ğ/İ/ş/Ş'i
   taşır; yalnız latin yüklense Türkçe harfler bozulur.
   ------------------------------------------------------------ */

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('fonts/playfair-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('fonts/playfair-latinext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/montserrat-latinext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;

  --bg: #323235;        /* zemin */
  --bg-soft: #3a3a3e;   /* üst bant ve alt bilgi */
  --bg-note: #29292c;   /* uyarı kutusu */
  --ink: #e9d8ce;       /* gövde metni */
  --head: #ffffff;      /* başlıklar */
  --link: #d2ac70;      /* bağlantılar */
  --muted: #c4a98a;     /* ikincil metin */
  --line: #56565d;      /* ayırıcı çizgiler */
  --wrap: 960px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, "Times New Roman", Times, serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--head);
  margin: 0 0 0.6em;
}

h1 { font-size: 2.05rem; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.05rem; margin-bottom: 0.4em; }

p { margin: 0 0 1em; }

a { color: var(--link); }
a:hover { text-decoration-thickness: 2px; }

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

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

/* Erişilebilirlik ------------------------------------------------ */

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--link);
  color: #1a1a1c;
  padding: 10px 14px;
  z-index: 10;
}

.skip:focus { left: 8px; top: 8px; }

/* Başlık ---------------------------------------------------------- */

.site-head {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.head-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  text-decoration: none;
  color: var(--ink);
  display: block;
}

.brand-name {
  display: block;
  font-family: "Playfair Display", Georgia, "Times New Roman", Times, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--head);
}

.brand-sub {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-head nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 0;
  padding: 0;
}

.site-head nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
}

.site-head nav a:hover,
.site-head nav a[aria-current="page"] {
  color: var(--head);
  border-bottom-color: var(--link);
}

/* Ana bölüm ------------------------------------------------------- */

.hero {
  padding: 52px 0 42px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.hero-inner {
  display: flex;
  gap: 44px;
  align-items: flex-start;
}

.hero-text { flex: 1 1 320px; }

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 { margin: 0 0 6px; }

.hero-meta {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-law {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  max-width: 68ch;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-law p { margin: 0 0 10px; }

.hero-law-list {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
}

.hero-law-list li { margin: 0 0 4px; }

.hero-law-list li:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.05rem;
  max-width: 54ch;
}

/* Hero'da son paragrafsa, tarayici varsayilan alt kenar boslugunu
   hero padding'inin uzerine binmesin (iletisim sayfasi). */
.hero-text > .lead:last-child { margin-bottom: 0; }

.hero-contact {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 0.98rem;
}

.hero-photo { flex: 0 0 auto; }

.hero-photo img {
  display: block;
  width: 200px;
  height: 200px;
  object-fit: cover;
  background: #323235;
  border: 1px solid var(--line);
  border-radius: 4px;
}

/* İçerik bölümleri ------------------------------------------------ */

.section {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.section:last-of-type { border-bottom: 0; }

.section-intro {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 66ch;
  margin-bottom: 22px;
}

.note {
  background: var(--bg-note);
  border-left: 3px solid var(--link);
  padding: 14px 18px;
  margin: 0 0 24px;
  font-size: 0.9rem;
  color: #e9d8ce;
  max-width: 74ch;
}

.note p:last-child { margin-bottom: 0; }

/* Çalışma alanları ------------------------------------------------ */

.area-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 0 28px;
  max-width: 720px;
}

.area-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}

/* Bilgi tablosu ---------------------------------------------------- */

.facts {
  width: 100%;
  max-width: 640px;
  border-collapse: collapse;
  margin: 0;
}

.facts th,
.facts td {
  text-align: left;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.facts th {
  width: 252px;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 640px;
}

.contact-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

.contact-list .label {
  flex: 0 0 160px;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-list .value { flex: 1 1 240px; }

/* Alt bilgi --------------------------------------------------------- */

.site-foot {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 30px 0;
  font-size: 0.88rem;
  color: var(--ink);
}

.site-foot p { margin: 0 0 8px; max-width: 74ch; }

.foot-nav { margin-bottom: 12px; }
.foot-nav a { color: var(--link); }

.legal {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}

/* Duyarlı düzen ------------------------------------------------------ */

@media (max-width: 640px) {
  body { font-size: 16px; }
  h1 { font-size: 1.7rem; }
  .hero { padding: 34px 0 30px; }
  .hero-inner { flex-direction: column-reverse; gap: 22px; }
  /* Kolon yonunde 320px artik genislik degil YUKSEKLIK olurdu; icerik
     yuksekligine gore kisalsin diye tabanı sifirliyoruz. */
  .hero-text { flex: 0 1 auto; }
  .hero-photo img { width: 132px; height: 132px; }
  .section { padding: 34px 0; }
  .facts th,
  .facts td { display: block; width: auto; padding: 0; border: 0; }
  .facts th { padding-top: 12px; }
  .facts tbody tr:first-child th { padding-top: 0; }
  .contact-list .label { flex-basis: 100%; }
}

/* Yazdırma: koyu ekran görüntüsünü kâğıda yazdırmıyoruz -------- */

@media print {
  .site-head nav,
  .skip { display: none; }

  html,
  body {
    background: #fff;
    color: #000;
  }

  body { font-size: 12pt; }

  h1, h2, h3, a, .brand, .brand-name, .brand-sub { color: #000; }

  .site-head,
  .hero,
  .site-foot { background: #fff; border-color: #bbb; }

  .eyebrow,
  .hero-meta,
  .hero-law,
  .section-intro,
  .facts th,
  .contact-list .label,
  .legal { color: #444; }

  .note { background: #f2f2f2; border-left-color: #000; color: #000; }

  .area-list li,
  .facts th,
  .facts td,
  .contact-list li,
  .brand-sub { border-color: #ddd; }
}
