/* =============================================================================
   Av. Mehmet Şen — Hukuk Bürosu
   Saf HTML/CSS/JS site stili (Next.js sürümünden birebir taşınmıştır).
   ============================================================================= */

/* ---------- Renk şeması: Krem & Bordo ---------- */
:root {
  --color-navy-50: 251 248 241;
  --color-navy-100: 240 233 218;
  --color-navy-200: 230 219 197;
  --color-navy-300: 208 197 172;
  --color-navy-400: 176 163 138;
  --color-navy-500: 138 126 105;
  --color-navy-600: 100 90 74;
  --color-navy-700: 68 60 48;
  --color-navy-800: 44 39 31;
  --color-navy-900: 26 23 20;
  --color-navy-950: 16 14 11;

  --color-gold-50: 250 240 236;
  --color-gold-100: 240 216 209;
  --color-gold-200: 220 172 161;
  --color-gold-300: 193 124 111;
  --color-gold-400: 158 80 68;
  --color-gold-500: 122 46 42;
  --color-gold-600: 101 36 32;
  --color-gold-700: 80 28 25;
  --color-gold-800: 62 22 19;
  --color-gold-900: 47 17 15;

  --color-cream: 240 233 218;

  --shadow-soft: 0 10px 40px -15px rgb(var(--color-navy-900) / 0.35);
  --gradient-navy: linear-gradient(135deg, rgb(var(--color-navy-900)) 0%, rgb(var(--color-navy-700)) 55%, rgb(var(--color-navy-600)) 100%);

  --font-serif: Georgia, Cambria, "Times New Roman", Times, serif;
  --font-sans: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset & taban ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: rgb(var(--color-navy-900));
  background-color: rgb(var(--color-cream));
  transition: background-color 0.3s ease, color 0.3s ease;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, blockquote, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; padding: 0; }
img, svg { display: block; max-width: 100%; }
input, textarea { font: inherit; }
::selection { background-color: rgb(var(--color-gold-400)); color: rgb(var(--color-navy-900)); }

/* ---------- Yardımcı sınıflar ---------- */
.container {
  width: 100%;
  max-width: 80rem; /* 7xl */
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 640px) { .container { padding-inline: 2rem; } }
@media (min-width: 1024px) { .container { padding-inline: 3rem; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgb(var(--color-gold-600));
}
@media (min-width: 640px) { .section-eyebrow { font-size: 0.875rem; } }
.section-eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background-color: currentColor;
}
.section-eyebrow--light { color: rgb(var(--color-gold-300)); }

.section-heading {
  margin-top: 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.875rem;
  line-height: 1.2;
  color: rgb(var(--color-navy-900));
}
@media (min-width: 640px) { .section-heading { font-size: 2.25rem; } }
@media (min-width: 768px) { .section-heading { font-size: 2.75rem; } }
.section-heading--light { color: #fff; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.125rem;
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background-color: rgb(var(--color-gold-500));
  color: rgb(var(--color-navy-950));
}
.btn-primary:hover { background-color: rgb(var(--color-gold-400)); }
.btn-outline {
  border-color: rgb(255 255 255 / 0.3);
  color: #fff;
}
.btn-outline:hover { border-color: rgb(var(--color-gold-400)); color: rgb(var(--color-gold-300)); }
.btn-whatsapp {
  gap: 0.625rem;
  background-color: #25D366;
  color: #fff;
}
.btn-whatsapp:hover { background-color: #1fb955; }
.btn-map {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.125rem;
  border: 1px solid rgb(var(--color-navy-800) / 0.2);
  padding: 0.625rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgb(var(--color-navy-800));
  transition: border-color 0.2s ease, color 0.2s ease;
}
.btn-map:hover { border-color: rgb(var(--color-gold-500)); color: rgb(var(--color-gold-600)); }

.icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }

/* =============================================================================
   HEADER
   ============================================================================= */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  padding-block: 1.25rem;
  background-color: transparent;
  transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  padding-block: 0.75rem;
  background-color: rgb(var(--color-navy-950) / 0.95);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-soft);
}
.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.brand__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgb(var(--color-gold-400) / 0.7);
  border-radius: 0.125rem;
  color: rgb(var(--color-gold-300));
}
.brand__mark svg { width: 1.5rem; height: 1.5rem; }
.brand__name { display: block; font-family: var(--font-serif); font-size: 1.125rem; color: #fff; line-height: 1.2; }
@media (min-width: 640px) { .brand__name { font-size: 1.25rem; } }
.brand__tagline {
  display: block;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgb(var(--color-gold-300) / 0.9);
}

.nav-desktop { display: none; align-items: center; gap: 2rem; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }
.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgb(255 255 255 / 0.85);
  transition: color 0.2s ease;
}
.nav-desktop a:hover { color: rgb(var(--color-gold-300)); }

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 0.125rem;
  color: #fff;
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle svg { width: 1.25rem; height: 1.25rem; }
.menu-toggle .icon-close { display: none; }
.menu-toggle.is-open .icon-open { display: none; }
.menu-toggle.is-open .icon-close { display: block; }

.nav-mobile {
  display: none;
  margin-top: 1rem;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  background-color: rgb(var(--color-navy-950) / 0.98);
  padding: 1rem 1.5rem 1.5rem;
}
.nav-mobile.is-open { display: block; }
@media (min-width: 1024px) { .nav-mobile { display: none !important; } }
.nav-mobile__list { display: flex; flex-direction: column; gap: 1rem; }
.nav-mobile__list a { font-size: 0.875rem; font-weight: 500; color: rgb(255 255 255 / 0.85); }
.nav-mobile__list a:hover { color: rgb(var(--color-gold-300)); }
.nav-mobile__phone { font-size: 0.875rem; font-weight: 500; color: rgb(255 255 255 / 0.85); }
.nav-mobile .btn-whatsapp { margin-top: 0.25rem; width: 100%; }

/* =============================================================================
   HERO
   ============================================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-navy);
  padding-block: 9rem 5rem;
}
@media (min-width: 640px) { .hero { padding-block: 11rem 7rem; } }
.hero__glow {
  position: absolute;
  pointer-events: none;
  right: -10rem;
  top: -10rem;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  background-color: rgb(var(--color-gold-500) / 0.1);
  filter: blur(64px);
}
.hero__inner { position: relative; }
.hero__lede { max-width: 48rem; }
.hero__title {
  margin-top: 1.25rem;
  font-family: var(--font-serif);
  font-size: 2.25rem;
  line-height: 1.15;
  color: #fff;
}
@media (min-width: 640px) { .hero__title { font-size: 3rem; } }
@media (min-width: 768px) { .hero__title { font-size: 3.75rem; } }
.hero__title span { display: block; color: rgb(var(--color-gold-300)); }
.hero__text {
  margin-top: 1.5rem;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgb(255 255 255 / 0.75);
}
@media (min-width: 640px) { .hero__text { font-size: 1.125rem; } }
.hero__actions { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .hero__actions { flex-direction: row; } }

/* =============================================================================
   HAKKIMDA (About)
   ============================================================================= */
.about { background-color: rgb(var(--color-cream)); padding-block: 5rem; }
@media (min-width: 640px) { .about { padding-block: 7rem; } }
.about__grid {
  display: grid;
  gap: 3.5rem;
}
@media (min-width: 1024px) { .about__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 5rem; } }
.about__text p {
  margin-top: 1.5rem;
  line-height: 1.75;
  color: rgb(var(--color-navy-700) / 0.9);
}
.about__text p:first-of-type { margin-top: 1.5rem; }

.about__card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 18rem;
  width: 100%;
  overflow: hidden;
  border-radius: 0.125rem;
  background: var(--gradient-navy);
  box-shadow: var(--shadow-soft);
  padding: 2.5rem;
}
@media (min-width: 640px) { .about__card { padding: 2.75rem; } }
.about__quote-mark { width: 2.5rem; height: 2.5rem; color: rgb(var(--color-gold-400) / 0.7); }
.about__quote-text {
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.35;
  color: #fff;
}
@media (min-width: 640px) { .about__quote-text { font-size: 1.5rem; } }
.about__quote-author {
  margin-top: 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgb(var(--color-gold-300));
}

/* =============================================================================
   UZMANLIK ALANLARI
   ============================================================================= */
.practice { background-color: rgb(var(--color-navy-950)); padding-block: 5rem; }
@media (min-width: 640px) { .practice { padding-block: 7rem; } }
.practice__intro { max-width: 42rem; }
.practice__intro p { margin-top: 1.25rem; line-height: 1.7; color: rgb(255 255 255 / 0.7); }

.practice-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 1px;
  background-color: rgb(255 255 255 / 0.1);
  overflow: hidden;
  border-radius: 0.125rem;
}
@media (min-width: 640px) { .practice-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .practice-grid { grid-template-columns: repeat(3, 1fr); } }
.practice-card {
  background-color: rgb(var(--color-navy-950));
  padding: 2rem;
  transition: background-color 0.3s ease;
}
.practice-card:hover { background-color: rgb(var(--color-navy-800)); }
.practice-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgb(var(--color-gold-400) / 0.4);
  border-radius: 0.125rem;
  color: rgb(var(--color-gold-300));
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.practice-card__icon svg { width: 1.5rem; height: 1.5rem; }
.practice-card:hover .practice-card__icon { border-color: rgb(var(--color-gold-400)); background-color: rgb(var(--color-gold-400) / 0.1); }
.practice-card h3 { margin-top: 1.5rem; font-family: var(--font-serif); font-size: 1.125rem; color: #fff; }
@media (min-width: 640px) { .practice-card h3 { font-size: 1.25rem; } }
.practice-card p { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.6; color: rgb(255 255 255 / 0.6); }

/* =============================================================================
   NEDEN BEN
   ============================================================================= */
.why { background-color: rgb(var(--color-cream)); padding-block: 5rem; }
@media (min-width: 640px) { .why { padding-block: 7rem; } }
.why__intro { max-width: 42rem; }
.why__intro p { margin-top: 1.25rem; line-height: 1.7; color: rgb(var(--color-navy-700) / 0.9); }

.why-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 2rem;
}
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-card { border-top: 2px solid rgb(var(--color-navy-800)); padding-top: 1.5rem; }
.why-card__num { font-family: var(--font-serif); font-size: 1.5rem; color: rgb(var(--color-gold-500)); }
.why-card h3 { margin-top: 0.75rem; font-family: var(--font-serif); font-size: 1.125rem; color: rgb(var(--color-navy-900)); }
.why-card p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.6; color: rgb(var(--color-navy-700) / 0.8); }

/* =============================================================================
   İLETİŞİM & KONUM
   ============================================================================= */
.contact { background-color: rgb(var(--color-cream)); padding-block: 5rem; }
@media (min-width: 640px) { .contact { padding-block: 7rem; } }
.contact__intro { max-width: 42rem; margin-inline: auto; text-align: center; }
.contact__intro p { margin-top: 1.25rem; line-height: 1.7; color: rgb(var(--color-navy-700) / 0.9); }
.contact__cta { margin-top: 2rem; }
.contact__cta .btn { padding: 1rem 2rem; font-size: 1rem; }

.contact-layout {
  margin-inline: auto;
  margin-top: 3.5rem;
  max-width: 72rem;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 1024px) { .contact-layout { grid-template-columns: 1fr 1fr; gap: 2rem; } }

.contact-list { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgb(var(--color-navy-800) / 0.1);
  background-color: #fff;
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
}
.contact-card__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background-color: rgb(var(--color-gold-100));
  color: rgb(var(--color-navy-900));
}
.contact-card__icon svg { width: 1.25rem; height: 1.25rem; }
.contact-card__icon--whatsapp { background-color: rgb(37 211 102 / 0.1); color: #25D366; }
.contact-card h3 { font-weight: 600; font-size: 1rem; color: rgb(var(--color-navy-900)); }
.contact-card p { margin-top: 0.125rem; font-size: 0.875rem; line-height: 1.6; color: rgb(var(--color-navy-600)); }
.contact-card__action {
  margin-top: 0.375rem;
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1fb955;
}
.contact-card__action:hover { text-decoration: underline; }

.map-panel {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid rgb(var(--color-navy-800) / 0.1);
  box-shadow: var(--shadow-soft);
}
@media (min-width: 1024px) { .map-panel { min-height: 0; } }
.map-panel iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(15%); }
.map-panel .btn-map {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
  border-radius: 9999px;
  border: none;
  background-color: rgb(var(--color-gold-500));
  color: rgb(var(--color-navy-950));
  box-shadow: var(--shadow-soft);
}
.map-panel .btn-map:hover { background-color: rgb(var(--color-gold-400)); }

/* =============================================================================
   FOOTER
   ============================================================================= */
.site-footer { background-color: rgb(var(--color-navy-950)); padding: 2rem 0 6.5rem; }
.site-footer__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  padding-top: 2rem;
  text-align: center;
}
@media (min-width: 640px) { .site-footer__row { flex-direction: row; text-align: left; } }
.site-footer p { font-size: 0.75rem; color: rgb(255 255 255 / 0.5); }
.site-footer__meta { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
@media (min-width: 640px) { .site-footer__meta { flex-direction: row; gap: 1.5rem; } }
.site-footer a { font-size: 0.75rem; color: rgb(255 255 255 / 0.6); }
.site-footer a:hover { color: rgb(var(--color-gold-300)); }
.site-footer__credit { font-size: 0.75rem; color: rgb(255 255 255 / 0.4); }
.site-footer__credit a { color: rgb(255 255 255 / 0.6); }
.site-footer__credit a:hover { color: rgb(var(--color-gold-300)); }

/* =============================================================================
   WHATSAPP FAB & TEMA DEĞİŞTİRİCİ
   ============================================================================= */
.whatsapp-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(1rem);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
@media (min-width: 640px) { .whatsapp-fab { right: 1.75rem; bottom: 1.75rem; } }
.whatsapp-fab.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.whatsapp-fab__hint {
  display: none;
  border-radius: 0.125rem;
  background-color: rgb(var(--color-navy-950));
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #fff;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transition: opacity 0.3s ease;
}
@media (min-width: 640px) { .whatsapp-fab__hint { display: block; } }
.whatsapp-fab__hint.is-visible { opacity: 1; }
.whatsapp-fab__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background-color: #25D366;
  color: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.whatsapp-fab__btn:hover { transform: scale(1.05); background-color: #1fb955; }
.whatsapp-fab__btn svg { width: 1.75rem; height: 1.75rem; }

/* =============================================================================
   KVKK SAYFASI
   ============================================================================= */
.legal-page { background-color: rgb(var(--color-cream)); padding-block: 8rem 5rem; }
@media (min-width: 640px) { .legal-page { padding-block: 10rem 7rem; } }
.legal-page .container { max-width: 48rem; }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgb(var(--color-gold-600));
}
.legal-back:hover { color: rgb(var(--color-gold-700)); }
.legal-page .section-eyebrow { display: flex; margin-top: 1.5rem; }
.legal-updated { margin-top: 1rem; font-size: 0.875rem; color: rgb(var(--color-navy-500)); }
.legal-sections { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 2rem; }
.legal-sections h2 { font-family: var(--font-serif); font-size: 1.125rem; color: rgb(var(--color-navy-900)); }
@media (min-width: 640px) { .legal-sections h2 { font-size: 1.25rem; } }
.legal-sections p { margin-top: 0.5rem; line-height: 1.7; color: rgb(var(--color-navy-700) / 0.9); }
