/* =====================================================================
   Dağcıoğlu Hukuk Bürosu — Site Stilleri
   Renkler: lacivert #0F2D44, beyaz #FFFFFF, metin #111111
   ===================================================================== */

/* ---------- Fontlar (self-host, latin + latin-ext) ---------- */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/figtree-latin-ext.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: 'Figtree';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/figtree-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: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600-latin-ext.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: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600-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;
}

/* ---------- Temel ---------- */
:root {
  --navy: #0F2D44;
  --white: #FFFFFF;
  --ink: #111111;
  --line: rgba(15, 45, 68, 0.16);
  --line-dark: rgba(255, 255, 255, 0.14);
  --gutter: 40px;
  --section: 120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
/* Uzun kelimeler (ör. Almanca bileşik sözcükler) dar ekranda taşmasın */
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
a, button { transition: opacity .2s ease; }
a:hover, button:hover { opacity: .75; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--white); color: var(--navy);
  padding: 10px 16px; font-size: 14px; font-weight: 600;
}
.skip-link:focus { top: 16px; }

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

.container {
  width: 100%;
  max-width: calc(1240px + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

/* ---------- Tipografi ---------- */
.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .38em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 20px;
}
.on-dark .eyebrow { color: rgba(255, 255, 255, 0.78); }

.h2 {
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--navy);
}

.prose p { font-size: 17px; line-height: 1.8; color: var(--ink); }
.prose p + p { margin-top: 20px; }

.meta-line { font-size: 15px; font-weight: 500; color: var(--navy); margin-top: 12px; }

/* ---------- Butonlar ve bağlantılar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
}
.btn--primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--white); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--navy);
}

.icon { width: 16px; height: 16px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line-dark);
  color: var(--white);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 96px;
}
.logo { display: inline-flex; align-items: center; flex: none; }
.logo svg { height: 34px; width: auto; }

.nav { display: flex; align-items: center; gap: 40px; }
.nav-list { display: flex; align-items: center; gap: 36px; }
.nav-list a {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--white);
  padding: 6px 0 4px;
  border-bottom: 2px solid transparent;
}
.nav-list a[aria-current="page"] { border-bottom-color: var(--white); }

.lang { display: flex; align-items: center; gap: 2px; }
.lang-btn {
  background: none;
  border: 0;
  padding: 8px 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}
.lang-btn.active { color: var(--white); }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin-right: -10px;
  background: none;
  border: 0;
  color: var(--white);
  cursor: pointer;
}
.menu-toggle svg { width: 24px; height: 24px; }

/* ---------- Mobil menü ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  background: var(--navy);
  color: var(--white);
  overflow-y: auto;
  padding: 0 20px 32px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  border-bottom: 1px solid var(--line-dark);
}
.mobile-menu__top .logo svg { height: 24px; }
.mobile-menu__close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; color: var(--white); cursor: pointer;
}
.mobile-menu__close svg { width: 24px; height: 24px; }
.mobile-menu__links { margin-top: 24px; }
.mobile-menu__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.3;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}
.mobile-menu__links a[aria-current="page"] { font-weight: 500; }
.mobile-menu__links .icon { width: 20px; height: 20px; }
.mobile-menu__bottom { margin-top: auto; padding-top: 40px; }
.mobile-menu__bottom .btn { width: 100%; }
.mobile-menu__contact { margin-top: 24px; font-size: 16px; line-height: 1.9; color: rgba(255, 255, 255, 0.78); }
.mobile-menu__contact a { display: block; }
.mobile-menu .lang { margin-top: 20px; margin-left: -6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  background-color: #091825;
  /* Üst katman: header yazılarının açık zeminde okunur kalması için */
  background-image:
    linear-gradient(180deg, rgba(9, 24, 37, 0.6) 0, rgba(9, 24, 37, 0) 180px),
    linear-gradient(90deg, rgba(9, 24, 37, 0.93) 0%, rgba(9, 24, 37, 0.72) 50%, rgba(9, 24, 37, 0.45) 100%),
    url('../img/hero-cubbe.jpg');
  background-size: cover;
  background-position: center 22%;
  background-repeat: no-repeat;
}
.hero--page { padding: 220px 0 72px; }
.hero--page h1 {
  font-size: clamp(40px, 4.6vw, 60px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.015em;
  color: var(--white);
}
.breadcrumb { margin-top: 24px; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.75); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; }
.breadcrumb a:hover { opacity: .75; }

.hero--home {
  min-height: 760px;
  display: flex;
  align-items: flex-end;
  padding: 200px 0 96px;
  background-image:
    linear-gradient(180deg, rgba(9, 24, 37, 0.6) 0, rgba(9, 24, 37, 0) 180px),
    linear-gradient(90deg, rgba(9, 24, 37, 0.95) 0%, rgba(9, 24, 37, 0.82) 40%, rgba(9, 24, 37, 0.45) 75%, rgba(9, 24, 37, 0.35) 100%),
    url('../img/hero-cubbe.jpg');
  background-position: center 30%;
}
.hero--home .container { width: 100%; }
.hero__content { max-width: 560px; }
.hero--home h1 {
  font-size: clamp(40px, 4.4vw, 58px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--white);
}
.hero__lead { margin-top: 24px; font-size: 18px; line-height: 1.7; color: rgba(255, 255, 255, 0.82); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero__note {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Ortak düzenler ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 80px;
  align-items: start;
}
.split--center { align-items: center; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
}
.section-head--stack { display: block; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 40px 32px;
}
.card h3 { font-size: 21px; font-weight: 600; line-height: 1.3; color: var(--navy); }
.card p { margin-top: 14px; font-size: 15px; line-height: 1.7; color: var(--ink); }

/* ---------- Ana sayfa: hakkımızda ---------- */
.about-intro__body { max-width: 760px; }
.about-intro .link-arrow { margin-top: 32px; }

/* ---------- Ana sayfa: kurucu avukat ---------- */
/* Kurucu avukat: fotoğraf çerçevesi sabit genişlikte, 4:5. Boyutu yazıya bağlı değildir
   (yeniden boyutlandırmada döngüsel hesap olmaması için). */
.founder__grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
  gap: 72px;
}
.founder__text .link-arrow { display: flex; width: max-content; }

/* 901–1199px: sabit 260px, 4:5 */
@media (min-width: 901px) and (max-width: 1199px) {
  .founder__grid { grid-template-columns: 260px minmax(0, 1fr); gap: 64px; }
}

/* Fotoğraf çerçevesi: genişlik ve 4:5 oran sabit, fotoğraf kutuyu doldurur */
.photo-frame {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.photo-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.founder .prose { margin-top: 28px; }
.founder .link-arrow { margin-top: 32px; }

/* ---------- Yönlendirme bandı ---------- */
.cta-band { border-top: 1px solid var(--line); padding: 96px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band .h2 { max-width: 720px; }
.cta-band .btn { flex: none; }

/* ---------- Hakkımızda ---------- */
.about-photo {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 5;
  justify-self: end;
  position: sticky;        /* metin kayarken fotoğraf görünür kalır */
  top: 40px;
}
.about-founder .prose { margin-top: 28px; }

.rows { margin-top: 56px; border-top: 1px solid var(--navy); }
.row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 160px;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.row .eyebrow { margin: 0; }
.row h3 { font-size: 21px; font-weight: 600; line-height: 1.35; color: var(--navy); }
.row p { margin-top: 8px; font-size: 16px; line-height: 1.7; }
.row__status { font-size: 13px; font-weight: 500; line-height: 1.5; color: var(--navy); text-align: right; }

/* ---------- Çalışma alanları ---------- */
.practice-head { align-items: end; }
.practice-head p { font-size: 17px; line-height: 1.8; }
.areas { margin-top: 64px; border-top: 1px solid var(--navy); }
.area {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 80px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.area h3 { font-size: 28px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; color: var(--navy); }
.area p { font-size: 16px; line-height: 1.8; }

/* ---------- İletişim ---------- */
.contact { padding: 112px 0 128px; }
.contact .split { gap: 64px; }

.map-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  padding: 24px;
  text-align: center;
}
.map-card__bg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--navy); }
.map-card__content { position: relative; display: flex; flex-direction: column; align-items: center; }
.map-card__pin {
  display: flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--navy); color: var(--white);
}
.map-card__pin svg { width: 30px; height: 30px; }
.map-card__address { margin-top: 20px; font-size: 18px; font-weight: 600; line-height: 1.5; color: var(--navy); }
.map-card__btn {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 20px; min-height: 44px; padding: 0 20px;
  background: var(--white); border: 1.5px solid var(--navy); color: var(--navy);
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}

.info-list { margin-top: 40px; }
.info-row { padding: 24px 0; border-bottom: 1px solid var(--line); }
.info-row:first-child { padding-top: 0; }
.info-row .eyebrow { margin-bottom: 8px; }
.info-row dd { font-size: 17px; line-height: 1.7; color: var(--ink); }
.info-row dd a { color: var(--navy); font-weight: 600; }

.form-card { background: var(--white); border: 1px solid var(--line); padding: 48px; }
.form-card .intro { margin-bottom: 32px; font-size: 16px; line-height: 1.7; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--navy); }
.field input, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(15, 45, 68, 0.3);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--navy); outline-offset: -1px; border-color: var(--navy); }
.form-card .btn { margin-top: 32px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.78); font-size: 15px; line-height: 1.8; }
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 48px;
  padding-top: 88px;
  padding-bottom: 72px;
}
.footer-main .logo svg { height: 32px; }
.footer-bar { margin-top: 20px; }
.footer-heading { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 16px; }
.footer-links li + li { margin-top: 6px; }
.footer-bottom { border-top: 1px solid var(--line-dark); }
.footer-bottom .container {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-top: 24px; padding-bottom: 24px; font-size: 14px;
}
.footer-bottom__links { display: flex; flex-wrap: wrap; gap: 28px; }
.footer-bottom__links button { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; font-size: 14px; }

/* ---------- Çerez bilgilendirmesi: band + modal ----------
   Katman sırası: modal (tarayıcının üst katmanı) > mobil menü (50) > band (40) */
.cookie-band {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -2px 12px rgba(15, 45, 68, 0.06);
}
.cookie-band[hidden] { display: none; }
.cookie-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.cookie-band__text { font-size: 15px; line-height: 1.6; color: var(--ink); max-width: 820px; }
.cookie-band__actions { display: flex; align-items: center; gap: 24px; flex: none; }
.cookie-band__details {
  background: none; border: 0; padding: 4px 0; cursor: pointer;
  font-size: 15px; font-weight: 500; color: var(--navy);
  text-decoration: underline; text-underline-offset: 3px;
}
.cookie-band__ok {
  min-height: 44px;
  padding: 0 28px;
  background: var(--navy);
  color: var(--white);
  border: 1px solid var(--navy);
  border-radius: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

body.modal-open { overflow: hidden; }
.cookie-modal {
  width: calc(100% - 40px);
  max-width: 560px;
  max-height: calc(100% - 40px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
}
.cookie-modal::backdrop { background: rgba(9, 24, 37, 0.6); }
.cookie-modal__inner { position: relative; padding: 40px; }
.cookie-modal .h2 { padding-right: 40px; }
.cookie-modal .prose { margin-top: 24px; }
.cookie-modal .btn { margin-top: 32px; }
.cookie-modal__x {
  position: absolute; top: 12px; right: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: none; border: 0; color: var(--navy); cursor: pointer;
}
.cookie-modal__x svg { width: 22px; height: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 28px; }
  .nav-list { gap: 24px; }
}

@media (max-width: 900px) {
  :root { --gutter: 20px; --section: 68px; }

  .site-header .container { height: 72px; }
  .site-header .logo svg { height: 24px; }
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }

  .hero, .hero--home {
    background-image:
      linear-gradient(180deg, rgba(9, 24, 37, 0.5) 0%, rgba(9, 24, 37, 0.8) 50%, rgba(9, 24, 37, 0.94) 100%),
      url('../img/hero-cubbe.jpg');
  }
  .hero--page { padding: 150px 0 52px; }
  .hero--page h1 { font-size: 38px; }
  .hero--home { min-height: 640px; padding: 140px 0 64px; }
  .hero--home h1 { font-size: 36px; }
  .hero__lead { font-size: 17px; }
  .hero__actions .btn { flex: 1 1 100%; }

  .h2 { font-size: 28px; }
  .split, .area { grid-template-columns: 1fr; gap: 32px; }
  .area { gap: 12px; padding: 32px 0; }
  .area h3 { font-size: 24px; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
  .cards { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 32px 24px; }

  .founder__grid { grid-template-columns: 1fr; gap: 32px; }
  .about-photo { position: static; max-width: 480px; justify-self: start; }

  .row { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
  .row__status { text-align: left; }

  .cta-band { padding: 64px 0; }
  .cta-band .container { flex-direction: column; align-items: flex-start; gap: 28px; }

  .contact { padding: 64px 0 72px; }
  .map-card { aspect-ratio: auto; min-height: 300px; padding: 40px 20px; }
  .form-card { padding: 32px 20px; }
  .form-grid { grid-template-columns: 1fr; gap: 20px; }
  .form-card .btn { width: 100%; }

  .footer-main { grid-template-columns: 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; }

  .cookie-band__inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-band__actions { gap: 20px; }
  .cookie-band__ok { flex: 1; }
  .cookie-modal__inner { padding: 32px 20px; }
  .cookie-modal .btn { width: 100%; }
}
