/* ===========================================================
   ELZEY HUKUK — Master Stylesheet (UI/UX Pro Max Edition)
   Color philosophy: deep ink + bone + warm gold + umber
   No blue, no purple. High contrast, WCAG 2.1 AA compliant.
   =========================================================== */

:root {
  --ink: #0E0E0C;
  --ink-soft: #1A1815;
  --bone: #F4EFE6;
  --parchment: #E8DCC4;
  --parchment-deep: #D9C8A4;
  --gold: #B89968;
  --gold-deep: #8C6E3F;
  --gold-darker: #6E5328;
  --gold-soft: #CFB47A;
  --umber: #3B2A1A;
  --umber-deep: #251810;
  --mist: #8A7E6E;
  --mist-light: #C4B9A8;
  --line: rgba(184, 153, 104, 0.25);
  --line-strong: rgba(184, 153, 104, 0.5);

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --container: 1440px;
  --pad: 32px;
}

/* ===========================================================
   RESET & ACCESSIBILITY BASE
   =========================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bone);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* Skip to main content (a11y) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--gold);
  color: var(--ink);
  padding: 12px 24px;
  z-index: 9999;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: top 0.3s var(--ease);
}
.skip-link:focus {
  top: 20px;
}

/* Focus visible styling */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* Reading Progress Bar */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-soft));
  width: 0%;
  z-index: 10000;
  transition: width 0.1s ease-out;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.serif { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.uppercase { text-transform: uppercase; letter-spacing: 0.2em; font-size: 12px; font-weight: 500; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-deep);
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--gold-deep);
}

/* ===========================================================
   NAVIGATION
   =========================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px 0;
  transition: all 0.4s var(--ease);
  background: transparent;
}
.nav.scrolled {
  background: rgba(14, 14, 12, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--bone);
  z-index: 110;
}
.brand-mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand-sub {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-link {
  color: var(--bone);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding: 8px 0;
  transition: color 0.3s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover { color: var(--gold-soft); }
.nav-cta {
  padding: 12px 24px;
  background: var(--gold);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  transition: all 0.3s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-cta:hover {
  background: transparent;
  color: var(--gold);
}
.nav-cta:active { transform: scale(0.98); }

.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 110;
  cursor: pointer;
}
.nav-burger span {
  width: 24px;
  height: 2px;
  background: var(--bone);
  transition: all 0.3s var(--ease);
}
.nav-burger.open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }

/* Mobile Menu Backdrop */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 14, 12, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 95;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.mobile-menu-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile Menu Drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 105;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease-out);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  color: var(--bone);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--gold); }

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  max-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.75;
  transition: opacity 1s ease;
}
.hero-video.loaded { opacity: 0.9; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14,14,12,0.5) 0%, rgba(14,14,12,0.25) 40%, rgba(14,14,12,0.9) 100%);
  z-index: 2;
}
.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 85px 0 35px;
  color: var(--bone);
}
.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.hero-top .eyebrow { color: var(--gold-soft); }
.hero-top .eyebrow::before { background: var(--gold-soft); }
.hero-date {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--mist-light);
}

.hero-wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(54px, 10vw, 140px);
  line-height: 0.88;
  letter-spacing: -0.03em;
  color: var(--bone);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(30px);
  animation: rise 1.2s var(--ease-out) 0.3s forwards;
}
.hero-wordmark em {
  font-style: italic;
  color: var(--gold-soft);
  font-weight: 400;
}

.hero-bottom {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  width: 100%;
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.8vw, 24px);
  font-weight: 400;
  line-height: 1.4;
  max-width: 560px;
  text-align: right;
  color: var(--bone);
  opacity: 0;
  transform: translateY(20px);
  animation: rise 1.2s var(--ease-out) 0.6s forwards;
}
.hero-tagline em { color: var(--gold-soft); font-style: italic; }

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  color: var(--gold-soft);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  writing-mode: vertical-rl;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ===========================================================
   BUTTONS
   =========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 18px 32px;
  min-height: 48px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}
.btn-primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: transparent;
  color: var(--gold);
}
.btn-ghost {
  background: transparent;
  color: var(--bone);
  border-color: var(--bone);
}
.btn-ghost:hover {
  background: var(--bone);
  color: var(--ink);
}
.btn-dark {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}
.btn-dark:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn .arrow { transition: transform 0.3s; }
.btn:hover .arrow { transform: translateX(6px); }
.btn:active { transform: scale(0.98); }

/* ===========================================================
   SECTIONS
   =========================================================== */
section { padding: 120px 0; }
.section-tight { padding: 80px 0; }
.section-dark { background: var(--ink); color: var(--bone); }
.section-bone { background: var(--bone); }
.section-parchment { background: var(--parchment); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 60px;
  align-items: flex-start;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 3.2vw, 42px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
@media (max-width: 1024px) {
  .section-title {
    white-space: normal;
  }
}
.section-title em { font-style: italic; color: var(--gold-deep); }
.section-dark .section-title em { color: var(--gold-soft); }
.section-lead {
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ===========================================================
   MANIFESTO
   =========================================================== */
.manifesto {
  background: var(--ink);
  color: var(--bone);
  padding: 160px 0;
  text-align: center;
  position: relative;
}
.manifesto-text {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 44px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.015em;
  max-width: 960px;
  margin: 0 auto 48px;
}
.manifesto-text em {
  font-style: italic;
  color: var(--gold-soft);
  font-weight: 500;
}
.manifesto-sig {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mist);
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* ===========================================================
   PRACTICE GRID (Home)
   =========================================================== */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-strong);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.practice-card {
  background: var(--bone);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: background 0.4s;
  cursor: pointer;
  position: relative;
  min-height: 360px;
}
.practice-card:hover { background: var(--parchment); }
.practice-card:active { transform: scale(0.99); }
.practice-card-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold-deep);
  font-weight: 600;
}
.practice-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: sepia(0.2) saturate(0.9);
  transition: transform 0.6s var(--ease);
}
.practice-card:hover .practice-card-img { transform: scale(1.04); }
.practice-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.practice-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  opacity: 0.85;
}
.practice-card-link {
  margin-top: auto;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ===========================================================
   STATS BAR
   =========================================================== */
.stats {
  background: var(--ink);
  color: var(--bone);
  padding: 100px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}
.stat {
  padding: 48px 32px;
  background: var(--ink);
  text-align: left;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.stat-num sup {
  font-size: 0.4em;
  vertical-align: super;
  color: var(--bone);
  font-weight: 400;
}
.stat-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mist-light);
}

/* ===========================================================
   TEAM (2 Lawyers)
   =========================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}
.team-card {
  position: relative;
}
.team-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.6s;
  margin-bottom: 24px;
}
.team-card:hover .team-img { filter: grayscale(0.4) contrast(1.05); }
.team-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 4px;
}
.team-role {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 16px;
}
.team-bio {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ===========================================================
   TESTIMONIALS & CONTROLS
   =========================================================== */
.testimonial-slider {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.35;
  color: var(--bone);
  margin-bottom: 40px;
  position: relative;
  padding: 0 40px;
}
.testimonial-quote::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: -10px;
  font-size: 120px;
  color: var(--gold);
  opacity: 0.35;
  font-family: var(--font-display);
  line-height: 1;
}
.testimonial-author {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 500;
}
.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
}
.testimonial-nav-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--bone);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  background: transparent;
  font-size: 18px;
}
.testimonial-nav-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.testimonial-dots {
  display: flex;
  gap: 12px;
  align-items: center;
}
.testimonial-dot {
  width: 32px;
  height: 2px;
  background: var(--mist);
  cursor: pointer;
  transition: background 0.3s, height 0.3s;
}
.testimonial-dot.active {
  background: var(--gold);
  height: 3px;
}

/* ===========================================================
   BLOG CARDS (UI/UX Pro Max Balanced Grid)
   =========================================================== */
.blog-grid,
.blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
  background: var(--bone);
  border: 1px solid rgba(184, 153, 104, 0.28);
  border-radius: 12px;
  padding: 18px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 16px 36px rgba(184, 153, 104, 0.18);
  background: #FFFFFF;
}

.blog-card-img-wrap {
  position: relative;
  width: 100%;
  height: 190px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--ink);
  border: 1px solid rgba(184, 153, 104, 0.2);
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.1) saturate(0.95);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.5s ease;
  display: block;
}

.blog-card:hover .blog-card-img {
  transform: scale(1.06);
  filter: sepia(0) saturate(1.05);
}

.blog-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(14, 14, 12, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(184, 153, 104, 0.4);
  color: var(--gold-soft);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 2;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 10px;
}

.blog-card-meta span {
  display: inline-flex;
  align-items: center;
}

.blog-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 10px;
  transition: color 0.3s ease;
  letter-spacing: -0.01em;
}

.blog-card:hover .blog-card-title {
  color: var(--gold-deep);
}

.blog-card-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  opacity: 0.88;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-action {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease, color 0.3s ease;
  padding-top: 10px;
  border-top: 1px solid rgba(184, 153, 104, 0.15);
}

.blog-card:hover .blog-card-action {
  gap: 10px;
  color: var(--gold);
}

@media (max-width: 1024px) {
  .blog-grid,
  .blog-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .blog-grid,
  .blog-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ===========================================================
   CTA BANNER
   =========================================================== */
.cta-banner {
  position: relative;
  padding: 160px 0;
  background: var(--ink);
  color: var(--bone);
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  z-index: 1;
}
.cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: center;
}
.cta-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 3.8vw, 54px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--bone);
  margin-bottom: 24px;
}
.cta-title em { font-style: italic; color: var(--gold-soft); }
.cta-text {
  font-size: 18px;
  color: var(--mist-light);
  max-width: 540px;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
}

/* ===========================================================
   FOOTER
   =========================================================== */
.footer {
  background: var(--umber-deep);
  color: var(--mist-light);
  padding: 100px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}
.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}
.footer-brand .brand-mark { font-size: 36px; color: var(--bone); }
.footer-brand .brand-sub { color: var(--gold); }
.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.4;
  color: var(--mist-light);
  max-width: 360px;
  margin-bottom: 24px;
}
.footer-contact-line {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--mist-light);
  line-height: 2;
}
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 24px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 14px;
  color: var(--mist-light);
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom {
  padding-top: 32px;
  padding-bottom: 24px;
  border-top: 1px solid rgba(184, 153, 104, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mist-light);
  padding-right: 200px; /* Safe space to prevent floating WhatsApp button from covering social icons */
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(184, 153, 104, 0.25);
  transition: all 0.3s ease;
}
.social-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--mist-light);
  transition: fill 0.3s ease, transform 0.3s ease;
}
.social-icon:hover {
  background: rgba(184, 153, 104, 0.2);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.social-icon:hover svg {
  fill: var(--gold-soft);
  transform: scale(1.1);
}

@media (max-width: 992px) {
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding-right: 0;
    padding-bottom: 90px; /* Ample clearance on mobile above floating button */
  }
  .footer-social {
    justify-content: center;
  }
}

/* ===========================================================
   FAQ
   =========================================================== */
.faq-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line-strong);
  margin-bottom: 60px;
  overflow-x: auto;
}
.faq-tab {
  padding: 16px 28px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--mist);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: all 0.3s;
}
.faq-tab.active {
  color: var(--ink);
  border-bottom-color: var(--gold);
}
.faq-tab:hover { color: var(--gold-deep); }

.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.3;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.3s;
}
.faq-question:hover { color: var(--gold-deep); }
.faq-icon {
  width: 32px;
  height: 32px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--gold-deep);
  flex-shrink: 0;
  margin-left: 24px;
  transition: all 0.3s;
}
.faq-item.open .faq-icon {
  background: var(--gold);
  color: var(--ink);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.faq-answer-inner { padding-bottom: 32px; max-width: 800px; }

/* ===========================================================
   CALCULATORS
   =========================================================== */
.calc-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.calc-tab {
  padding: 20px 28px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  color: var(--mist);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.calc-tab small {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mist);
  font-weight: 500;
}
.calc-tab.active {
  color: var(--ink);
  border-bottom-color: var(--gold);
}
.calc-tab.active small { color: var(--gold-deep); font-weight: 600; }
.calc-tab:hover { color: var(--gold-deep); }

.calc-panel { display: none; }
.calc-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }

.calc-form { display: flex; flex-direction: column; gap: 24px; }
.calc-field { display: flex; flex-direction: column; gap: 8px; }
.calc-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
.calc-input,
.calc-select {
  padding: 16px 20px;
  background: var(--bone);
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--ink);
  transition: border 0.3s;
}
.calc-input:focus,
.calc-select:focus {
  outline: none;
  border-color: var(--gold);
}
.calc-hint {
  font-size: 12px;
  color: var(--mist);
  font-style: italic;
  margin-top: 4px;
}
.calc-submit {
  margin-top: 16px;
  padding: 20px 32px;
  background: var(--ink);
  color: var(--bone);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: all 0.3s;
}
.calc-submit:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.calc-print-header {
  display: none;
}

.calc-result {
  background: var(--ink);
  color: var(--bone);
  padding: 48px 40px;
  position: sticky;
  top: 120px;
  border-radius: 4px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}
.calc-result-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 16px;
  font-weight: 600;
}
.calc-result-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 4.5vw, 56px);
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  word-break: break-all;
}
.calc-result-currency {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--mist-light);
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}
.calc-breakdown {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist-light);
}
.calc-breakdown-line {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 4px 0;
}
.calc-breakdown-line span:last-child { color: var(--bone); }
.calc-formula {
  font-size: 12px;
  color: var(--mist);
  font-style: italic;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px dashed var(--line);
}

/* ===========================================================
   CONTACT
   =========================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.contact-info-block { margin-bottom: 40px; }
.contact-info-block h3 {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 12px;
}
.contact-info-block p {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.3;
  color: var(--ink);
}
.contact-form { display: flex; flex-direction: column; gap: 24px; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-field { display: flex; flex-direction: column; gap: 8px; }
.contact-field input,
.contact-field textarea,
.contact-field select {
  padding: 18px 20px;
  background: var(--bone);
  border: 1px solid var(--line-strong);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  transition: border 0.3s;
}
.contact-field textarea { resize: vertical; min-height: 140px; }
.contact-field input:focus,
.contact-field textarea:focus,
.contact-field select:focus {
  outline: none;
  border-color: var(--gold);
}
.contact-field label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}

/* ===========================================================
   PAGE HERO (Inner pages)
   =========================================================== */
.page-hero {
  background: var(--ink);
  color: var(--bone);
  padding: 200px 0 100px;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  z-index: 1;
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero .eyebrow::before { background: var(--gold-soft); }
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 24px 0;
  max-width: 1000px;
}
.page-hero h1 em { font-style: italic; color: var(--gold-soft); }
.page-hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--mist-light);
  max-width: 680px;
}

/* ===========================================================
   BLOG PAGE & DETAIL
   =========================================================== */
/* ===========================================================
   BLOG CONTROLS & FILTERS (UI/UX Pro Max Hub)
   =========================================================== */
.blog-controls-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 48px;
}

.blog-search-box {
  position: relative;
  max-width: 540px;
  width: 100%;
}

.blog-search-input {
  width: 100%;
  padding: 14px 20px 14px 44px;
  background: var(--bone);
  border: 1px solid rgba(184, 153, 104, 0.35);
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.blog-search-input:focus {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(184, 153, 104, 0.18);
}

.blog-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  fill: var(--gold-deep);
  pointer-events: none;
}

.blog-filters {
  display: flex;
  gap: 8px 12px;
  flex-wrap: wrap;
}

.blog-filter {
  padding: 8px 18px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid rgba(184, 153, 104, 0.3);
  background: var(--bone);
  color: var(--ink-soft);
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-filter.active,
.blog-filter:hover {
  background: var(--ink);
  color: var(--gold-soft);
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.article-wrap { max-width: 780px; margin: 0 auto; }
.article-hero {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  filter: sepia(0.15) saturate(0.95);
  margin-bottom: 48px;
  border-radius: 2px;
}
.article-body { font-size: 18px; line-height: 1.85; color: #22201C; }
.article-body p { margin-bottom: 24px; text-align: justify; text-justify: inter-word; }
.article-body li { margin-bottom: 12px; text-align: justify; text-justify: inter-word; }
.article-body h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.25;
  margin: 40px 0 16px;
  color: #8C641A;
}
.article-body h2 em { font-style: italic; color: var(--gold-deep); }
.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 16px 0 16px 32px;
  margin: 40px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  line-height: 1.4;
  color: var(--ink-soft);
  background: rgba(232, 220, 196, 0.2);
}
.article-body ul { margin: 24px 0; padding-left: 24px; list-style: disc; }
.article-body li { margin-bottom: 12px; }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-tag {
  display: inline-block;
  padding: 6px 14px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--parchment);
  color: var(--gold-deep);
  font-weight: 600;
  margin-right: 8px;
}
.article-author {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 60px 0;
}
.article-author-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1);
}
.article-author-info { font-size: 14px; color: var(--ink-soft); }
.article-author-info strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 2px;
}

/* Social Share Bar */
.social-share-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 20px;
  margin: 28px 0;
  background: rgba(184, 153, 104, 0.06);
  border: 1px solid rgba(184, 153, 104, 0.22);
  border-radius: 8px;
}
.share-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8C641A;
  font-weight: 700;
  margin-right: 6px;
  display: inline-flex;
  align-items: center;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 600;
  font-family: inherit;
  border: 1px solid rgba(184, 153, 104, 0.35);
  color: var(--ink, #0E0E0C);
  background: #ffffff;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  line-height: 1;
}
.share-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  display: block;
}
.share-btn-wa:hover {
  background: #25D366;
  border-color: #25D366;
  color: #ffffff;
}
.share-btn-tw:hover {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
}
.share-btn-li:hover {
  background: #0A66C2;
  border-color: #0A66C2;
  color: #ffffff;
}
.share-btn-copy:hover {
  background: #B89968;
  border-color: #B89968;
  color: #ffffff;
}
.share-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}
.share-btn:active {
  transform: translateY(0);
}

/* ===========================================================
   ABOUT PAGE
   =========================================================== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: sepia(0.15) saturate(0.95);
}
.about-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 80px;
}
.value-card {
  padding: 32px;
  background: var(--bone);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  transition: transform 0.3s, box-shadow 0.3s;
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}
.value-card h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--ink);
}
.value-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  opacity: 0.85;
}

/* ===========================================================
   PRACTICE AREAS ACCORDION / DRAWER (alanlar.html)
   =========================================================== */
.areas-accordion {
  display: flex;
  flex-direction: column;
}
.area-item {
  border-top: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}
.area-item:last-child {
  border-bottom: 1px solid var(--line);
}
.area-header {
  display: grid;
  grid-template-columns: 80px 1.4fr 1.6fr 1fr 60px;
  gap: 32px;
  align-items: center;
  padding: 36px 20px;
  cursor: pointer;
  background: transparent;
  width: 100%;
  text-align: left;
  border: none;
  font-family: inherit;
  transition: background 0.3s;
}
.area-item:hover .area-header,
.area-item.open .area-header {
  background: var(--parchment);
}
.area-num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--gold-deep);
  font-weight: 600;
}
.area-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.15;
  color: var(--ink);
}
.area-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  opacity: 0.9;
}
.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.area-tag {
  padding: 4px 12px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(184, 153, 104, 0.2);
  color: var(--gold-deep);
  font-weight: 600;
}
.area-toggle-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--gold-deep);
  transition: transform 0.3s, background 0.3s;
}
.area-item.open .area-toggle-icon {
  transform: rotate(45deg);
  background: var(--gold);
  color: var(--ink);
}
.area-drawer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
  background: rgba(232, 220, 196, 0.35);
}
.area-drawer-inner {
  padding: 36px 32px 48px 100px;
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 48px;
}
.area-drawer-content h4 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 16px;
}
.area-drawer-content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.area-drawer-content li {
  font-size: 15px;
  color: var(--ink-soft);
  position: relative;
  padding-left: 20px;
}
.area-drawer-content li::before {
  content: '▪';
  position: absolute;
  left: 0;
  color: var(--gold-deep);
  font-size: 14px;
}
.area-drawer-side {
  background: var(--bone);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
.area-drawer-side h5 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
}
.area-drawer-side p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ===========================================================
   SOCIAL ICONS
   =========================================================== */
.social-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  color: var(--bone);
  transition: all 0.3s var(--ease);
  background: transparent;
}
.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.social-icon:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.social-icon.whatsapp {
  background: #25D366;
  color: white;
  border-color: #25D366;
}
.social-icon.whatsapp:hover {
  background: #128C7E;
  border-color: #128C7E;
  color: white;
}

/* ===========================================================
   WHATSAPP FLOATING BUTTON
   =========================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px 14px 18px;
  background: #25D366;
  color: white;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.4s var(--ease);
  text-decoration: none;
  font-family: var(--font-body);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}
.whatsapp-float.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.whatsapp-float:hover {
  background: #128C7E;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
}
.whatsapp-float svg {
  width: 22px;
  height: 22px;
  fill: white;
  flex-shrink: 0;
}
.whatsapp-float-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}
.whatsapp-float-text small {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 2px;
}
.whatsapp-float-text strong {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.whatsapp-float-pulse {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 9px;
  height: 9px;
  background: white;
  border-radius: 50%;
  animation: wa-pulse 2s infinite;
}
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* ===========================================================
   REVEAL ANIMATION
   =========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===========================================================
   RESPONSIVE BREAKPOINTS
   =========================================================== */
@media (max-width: 1024px) {
  :root { --pad: 24px; }
  section { padding: 80px 0; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .hero-bottom { justify-content: flex-start; }
  .hero-tagline { text-align: left; max-width: 100%; }
  .section-head { grid-template-columns: 1fr; gap: 32px; }
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; max-width: 480px; gap: 40px; }
  .blog-grid, .blog-list { grid-template-columns: 1fr; gap: 32px; }
  .blog-card.featured { grid-column: auto; }
  .cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .cta-actions { align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .contact-form-row { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .about-values { grid-template-columns: 1fr; }
  .area-header { grid-template-columns: 60px 1fr 60px; gap: 20px; }
  .area-desc, .area-tags { display: none; }
  .area-name { font-size: 24px; }
  .area-drawer-inner { padding: 24px 20px; grid-template-columns: 1fr; gap: 32px; }
  .blog-list { grid-template-columns: 1fr; }
  .calc-panel.active { grid-template-columns: 1fr; gap: 40px; }
  .calc-result { position: static; }
  .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
}

@media (max-width: 640px) {
  :root { --pad: 20px; }
  body { font-size: 16px; }
  .practice-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-top { flex-direction: column; align-items: flex-start; gap: 16px; }
  .manifesto { padding: 100px 0; }
  .faq-question { font-size: 18px; }
  .calc-tab { padding: 16px 20px; font-size: 16px; }
  .calc-result-value { font-size: 38px; }
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    padding: 12px 18px 12px 14px;
  }
  .whatsapp-float-text { display: none; }
}

/* ===========================================================
   LEGAL MODAL & MAP EMBED
   =========================================================== */
.legal-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 14, 12, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.legal-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}
.legal-modal-content {
  background: var(--bone);
  border: 1px solid var(--gold);
  color: var(--ink);
  max-width: 680px;
  width: 100%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.legal-modal-header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--line-strong);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--parchment);
}
.legal-modal-header h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
}
.legal-modal-close {
  font-size: 28px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0 8px;
}
.legal-modal-body {
  padding: 32px;
  overflow-y: auto;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.legal-modal-body p { margin-bottom: 16px; }

.map-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 450px;
  border: 1px solid var(--line-strong);
  overflow: hidden;
}
.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===========================================================
   PRINT & PDF SPECIFIC STYLES (A4 Portrait)
   =========================================================== */
@media print {
  @page {
    size: A4 portrait;
    margin: 8mm 12mm;
  }

  .nav,
  .mobile-menu,
  .mobile-menu-backdrop,
  .page-hero,
  .calc-tabs,
  .calc-form,
  .section-parchment,
  .cta-banner,
  .footer,
  .whatsapp-float,
  .legal-modal-backdrop,
  .skip-link,
  #reading-progress,
  button[type="button"] {
    display: none !important;
  }

  html, body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 9pt !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  section {
    padding: 0 !important;
    margin: 0 !important;
    background: #ffffff !important;
  }

  .container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .calc-panel.active {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .calc-result {
    position: static !important;
    background: #ffffff !important;
    color: #000000 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    width: 100% !important;
    margin: 0 !important;
    page-break-inside: avoid !important;
  }

  .calc-print-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-bottom: 12px !important;
    margin-bottom: 16px !important;
    border-bottom: 2px solid #000000 !important;
    page-break-inside: avoid !important;
    width: 100% !important;
  }

  .calc-print-brand {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
  }

  .calc-print-logo {
    width: 52px !important;
    height: 52px !important;
    object-fit: contain !important;
    display: block !important;
  }

  .calc-print-brand-text {
    display: flex !important;
    flex-direction: column !important;
    text-align: left !important;
  }

  .calc-print-law-name {
    font-family: var(--font-display) !important;
    font-size: 16pt !important;
    font-weight: 700 !important;
    color: #000000 !important;
    line-height: 1.1 !important;
    letter-spacing: 0.04em !important;
  }

  .calc-print-sub {
    font-family: var(--font-mono) !important;
    font-size: 8pt !important;
    color: #444444 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    margin-top: 3px !important;
  }

  .calc-print-meta {
    text-align: right !important;
    font-family: var(--font-mono) !important;
    font-size: 7.5pt !important;
    color: #444444 !important;
    line-height: 1.45 !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .calc-print-meta strong {
    font-size: 9pt !important;
    color: #000000 !important;
    margin-bottom: 2px !important;
  }

  .calc-result-label {
    color: #444444 !important;
    font-size: 8.5pt !important;
    text-transform: uppercase;
    margin-bottom: 2px !important;
  }

  .calc-result-value {
    color: #000000 !important;
    font-size: 18pt !important;
    margin-bottom: 2px !important;
  }

  .calc-result-currency {
    color: #666666 !important;
    font-size: 8pt !important;
    margin-bottom: 8px !important;
  }

  .calc-breakdown {
    border-top: 1px solid #000000 !important;
    padding-top: 6px !important;
    color: #000000 !important;
  }

  .calc-breakdown div,
  .calc-breakdown span,
  .calc-breakdown strong,
  .calc-breakdown p {
    color: #000000 !important;
  }

  .calc-breakdown-line {
    border-bottom: 1px dashed #d0d0d0 !important;
    padding: 3px 0 !important;
    font-size: 8.5pt !important;
  }

  .calc-breakdown > div {
    margin-top: 6px !important;
    margin-bottom: 6px !important;
    padding: 6px 8px !important;
    border: 1px solid #cccccc !important;
    background: #fafafa !important;
    border-radius: 3px !important;
    page-break-inside: avoid !important;
  }

  .calc-formula {
    border-top: 1px solid #000000 !important;
    color: #444444 !important;
    margin-top: 8px !important;
    padding-top: 4px !important;
    font-size: 7.5pt !important;
  }
}

/* ===========================================================
   BRAND LOGO ENHANCEMENTS
   =========================================================== */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--bone);
  z-index: 110;
  text-decoration: none;
}
.brand-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  padding: 3px;
  border-radius: 6px;
  background: rgba(14, 14, 12, 0.45);
  border: 1px solid rgba(184, 153, 104, 0.45);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35), inset 0 0 8px rgba(184, 153, 104, 0.1);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.brand:hover .brand-logo-img {
  transform: scale(1.08);
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(184, 153, 104, 0.3);
}
.brand-text {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  text-decoration: none;
}
.footer-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  padding: 4px;
  border-radius: 6px;
  background: rgba(14, 14, 12, 0.5);
  border: 1px solid rgba(184, 153, 104, 0.4);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.footer-brand:hover .footer-logo-img {
  transform: scale(1.06);
  border-color: var(--gold);
}

/* ===========================================================
   COOKIE CONSENT BANNER (KVKK / GDPR COMPLIANT)
   =========================================================== */
.cookie-banner {
  position: fixed;
  bottom: -200px;
  left: 0;
  right: 0;
  z-index: 9998;
  padding: 16px 24px;
  background: rgba(14, 14, 12, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--gold);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
  transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-banner.active {
  bottom: 0;
}
.cookie-banner-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner-text {
  flex: 1 1 500px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--bone);
}
.cookie-banner-text strong {
  color: var(--gold);
  font-weight: 600;
}
.cookie-banner-text a {
  color: var(--gold-soft);
  text-decoration: underline;
  margin-left: 4px;
  transition: color 0.2s;
}
.cookie-banner-text a:hover {
  color: #ffffff;
}
.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 10px 20px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}
.cookie-btn-primary {
  background: var(--gold);
  color: var(--ink);
  border: 1px solid var(--gold);
}
.cookie-btn-primary:hover {
  background: #ffffff;
  border-color: #ffffff;
}
.cookie-btn-secondary {
  background: transparent;
  color: var(--bone);
  border: 1px solid rgba(244, 239, 230, 0.3);
}
.cookie-btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ===========================================================
   ARTICLE AUDIO PLAYER & TTS (SESLİ DİNLE)
   =========================================================== */
.article-audio-player {
  background: linear-gradient(135deg, rgba(26, 24, 21, 0.95), rgba(14, 14, 12, 0.98));
  border: 1px solid var(--gold);
  border-radius: 6px;
  padding: 20px 24px;
  margin: 28px 0 36px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}
.article-audio-player::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-soft));
}
.audio-player-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 16px;
  flex-wrap: wrap;
}
.audio-player-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.audio-player-title svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  animation: pulse-audio 2s infinite;
}
@keyframes pulse-audio {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}
.audio-mode-badge {
  font-size: 11px;
  padding: 3px 8px;
  background: rgba(184, 153, 104, 0.15);
  border: 1px solid var(--line);
  color: var(--bone);
  border-radius: 3px;
}
.audio-player-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}
.audio-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  flex-shrink: 0;
  border: none;
  box-shadow: 0 4px 14px rgba(184, 153, 104, 0.4);
}
.audio-play-btn:hover {
  transform: scale(1.08);
  background: #ffffff;
}
.audio-play-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.audio-progress-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.audio-progress-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.audio-progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  border-radius: 3px;
  transition: width 0.1s linear;
}
.audio-times {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--mist-light);
  font-family: var(--font-mono);
}
.audio-speed-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--bone);
  padding: 6px 10px;
  border-radius: 3px;
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.audio-speed-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.speaking-highlight {
  background: rgba(184, 153, 104, 0.15) !important;
  border-left: 3px solid var(--gold) !important;
  padding-left: 12px !important;
  transition: all 0.3s ease !important;
}

/* ===========================================================
   404 ERROR PAGE STYLES
   =========================================================== */
.error-page-wrap {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 20px 80px;
}
.error-code {
  font-family: var(--font-display);
  font-size: clamp(90px, 16vw, 180px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold), var(--gold-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.error-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  color: var(--ink);
  margin-bottom: 16px;
}
.error-desc {
  max-width: 580px;
  margin: 0 auto 36px;
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.65;
}
.error-quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  max-width: 800px;
  margin: 48px auto 0;
  text-align: left;
}
.error-quick-card {
  padding: 20px;
  background: var(--parchment);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: all 0.3s var(--ease);
  display: block;
}
.error-quick-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.error-quick-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--ink);
}
.error-quick-card p {
  font-size: 12.5px;
  color: var(--mist);
  line-height: 1.4;
}

/* ===========================================================
   ADMIN DASHBOARD STYLES
   =========================================================== */
.admin-container {
  padding: 120px 0 80px;
  min-height: 100vh;
}
.admin-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: 36px;
  gap: 20px;
  flex-wrap: wrap;
}
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.admin-stat-card {
  background: #ffffff;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.admin-stat-card h3 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-deep);
  margin-bottom: 8px;
}
.admin-stat-card .stat-val {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--ink);
}
.admin-table-wrap {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow-x: auto;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  margin-bottom: 40px;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
.admin-table th {
  background: var(--ink);
  color: var(--bone);
  padding: 14px 18px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.admin-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(184, 153, 104, 0.15);
  color: var(--ink);
}
.admin-table tr:hover td {
  background: rgba(232, 220, 196, 0.15);
}
.admin-badge {
  display: inline-block;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 3px;
  background: var(--parchment);
  color: var(--ink);
  border: 1px solid var(--line);
}
.admin-action-btn {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 6px;
}
.btn-admin-edit {
  background: var(--gold);
  color: var(--ink);
  border: 1px solid var(--gold);
}
.btn-admin-edit:hover { background: var(--gold-deep); color: #fff; }
.btn-admin-dl {
  background: var(--ink);
  color: var(--bone);
  border: 1px solid var(--ink);
}
.btn-admin-dl:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn-admin-del {
  background: rgba(255, 99, 71, 0.1);
  color: #d32f2f;
  border: 1px solid rgba(255, 99, 71, 0.3);
}
.btn-admin-del:hover { background: #d32f2f; color: #fff; }

/* Admin Modal Form */
.admin-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 14, 12, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.admin-modal-backdrop.active {
  display: flex;
}
.admin-modal-card {
  background: var(--bone);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 6px;
  border: 1px solid var(--gold);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  padding: 36px;
}
.admin-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.admin-form-group {
  margin-bottom: 20px;
}
.admin-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
.admin-form-group input,
.admin-form-group select,
.admin-form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s;
}
.admin-form-group input:focus,
.admin-form-group select:focus,
.admin-form-group textarea:focus {
  border-color: var(--gold);
  outline: none;
}
.admin-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 768px) {
  .admin-form-row { grid-template-columns: 1fr; }
}

/* ===========================================================
   3D THEMIS STATUE BACKGROUND EXPERIENCE (UI/UX PRO MAX)
   =========================================================== */
.themis-3d-fixed-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1; /* Sits cleanly behind cards and images */
  opacity: 0;
  visibility: hidden;
  transform: scale(0.96);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.themis-3d-fixed-container.is-visible {
  opacity: 0.75;
  visibility: visible;
  transform: scale(1);
}

#themis-canvas {
  width: 100vw;
  height: 100vh;
  display: block;
  pointer-events: none;
}

.themis-ambient-glow {
  position: absolute;
  top: 50%;
  right: 5%;
  left: auto;
  transform: translateY(-50%);
  width: 55vw;
  height: 70vh;
  background: radial-gradient(circle, rgba(184, 153, 104, 0.28) 0%, rgba(207, 180, 122, 0.10) 45%, transparent 75%);
  pointer-events: none;
  filter: blur(60px);
  z-index: -1;
}

/* Ensure Hero is above when user is at the top */
.hero {
  position: relative;
  z-index: 20;
}

/* ===========================================================
   HOMEPAGE THEMIS 3D LUXURY GLASSMORPHISM THEME
   =========================================================== */
.home-page {
  background: #0E0E0C !important;
  color: var(--bone);
}

.home-page main,
.home-page section {
  position: relative;
  z-index: 2;
}

.home-page .manifesto {
  background: transparent !important;
  backdrop-filter: none;
  border-top: 1px solid rgba(184, 153, 104, 0.25);
  border-bottom: 1px solid rgba(184, 153, 104, 0.2);
  padding: 110px 0;
  position: relative;
  z-index: 3;
}

.home-page .section-bone {
  background: transparent !important;
  backdrop-filter: none;
}

.home-page .section-title {
  color: var(--bone) !important;
  position: relative;
  z-index: 4;
}

.home-page .section-title em {
  color: var(--gold-soft) !important;
}

.home-page .container,
.home-page .section-head,
.home-page .practice-grid,
.home-page .team-grid,
.home-page .blog-grid,
.home-page .stats-grid,
.home-page .testimonial-slider,
.home-page .cta-inner {
  position: relative;
  z-index: 3;
}

/* CARDS & IMAGES SIT IN FRONT OF THE 3D STATUE */
.home-page .practice-card,
.home-page .team-card,
.home-page .blog-card,
.home-page .testimonial-slide,
.home-page .timeline-step,
.home-page .stat {
  position: relative;
  z-index: 5;
}

.home-page .practice-card-img,
.home-page .team-img,
.home-page .blog-card-img {
  position: relative;
  z-index: 6;
}

.home-page .cta-banner {
  background: rgba(14, 14, 12, 0.75) !important;
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(184, 153, 104, 0.25);
}

.home-page .practice-card {
  background: rgba(22, 19, 15, 0.88) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(184, 153, 104, 0.28) !important;
  color: var(--bone) !important;
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
}

.home-page .practice-card:hover {
  background: rgba(32, 28, 22, 0.96) !important;
  border-color: var(--gold) !important;
  transform: translateY(-5px);
  box-shadow: 0 24px 50px rgba(184, 153, 104, 0.2);
}

.home-page .practice-card h3 {
  color: var(--gold-soft) !important;
}

.home-page .practice-card p {
  color: var(--mist-light) !important;
}

.home-page .practice-card-link {
  color: var(--gold) !important;
}

/* TEAM (KURUCU ORTAKLAR) HOMEPAGE STYLING */
.home-page .team-card {
  background: rgba(22, 19, 15, 0.88) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(184, 153, 104, 0.28) !important;
  padding: 32px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
  transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}

.home-page .team-card:hover {
  background: rgba(32, 28, 22, 0.96) !important;
  border-color: var(--gold) !important;
  transform: translateY(-5px);
  box-shadow: 0 24px 50px rgba(184, 153, 104, 0.2);
}

.home-page .team-img {
  border: 1px solid rgba(184, 153, 104, 0.35);
  filter: grayscale(0.15) contrast(1.05);
  margin-bottom: 24px;
}

.home-page .team-name {
  color: #F4EFE6 !important; /* Bright crisp bone white */
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.home-page .team-role {
  color: var(--gold-soft) !important; /* Radiant gold */
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
  display: block;
}

.home-page .team-bio {
  color: #DDD6CA !important; /* Crisp high-contrast readable text */
  font-size: 15px;
  line-height: 1.65;
  opacity: 0.95;
}

.home-page .metrics {
  background: rgba(14, 14, 12, 0.65) !important;
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(184, 153, 104, 0.25);
  border-bottom: 1px solid rgba(184, 153, 104, 0.25);
}

.home-page .timeline {
  background: transparent !important;
  color: var(--bone);
}

.home-page .timeline-step {
  background: rgba(22, 19, 15, 0.88) !important;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(184, 153, 104, 0.25);
  color: var(--bone);
}

.home-page .timeline-step p {
  color: var(--mist-light);
}

.home-page .timeline-step h3 {
  color: var(--gold-soft);
}

.home-page .testimonials {
  background: rgba(16, 14, 12, 0.72) !important;
  backdrop-filter: blur(12px);
}

.home-page .testimonial-card {
  background: rgba(26, 24, 21, 0.86) !important;
  border: 1px solid rgba(184, 153, 104, 0.28);
  color: var(--bone);
}

.home-page .testimonial-quote {
  color: var(--mist-light) !important;
}

.home-page .faq-preview {
  background: transparent !important;
}

.home-page .faq-preview .faq-item {
  background: rgba(22, 19, 15, 0.82) !important;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(184, 153, 104, 0.25);
}

.home-page .faq-preview .faq-question {
  color: var(--bone);
}

.home-page .faq-preview .faq-answer p {
  color: var(--mist-light);
}

.home-page .blog-card {
  background: rgba(22, 19, 15, 0.88) !important;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(184, 153, 104, 0.28);
  color: var(--bone);
}

.home-page .blog-card h3 {
  color: var(--gold-soft) !important;
}

.home-page .blog-card p {
  color: var(--mist-light) !important;
}

@media (max-width: 768px) {
  .themis-3d-fixed-container.is-visible {
    opacity: 0.85;
  }
}

/* ==========================================================
   ADMIN LOGIN GATE & SECURITY STYLES
   ========================================================== */
.admin-login-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: radial-gradient(circle at center, #1C1A16 0%, #0E0E0C 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(16px);
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.admin-login-gate.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.admin-login-card {
  width: 100%;
  max-width: 440px;
  background: rgba(22, 19, 15, 0.95);
  border: 1px solid rgba(184, 153, 104, 0.4);
  border-radius: 12px;
  padding: 40px 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(184, 153, 104, 0.12);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.admin-login-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #B89968, #E2D3B3, #B89968, transparent);
}

.admin-login-brand {
  margin-bottom: 28px;
}

.admin-login-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto 16px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.admin-login-brand h2 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.12em;
  color: #F4EFE6;
  margin-bottom: 6px;
  font-weight: 700;
}

.admin-login-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #B89968;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.admin-login-form {
  text-align: left;
}

.admin-login-field label {
  display: block;
  font-size: 12px;
  font-family: var(--font-mono);
  color: #F4EFE6;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.admin-pass-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.admin-pass-wrap input {
  width: 100%;
  padding: 14px 44px 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(184, 153, 104, 0.3);
  border-radius: 6px;
  color: #F4EFE6;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.admin-pass-wrap input:focus {
  outline: none;
  border-color: #B89968;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 15px rgba(184, 153, 104, 0.25);
}

.admin-pass-toggle {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #B89968;
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
  line-height: 1;
}

.admin-login-msg {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.5;
  border-radius: 4px;
  display: none;
  padding: 10px 12px;
}

.admin-login-msg.show {
  display: block;
}

.admin-login-msg.error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #FCA5A5;
}

.admin-login-msg.lockout {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #FCD34D;
  font-weight: 500;
}

.admin-login-attempts {
  margin: 16px 0 20px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: #9C9A94;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-login-submit {
  width: 100%;
  padding: 14px 20px;
  font-size: 13px;
  letter-spacing: 0.14em;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.admin-login-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px dashed rgba(184, 153, 104, 0.2);
}

.admin-login-footer a {
  font-size: 12px;
  color: #B89968;
  text-decoration: none;
  transition: color 0.2s ease;
}

.admin-login-footer a:hover {
  color: #F4EFE6;
}

/* Shake Animation on Password Error */
.shake-card {
  animation: adminShake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes adminShake {
  10%, 90% { transform: translate3d(-3px, 0, 0); }
  20%, 80% { transform: translate3d(5px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-6px, 0, 0); }
  40%, 60% { transform: translate3d(6px, 0, 0); }
}

/* ==========================================================
   ARTICLE BODY INTERNAL LINKS & CALLOUT STYLES
   ========================================================== */
.article-body a {
  color: #8C641A;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(140, 100, 26, 0.35);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.article-body a:hover {
  color: #B89968;
  text-decoration-color: #B89968;
}

.article-related-callout {
  margin: 32px 0 20px;
  padding: 16px 20px;
  background: rgba(184, 153, 104, 0.07);
  border-left: 3px solid #B89968;
  border-radius: 0 6px 6px 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink);
}

.article-related-callout strong {
  color: #8C641A;
}




