/* Eşrefoğlu Hukuk Bürosu — ana stil dosyası */
/* Cormorant Garamond (SIL Open Font License, bkz. assets/fonts/OFL.txt) — siteyle birlikte barındırılır, üçüncü taraf font servisi kullanılmaz. */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --navy: #14213d;
  --navy-deep: #0d1629;
  --burgundy: #7a1f2b;
  --burgundy-soft: #9b3442;
  --cream: #f7f2e8;
  --cream-dark: #ece4d3;
  --paper: #fffdf8;
  --ink: #1d1d1f;
  --muted: #5a5a63;
  --gold: #b8975a;
  --line: rgba(20, 33, 61, 0.14);
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
}

img, svg { max-width: 100%; display: block; }
a { color: var(--burgundy); text-underline-offset: 3px; }
a:hover { color: var(--burgundy-soft); }

h1, h2, h3, h4 {
  font-variant-numeric: lining-nums;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 .6em;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -100px;
  background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100;
  border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; color: #fff; }

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

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


/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 22, 41, .97);
  border-bottom: 1px solid rgba(184, 151, 90, .35);
  color: #fff;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 72px;
}
.brand { display: flex; align-items: center; gap: .75rem; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand svg { width: 42px; height: 42px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; letter-spacing: .02em; }
.brand-sub { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }

.nav-toggle {
  display: none; background: none; border: 1px solid rgba(255,255,255,.35); color: #fff;
  padding: .45rem .7rem; border-radius: var(--radius); font: inherit; font-size: .9rem; cursor: pointer;
}
.nav-toggle-bars { display: inline-block; width: 18px; height: 2px; background: currentColor; position: relative; vertical-align: middle; margin-right: .4rem; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
.nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.6rem; }
.main-nav a {
  color: #e9e4d8; text-decoration: none; font-size: .92rem; letter-spacing: .04em;
  padding: .3rem 0; border-bottom: 1px solid transparent;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--navy-deep); border-bottom: 1px solid rgba(184,151,90,.35);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: .5rem 1.25rem 1rem; }
  .main-nav li a { display: block; padding: .75rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .brand-name { font-size: 1.15rem; }
  .brand-sub { font-size: .62rem; letter-spacing: .16em; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(13,22,41,.0) 0%, rgba(13,22,41,.25) 100%),
    radial-gradient(1200px 500px at 85% -10%, rgba(122,31,43,.55), transparent 60%),
    var(--navy);
  color: #f3eee3;
  padding: clamp(4.5rem, 11vw, 8.5rem) 0 clamp(4rem, 9vw, 7rem);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 4px;
  background: linear-gradient(90deg, var(--burgundy), var(--gold), var(--burgundy));
}
.hero-inner { max-width: 760px; }
.eyebrow {
  display: inline-block; font-size: .78rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.2rem;
}
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #d9d3c5; max-width: 620px; }
.hero-rule { width: 64px; height: 1px; background: var(--gold); margin: 1.8rem 0; border: 0; }
.hero-links { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.btn {
  display: inline-block; padding: .8rem 1.4rem; border-radius: var(--radius);
  text-decoration: none; font-size: .92rem; letter-spacing: .05em;
  border: 1px solid var(--gold); color: #fff; background: transparent;
  cursor: pointer; font-family: inherit;
}
.btn:hover { background: rgba(184,151,90,.15); color: #fff; }
.btn-solid { background: var(--burgundy); border-color: var(--burgundy); color: #fff; }
.btn-solid:hover { background: var(--burgundy-soft); border-color: var(--burgundy-soft); }

.hero-mark {
  position: absolute; right: -60px; bottom: -60px; width: 420px; opacity: .06; pointer-events: none;
}
@media (max-width: 700px) { .hero-mark { width: 260px; right: -70px; bottom: -40px; } }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--cream); }
.section-head { max-width: 680px; margin-bottom: 2.5rem; }
.section-head .kicker {
  display: block; font-size: .75rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--burgundy); margin-bottom: .6rem; font-weight: 600;
}
.section-head p { color: var(--muted); }

.about-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 3rem; align-items: start; }
.about-text p { color: #33333a; }
.about-aside {
  background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--burgundy);
  padding: 1.75rem; border-radius: var(--radius);
}
.about-aside h3 { font-size: 1.2rem; }
.about-aside dl { margin: 0; }
.about-aside dt { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 1rem; }
.about-aside dt:first-child { margin-top: 0; }
.about-aside dd { margin: .15rem 0 0; }
.principles { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .8rem; }
.principles li { padding-left: 1.4rem; position: relative; }
.principles li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* Çalışma alanları */
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.area-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem 1.6rem; position: relative;
}
.area-card::before { content: ""; position: absolute; top: 0; left: 1.6rem; width: 36px; height: 3px; background: var(--burgundy); }
.area-card svg { width: 34px; height: 34px; color: var(--navy); margin-bottom: 1rem; }
.area-card h3 { margin-bottom: .45rem; }
.area-card p { color: var(--muted); font-size: .97rem; margin: 0; }
@media (max-width: 960px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .areas-grid { grid-template-columns: 1fr; } }
.note { font-size: .88rem; color: var(--muted); margin-top: 1.75rem; }

/* İletişim */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.contact-list li { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { border-top: 1px solid var(--line); }
.contact-list svg { width: 22px; height: 22px; flex: none; color: var(--burgundy); margin-top: .25rem; }
.contact-list .label { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.contact-form {
  background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--navy);
  border-radius: var(--radius); padding: 2rem;
}
.form-row { margin-bottom: 1.1rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font-size: .88rem; font-weight: 600; color: var(--navy); margin-bottom: .35rem; }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; padding: .7rem .8rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid #c9c2b2; border-radius: var(--radius);
}
input:focus, textarea:focus { border-color: var(--navy); outline: 2px solid rgba(20,33,61,.15); outline-offset: 0; }
textarea { min-height: 140px; resize: vertical; }
.checkbox { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; font-size: .88rem; color: var(--muted); }
.checkbox input { margin-top: .3rem; flex: none; width: 16px; height: 16px; }
.form-notice {
  font-size: .85rem; color: #5b4a21; background: #fbf3df; border: 1px solid #e8d7a8;
  padding: .75rem .9rem; border-radius: var(--radius); margin-bottom: 1.25rem;
}
.form-status { margin-top: 1rem; font-size: .9rem; color: var(--burgundy); min-height: 1.4em; }
.contact-form .btn { color: #fff; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-row-2 { grid-template-columns: 1fr; } .contact-form { padding: 1.4rem; } }

/* Yasal uyarı bandı */
.disclaimer { background: var(--cream-dark); padding: 2rem 0; font-size: .9rem; color: #45454d; }
.disclaimer strong { color: var(--navy); }
.disclaimer p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #c9c4b8; padding: 3.5rem 0 1.5rem; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.site-footer h2 { font-size: 1.05rem; color: #fff; font-family: var(--sans); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: #e9e4d8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: .45rem; }
.footer-brand { display: flex; gap: .75rem; align-items: center; margin-bottom: 1rem; }
.footer-brand svg { width: 40px; height: 40px; }
.footer-brand span { font-family: var(--serif); font-size: 1.3rem; color: #fff; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; font-size: .82rem; color: #9c978c;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Metin sayfaları (KVKK vb.) ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 3.5rem 0 3rem; border-bottom: 4px solid var(--burgundy); }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: .3rem; }
.page-hero p { color: #d9d3c5; margin: 0; }
.breadcrumb { font-size: .82rem; color: var(--gold); margin-bottom: 1rem; }
.breadcrumb a { color: var(--gold); }
.prose { max-width: 780px; padding: 3.5rem 0 4.5rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.table-wrap { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1rem 0 1.5rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6rem .75rem; text-align: left; vertical-align: top; }
.prose th { background: var(--cream); color: var(--navy); }

.notfound { text-align: center; padding: 6rem 0; }

/* ---------- İnce ayarlar (ekran görüntüsü incelemesi sonrası) ---------- */
h3 { font-size: 1.55rem; }
.about-aside h3, .contact-form h3 { font-size: 1.5rem; }
.hero-links .btn { text-align: center; min-width: 190px; }
@media (max-width: 520px) {
  .hero-links { flex-direction: column; }
  .hero-links .btn { width: 100%; }
}
.footer-address { font-style: normal; }
.section-head-tight { margin-bottom: 1.5rem; }
.optional { font-weight: 400; color: var(--muted); }

/* ---------- Kapsam güncellemesi: kurumsal bileşenler ---------- */
.topbar { background: #08101f; color: #b9b3a5; font-size: .8rem; letter-spacing: .02em; }
.topbar-inner { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; flex-wrap: wrap; }
.topbar .sep { margin: 0 .6rem; color: #5d6577; }
.topbar a { color: #e9e4d8; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.hero-panel dd a { color: #e6e0d3; text-decoration-color: rgba(184,151,90,.6); text-underline-offset: 3px; }
.hero-panel dd a:hover { color: #fff; }
.contact-list a, .about-aside dd a { color: var(--navy); text-underline-offset: 3px; overflow-wrap: anywhere; }
@media (max-width: 700px) { .topbar-contact { display: none; } .topbar-inner { justify-content: center; text-align: center; } }

.brand-name { text-transform: uppercase; letter-spacing: .12em; font-size: 1.2rem; }
.main-nav ul { gap: 1.9rem; }

.hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3.5rem; align-items: center; position: relative; z-index: 1; }
.hero-panel {
  background: rgba(255,255,255,.04); border: 1px solid rgba(184,151,90,.4);
  border-top: 3px solid var(--gold); padding: 1.75rem 1.75rem 1.5rem;
}
.hero-panel h2 { color: #fff; font-size: 1.5rem; margin-bottom: 1rem; }
.hero-panel dl { margin: 0; }
.hero-panel dt { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-top: 1rem; }
.hero-panel dt:first-of-type { margin-top: 0; }
.hero-panel dd { margin: .2rem 0 0; color: #e6e0d3; font-size: .97rem; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.about-lead { font-family: var(--serif); font-size: 1.6rem; line-height: 1.35; color: var(--navy); font-weight: 600; border-left: 3px solid var(--burgundy); padding-left: 1.1rem; margin-bottom: 1.4rem; }

.area-card h3 { font-size: 1.4rem; }

.section-navy { background: var(--navy); color: #d9d3c5; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .section-head p { color: #c3bdb0; }
.section-navy .kicker { color: var(--gold); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(184,151,90,.4); }
.step { padding: 1.75rem 1.5rem 0 0; position: relative; }
.step + .step { padding-left: 1.5rem; border-left: 1px solid rgba(255,255,255,.1); }
.step-no { display: block; font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--gold); margin-bottom: .9rem; font-variant-numeric: lining-nums; }
.step h3 { font-size: 1.35rem; }
.step p { font-size: .95rem; margin: 0; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step, .step + .step { padding: 1.5rem 1.25rem 1.5rem 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .step:nth-child(even) { padding-left: 1.25rem; border-left: 1px solid rgba(255,255,255,.1); }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
  .step:nth-child(even) { padding-left: 0; border-left: 0; }
}

.faq-grid { display: grid; grid-template-columns: 1fr 1.8fr; gap: 3rem; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--navy); line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: 1.4rem; color: var(--burgundy); font-weight: 400;
}
.faq-item[open] summary::after { content: "−"; }
.faq-body { padding: 0 2.5rem 1.2rem 0; color: #3b3b42; }
.faq-body p { margin: 0; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 1rem; } }

.map { margin: 0; border: 1px solid var(--line); background: var(--paper); }
.map iframe { display: block; width: 100%; height: 300px; border: 0; }
.map figcaption { font-size: .8rem; color: var(--muted); padding: .6rem .8rem; border-top: 1px solid var(--line); }
