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

:root {
  --paper: #fffdf8;
  --cream: #f4eee5;
  --ink: #24211f;
  --muted: #6b645d;
  --line: rgba(36, 33, 31, .15);
  --accent: #8f7a59;
  --dark: #151311;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.65;
}

body.home-page {
  height: 100svh;
  overflow: hidden;
}

.home-shell {
  height: 100svh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }

p { margin: 0 0 1rem; }

.container {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.site-header.home-header {
  position: absolute;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 0;
  color: #fff;
}

.site-header.home-white-header {
  position: relative;
  background: rgba(255, 253, 248, .98);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.header-inner {
  width: min(1220px, calc(100% - 64px));
  min-height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.brand {
  display: block;
  width: 216px;
  min-width: 216px;
  color: #504a45;
}

.home-header .brand {
  color: rgba(255,255,255,.92);
  text-shadow: 0 2px 16px rgba(0,0,0,.30);
}

.brand-main {
  display: block;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 500;
  letter-spacing: .23em;
  line-height: 1;
}

.brand-line {
  display: block;
  width: 100%;
  height: 1px;
  margin: 9px 0 7px;
  background: currentColor;
  opacity: .56;
}

.brand-sub {
  display: block;
  text-align: center;
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .32em;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar { display: none; }

.main-nav a {
  position: relative;
  padding: 10px 0;
  color: rgba(36,33,31,.72);
  font-size: 11.5px;
  letter-spacing: .15em;
  font-weight: 500;
  text-transform: uppercase;
}

.home-header .main-nav a {
  color: rgba(255,255,255,.84);
  text-shadow: 0 2px 16px rgba(0,0,0,.30);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width .18s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }

/* HOME */
.home-hero {
  position: relative;
  flex: 1;
  min-height: 0;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.01) 42%, rgba(0,0,0,.08)),
    url("../images/hero-bosphorus.jpg");
  background-size: cover;
  background-position: center center;
}

/* PAGE STRUCTURE */
.page-strip {
  height: 238px;
  background-size: cover;
  background-position: center center;
  border-bottom: 1px solid var(--line);
}

.about-strip {
  background-image:
    linear-gradient(90deg, rgba(0,0,0,.54), rgba(0,0,0,.10)),
    url("../images/about-cihangir.png");
}

.page-section {
  padding: 86px 0;
}

.page-intro {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.section-label {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: .19em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.02em;
}

h1 {
  margin: 0;
  font-size: clamp(52px, 6vw, 92px);
  line-height: .98;
}

.page-intro p {
  max-width: 760px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.78;
  font-weight: 400;
}

.about-title-grid {
  display: grid;
  grid-template-columns: .55fr .45fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 58px;
}

.ghost-mark {
  text-align: right;
  color: rgba(36,33,31,.055);
  font-family: var(--serif);
  font-size: clamp(68px, 8vw, 132px);
  letter-spacing: .10em;
  line-height: .8;
  white-space: nowrap;
  user-select: none;
}

.about-copy {
  max-width: 910px;
}

.about-copy p {
  color: var(--muted);
  font-size: 16.25px;
  line-height: 1.8;
  font-weight: 400;
}

.about-copy .lead {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(31px, 3.4vw, 48px);
  line-height: 1.18;
  letter-spacing: -.018em;
  margin-bottom: 34px;
}

/* PRACTICE */
.practice-section {
  padding: 52px 0 104px;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.practice-card {
  min-height: 250px;
  padding: 28px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: background .18s ease;
}

.practice-card:hover {
  background: var(--cream);
}

.practice-card span {
  display: block;
  margin-bottom: 34px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: .15em;
}

.practice-card h2 {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.1;
}

.practice-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.75px;
  line-height: 1.78;
  font-weight: 400;
}

/* TEAM */
.team-section {
  padding: 0 0 104px;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.team-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 28px;
  padding: 36px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.team-card.muted {
  background: var(--cream);
}

.team-monogram {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--accent);
  font-family: var(--serif);
  font-size: 32px;
}

.team-card h2 {
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1.12;
}

.team-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.team-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15.25px;
  line-height: 1.78;
  font-weight: 400;
}

/* PUBLICATIONS */
.publication-section {
  padding: 0 0 104px;
}

.publication-box {
  max-width: 860px;
  padding: 42px;
  border: 1px solid var(--line);
  background: var(--cream);
}

.publication-box h2 {
  margin: 0 0 14px;
  font-size: 46px;
  line-height: 1.1;
}

.publication-box p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
  font-weight: 400;
}

/* CONTACT */
.contact-visual {
  height: 320px;
  background-image:
    linear-gradient(90deg, rgba(0,0,0,.18), rgba(0,0,0,.05)),
    url("../images/contact-historical.jpg");
  background-size: cover;
  background-position: center center;
  border-bottom: 1px solid var(--line);
}

.contact-section {
  padding: 92px 0 104px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 42px;
  align-items: stretch;
}

.contact-info h1 {
  margin-bottom: 42px;
}

.contact-block {
  margin-bottom: 24px;
}

.contact-block h2 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.1;
}

.contact-block p {
  margin: 0;
  color: var(--muted);
  font-size: 15.75px;
  line-height: 1.78;
  font-weight: 400;
}

.map-wrap {
  min-height: 560px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 560px;
  border: 0;
  filter: grayscale(12%) contrast(.96);
}

/* LEGAL */
.legal-section {
  padding: 0 0 104px;
}

.legal-copy {
  max-width: 920px;
}

.legal-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
}

/* FOOTER */
.site-footer {
  padding: 64px 0 28px;
  color: rgba(255,255,255,.72);
  background: var(--dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr .9fr;
  gap: 58px;
}

.footer-brand {
  margin-bottom: 24px;
}

.footer-brand span {
  display: block;
  color: #f6f0e7;
  font-family: var(--serif);
  font-size: 32px;
  letter-spacing: .23em;
}

.footer-brand small {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.64);
  font-family: var(--serif);
  letter-spacing: .25em;
}

.site-footer p {
  margin: 0;
  color: rgba(255,255,255,.62);
}

.footer-brand + p {
  margin-top: 20px;
  max-width: 460px;
}

.site-footer h3 {
  margin: 0 0 16px;
  color: #fff;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin-bottom: 9px;
  color: rgba(255,255,255,.82);
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.42);
  font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 1050px) {
  body.home-page {
    height: 100svh;
    overflow: hidden;
  }

  .header-inner {
    min-height: 92px;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 18px 0;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 22px;
  }

  .home-shell {
    height: 100svh;
    min-height: 100svh;
  }

  .home-hero {
    min-height: 0;
  }

  .about-title-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .ghost-mark {
    display: none;
  }

  .practice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .home-hero {
    background-image:
      linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.04) 42%, rgba(0,0,0,.12)),
      url("../images/hero-bosphorus-mobile.jpg");
    background-position: center center;
  }

  .container,
  .header-inner {
    width: min(100% - 36px, 1180px);
  }

  .brand {
    width: 180px;
    min-width: 180px;
  }

  .brand-main { font-size: 23px; }
  .brand-sub { font-size: 9px; }

  .main-nav {
    gap: 18px;
  }

  .main-nav a {
    font-size: 11px;
  }

  .page-section,
  .contact-section {
    padding: 74px 0;
  }

  h1 {
    font-size: 48px;
  }

  .page-strip {
    height: 190px;
  }

  .contact-visual {
    height: 280px;
  }

  .practice-grid {
    grid-template-columns: 1fr;
  }

  .practice-card {
    min-height: 220px;
  }

  .team-card {
    grid-template-columns: 1fr;
  }

  .map-wrap,
  .map-wrap iframe {
    min-height: 420px;
  }
}


/* v17 temiz son revizyon */
/* Ana ekran, Hakkımızda ve İletişim korunmuştur. */

.ghost-mark {
  display: none !important;
}

.about-simple-title,
.about-title-grid {
  max-width: 910px;
  display: block !important;
  grid-template-columns: none !important;
  margin-bottom: 46px;
}

.about-simple-title h1,
.about-title-grid h1 {
  margin: 0;
}

.about-copy {
  max-width: 910px;
}

/* Hakkımızda: seçilen temsili İstanbul görseli. */
.about-strip {
  background-image:
    linear-gradient(90deg, rgba(18,27,36,.20), rgba(18,27,36,.06)),
    url("../images/about-cihangir.png");
  background-position: center 32%;
  filter: saturate(.82);
}

@media (max-width: 640px) {
  .about-strip {
    height: 190px;
    background-position: 65% 32%;
  }
}

/* Çalışma Alanları: seçilen 1. görsel */
.practice-strip {
  background-image:
    linear-gradient(90deg, rgba(0,0,0,.30), rgba(0,0,0,.04)),
    url("../images/practice-banner.jpg") !important;
  background-size: cover;
  background-position: center center;
}

/* Ekibimiz: seçilen daha sade 1. görsel */
.team-strip {
  background-image:
    linear-gradient(90deg, rgba(0,0,0,.22), rgba(0,0,0,.04)),
    url("../images/team-banner.jpg") !important;
  background-size: cover;
  background-position: center center;
}

/* İletişim bannerına dokunulmuyor: v12’deki beğenilen hali korunur. */

.footer-brand + p {
  display: none !important;
}

.footer-links {
  padding-top: 4px;
}

.footer-links a {
  display: block;
  margin-bottom: 10px;
  color: rgba(255,255,255,.82);
}

@media (max-width: 1050px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
}

/* v19 — çalışma alanları ve detay sayfaları */
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; background: var(--paper); padding: 12px 20px; }
.skip-link:focus { top: 12px; }
.areas-heading { padding-top: 66px; padding-bottom: 48px; }
.areas-heading .section-label { font-size: 10px; letter-spacing: .22em; margin-bottom: 20px; }
.areas-heading h1 { font-size: clamp(48px, 5.4vw, 76px); }
.areas-section { padding-bottom: 100px; }
.areas-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
.area-card { display: grid; grid-template-columns: 26px minmax(0,1fr) 24px; gap: 18px; border-top: 1px solid var(--line); min-height: 205px; padding: 36px 8px 32px 0; transition: background .2s, color .2s; }
.area-card:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.area-number { font-size: 11px; color: var(--accent); padding-top: 7px; letter-spacing: .1em; }
.area-card h2 { font-size: clamp(28px, 2.5vw, 35px); line-height: 1.15; margin: 0 0 16px; text-wrap: balance; }
.area-card p { color: var(--muted); font-size: 14px; line-height: 1.85; margin: 0; max-width: 430px; }
.area-arrow { color: var(--accent); padding-top: 7px; transition: transform .2s; }
.area-arrow svg { display: block; width: 24px; height: 24px; }
.area-card:hover { background: #f8f4ed; }
.area-card:hover h2 { color: #796342; }
.area-card:hover .area-arrow { transform: translateX(4px); }
.detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 270px; gap: 96px; padding-top: 64px; padding-bottom: 100px; }
.area-detail { min-width: 0; }
.back-link { display: inline-block; color: var(--muted); font-size: 12px; margin-bottom: 56px; padding: 6px 0; }
.area-detail .section-label { font-size: 10px; letter-spacing: .2em; margin-bottom: 22px; }
.area-detail h1 { font-size: clamp(44px, 4.6vw, 68px); line-height: 1.06; text-wrap: balance; }
.detail-rule { width: 64px; height: 1px; background: var(--accent); margin: 32px 0; }
.detail-copy { max-width: 740px; }
.detail-copy p { font-size: 16px; line-height: 1.95; margin-bottom: 24px; color: var(--muted); }
.detail-contact { border-top: 1px solid var(--line); margin-top: 44px; padding-top: 24px; display: flex; flex-wrap: wrap; column-gap: 24px; row-gap: 10px; font-size: 13px; }
.detail-contact > span { width: 100%; font-size: 10px; text-transform: uppercase; letter-spacing: .18em; color: var(--accent); }
.detail-contact a:hover, .map-caption a:hover { text-decoration: underline; text-underline-offset: 5px; }
.area-sidebar { border-left: 1px solid var(--line); padding-left: 28px; margin-top: 96px; align-self: start; }
.area-sidebar h2 { font-family: var(--sans); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 22px; }
.area-sidebar ul { list-style: none; margin: 0; padding: 0; }
.area-sidebar a { display: block; font-size: 13px; line-height: 1.5; padding: 11px 10px; color: var(--muted); border-bottom: 1px solid var(--line); }
.area-sidebar a:hover { color: var(--ink); background: var(--cream); }
.area-sidebar a[aria-current="page"] { background: var(--cream); color: var(--ink); border-left: 2px solid var(--accent); font-weight: 600; }
.contact-map { display: flex; flex-direction: column; min-height: 0; }
.contact-map iframe { display: block; height: 390px; min-height: 390px; flex: 1; }
.map-caption { padding: 26px 30px; background: var(--cream); border-top: 1px solid var(--line); }
.map-caption h2 { font-size: 28px; line-height: 1.2; margin: 0 0 12px; }
.map-caption p { color: var(--muted); font-size: 13px; line-height: 1.8; margin-bottom: 12px; }
.map-caption > a { font-size: 13px; display: inline-block; margin-right: 20px; }
.map-caption .map-directions { margin-top: 12px; }
@media (max-width: 1050px) {
  .areas-grid { column-gap: 32px; }
  .detail-layout { gap: 42px; grid-template-columns: minmax(0,1fr) 230px; }
  .area-sidebar { padding-left: 18px; }
}
@media (max-width: 760px) {
  .detail-layout { grid-template-columns: 1fr; padding-top: 30px; padding-bottom: 60px; gap: 46px; }
  .area-sidebar { border-left: 0; border-top: 1px solid var(--line); padding: 30px 0 0; margin-top: 0; }
  .back-link { margin-bottom: 32px; }
  .detail-copy p { font-size: 15px; line-height: 1.9; }
}
@media (max-width: 680px) {
  .areas-heading { padding-top: 42px; padding-bottom: 32px; }
  .areas-heading .section-label { font-size: 9px; letter-spacing: .14em; }
  .areas-heading h1 { font-size: 48px; }
  .areas-grid { grid-template-columns: 1fr; }
  .areas-section { padding-bottom: 60px; }
  .area-card { min-height: 0; padding: 27px 0; gap: 12px; grid-template-columns: 24px minmax(0,1fr) 20px; }
  .area-card:nth-last-child(2) { border-bottom: 0; }
  .area-card h2 { font-size: 29px; }
  .area-card p { font-size: 13px; }
  .area-arrow svg { width: 20px; height: 20px; }
  .map-caption { padding: 22px; }
  .contact-map iframe { height: 320px; min-height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media (max-width: 680px) {
  .main-nav { justify-content: space-between; gap: 8px; overflow: visible; }
  .main-nav a { font-size: 10px; letter-spacing: .07em; }
}
@media (max-width: 360px) {
  .main-nav { gap: 5px; }
  .main-nav a { font-size: 9px; letter-spacing: .025em; }
}

/* Fotoğrafsız ekip sunumu: isim, unvan ve kısa bilgi. */
.team-page .page-intro { border-bottom: 0; padding-bottom: 44px; }
.team-page .team-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 64px; row-gap: 0; }
.team-page .team-card { display: block; padding: 32px 0; border: 0; border-top: 1px solid var(--line); background: transparent; }
.team-page .team-card h2 { font-size: 36px; margin-bottom: 12px; }
.team-page .team-card span { font-size: 10px; letter-spacing: .16em; margin-bottom: 22px; }
.team-page .team-card p { max-width: 480px; font-size: 15px; line-height: 1.85; }
@media (max-width: 680px) {
 .team-page .team-grid { grid-template-columns: 1fr; }
 .team-page .team-card h2 { font-size: 32px; }
}

/* Ana kapak — onaylanan başlık */
.home-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,19,29,.31), transparent 78%), linear-gradient(0deg, rgba(9,19,29,.16), transparent 65%); pointer-events: none; }
.home-caption { position: absolute; left: max(32px, calc((100% - 1180px)/2)); right: 32px; bottom: clamp(60px, 12vh, 140px); color: #fffdf8; }
.home-caption h1 { font-size: clamp(46px, 5.6vw, 82px); line-height: 1.08; font-weight: 400; letter-spacing: -.015em; text-shadow: 0 2px 20px rgba(0,0,0,.2); }
@media (max-width: 680px) {
 .home-caption { left: 24px; right: 18px; bottom: max(60px, 12svh); }
 .home-caption h1 { font-size: clamp(35px, 8.8vw, 54px); line-height: 1.14; }
}
@media (max-height: 480px) and (min-width: 681px) {
 .home-caption { bottom: 24px; }
 .home-caption h1 { font-size: 42px; }
}
