/*
Theme Name: Göde Hukuk
Theme URI: https://godehukukdanismanlik.com
Author: Göde Hukuk ve Danışmanlık Ofisi
Description: Professional law firm theme for Göde Hukuk ve Danışmanlık Ofisi
Version: 2.0
Text Domain: gode-hukuk
*/

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  /* Renkler: Petrol & Mercan */
  --petrol:      #236a80;   /* header, hero, sayfa başlıkları */
  --petrol-deep: #1a5468;
  --coral:       #ee7656;   /* ana butonlar */
  --coral-deep:  #e0613f;
  --on-coral:    #23140f;
  --teal:        #1f7b7b;   /* randevu şeridi, çizgiler */
  --aqua-light:  #bfe9e6;   /* koyu zemin üzerinde küçük yazı */
  --coral-light: #ffb49d;   /* koyu zemin üzerinde vurgu */
  --mist:        #e3f0ef;   /* açık bölüm zemini */
  --paper:       #fbfbfa;   /* sayfa zemini */
  --ink:         #14252b;   /* ana metin ve başlıklar */
  --ink-mid:     #3d4f55;
  --muted:       #56676d;
  --link:        #1d6f79;
  --border:      #d6e3e2;

  /* Yazı tipleri */
  --font-head: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Eski değişken adları (eklentiler / satır içi stiller için) */
  --navy: var(--petrol);
  --gold: var(--coral);
  --gold-light: var(--coral-light);
  --cream: var(--mist);
  --warm-white: var(--paper);
  --text-dark: var(--ink);
  --text-mid: var(--ink-mid);
  --text-light: var(--muted);
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { text-wrap: balance; }

/* ── HEADER ── */
#site-header {
  background: var(--petrol);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.header-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 clamp(1.25rem, 2.5vw, 2.5rem);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: 84px;
}
.site-logo { display: flex; flex-direction: column; gap: 0.35rem; flex-shrink: 0; white-space: nowrap; }
.logo-main {
  font-family: var(--font-head); font-size: 1.7rem; font-weight: 600;
  color: #fff; letter-spacing: 0.03em; line-height: 1;
}
.logo-sub {
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 400;
  color: rgba(255,255,255,0.78); letter-spacing: 0.02em; line-height: 1.2;
}
#site-nav { display: flex; align-items: center; }
#site-nav ul { display: flex; align-items: center; list-style: none; gap: 0; flex-wrap: nowrap; }
#site-nav ul li a {
  font-family: var(--font-body); font-size: 15.5px; font-weight: 400;
  color: rgba(255,255,255,0.9); padding: 0.5rem clamp(0.55rem, 0.9vw, 0.95rem);
  transition: color 0.2s; white-space: nowrap; display: block;
}
#site-nav ul li a:hover,
#site-nav ul li.current-menu-item > a { color: var(--coral-light); }
#site-nav ul li.ozel-mobil-buton > a,
#site-nav ul li.menu-phone > a {
  margin-left: 0.75rem; background: var(--coral); color: var(--on-coral) !important;
  border-radius: 4px; font-weight: 600; padding: 0.55rem 0.95rem;
}
#site-nav ul li.ozel-mobil-buton > a:hover,
#site-nav ul li.menu-phone > a:hover { background: var(--coral-light); }
.menu-toggle {
  display: none; background: none; border: 1px solid rgba(255,255,255,0.4);
  color: #fff; padding: 0.4rem 0.75rem; cursor: pointer;
  font-size: 1.2rem; border-radius: 4px; line-height: 1;
}

/* ── HERO (ana sayfa) ── */
.hero {
  background: var(--petrol); color: #fff;
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem); align-items: end;
  padding: clamp(3.5rem, 7vw, 6.5rem) max(clamp(1.25rem, 2.5vw, 2.5rem), calc((100vw - 1320px) / 2 + 2.5rem));
}
.hero-text { display: grid; gap: 1.1rem; }
.hero-eyebrow { font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: var(--aqua-light); }
.hero h1 {
  font-family: var(--font-head); font-weight: 600; letter-spacing: -0.01em;
  font-size: clamp(2.4rem, 5vw, 3.9rem); line-height: 1.06; color: #fff; max-width: 16ch;
}
.hero h1 .hl { color: var(--coral-light); }
.hero-desc { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: rgba(255,255,255,0.9); max-width: 48ch; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.6rem; }
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  padding: 0.85rem 1.4rem; border-radius: 4px; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--coral); color: var(--on-coral); }
.btn-primary:hover { background: var(--coral-light); }
.btn-ghost { border: 1px solid rgba(255,255,255,0.7); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.hero-card {
  background: #fff; color: var(--ink); border-radius: 6px; padding: 1.5rem 1.6rem;
  display: grid; gap: 0.7rem; box-shadow: 0 18px 40px rgba(8, 40, 50, 0.18);
}
.hero-card-label { font-size: 0.9rem; color: var(--muted); }
.hero-card-title { font-family: var(--font-head); font-weight: 600; font-size: 1.4rem; line-height: 1.25; color: var(--petrol-deep); }
.hero-card-row { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--border); padding-top: 0.7rem; font-size: 0.95rem; }
.hero-card-row a { color: var(--link); font-weight: 500; }

/* ── ÇALIŞMA ALANLARI (ana sayfa) ── */
.areas-section { background: var(--mist); padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 2.5vw, 2.5rem); }
.areas-inner { max-width: 1240px; margin: 0 auto; display: grid; gap: 1.6rem; }
.areas-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.areas-head h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.2rem); color: var(--ink); letter-spacing: -0.01em; }
.areas-head a { color: var(--link); font-weight: 600; font-size: 0.98rem; }
.areas-head a:hover { color: var(--petrol-deep); }
.areas-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.area-card { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 1.3rem 1.4rem; display: grid; gap: 0.35rem; align-content: start; transition: border-color 0.2s, box-shadow 0.2s; }
.area-card:hover { border-color: var(--teal); box-shadow: 0 6px 18px rgba(8, 40, 50, 0.08); }
.area-card h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--ink); }
.area-card p { font-size: 0.98rem; color: var(--muted); line-height: 1.55; }

/* ── RANDEVU ŞERİDİ ── */
.randevu-section { background: var(--teal); color: #fff; padding: 2.2rem clamp(1.25rem, 2.5vw, 2.5rem); }
.randevu-inner { max-width: 1240px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 1.2rem 2rem; flex-wrap: wrap; }
.randevu-section h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 1.8rem); color: #fff; }
.randevu-section p { color: rgba(255,255,255,0.92); font-size: 1rem; margin-top: 0.3rem; }
.randevu-actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.randevu-btn { background: var(--coral); color: var(--on-coral) !important; padding: 0.85rem 1.4rem; font-weight: 600; border-radius: 4px; transition: background 0.2s; }
.randevu-btn:hover { background: var(--coral-light); }
.randevu-telefon { color: #fff !important; font-weight: 600; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.randevu-telefon:hover { text-decoration: underline; }

/* ── BÖLÜM BAŞLIKLARI ── */
.section-header { text-align: left; max-width: 640px; margin: 0 0 2rem; }
.section-label { font-family: var(--font-body); font-size: 0.95rem; font-weight: 500; color: var(--link); margin-bottom: 0.4rem; display: block; }
.section-header h2, .blog-section-header h2 { font-family: var(--font-head); font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 600; color: var(--ink); line-height: 1.2; letter-spacing: -0.01em; }
.section-desc { color: var(--ink-mid); font-size: 1rem; }

/* ── BLOG LİSTESİ ── */
.blog-section { padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 2.5vw, 2rem); max-width: 1100px; margin: 0 auto; }
.blog-section-header { margin-bottom: 1.8rem; }
.blog-grid { display: grid; gap: 0; border: 1px solid var(--border); border-radius: 6px; background: #fff; overflow: hidden; }
.blog-item { display: grid; grid-template-columns: 84px 1fr auto; align-items: center; gap: 1.6rem; padding: 1.4rem 1.8rem; border-bottom: 1px solid var(--border); transition: background 0.15s; }
.blog-item:last-child { border-bottom: none; }
.blog-item:hover { background: var(--mist); }
.blog-date { text-align: center; }
.blog-date-day { display: block; font-family: var(--font-head); font-size: 1.9rem; font-weight: 600; color: var(--petrol); line-height: 1; font-variant-numeric: tabular-nums; }
.blog-date-mon { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 0.3rem; }
.blog-title { font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.blog-meta { font-size: 0.85rem; color: var(--muted); margin-top: 0.3rem; }
.blog-cat { font-size: 0.8rem; font-weight: 500; color: var(--link); background: var(--mist); padding: 0.3rem 0.7rem; white-space: nowrap; border-radius: 4px; }

/* ── İÇ SAYFA BAŞLIĞI ── */
.page-hero { background: var(--petrol); padding: clamp(2.8rem, 5vw, 4rem) clamp(1.25rem, 2.5vw, 2rem) clamp(2.4rem, 4vw, 3.2rem); }
.page-hero-inner { max-width: 860px; margin: 0 auto; }
.breadcrumb { font-size: 0.9rem; color: rgba(255,255,255,0.75); margin-bottom: 0.8rem; display: block; }
.breadcrumb a { color: var(--aqua-light); }
.breadcrumb a:hover { color: #fff; }
.page-hero h1 { font-family: var(--font-head); font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 600; color: #fff; line-height: 1.15; letter-spacing: -0.01em; }
.page-hero-line { width: 56px; height: 3px; background: var(--coral); margin-top: 1.1rem; border-radius: 2px; }

/* ── SAYFA İÇERİĞİ ── */
.page-content { max-width: 860px; margin: 0 auto; padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 2.5vw, 2rem); }
.page-content h2 { font-family: var(--font-head); font-size: 1.6rem; font-weight: 600; color: var(--ink); margin: 2.4rem 0 0.8rem; line-height: 1.25; }
.page-content h3 { font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; color: var(--ink); margin: 2rem 0 0.6rem; }
.page-content p { margin-bottom: 1.2rem; color: var(--ink-mid); line-height: 1.8; }
.page-content strong { color: var(--ink); font-weight: 600; }
.page-content ul, .page-content ol { margin: 0.8rem 0 1.2rem 1.5rem; color: var(--ink-mid); }
.page-content li { margin-bottom: 0.45rem; line-height: 1.75; }
.page-content a, .post-content a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }

/* ── SSS ── */
.faq-item { border-bottom: 1px solid var(--border); padding: 1.6rem 0; }
.faq-item:first-child { padding-top: 0; }
.faq-question { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; color: var(--ink); margin-bottom: 0.6rem; display: flex; align-items: flex-start; gap: 1rem; }
.faq-num { font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; color: var(--link); margin-top: 0.3rem; white-space: nowrap; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.faq-answer { color: var(--ink-mid); padding-left: 2.2rem; margin: 0; }

/* ── ETİK KURALLAR ── */
.ethics-card { border-left: 3px solid var(--teal); padding: 1.4rem 1.8rem; margin-bottom: 1.6rem; background: var(--mist); border-radius: 0 6px 6px 0; }
.ethics-card h2 { font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; color: var(--ink); margin: 0 0 0.5rem; }
.ethics-card p { color: var(--ink-mid); font-size: 1rem; margin: 0; }

/* ── İLETİŞİM ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-info-block { margin-bottom: 1.8rem; }
.contact-info-block h3 { font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; color: var(--link); margin-bottom: 0.4rem; }
.contact-info-block p, .contact-info-block a { font-size: 1.08rem; color: var(--ink-mid); display: block; margin-bottom: 0.2rem; }
.contact-info-block a:hover { color: var(--link); }
.contact-image img { border: 1px solid var(--border); width: 100%; }

/* ── TEKİL YAZI ── */
.post-content { max-width: 760px; margin: 0 auto; padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 2.5vw, 2rem); }
.post-meta { font-size: 0.95rem; color: var(--muted); margin-bottom: 2rem; }
.post-content h2 { font-family: var(--font-head); font-size: 1.6rem; font-weight: 600; color: var(--ink); margin: 2.2rem 0 0.7rem; line-height: 1.25; }
.post-content h3 { font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; color: var(--ink); margin: 1.8rem 0 0.6rem; }
.post-content p { color: var(--ink-mid); line-height: 1.8; margin-bottom: 1.2rem; }
.post-content ul, .post-content ol { margin: 0.8rem 0 1.2rem 1.5rem; color: var(--ink-mid); }
.post-content li { margin-bottom: 0.45rem; }
.post-content blockquote, .page-content blockquote { margin: 1.4rem 0; padding: 1.1rem 1.4rem; background: var(--mist); border-left: 3px solid var(--teal); color: var(--ink); font-style: normal; }
.post-content blockquote p, .page-content blockquote p { color: var(--ink); margin-bottom: 0.6rem; }
.post-content blockquote cite, .page-content blockquote cite { display: block; font-size: 0.88rem; font-style: normal; color: var(--muted); }
.post-nav { max-width: 760px; margin: 0 auto; padding: 2rem clamp(1.25rem, 2.5vw, 2rem) 4rem; display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--border); font-size: 0.95rem; }
.post-nav a { color: var(--link); font-weight: 500; }

/* ── BİLGİ YAZILARI: İKİ YANA YASLI, OKUNAKLI METİN ── */
.post-content > p,
.post-content > ul li,
.post-content > ol li,
.post-content blockquote p,
.post-content blockquote li {
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 7 3 3;
  overflow-wrap: break-word;
}
.post-content > p,
.post-content > ul li,
.post-content > ol li { font-size: 1.0625rem; line-height: 1.85; color: #26363b; }
.post-content > p { margin-bottom: 1.25rem; }
.post-content h2, .post-content h3 { text-align: left; hyphens: manual; }
@media (max-width: 560px) {
  .post-content > p, .post-content > ul li, .post-content > ol li { font-size: 1rem; line-height: 1.8; }
}

/* ── ÖZET KUTUSU VE İÇİNDEKİLER ── */
.post-content > p.ozet-kutusu { background: var(--mist); border: 1px solid var(--border); border-left: 4px solid var(--teal); border-radius: 0 6px 6px 0; padding: 1.1rem 1.4rem; color: var(--ink); margin-bottom: 1.6rem; }
.post-content > p.ozet-kutusu strong { color: var(--petrol-deep); }
.post-content .icindekiler { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 1.1rem 1.4rem 0.9rem; margin: 0 0 2rem; }
.post-content .icindekiler-baslik { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--ink); margin: 0 0 0.5rem !important; text-align: left !important; }
.post-content .icindekiler ol { margin: 0 0 0 1.2rem; }
.post-content .icindekiler li { margin-bottom: 0.3rem; font-size: 0.98rem; text-align: left; }
.post-content .icindekiler a { text-decoration: none; }
.post-content .icindekiler a:hover { text-decoration: underline; }
.post-content h2[id] { scroll-margin-top: 100px; }
.post-content .wp-block-table table { border-collapse: collapse; width: 100%; font-size: 0.97rem; }
.post-content .wp-block-table th { background: var(--mist); color: var(--ink); text-align: left; }
.post-content .wp-block-table th, .post-content .wp-block-table td { border: 1px solid var(--border); padding: 0.55rem 0.75rem; vertical-align: top; }

/* ── FOOTER ── */
#site-footer { background: var(--ink); color: rgba(255,255,255,0.75); padding: clamp(3rem, 6vw, 4.5rem) clamp(1.25rem, 2.5vw, 2.5rem) 1.8rem; border-top: 4px solid var(--petrol); }
.footer-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1.2fr 1fr 1fr; gap: 2.5rem 3rem; padding-bottom: 2.6rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand { display: grid; gap: 1rem; align-content: start; }
.footer-brand .logo-main { font-size: 1.6rem; }
.footer-brand p { font-size: 0.98rem; line-height: 1.65; max-width: 30ch; color: rgba(255,255,255,0.78); }
.footer-cta { justify-self: start; background: var(--coral); color: var(--on-coral) !important; font-weight: 600; font-size: 0.95rem; padding: 0.7rem 1.1rem; border-radius: 4px; transition: background 0.2s; }
.footer-cta:hover { background: var(--coral-light); }
.footer-col h4 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: #fff; margin-bottom: 0.9rem; }
.footer-col a, .footer-col p { display: block; font-size: 0.95rem; color: rgba(255,255,255,0.75); margin-bottom: 0.45rem; line-height: 1.6; transition: color 0.2s; }
.footer-col a:hover { color: var(--coral-light); }
.footer-col .footer-note { color: rgba(255,255,255,0.6); }
.footer-col .footer-map, .footer-col .footer-more { color: var(--aqua-light); font-weight: 500; margin-top: 0.3rem; }
.footer-bottom { max-width: 1240px; margin: 1.6rem auto 0; display: flex; justify-content: space-between; align-items: center; gap: 0.8rem 1.5rem; flex-wrap: wrap; font-size: 0.88rem; color: rgba(255,255,255,0.6); }
.footer-legal { display: flex; gap: 1.2rem; }
.footer-legal a { color: rgba(255,255,255,0.75); }
.footer-legal a:hover { color: var(--coral-light); }
.footer-latin { font-style: normal; letter-spacing: 0.02em; }
@media (max-width: 1099px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-inner { grid-template-columns: 1fr; gap: 2rem; } .footer-bottom { flex-direction: column; align-items: flex-start; } }

/* ── ÇALIŞMA ALANLARI SAYFASI ── */
a.area-card { color: inherit; }
.area-card .area-more { font-size: 0.9rem; font-weight: 600; color: var(--link); margin-top: 0.4rem; }
a.area-card:hover .area-more { color: var(--petrol-deep); }
.page-content .areas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 1.8rem 0 0.5rem; }
.page-content a.area-card { text-decoration: none; color: var(--ink); }
.page-content .area-card h3 { margin: 0; }
.page-content .area-card p { margin: 0; color: var(--muted); line-height: 1.55; }
.page-content .areas-lead { font-size: 1.1rem; color: var(--ink-mid); }
@media (max-width: 560px) { .page-content .areas-grid { grid-template-columns: 1fr; } }

/* ── ESKİ ANA SAYFA ÖĞELERİ (artık kullanılmıyor) ── */
.hero-pattern, .latin-quote, .features-section { display: none; }

/* ── ERİŞİLEBİLİRLİK ── */
a:focus-visible, button:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ── DUYARLI TASARIM ── */
@media (max-width: 1099px) {
  .header-inner { position: relative; }
  .menu-toggle { display: block; }
  #site-nav { display: none; flex-direction: column; width: 100%; position: absolute; top: 84px; left: 0; background: var(--petrol); padding: 0.8rem 0; border-top: 1px solid rgba(255,255,255,0.12); box-shadow: 0 12px 24px rgba(8,40,50,0.2); }
  #site-nav.open { display: flex; }
  #site-nav ul { flex-direction: column; align-items: stretch; width: 100%; }
  #site-nav ul li a { padding: 0.75rem clamp(1.25rem, 2.5vw, 2.5rem); font-size: 1rem; }
  #site-nav ul li.ozel-mobil-buton > a, #site-nav ul li.menu-phone > a { margin: 0.6rem clamp(1.25rem, 2.5vw, 2.5rem) 0.2rem; text-align: center; }
}
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; align-items: start; }
  .areas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-item { grid-template-columns: 64px 1fr; gap: 1.1rem; padding: 1.2rem 1.2rem; }
  .blog-cat { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .areas-grid { grid-template-columns: 1fr; }
  .logo-main { font-size: 1.45rem; }
  .logo-sub { font-size: 0.72rem; }
  .header-inner { height: 76px; }
  #site-nav { top: 76px; }
  .randevu-inner { flex-direction: column; align-items: flex-start; }
}
