/* Avukat Meliha Demircioğlu – Hukuk & Danışmanlık
   Düzen: lacivert deniz hero → beyaz menü bandı → mermer içerik, altın geometrik çizgiler */
:root {
  --navy-900: #081c34;
  --navy-800: #0d2647;
  --navy-700: #15345c;
  --gold: #c9a45c;
  --gold-light: #e8cf96;
  --gold-dark: #9c7a3c;
  --marble: #f6f6f4;
  --ink: #1d2433;
  --ink-soft: #565d6b;
  --white: #ffffff;
  --line: #e2dccd;
  --f-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-body: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --maxw: 1296px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background:
    linear-gradient(180deg, var(--navy-900) 0%, #14243a 45%, #4a4436 75%, #8c754c 100%) fixed no-repeat;
  background-color: var(--navy-900);
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 32px 0;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px;
}
h1, h2, h3, h4 { font-family: var(--f-display); text-wrap: balance; line-height: 1.2; margin: 0; }

.site {
  max-width: var(--maxw);
  margin: 0 auto;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
  background: var(--marble);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 550px;
  background: var(--navy-900) url("../img/hero.jpg") center bottom / cover no-repeat;
  color: var(--white);
  border-bottom: 3px solid var(--gold);
  display: grid;
  grid-template-columns: 540px 1fr;
  grid-template-rows: auto 1fr;
  isolation: isolate;
}
.hero::after { /* üst kenarda hafif kararma, menü okunurluğu için */
  content: ""; position: absolute; inset: 0 0 auto; height: 140px; z-index: -1;
  background: linear-gradient(180deg, rgba(8, 28, 52, .55), transparent);
}
.hero__logo { grid-row: 1 / span 2; padding: 0 0 0 3px; position: relative; z-index: 1; align-self: start; }
.hero__logo img { width: 532px; }
.hero__nav { justify-self: end; padding: 34px 110px 0 0; }
.hero__body {
  grid-column: 2; align-self: start;
  padding: 206px 0 110px 0;
  margin-left: -350px;
  position: relative; z-index: 2;
  display: grid; justify-items: center; text-align: center; gap: 0;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.1vw, 3.45rem);
  font-weight: 700;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .55);
  max-width: none; text-wrap: wrap;
}
.hero__sub {
  margin: 18px 0 30px;
  font-size: 1.28rem;
  color: #f1f1f1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}
.btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-block;
  padding: 9px 22px;
  border-radius: 999px;
  font-family: var(--f-body);
  font-size: 1.05rem;
  line-height: 1.6;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn--gold {
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  color: var(--navy-900);
  box-shadow: 0 4px 14px rgba(201, 164, 92, .35);
}
.btn--ghost { background: rgba(8, 28, 52, .35); color: var(--white); border-color: var(--gold-light); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(201, 164, 92, .45); }

/* Menü (hero içi) */
.menu { display: flex; gap: 27px; list-style: none; margin: 0; padding: 0; }
.menu a {
  position: relative; display: inline-block; padding: 4px 0 6px;
  font-size: 1.07rem; color: var(--white); transition: color .2s;
}
.menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transition: transform .25s;
}
.menu a:hover, .menu a[aria-current="page"] { color: var(--gold-light); }
.menu a[aria-current="page"]::after, .menu a:hover::after { transform: scaleX(1); }
.menu-toggle { display: none; }

/* Alt sayfa başlığı (kısa hero) */
.hero--page { min-height: 360px; background-position: center 60%; }
.hero--page .hero__logo img { width: 400px; }
.hero--page .hero__body { padding: 130px 0 90px 0; margin-left: -260px; }
.hero--page h1 { font-size: clamp(2rem, 3.6vw, 3rem); max-width: none; }
.crumbs { margin-top: 12px; color: var(--gold-light); font-size: .95rem; letter-spacing: .04em; }
.crumbs a { color: #f1f1f1; }

/* ---------- BEYAZ MENÜ BANDI ---------- */
.bar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--white);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .12);
}
.bar .menu { justify-content: center; gap: 43px; padding: 14px 16px; flex-wrap: wrap; row-gap: 4px; }
.bar .menu a { color: var(--ink); font-size: 1.1rem; }
.bar .menu a[aria-current="page"], .bar .menu a:hover { color: var(--gold-dark); }

/* ---------- MERMER & ORNAMENT ---------- */
.marble {
  position: relative;
  background-color: var(--marble);
  background-image: url("../img/marble.svg");
  background-size: 900px 900px;
}
.marble::before, .marble::after { /* köşe altın çizgileri */
  content: ""; position: absolute; top: 0; width: 160px; height: 300px;
  background: url("../img/corner.svg") no-repeat top left / contain;
  pointer-events: none; opacity: .9;
}
.marble::before { left: 0; }
.marble::after { right: 0; transform: scaleX(-1); }

.wrap { max-width: 1060px; margin: 0 auto; padding-inline: 32px; position: relative; z-index: 1; }
section { padding-block: 72px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); font-weight: 500;
}
.eyebrow::before { content: ""; width: 72px; height: 2px; background: linear-gradient(90deg, var(--gold-dark), var(--gold-light)); }
.title { font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--navy-800); margin: 10px 0 18px; }
.lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Hakkında (ana sayfa) */
.about { display: grid; grid-template-columns: 400px 1fr; gap: 56px; align-items: center; }
.portrait { position: relative; padding: 9px 0 0 9px; }
.portrait::before {
  content: ""; position: absolute; inset: 0 14px 14px 0;
  border: 1.5px solid var(--gold); border-radius: 2px;
}
.portrait__img {
  position: relative; aspect-ratio: 4 / 5; max-width: 100%;
  background: linear-gradient(160deg, #2a2d33, #121418);
  display: grid; place-items: center; color: #8a8f99; font-size: .9rem; text-align: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
}
.portrait__img svg { width: 46%; opacity: .55; }
.portrait__img span { position: absolute; bottom: 14px; left: 0; right: 0; }
.about__text { min-width: 0; }
.about__text p { color: var(--ink-soft); margin: 0 0 14px; max-width: 60ch; }
.sign { font-family: var(--f-display); font-style: italic; font-size: 1.35rem; color: var(--navy-800); margin-top: 8px; }

/* Değerler bandı */
.values {
  background: linear-gradient(rgba(13, 38, 71, .78), rgba(8, 28, 52, .9)), var(--navy-800) url("../img/hero.jpg") center 70% / cover;
  color: var(--white);
  border-block: 3px solid var(--gold);
}
.values .title { color: var(--white); }
.values .lead { color: #d6dbe3; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.value { text-align: center; padding: 10px 8px; }
.value h3 { font-size: 1.35rem; color: var(--gold-light); margin: 16px 0 8px; }
.value p { margin: 0; color: #d6dbe3; }
.icon {
  width: 68px; height: 68px; margin: 0 auto; display: grid; place-items: center;
  border: 1.5px solid var(--gold); transform: rotate(45deg);
}
.icon svg { width: 30px; height: 30px; transform: rotate(-45deg); stroke: var(--gold-light); fill: none; stroke-width: 1.5; }

/* Çalışma alanları kartları */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
.area {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 26px 22px 24px;
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column; gap: 8px; min-width: 0; text-align: left;
}
.area:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(13, 38, 71, .14); }
.area svg { width: 34px; height: 34px; stroke: var(--gold-dark); fill: none; stroke-width: 1.5; }
.area h3 { font-size: 1.15rem; color: var(--navy-800); }
.area p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.more { margin-top: 36px; }
.btn--navy { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }

/* Çalışma alanları sayfası detay */
.area-list { display: grid; gap: 22px; }
.area-row {
  display: grid; grid-template-columns: 80px 1fr; gap: 24px;
  background: var(--white); border: 1px solid var(--line); padding: 28px; scroll-margin-top: 90px;
}
.area-row .icon { width: 58px; height: 58px; }
.area-row .icon svg { stroke: var(--gold-dark); }
.area-row h2 { font-size: 1.5rem; color: var(--navy-800); margin-bottom: 8px; }
.area-row p { margin: 0 0 10px; color: var(--ink-soft); }
.area-row ul { margin: 0; padding-left: 18px; color: var(--ink-soft); columns: 2; column-gap: 32px; }
.area-row > div { min-width: 0; }

/* Yayınlar */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.post { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.post__head {
  background: var(--navy-800); color: var(--gold-light); padding: 22px 22px 18px;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  border-bottom: 2px solid var(--gold);
}
.post__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post h3 { font-size: 1.2rem; color: var(--navy-800); }
.post p { margin: 0; color: var(--ink-soft); font-size: .96rem; }
.post time { font-size: .85rem; color: var(--gold-dark); }
.post a.read { margin-top: auto; color: var(--navy-700); font-weight: 500; }
.post a.read:hover { color: var(--gold-dark); }
.article { max-width: 70ch; margin: 0 auto; background: var(--white); border: 1px solid var(--line); padding: 44px; }
.article h2 { color: var(--navy-800); font-size: 1.6rem; margin: 26px 0 10px; }
.article p { color: var(--ink-soft); }

/* Alıntı */
.quote { text-align: center; }
.quote blockquote {
  margin: 0 auto; max-width: 30ch;
  font-family: var(--f-display); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2rem);
  color: var(--navy-800); line-height: 1.4;
}
.quote cite { display: block; margin-top: 14px; font-style: normal; color: var(--gold-dark); letter-spacing: .12em; font-size: .85rem; text-transform: uppercase; }

/* CTA */
.cta {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: var(--white); text-align: center; position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: auto 0 0; height: 70px;
  background: url("../img/waves.svg") repeat-x bottom / auto 70px; opacity: .5;
}
.cta .title { color: var(--white); }
.cta p { color: #d6dbe3; margin: 0 auto 26px; max-width: 56ch; }

/* İletişim */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; }
.contact > * { min-width: 0; }
.info { background: var(--navy-800); color: var(--white); padding: 34px; border-top: 3px solid var(--gold); }
.info h2 { color: var(--gold-light); font-size: 1.5rem; margin-bottom: 18px; }
.info dl { margin: 0; display: grid; gap: 16px; }
.info dt { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.info dd { margin: 2px 0 0; color: #e6e9ee; overflow-wrap: anywhere; }
.form { background: var(--white); border: 1px solid var(--line); padding: 34px; display: grid; gap: 16px; }
.form h2 { color: var(--navy-800); font-size: 1.5rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .9rem; color: var(--ink-soft); }
.form input, .form textarea, .form select {
  font: inherit; color: var(--ink); background: var(--marble);
  border: 1px solid var(--line); border-radius: 4px; padding: 11px 12px; width: 100%;
}
.form textarea { min-height: 140px; resize: vertical; }
.form .kvkk { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; }
.form .kvkk input { width: auto; margin-top: 4px; }
.form .note { font-size: .82rem; color: var(--ink-soft); margin: 0; }
.form-msg { font-size: .95rem; color: var(--navy-700); margin: 0; }

/* ---------- FOOTER ---------- */
.footer { background: var(--navy-900); color: #c3cad5; border-top: 3px solid var(--gold); }
.footer .wrap { padding-block: 48px 20px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer__grid > * { min-width: 0; }
.footer img { width: 320px; margin-left: -30px; }
.footer h4 { color: var(--gold-light); font-size: 1.1rem; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer a:hover { color: var(--gold-light); }
.footer small { display: block; margin-top: 34px; padding-top: 16px; border-top: 1px solid rgba(201, 164, 92, .3); font-size: .82rem; color: #8f99a8; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1180px) {
  .hero { grid-template-columns: 400px 1fr; }
  .hero__logo img { width: 400px; }
  .hero__body { margin-left: -200px; padding-top: 170px; }
  .hero--page .hero__logo img { width: 340px; }
  .hero--page .hero__body { margin-left: -120px; }
  .hero__nav { padding-right: 40px; }
  .menu { gap: 20px; }
  .areas { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  body { padding-block: 0; }
  .site { border-radius: 0; }
  .hero { grid-template-columns: 1fr; grid-template-rows: auto; min-height: 0; background-position: 70% bottom; }
  .hero__logo { grid-row: auto; padding: 18px 0 0; justify-self: center; order: 2; }
  .hero__logo { padding: 0; }
  .hero__logo img { width: min(400px, 92vw); }
  .hero--page .hero__logo img { width: min(300px, 76vw); }
  .hero__nav { order: 1; justify-self: stretch; padding: 14px 16px 0; display: flex; justify-content: flex-end; position: relative; }
  .hero__nav .menu { display: none; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(8, 28, 52, .5); color: var(--white); border: 1px solid var(--gold);
    border-radius: 999px; padding: 6px 14px; font: inherit; cursor: pointer;
  }
  .hero__body, .hero--page .hero__body { order: 3; grid-column: auto; margin: 0; padding: 4px 16px 90px; }
  .hero--page .hero__body { padding-bottom: 70px; }
  .about { grid-template-columns: 1fr; }
  .portrait { max-width: 360px; margin: 0 auto; width: 100%; }
  .grid-3, .posts { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .marble::before, .marble::after { width: 90px; height: 170px; }
  .bar .menu { gap: 6px 22px; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 4px; }
  section { padding-block: 52px; }
  .areas { grid-template-columns: 1fr; }
  .area-row { grid-template-columns: 1fr; padding: 22px; }
  .area-row ul { columns: 1; }
  .form .row { grid-template-columns: 1fr; }
  .form, .info, .article { padding: 22px; }
  .bar .menu a { font-size: 1rem; }
  .hero__sub { font-size: 1.08rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
