/* ===== Design Tokens ===== */
:root {
  /* Brand */
  --primary-color: #006369;
  --secondary-color: #00474b;
  --accent-color: #8da399;

  /* Surfaces & Text */
  --bg-page: #ffffff;
  --bg-surface: #ffffff;
  --bg-soft: #f6faf8;
  --bg-elevated: #f2f7f5;
  --light-color: #f2f7f5;
  --dark-color: #1a2c2c;
  --text-color: #2a3636;
  --text-muted: #6b7878;
  --border-color: #e1e8e3;
  --border-strong: #cdd8d2;
  --footer-bg: #122020;
  --footer-text: rgba(255, 255, 255, 0.72);

  /* Effects */
  --shadow-color: rgba(15, 40, 40, 0.06);
  --shadow-sm: 0 1px 2px rgba(15, 40, 40, 0.06);
  --shadow-md: 0 4px 14px rgba(15, 40, 40, 0.06);
  --shadow-lg: 0 12px 28px rgba(15, 40, 40, 0.08);
  --shadow-xl: 0 22px 48px rgba(15, 40, 40, 0.10);
  --ring-focus: 0 0 0 3px rgba(0, 99, 105, 0.22);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  /* Spacing scale (4px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

  /* Section rhythm */
  --section-y: clamp(56px, 8vw, 96px);

  /* Header height (used for hero offsets etc.) */
  --header-h: 72px;
}

[data-theme="dark"] {
  --primary-color: #168a90;
  --secondary-color: #0e6f74;
  --accent-color: #6a8a82;

  --bg-page: #0e1616;
  --bg-surface: #16201f;
  --bg-soft: #16201f;
  --bg-elevated: #1d2928;
  --light-color: #1d2928;
  --dark-color: #e6efee;
  --text-color: #cfdad8;
  --text-muted: #8b9a98;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --footer-bg: #0a1212;
  --footer-text: rgba(231, 240, 238, 0.72);

  --shadow-color: rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 22px 48px rgba(0, 0, 0, 0.5);
  --ring-focus: 0 0 0 3px rgba(22, 138, 144, 0.35);
}

/* Smooth color transitions on theme change */
html {
  color-scheme: light dark;
}
body,
header,
footer,
.area-card,
.article-card,
.article-item,
.contact-card,
.contact-form,
.contact-form-box,
.faq-item,
.filter-buttons button,
.menu,
.theme-toggle,
input,
textarea,
select {
  transition: background-color 0.25s ease, color 0.25s ease,
    border-color 0.25s ease, box-shadow 0.25s ease;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  color: var(--text-color);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Merriweather", "Times New Roman", serif;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

h1 { font-size: clamp(32px, 4vw, 44px); }
h2 { font-size: clamp(26px, 2.6vw, 34px); }
h3 { font-size: clamp(18px, 1.6vw, 22px); }

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--secondary-color);
}

a:focus-visible,
button:focus-visible {
  outline: none;
  box-shadow: var(--ring-focus);
  border-radius: var(--radius-sm);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.6px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.btn:hover {
  background-color: var(--secondary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

section {
  padding: var(--section-y) 0;
}

/* ===== Header ===== */
header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: color-mix(in srgb, var(--bg-page) 85%, transparent);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  padding: 14px 0;
  transition: background-color 0.25s ease, border-color 0.25s ease,
    box-shadow 0.25s ease;
}

header.scrolled {
  background-color: color-mix(in srgb, var(--bg-page) 92%, transparent);
  border-bottom-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-family: "Merriweather", "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.01em;
}

.menu {
  display: flex;
  list-style: none;
  align-items: center;
}

.menu li {
  margin-left: 26px;
}

.menu a {
  font-family: "Merriweather", "Times New Roman", serif;
  color: var(--dark-color);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 0;
  position: relative;
}

.menu a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
}

.menu a:hover:after,
.menu a.active:after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--dark-color);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
}

.lang-switcher a {
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
  cursor: pointer;
}

.lang-switcher a.active {
  color: var(--primary-color);
  background-color: var(--bg-elevated);
}

.lang-switcher a:hover {
  color: var(--primary-color);
}

.lang-switcher a:after {
  display: none;
}

.lang-switcher .separator {
  color: var(--border-strong);
  font-size: 13px;
  user-select: none;
}

/* Theme toggle (injected by theme.js) */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  color: var(--text-color);
  cursor: pointer;
  padding: 0;
}

.theme-toggle:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
  background-color: var(--bg-elevated);
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* ===== Hero ===== */
.hero {
  background:
    linear-gradient(rgba(8, 22, 22, 0.72), rgba(8, 22, 22, 0.55)),
    url("../img/bg.jpg");
  background-size: cover;
  background-position: center;
  min-height: 86vh;
  display: flex;
  align-items: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  text-align: left;
  max-width: 760px;
  margin: 0;
}

.hero-eyebrow {
  display: inline-block;
  font-family: "Source Sans 3", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  margin-bottom: 26px;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: clamp(36px, 5.4vw, 60px);
  color: white;
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: #6fd4da;
  background: linear-gradient(120deg, #6fd4da, #2eb1b8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: clamp(16px, 1.4vw, 19px);
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 620px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 16px;
  z-index: 2;
  transition: border-color 0.25s ease;
}

.hero-scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.65);
  border-radius: 2px;
  animation: scrollHint 1.8s ease-in-out infinite;
}

.hero-scroll:hover {
  border-color: white;
}

@keyframes scrollHint {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.65; }
  50% { transform: translate(-50%, 12px); opacity: 0.2; }
}

/* ===== Section heading helpers ===== */
.section-heading {
  margin-bottom: var(--space-10);
}

.section-heading.center {
  text-align: center;
}

.section-heading p {
  color: var(--text-muted);
  max-width: 680px;
}

.section-heading.center p {
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  display: inline-block;
  font-family: "Source Sans 3", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 12px;
}

/* ===== Button variants ===== */
.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: white;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.6px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: white;
  transform: translateY(-2px);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 15px;
  padding: 8px 0;
  transition: gap 0.2s ease, color 0.2s ease;
}

.btn-text:hover {
  color: var(--secondary-color);
  gap: 12px;
}

.btn-text i {
  font-size: 12px;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: 600;
  padding: 10px 6px;
  transition: opacity 0.2s ease;
}

.btn-link:hover {
  color: white;
  opacity: 0.8;
}

/* ===== Stats band ===== */
.stats-band {
  background-color: var(--bg-soft);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-number {
  font-family: "Merriweather", serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ===== Practice Areas (refined card-as-link) ===== */
a.area-card {
  display: block;
  text-decoration: none;
  color: var(--text-color);
  text-align: left;
  position: relative;
  padding-bottom: var(--space-10);
}

a.area-card h3 {
  color: var(--dark-color);
}

a.area-card .read-more {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-8);
  color: var(--primary-color);
  font-size: 14px;
}

a.area-card:hover .read-more:after {
  transform: translateX(4px);
}

.section-heading + .areas-grid {
  margin-top: 0;
}

/* ===== About preview (asymmetric) ===== */
.about-preview .about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: var(--space-12);
  align-items: center;
}

.about-preview .about-image {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}

.about-preview .about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-preview .about-content {
  min-width: 0;
}

.about-image-tag {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background-color: var(--bg-page);
  color: var(--dark-color);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about-image-tag strong {
  font-family: "Merriweather", serif;
  font-size: 22px;
  color: var(--primary-color);
  line-height: 1;
}

.about-image-tag span {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.about-content .lead {
  font-size: 18px;
  color: var(--dark-color);
  font-weight: 500;
  margin-bottom: 16px;
}

.about-values {
  list-style: none;
  margin: 24px 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-values li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

.about-values i {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: color-mix(in srgb, var(--primary-color) 12%, transparent);
  color: var(--primary-color);
  border-radius: 50%;
  font-size: 11px;
}

/* ===== Approach (numbered) ===== */
.approach {
  background-color: var(--bg-soft);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
  counter-reset: approach;
}

.approach-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.approach-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.approach-number {
  font-family: "Merriweather", serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: color-mix(in srgb, var(--primary-color) 18%, transparent);
  margin-bottom: 18px;
  letter-spacing: -0.04em;
}

.approach-item h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.approach-item p {
  color: var(--text-muted);
  margin-bottom: 0;
  font-size: 15px;
}

/* ===== CTA banner ===== */
.cta-banner {
  background:
    linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: -50% -10% auto auto;
  width: 50%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 60%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-8) 0;
}

.cta-content h2 {
  color: white;
  margin-bottom: 14px;
}

.cta-content p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 30px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.cta-actions .btn {
  background-color: white;
  color: var(--primary-color);
}

.cta-actions .btn:hover {
  background-color: rgba(255, 255, 255, 0.92);
  color: var(--secondary-color);
}

/* ===== Latest Articles Preview ===== */
.latest-articles-preview .articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.latest-articles-preview .see-all {
  text-align: center;
}

/* ===== Practice Areas ===== */
.practice-areas {
  background-color: var(--bg-elevated);
  text-align: center;
}

.practice-areas h2 {
  margin-bottom: var(--space-10);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

.area-card {
  background-color: var(--bg-surface);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.area-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.area-card i {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 18px;
}

.area-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
}

.read-more {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  position: relative;
}

.read-more:after {
  content: "→";
  margin-left: 6px;
  transition: transform 0.25s ease;
  display: inline-block;
}

.read-more:hover:after {
  transform: translateX(4px);
}

/* ===== About content shared ===== */
.about-content h2 {
  margin-bottom: 18px;
}

/* ===== Page Header (shared by all inner pages) ===== */
.page-header {
  background-color: var(--bg-elevated);
  padding: clamp(56px, 7vw, 88px) 0 clamp(40px, 5vw, 60px);
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.page-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-header h1 {
  margin-bottom: 12px;
}

.breadcrumb {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--primary-color);
}

.breadcrumb span {
  color: var(--dark-color);
  font-weight: 500;
}

/* ===== About page (Hakkımızda) ===== */
.about-section .about-content {
  max-width: 920px;
  margin: 0 auto;
}

.about-section .about-content > p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 18px;
  color: var(--text-color);
}

.about-section .about-content > h3 {
  margin-top: var(--space-10);
  margin-bottom: 18px;
}

.vision-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin: var(--space-10) 0;
}

.vision,
.mission {
  background-color: var(--bg-elevated);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--primary-color);
}

.vision h3,
.mission h3 {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--primary-color);
  font-size: 19px;
}

.vision p,
.mission p {
  margin-bottom: 0;
  line-height: 1.7;
}

.values-list {
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0 var(--space-8);
  display: grid;
  gap: 12px;
}

.values-list li {
  padding: 16px 18px 16px 52px;
  position: relative;
  background-color: var(--bg-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  line-height: 1.6;
}

.values-list li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.values-list strong {
  color: var(--dark-color);
}

/* ===== Practice Areas — Detailed ===== */
.practice-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-12);
}

.practice-intro h2 {
  margin-bottom: 14px;
}

.practice-intro p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

.practice-area-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: var(--space-6);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  margin-bottom: var(--space-5);
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 100px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.practice-area-item:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.practice-area-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: color-mix(in srgb, var(--primary-color) 10%, transparent);
  color: var(--primary-color);
  border-radius: var(--radius-md);
  font-size: 28px;
}

.practice-area-content h3 {
  font-size: clamp(20px, 2vw, 24px);
  margin-bottom: 10px;
  color: var(--dark-color);
}

.practice-area-content h4 {
  font-size: 12px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--primary-color);
}

.practice-area-content ul {
  padding-left: 22px;
  margin-bottom: 14px;
}

.practice-area-content li {
  margin-bottom: 6px;
  line-height: 1.6;
}

.practice-area-content > p {
  line-height: 1.7;
  color: var(--text-color);
}

.practice-area-content > p:not(:last-child) {
  margin-bottom: 14px;
}

/* ===== CTA Section (bottom of inner pages) ===== */
.cta-section {
  background-color: var(--bg-elevated);
  border-top: 1px solid var(--border-color);
}

.cta-section .cta-content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  background: none;
  position: static;
}

.cta-section .cta-content h2 {
  color: var(--dark-color);
  margin-bottom: 12px;
}

.cta-section .cta-content p {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 26px;
}

/* ===== Team Page (Ekibimiz) ===== */
.team-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-12);
}

.management-team > h3 {
  text-align: center;
  margin-bottom: var(--space-10);
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-8);
}

.team-member {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease,
    transform 0.2s ease;
}

.team-member:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.team-member .member-image {
  width: 180px;
  height: 180px;
  margin: 0 auto 22px;
  border: 4px solid var(--bg-elevated);
  box-shadow: var(--shadow-md);
}

.team-member .member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-member h4 {
  font-family: "Merriweather", serif;
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 6px;
  color: var(--dark-color);
}

.team-member .position {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.team-member .member-info > p {
  color: var(--text-color);
  line-height: 1.75;
  margin-bottom: 22px;
}

.member-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--border-color);
}

.member-contact > a[href^="mailto"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.member-contact > a[href^="mailto"]:hover {
  color: var(--primary-color);
}

.member-social {
  display: flex;
  gap: 10px;
}

.member-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--bg-elevated);
  color: var(--primary-color);
  border-radius: 50%;
  font-size: 14px;
  transition: all 0.2s ease;
}

.member-social a:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* ===== Articles Intro (Makaleler) ===== */
.articles-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-10);
}

.articles-intro h2 {
  margin-bottom: 14px;
}

.articles-intro p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

/* ===== Responsive — inner pages ===== */
@media (max-width: 768px) {
  .vision-mission {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .practice-area-item {
    grid-template-columns: 1fr;
    gap: var(--space-3);
    padding: var(--space-6);
  }

  .practice-area-icon {
    width: 56px;
    height: 56px;
    font-size: 22px;
  }

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

  .team-member .member-image {
    width: 150px;
    height: 150px;
  }
}

/* ===== Articles ===== */
.latest-articles h2 {
  text-align: center;
  margin-bottom: var(--space-10);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

.article-card {
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.article-image {
  height: 200px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .article-image img,
.article-item:hover .article-image img {
  transform: scale(1.06);
}

.article-content {
  padding: var(--space-6);
}

.date {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.article-content h3 {
  font-size: 19px;
  margin-bottom: 12px;
}

.see-all {
  text-align: center;
  margin-top: var(--space-8);
}

/* ===== Contact Info (homepage band) ===== */
.contact-info {
  background-color: var(--bg-elevated);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-6);
}

.contact-card {
  background-color: var(--bg-surface);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.contact-card i {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 14px;
}

.contact-card h3 {
  margin-bottom: 8px;
}

/* ===== Footer ===== */
footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 64px 0 24px;
}

.footer-social .social-icons {
  justify-content: flex-start;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-10);
  margin-bottom: var(--space-10);
}

.footer-logo h3 {
  color: white;
  font-size: 22px;
  margin-bottom: 12px;
}

footer h4 {
  color: white;
  margin-bottom: 18px;
  font-size: 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 10px;
}

footer ul li a {
  color: var(--footer-text);
  font-size: 14px;
}

footer ul li a:hover {
  color: white;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: white;
  transition: all 0.25s ease;
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

.footer-legal {
  margin-top: 10px;
  font-size: 13px;
  opacity: 0.75;
}

.footer-legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-legal a:hover {
  opacity: 1;
  color: white;
}

.footer-credit {
  margin-top: 6px;
  font-size: 12px;
  opacity: 0.6;
}

.footer-credit a {
  color: inherit;
  text-decoration: underline;
}

.footer-credit a:hover {
  opacity: 1;
  color: white;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .about-preview .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .about-preview .about-content { order: 2; }
  .about-preview .about-image { order: 1; }

  .hero-content {
    text-align: center;
    margin: 0 auto;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    background-color: var(--bg-surface);
    padding: 16px 0;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--border-color);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
  }

  .menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .menu li {
    margin: 0;
    text-align: center;
  }

  .menu a {
    display: block;
    padding: 12px 16px;
    white-space: nowrap;
  }

  .menu a:after {
    display: none;
  }

  .menu a.active {
    color: var(--primary-color);
  }

  .menu .theme-toggle-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 8%;
    border-top: 1px solid var(--border-color);
    margin-top: 6px;
  }

  .menu .theme-toggle-wrap .theme-toggle {
    width: 42px;
    height: 42px;
  }

  .menu .lang-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 8%;
    gap: 8px;
  }

  .menu .lang-switcher a {
    display: inline-block;
    padding: 6px 14px;
  }

  .areas-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 68vh;
  }

  .hero-scroll {
    display: none;
  }

  .stats-band {
    padding: 36px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .about-image-tag {
    bottom: 12px;
    left: 12px;
    padding: 10px 14px;
  }

  .about-image-tag strong {
    font-size: 18px;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
    text-align: center;
  }

  .approach-number {
    font-size: 44px;
  }

  .member-image {
    width: 160px;
    height: 160px;
  }
}

@media (max-width: 576px) {
  .container {
    width: 92%;
    padding: 0 10px;
  }

  .hero {
    min-height: 60vh;
  }

  .article-detail-header {
    padding: 100px 0 40px;
  }

  .article-detail-header > .container {
    padding: 20px 16px;
  }

  .contact-form-box,
  .contact-form {
    padding: var(--space-5);
  }

  .area-card,
  .article-item .article-content {
    padding: var(--space-6);
  }
}

.member-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  object-fit: contain;
}

/* ===== Contact Page ===== */
.contact-section {
  padding: var(--section-y) 0;
}

.contact-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.contact-info-box {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: flex-start;
  align-content: flex-start;
  align-self: start;
  min-width: 0;
}

.contact-card {
  background-color: var(--bg-soft);
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.contact-info-box .contact-card {
  flex: 1 1 auto;
  min-width: 200px;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.contact-card i {
  font-size: 26px;
  color: var(--primary-color);
  margin-bottom: 14px;
}

.contact-card h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.contact-card p,
.contact-card a {
  margin-bottom: 0;
  font-size: 15px;
  color: var(--text-color);
  overflow-wrap: break-word;
  word-break: break-word;
}

.contact-card a:hover {
  color: var(--primary-color);
}

.contact-social {
  background-color: var(--primary-color);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 0 1 auto;
}

.contact-social h3 {
  color: white;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.contact-social .social-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.contact-social .social-icons a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  color: white;
  transition: transform 0.2s ease;
}

.contact-social .social-icons a:hover {
  background: transparent;
  transform: translateY(-2px);
}

.contact-social .social-icons a i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.contact-social .social-icons a:hover i {
  background-color: rgba(255, 255, 255, 0.32);
}

.contact-social .social-name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  white-space: nowrap;
  color: white;
  opacity: 0.92;
}

.contact-form-box,
.contact-form {
  background-color: var(--bg-surface);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  min-width: 0;
}

.contact-form-box h3,
.contact-form h3 {
  margin-bottom: 22px;
  text-align: center;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: var(--dark-color);
  font-weight: 500;
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-page);
  color: var(--text-color);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: var(--ring-focus);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-group.checkbox {
  display: flex;
  align-items: flex-start;
}

.form-group.checkbox input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.form-group.checkbox label {
  font-size: 14px;
  font-weight: normal;
}

.submit-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 14px 30px;
  border-radius: var(--radius-md);
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
  display: block;
  width: 100%;
}

.submit-btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ===== Contact form captcha + status ===== */
.form-captcha {
  display: flex;
  justify-content: center;
  margin: 0 0 16px;
  overflow-x: auto;
  max-width: 100%;
}

@media (max-width: 380px) {
  .form-captcha .h-captcha {
    transform: scale(0.9);
    transform-origin: center top;
  }
}

.form-status {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  display: none;
  border: 1px solid transparent;
}

.form-status.success,
.form-status.error {
  display: block;
}

.form-status.success {
  background-color: color-mix(in srgb, #1ea567 12%, transparent);
  color: #0f7a4a;
  border-color: color-mix(in srgb, #1ea567 30%, transparent);
}

.form-status.error {
  background-color: color-mix(in srgb, #d9534f 12%, transparent);
  color: #b54944;
  border-color: color-mix(in srgb, #d9534f 30%, transparent);
}

[data-theme="dark"] .form-status.success {
  color: #4fc792;
}

[data-theme="dark"] .form-status.error {
  color: #ef7e7a;
}

#contact-form button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

@media (max-width: 992px) {
  .contact-content {
    grid-template-columns: 1fr;
  }

  .contact-info-box {
    justify-content: center;
  }

  .contact-info-box .contact-card {
    flex: 1 1 240px;
  }

  .contact-form,
  .contact-form-box {
    margin-top: 20px;
  }
}

@media (max-width: 576px) {
  .contact-info-box .contact-card,
  .contact-info-box .contact-social {
    min-width: 0;
    flex: 1 1 100%;
  }

  .contact-social {
    align-items: center;
  }
}

/* ===== FAQ ===== */
.faq-section {
  background-color: var(--bg-elevated);
}

.faq-section h2 {
  text-align: center;
  margin-bottom: var(--space-8);
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.faq-question h3 {
  margin: 0;
  font-size: 17px;
  color: var(--dark-color);
}

.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--primary-color);
  transition: all 0.25s ease;
}

.faq-question:hover h3 {
  color: var(--primary-color);
}

.faq-answer {
  padding: 0 20px 18px;
  display: none;
}

.faq-answer p {
  margin: 0;
  line-height: 1.7;
}

/* ===== Map ===== */
.map-section {
  padding: var(--section-y) 0;
}

.map-section h2 {
  text-align: center;
  margin-bottom: var(--space-8);
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .faq-question h3 {
    font-size: 15px;
  }
}

/* ===== Articles Filter ===== */
.articles-filter {
  margin-bottom: var(--space-8);
  text-align: center;
}

.articles-filter h3 {
  margin-bottom: var(--space-5);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.filter-buttons button {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-buttons button:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.filter-buttons button.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* ===== Article Item (list cards) ===== */
.article-item {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
  margin-bottom: 30px;
}

.article-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.article-item .article-image {
  height: 220px;
  overflow: hidden;
}

.article-item .article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-item .article-content {
  padding: var(--space-6);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.article-item .category {
  display: inline-block;
  background-color: var(--bg-elevated);
  color: var(--primary-color);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  margin-left: 10px;
}

.article-item .date {
  display: inline-block;
  font-size: 13px;
  color: var(--text-muted);
}

.article-item h3 {
  margin: 14px 0 12px;
  font-size: 20px;
}

.article-item h3 a {
  color: var(--dark-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-item h3 a:hover {
  color: var(--primary-color);
}

.article-item p {
  margin-bottom: 18px;
  flex-grow: 1;
  color: var(--text-color);
}

.article-author {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.article-author img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}

.article-author span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-color);
}

@media (max-width: 768px) {
  .filter-buttons {
    flex-direction: row;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }

  .filter-buttons button {
    flex-shrink: 0;
  }
}

/* ===== Article Detail ===== */
.article-detail-header {
  position: relative;
  padding: 140px 0 60px;
  background-color: rgba(0, 0, 0, 0.55);
  color: white;
  text-align: center;
  background-blend-mode: overlay;
  background-size: cover;
  background-position: center;
  margin-top: calc(var(--header-h) * -1);
}

.article-detail-header > .container {
  background-color: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
}

.article-detail-header > .container > h1 {
  color: white;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
  font-size: 14px;
}

.article-meta .author {
  display: flex;
  align-items: center;
}

.article-meta .author img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-right: 10px;
  object-fit: cover;
}

.article-content {
  padding: var(--section-y) 0;
}

.article-detail-content {
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.8;
  color: var(--text-color);
}

.article-detail-content p {
  margin-bottom: 18px;
}

.article-detail-content h2 {
  margin-top: 36px;
  margin-bottom: 16px;
}

.article-detail-content h3 {
  margin-top: 28px;
  margin-bottom: 12px;
}

.article-detail-content ul,
.article-detail-content ol {
  margin-bottom: 18px;
  padding-left: 22px;
}

.article-detail-content li {
  margin-bottom: 8px;
}

.article-detail-content blockquote {
  border-left: 3px solid var(--primary-color);
  padding: 6px 0 6px 20px;
  font-style: italic;
  margin: 28px 0;
  color: var(--text-muted);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
}

.article-tags a,
.article-tags span {
  display: inline-block;
  background-color: var(--bg-elevated);
  color: var(--primary-color);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.article-tags a:hover {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.related-articles {
  background-color: var(--bg-elevated);
  padding: var(--section-y) 0;
}

.related-articles h2 {
  text-align: center;
  margin-bottom: var(--space-8);
}

.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-6);
}

.share-section {
  margin-top: var(--space-10);
  text-align: center;
}

.share-section h3 {
  margin-bottom: 14px;
}

.share-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.share-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.share-buttons a.facebook { background-color: #3b5998; }
.share-buttons a.linkedin { background-color: #0077b5; }
.share-buttons a.whatsapp { background-color: #25d366; }

.share-buttons a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

/* ===== Ghost Integration ===== */
.ghost-state {
  width: 100%;
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: center;
  background-color: var(--bg-elevated);
  color: var(--dark-color);
}

.ghost-state.loading {
  border: 1px dashed var(--accent-color);
}

.ghost-state.error {
  border: 1px solid #d9534f;
  color: #d9534f;
  background-color: color-mix(in srgb, #d9534f 8%, var(--bg-surface));
}

.ghost-state.empty {
  border: 1px dashed var(--border-color);
}

.article-image-fallback {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-soft));
  color: var(--primary-color);
  text-align: center;
  padding: 20px;
}

.article-image-fallback i {
  font-size: 38px;
}

.article-image-fallback span {
  font-weight: 600;
  line-height: 1.4;
}

.author-avatar-fallback {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  background-color: var(--primary-color);
  font-weight: 700;
}

.article-detail-content figure {
  margin: 24px 0;
}

.article-detail-content figure img {
  width: 100%;
  border-radius: var(--radius-md);
}

.article-detail-content figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

.article-detail-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  overflow-x: auto;
  display: block;
}

.article-detail-content th,
.article-detail-content td {
  border: 1px solid var(--border-color);
  padding: 10px 12px;
  text-align: left;
}

.article-detail-content th {
  background-color: var(--bg-elevated);
}

.article-detail-content hr {
  border: 0;
  border-top: 1px solid var(--border-color);
  margin: 24px 0;
}

@media (max-width: 768px) {
  .article-detail-header {
    padding: 120px 0 50px;
  }

  .article-detail-header > .container {
    padding: 24px 18px;
  }

  .article-meta {
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
  }

  .article-detail-content {
    max-width: 100%;
    line-height: 1.7;
  }

  .share-buttons {
    gap: 10px;
  }

  .related-articles-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Legal pages (Çerez Politikası, KVKK Aydınlatma) ===== */
.legal-section {
  padding: clamp(48px, 6vw, 72px) 0 var(--section-y);
}

.legal-content {
  max-width: 920px;
  margin: 0 auto;
  color: var(--text-color);
}

.legal-content > p,
.legal-content li {
  font-size: 16px;
  line-height: 1.75;
}

.legal-content > p {
  margin-bottom: 18px;
}

.legal-content h2 {
  margin-top: var(--space-10);
  margin-bottom: 14px;
  font-size: 22px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  margin-top: var(--space-8);
  margin-bottom: 10px;
  font-size: 18px;
  color: var(--primary-color);
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 18px 22px;
  padding: 0;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
  font-size: 15px;
}

.legal-content th,
.legal-content td {
  border: 1px solid var(--border-color);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.legal-content th {
  background-color: var(--bg-elevated);
  font-weight: 600;
}

.legal-content .legal-meta {
  display: inline-block;
  padding: 8px 14px;
  background-color: var(--bg-elevated);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}

.legal-content a {
  color: var(--primary-color);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--secondary-color);
}

@media (max-width: 768px) {
  .legal-content table,
  .legal-content thead,
  .legal-content tbody,
  .legal-content tr,
  .legal-content th,
  .legal-content td {
    display: block;
  }

  .legal-content thead {
    display: none;
  }

  .legal-content tr {
    margin-bottom: 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
  }

  .legal-content td {
    border: 0;
    border-bottom: 1px solid var(--border-color);
  }

  .legal-content td:last-child {
    border-bottom: 0;
  }

  .legal-content td::before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 4px;
    font-size: 13px;
  }
}

/* ===== Cookie Banner ===== */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  background-color: var(--bg-surface);
  color: var(--text-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
  transform: translateY(calc(100% + 32px));
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner__text {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-color);
}

.cookie-banner__text a {
  color: var(--primary-color);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.cookie-banner__text a:hover {
  color: var(--secondary-color);
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.cookie-banner__btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-1px);
}

.cookie-banner__btn:focus-visible {
  outline: none;
  box-shadow: var(--ring-focus);
}

@media (max-width: 720px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 16px 18px;
  }

  .cookie-banner__actions {
    justify-content: flex-end;
  }
}
