/*
Site Name: Omeroglu Hukuk Burosu
Description: Static cPanel-ready site files.
Version: 1.0
*/

:root {
  --bg: #f7f9f8;
  --paper: #ffffff;
  --paper-soft: #f0f6f4;
  --ink: #10243b;
  --text: #2a3744;
  --muted: #667789;
  --line: #dce5e2;
  --green: #1f7564;
  --green-dark: #155646;
  --blue: #173b62;
  --gold-soft: #f5efe2;
  --shadow: 0 18px 54px rgba(16, 36, 59, 0.08);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

body.admin-bar .site-header {
  top: 32px;
}

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p {
  color: var(--muted);
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.narrow {
  max-width: 840px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(220, 229, 226, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 6vw, 96px);
}

.brand {
  color: var(--ink);
  font-weight: 800;
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  white-space: nowrap;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  margin-left: auto;
}

.nav-links a {
  color: #344758;
  font-size: 0.92rem;
  font-weight: 750;
}

.nav-links a:hover,
.text-link:hover {
  color: var(--green);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.page-hero {
  background:
    radial-gradient(circle at 8% 12%, rgba(210, 233, 248, 0.8), transparent 28%),
    radial-gradient(circle at 92% 18%, rgba(218, 243, 232, 0.72), transparent 30%),
    #fff;
}

.eyebrow,
.section-kicker {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.page-hero h1,
.section-heading h2,
.contact-band h2,
.profile-content h1,
.article-detail h1 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

.home-main {
  background: #fff;
}

.home-section {
  padding: clamp(58px, 7vw, 92px) 0;
  border-bottom: 1px solid var(--line);
}

.home-narrow {
  max-width: 860px;
}

.home-about {
  background:
    radial-gradient(circle at 9% 18%, rgba(210, 233, 248, 0.7), transparent 30%),
    radial-gradient(circle at 88% 15%, rgba(218, 243, 232, 0.58), transparent 32%),
    #fff;
}

.home-about h1,
.home-section-head h2,
.home-contact h2 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

.home-about h1 {
  margin: 10px 0 20px;
  font-size: clamp(2.5rem, 6vw, 4.7rem);
  line-height: 1;
}

.home-about p:last-child {
  max-width: 780px;
  margin-bottom: 0;
  color: #4f6070;
  font-size: clamp(1.02rem, 2vw, 1.16rem);
}

.home-practice {
  background: var(--bg);
}

.home-section-head {
  max-width: 680px;
  margin-bottom: 28px;
}

.home-section-head h2,
.home-contact h2 {
  margin: 8px 0 0;
  font-size: clamp(1.95rem, 3.4vw, 3rem);
  line-height: 1.08;
}

.practice-areas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.practice-area-card {
  min-height: 145px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid #dbe5e1;
  border-radius: 7px;
  background: #fff;
}

.practice-area-card h3,
.practice-area-card-title {
  margin: 0 0 14px;
  color: #0f2742;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.practice-area-card p {
  margin: 0;
  color: #5f7085;
  font-size: 14px;
  line-height: 1.65;
}

.home-contact {
  border-bottom: 0;
  background: #fff;
}

.home-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 0.42fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.home-contact-grid p {
  max-width: 680px;
  margin-bottom: 0;
}

.home-contact-card {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
}

.home-contact-card strong {
  color: var(--ink);
  font-size: 1.1rem;
}

.home-contact-card span,
.home-contact-card a:not(.text-link) {
  color: #4f6070;
  font-size: 0.95rem;
  font-weight: 750;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid var(--green);
  border-radius: 7px;
  font-weight: 800;
  font-size: 0.92rem;
}

.btn-primary {
  background: var(--green);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--green-dark);
}

.btn:hover {
  transform: translateY(-1px);
}

.text-link {
  color: var(--green-dark);
  font-weight: 800;
}

.section {
  padding: clamp(62px, 8vw, 98px) 0;
}

.section-soft {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading h2,
.contact-band h2 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.practice-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.full-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.practice-item {
  min-height: 170px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.practice-item h2,
.practice-item h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.3;
}

.practice-item p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.section-link {
  margin-top: 22px;
}

.attorney-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

.attorney-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 14px 42px rgba(16, 36, 59, 0.055);
  overflow: hidden;
}

.attorney-card img,
.profile-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--paper-soft);
}

.attorney-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.attorney-card h2,
.attorney-card h3 {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 1.15rem;
}

.attorney-title {
  margin-bottom: 12px;
  color: var(--green-dark);
  font-weight: 800;
}

.attorney-card p:not(.attorney-title) {
  font-size: 0.92rem;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 4px 0 18px;
}

.area-tags span {
  padding: 5px 8px;
  border: 1px solid rgba(31, 117, 100, 0.16);
  border-radius: 999px;
  background: #eff8f5;
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

.attorney-card .card-actions {
  margin-top: auto;
}

.article-card-list {
  display: grid;
  gap: 16px;
}

.article-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.article-card h3 {
  max-width: 720px;
  margin: 0 auto 10px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 500;
  line-height: 1.18;
  text-align: center;
}

.article-date {
  color: #506476;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: right;
}

.article-category {
  margin-bottom: 12px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.article-card > p:not(.article-category) {
  max-width: 780px;
  margin: 0 auto 18px;
}

.article-card-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
}

.article-card-footer a {
  color: var(--green-dark);
  font-weight: 800;
}

.article-card-footer span {
  margin-left: auto;
  color: var(--ink);
  font-weight: 800;
  text-align: right;
}

.article-category-block + .article-category-block {
  margin-top: 42px;
}

.article-category-block > h2 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 1.2rem;
}

.contact-band {
  background: var(--paper-soft);
}

.contact-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.contact-band p {
  margin-bottom: 0;
}

.page-hero {
  padding: clamp(58px, 8vw, 92px) 0;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.02;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.72fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
}

.profile-photo {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.profile-content h1 {
  margin-bottom: 8px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1;
}

.profile-content > p:not(.attorney-title) {
  max-width: 720px;
}

.profile-article-list {
  display: grid;
  gap: 10px;
}

.profile-article-list a {
  display: grid;
  gap: 2px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 800;
}

.profile-article-list span {
  color: var(--green);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.quiet-note {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.article-detail {
  padding: clamp(62px, 9vw, 108px) 0;
  background: #fff;
}

.article-detail-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.article-detail h1 {
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.06;
  text-align: center;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-weight: 800;
}

.article-meta a {
  color: var(--green-dark);
}

.article-body p {
  color: #384957;
  font-size: 1.05rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.52fr) minmax(320px, 0.62fr);
  gap: 24px;
  align-items: stretch;
}

.contact-card,
.map-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-card {
  padding: clamp(24px, 4vw, 36px);
}

.contact-card h2 {
  color: var(--ink);
  font-size: 1.45rem;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

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

.contact-list li:last-child {
  border-bottom: 0;
}

.contact-list span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-list a {
  color: var(--ink);
  font-weight: 800;
}

.map-card {
  min-height: 390px;
  overflow: hidden;
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
  border: 0;
}


.site-footer {
  padding: 42px 0 20px;
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(260px, 0.45fr);
  gap: 28px;
  align-items: start;
}

.footer-grid strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 1.05rem;
}

.footer-grid p,
.footer-grid address {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-style: normal;
  font-size: 0.92rem;
}

.footer-links {
  display: grid;
  gap: 7px;
}

.footer-links a,
.footer-grid address a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
}

@media (max-width: 1040px) {
  .home-contact-grid,
  .profile-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .practice-list,
  .full-list,
  .practice-areas-grid,
  .attorney-grid,
  .preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .nav {
    min-height: 66px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 14px;
  }

  .practice-list,
  .full-list,
  .practice-areas-grid,
  .attorney-grid,
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .article-date,
  .article-card-footer,
  .article-meta,
  .contact-band-inner,
  .footer-bottom {
    display: grid;
    text-align: left;
  }

  .article-card h3,
  .article-category,
  .article-detail h1 {
    text-align: left;
  }

  .article-card-footer span {
    margin-left: 0;
    text-align: left;
  }

  .card-actions .btn,
  .contact-band .btn {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .container {
    width: min(calc(100% - 24px), var(--max));
  }

  .brand {
    font-size: 0.98rem;
  }

  .home-section,
  .page-hero,
  .section,
  .article-detail {
    padding-left: 0;
    padding-right: 0;
  }

  .attorney-card-body,
  .practice-item,
  .practice-area-card,
  .home-contact-card,
  .article-card,
  .contact-card {
    padding: 20px;
  }

  .practice-area-card {
    min-height: auto;
  }
}
