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

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

/* ============ RENK PALETİ ============ */
:root {
  --page-bg: radial-gradient(circle at top left, #f9f6ef, #ece5da);
  --ana: #153e52;
  --ana-koyu: #0f2b38;
  --krem: #f3f0e6;
  --krem-acik: #faf6ee;
  --bronz: #b59a72;
  --bronz-acik: #d6c2a2;
  --metin-ana: #1f2933;
  --metin-ikincil: #6b7280;
  --cizgi: rgba(148, 163, 184, 0.6);
  --arka-kart: #ffffff;

  --gri-50: #f9fafb;
  --gri-100: #f3f4f6;
  --gri-200: #e5e7eb;
  --gri-300: #d1d5db;
}

/* DARK THEME TOKENLARI */
body.theme-dark {
  --page-bg: radial-gradient(circle at top left, #020617, #020617);
  --ana: #0f172a;
  --ana-koyu: #020617;
  --krem: #020617;
  --krem-acik: #111827;
  --bronz: #d6b789;
  --bronz-acik: #f5d7a1;
  --metin-ana: #e5e7eb;
  --metin-ikincil: #9ca3af;
  --cizgi: rgba(55, 65, 81, 0.85);
  --arka-kart: #020617;
}

/* ============ BODY / GENEL METİN ============ */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: var(--page-bg);
  color: var(--metin-ana);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  transition:
    background-color 0.2s ease-out,
    color 0.2s ease-out,
    background 0.2s ease-out;
}

/* Alternatif font modları (gerekirse admin sayfaları için) */
body.font-system {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

body.font-serif {
  font-family: "Georgia", "Times New Roman", serif;
}

body.font-modern {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    sans-serif;
}

body:not(.font-serif):not(.font-modern):not(.font-system) {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

p {
  margin-bottom: 0.7rem;
  color: var(--metin-ana);
}

p:last-child {
  margin-bottom: 0;
}

/* ============ SKIP LINK ============ */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  padding: 0.75rem 1.25rem;
  background: var(--ana);
  color: #fff;
  z-index: 9999;
}

/* ============ GENEL LAYOUT ============ */
.section {
  padding: 2rem 0;
  background: transparent;
}

.section-profile {
  padding-top: 4.2rem;
  padding-bottom: 4rem;
  background: linear-gradient(145deg, var(--krem-acik) 0%, var(--krem) 40%, var(--krem-acik) 100%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============ TOPBAR ============ */
.topbar {
  background: var(--ana-koyu);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 0.8rem;
  color: var(--bronz-acik);
  font-weight: 500;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 1.5rem;
  gap: 0.75rem;
  max-width: 1120px;
  margin: 0 auto;
}

.topbar-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.topbar-note {
  opacity: 0.9;
}

.topbar a {
  color: var(--bronz-acik);
  text-decoration: none;
}

.topbar a:hover {
  text-decoration: underline;
}


/* ============ PROFİL / ANA SAYFA LAYOUT ============ */
.profile-layout {
  display: grid;
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
  gap: 2.4rem;
  align-items: flex-start;
}

@media (max-width: 1024px) {
  .profile-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-sidebar {
    border-right: none;
    padding-right: 0;
    margin-bottom: 2rem;
    max-width: 100%;
  }

  .profile-right {
    grid-column: 1 / -1;
    grid-row: auto;
    margin-top: 1.8rem;
  }
}

@media (max-width: 768px) {
  .section-profile {
    padding-top: 3.2rem;
    padding-bottom: 3rem;
  }

  .profile-layout {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 2rem;
  }

  .profile-sidebar {
    order: -1;
    padding-right: 0;
    border-right: none;
  }
}

/* SOL SÜTUN */
.profile-sidebar {
  background: var(--arka-kart);
  border: none;
  box-shadow: none;
  padding: 0 1.2rem 0 0;
  border-right: 1px solid rgba(148, 163, 184, 0.35);
  max-width: 240px;
  transition:
    background-color 0.2s ease-out,
    border-color 0.2s ease-out,
    box-shadow 0.2s ease-out;
}

.profile-photo {
  margin-bottom: 0.8rem;
}

.profile-img {
  width: 100%;
  height: auto;
  max-height: 420px;
  border-radius: 1.1rem;
  display: block;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22);
  object-fit: cover;
}

.profile-name {
  font-size: 1.22rem;
  font-weight: 600;
  margin-top: 0.4rem;
  margin-bottom: 0.15rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-position {
  font-size: 0.96rem;
  color: var(--metin-ikincil);
  margin-bottom: 0.8rem;
}

.profile-meta {
  font-size: 0.86rem;
  color: var(--metin-ikincil);
  margin-bottom: 0.5rem;
}

/* Etiket blokları */
.profile-contact-block {
  margin-top: 1.15rem;
}

.profile-contact-block h3 {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--metin-ikincil);
}

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.86rem;
  margin-bottom: 0.25rem;
}

.info-row .label {
  color: var(--metin-ikincil);
}

.info-row .value a {
  color: var(--ana);
  text-decoration: none;
}

.info-row .value a:hover {
  text-decoration: underline;
}

.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.3rem;
}

.tag-list li {
  font-size: 0.78rem;
  padding: 0.13rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(181, 154, 114, 0.6);
  background: rgba(255, 255, 255, 0.6);
}

.tag-list--menu {
  gap: 0.6rem;
  margin-top: 0.6rem;
}

.tag-list--menu li {
  padding: 0;
  border: none;
  background: transparent;
}

.tag-list--menu a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--cizgi);
  background: var(--arka-kart);
  color: var(--metin-ana);
  text-decoration: none;
  transition:
    color 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease;
}

.tag-list--menu a:hover {
  border-color: var(--ana);
  color: var(--ana);
}

/* ORTA SÜTUN */
.profile-main {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.profile-intro-card,
.cv-section {
  background: var(--arka-kart);
  border: none;
  box-shadow: none;
  padding: 0 0 1.6rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  transition:
    background-color 0.2s ease-out,
    border-color 0.2s ease-out,
    box-shadow 0.2s ease-out;
}

.profile-intro-card:last-of-type,
.cv-section:last-of-type {
  border-bottom: none;
}

.profile-intro-card h2,
.cv-section h2 {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--metin-ikincil);
  margin-bottom: 0.5rem;
}

.profile-intro-card p,
.cv-section p,
.cv-section li {
  font-size: 1rem;
  color: var(--metin-ana);
  line-height: 1.9;
}

/* CV listeler */
.cv-section ul {
  padding-left: 1.1rem;
  margin-top: 0.25rem;
}

.cv-section ul li::marker {
  color: var(--bronz);
}

.cv-list {
  list-style: none;
}

.cv-item {
  padding: 0.7rem 0 0.2rem 0;
  border: none;
  box-shadow: none;
  background: transparent;
  margin-bottom: 0.45rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.45);
}

.cv-item:first-of-type {
  border-top: none;
}

.cv-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.cv-item p,
.cv-item li {
  color: var(--metin-ana);
  font-size: 0.92rem;
}

.cv-item ul {
  padding-left: 1.1rem;
}

.cv-item ul li::marker {
  color: var(--bronz);
}

/* SAĞ SÜTUN */
.profile-right {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  margin-top: 2rem;
}

.profile-right .cv-section {
  box-shadow: none;
  padding: 0 0 1.4rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.profile-right .cv-section:last-of-type {
  border-bottom: none;
}

.cv-two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.3rem;
}

/* İLETİŞİM GRID */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 1.7rem;
  margin-top: 1.2rem;
}

@media (max-width: 768px) {
  .profile-right {
    grid-column: 1 / -1;
    grid-row: auto;
    margin-top: 1.6rem;
  }

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

.contact-card {
  padding: 0;
  border: none;
  background: transparent;
  font-size: 0.96rem;
  color: var(--metin-ana);
}

.contact-card h3 {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--metin-ikincil);
  margin-bottom: 0.3rem;
}

#iletisim .cv-section {
  margin-top: 0.8rem;
}

/* ============ FORM STİLLERİ ============ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1.6rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  background: transparent;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--metin-ana);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="number"],
.form-group textarea,
.form-group select,
.blog-search input[type="search"],
.newsletter-row input[type="email"] {
  border-radius: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.9);
  padding: 0.65rem 0.85rem;
  font-size: 0.95rem;
  background-color: var(--arka-kart);
  color: var(--metin-ana);
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    background-color 0.16s ease;
  box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.08);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.blog-search input[type="search"]:focus,
.newsletter-row input[type="email"]:focus {
  outline: none;
  border-color: var(--ana);
  box-shadow: 0 0 0 1px rgba(21, 62, 82, 0.24);
  background-color: var(--krem-acik);
}

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

.contact-radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.88rem;
}

.contact-radio-group input[type="radio"] {
  margin-right: 0.4rem;
}

.form-note {
  font-size: 0.85rem;
  color: var(--metin-ikincil);
  margin-top: 0.4rem;
}

.form-note--error {
  color: #b91c1c;
}

.form-note--success {
  color: #166534;
  font-weight: 500;
}

/* ============ BUTONLAR ============ */
.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 0.6rem 1.8rem;
  border-radius: 999px;
  border: 1px solid var(--ana);
  background: var(--ana);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background-color 0.16s ease,
    border-color 0.16s ease,
    transform 0.1s ease,
    box-shadow 0.16s ease;
}

.btn-submit:hover {
  background-color: var(--ana-koyu);
  border-color: var(--ana-koyu);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.35);
  transform: translateY(-1px);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: default;
  box-shadow: none;
  transform: none;
}

.btn-submit:focus-visible {
  outline: 2px solid var(--bronz);
  outline-offset: 2px;
}

.btn-small {
  padding: 0.25rem 0.8rem;
  font-size: 0.75rem;
}

.btn-ghost {
  background: transparent;
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.8);
}

.btn-ctrls-active {
  box-shadow: 0 0 0 2px var(--bronz-acik);
}

/* ============ BLOG LİSTESİ (blog.html) ============ */
#blog-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#blog-list .cv-item {
  cursor: pointer;
}

#blog-list .cv-item:hover {
  background: transparent;
}

#blog-list .cv-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.cv-meta {
  font-size: 0.8rem;
  color: var(--metin-ikincil);
  margin-bottom: 0.25rem;
}

/* Blog üst arama */
.blog-search {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}

/* BLOG SAYFALAMA */
.blog-pagination {
  margin-top: 1.6rem;
  display: flex;
  gap: 0.5rem;
}

.blog-page-btn {
  border-radius: 999px;
  border: 1px solid rgba(21, 62, 82, 0.24);
  padding: 0.3rem 0.85rem;
  font-size: 0.8rem;
  background: var(--arka-kart);
  cursor: default;
}

.blog-page-btn--active {
  background: var(--ana);
  color: #ffffff;
  border-color: var(--ana);
}

/* BLOG İLGİLİ YAZILAR */
.blog-related {
  margin-top: 0.5rem;
  padding-top: 0.4rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.5);
}

.blog-related-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--metin-ikincil);
  margin-bottom: 0.25rem;
}

.blog-related ul {
  list-style: none;
  padding-left: 0;
}

.blog-related li {
  font-size: 0.85rem;
}

/* Blog seslendirme butonu */
.blog-audio-btn {
  margin-top: 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.25);
  background: #ffffff;
  font-size: 0.8rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-audio-btn::before {
  content: "🎧";
  font-size: 1rem;
}

.blog-audio-btn:hover {
  border-color: var(--ana);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

body.theme-dark .blog-audio-btn {
  background: #020617;
  color: var(--metin-ana);
  border-color: rgba(148, 163, 184, 0.6);
}

body.theme-dark .blog-audio-btn:hover {
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.7);
}

.blog-audio-btn.is-speaking {
  background: var(--ana);
  color: #f9fafb;
  border-color: var(--ana);
}

body.theme-dark .blog-audio-btn.is-speaking {
  background: #f97316;
  border-color: #f97316;
  color: #0b1120;
}

/* ============ FOOTER ============ */
.footer {
  padding: 1.4rem 0 1.8rem;
  margin-top: 2.2rem;
  border-top: 1px solid rgba(21, 62, 82, 0.16);
  background: var(--ana);
  color: var(--krem);
  font-size: 0.84rem;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-note {
  text-align: right;
}

.footer a {
  color: var(--bronz-acik);
}

body.theme-dark .footer {
  background: #020617;
  color: #e5e7eb;
}

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-note {
    text-align: left;
  }
}

/* ============ MOBİL ARKA PLAN TEMİZLİĞİ ============ */
@media (max-width: 768px) {
  html,
  body {
    background: var(--page-bg) !important;
  }

  section,
  .section,
  main,
  .profile-main,
  .profile-right {
    background: transparent !important;
  }

  .content-map-grid,
  .content-map-card,
  .process-section {
    background: transparent !important;
  }
}

/* FOOTER NEWSLETTER */
.newsletter-form {
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.newsletter-row {
  display: flex;
  gap: 0.3rem;
}

.newsletter-label {
  font-size: 0.78rem;
}

/* ============ GENEL LİNK STİLİ ============ */
a {
  color: var(--ana);
  text-decoration: none;
  text-underline-offset: 2px;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--bronz);
  outline-offset: 2px;
}

body.theme-dark a {
  color: var(--bronz-acik);
}

/* ============ HUKUKİ ARAÇLAR (tools.html) ============ */
.tools-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.tools-intro .tools-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.tools-shortcuts {
  margin-top: 0.8rem;
}

.tools-shortcuts a {
  font-size: 0.85rem;
}

/* Kart grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}

.tool-card {
  border-radius: 1.1rem;
  padding: 1.3rem 1.2rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: var(--arka-kart);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition:
    background-color 0.2s ease-out,
    border-color 0.2s ease-out,
    box-shadow 0.2s ease-out,
    transform 0.18s ease-out;
}

body.theme-dark .tool-card {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.tool-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
  border-color: rgba(181, 154, 114, 0.8);
}

body.theme-dark .tool-card:hover {
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.7);
}

/* Kart başlık */
.tool-card-header {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.tool-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--krem-acik);
  font-size: 1.3rem;
}

body.theme-dark .tool-icon {
  background: #020617;
}

.tool-card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.tool-card-description {
  font-size: 0.87rem;
  color: var(--metin-ikincil);
}

/* Form içi */
.tool-form {
  margin-top: 0.2rem;
  padding-top: 0.8rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.6);
}

.tool-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 0.9rem;
}

@media (max-width: 768px) {
  .tool-form-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

.tool-submit {
  margin-top: 0.6rem;
}

.tool-result {
  margin-top: 0.6rem;
  padding: 0.5rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid transparent;
  background: transparent;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.18s ease-out,
    transform 0.18s ease-out,
    background-color 0.18s ease-out,
    border-color 0.18s ease-out;
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 46rem;
}

.tool-result--visible {
  opacity: 1;
  transform: translateY(0);
}

.tool-result.form-note--success {
  background: rgba(22, 101, 52, 0.06);
  border-color: rgba(22, 101, 52, 0.4);
}

.tool-result.form-note--error {
  background: rgba(185, 28, 28, 0.06);
  border-color: rgba(185, 28, 28, 0.4);
}

.tool-inline-note {
  font-size: 0.75rem;
  color: var(--metin-ikincil);
}

/* Hızlı aksiyon butonları */
.tool-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.tool-chip {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.15rem 0.6rem;
  font-size: 0.78rem;
  background: transparent;
  cursor: pointer;
}

.tool-chip:hover {
  border-color: var(--ana);
}

/* Genel uyarı bloğu */
.tools-disclaimer {
  border-top: 1px dashed rgba(148, 163, 184, 0.5);
  padding-top: 1rem;
}

/* ============ SÜREÇ BLOĞU ============ */
.process-section {
  margin-top: 0.5rem;
}

.process-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.process-subtitle {
  font-size: 0.92rem;
  color: var(--metin-ikincil);
  margin-bottom: 1.1rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.9rem;
}

.process-step {
  border-radius: 0.95rem;
  padding: 0.85rem 0.9rem 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: var(--arka-kart);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  transition:
    background-color 0.2s ease-out,
    border-color 0.2s ease-out,
    box-shadow 0.2s ease-out;
}

.process-step h3 {
  font-size: 0.93rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.process-step p {
  font-size: 0.88rem;
  color: var(--metin-ana);
  line-height: 1.6;
}

body.theme-dark .process-step {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

/* ============ HUKUKİ İÇERİK HARİTASI ============ */
.content-map-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.content-map-intro {
  font-size: 0.9rem;
  color: var(--metin-ikincil);
  margin-bottom: 1rem;
}

.content-map-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.content-map-card {
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: var(--arka-kart);
  padding: 0.85rem 0.9rem 0.8rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.content-map-card h3 {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.content-map-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.content-map-card li {
  font-size: 0.86rem;
  margin-bottom: 0.25rem;
}

.content-map-card li:last-child {
  margin-bottom: 0;
}

body.theme-dark .content-map-card {
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.75);
  border-color: rgba(55, 65, 81, 0.9);
}

@media (max-width: 640px) {
  .content-map-grid {
    gap: 0.8rem;
  }

  .content-map-card {
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  }
}

/* ============ MOBİL HIZLI ERİŞİM ALT BAR ============ */
.mobile-quickbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: none;
  padding: 0.3rem 0.5rem calc(env(safe-area-inset-bottom, 0) + 0.3rem);
  background: rgba(15, 23, 42, 0.96);
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  backdrop-filter: blur(18px);
}

.mobile-quickbar-item {
  flex: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.05rem;
  font-size: 0.7rem;
  color: #e5e7eb;
  text-decoration: none;
  padding: 0.25rem 0;
  transition:
    background-color 0.15s ease-out,
    transform 0.12s ease-out;
}

.mobile-quickbar-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.mobile-quickbar-text {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .mobile-quickbar {
    display: flex;
    gap: 0.4rem;
  }

  body {
    padding-bottom: 3.6rem;
  }
}

body.theme-dark .mobile-quickbar {
  background: rgba(2, 6, 23, 0.98);
  border-top-color: rgba(55, 65, 81, 0.9);
}

.mobile-quickbar-item:active {
  transform: translateY(1px);
  background-color: rgba(15, 23, 42, 0.9);
}

body.theme-dark .mobile-quickbar-item:active {
  background-color: rgba(15, 23, 42, 0.9);
}

/* ============ DİĞER BÖLÜMLER ============ */
.legal-body {
  font-size: 0.9rem;
  line-height: 1.8;
  white-space: pre-line;
}

/* Davranış önerisi paneli */
.behavior-hint {
  position: fixed;
  right: 1rem;
  bottom: 4.2rem;
  max-width: 320px;
  z-index: 55;
}

.behavior-hint-inner {
  border-radius: 0.9rem;
  padding: 0.7rem 0.85rem;
  background: rgba(15, 23, 42, 0.96);
  color: #e5e7eb;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  font-size: 0.85rem;
}

.behavior-hint-actions {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.35rem;
}

/* Jarvis yardım */
.jarvis-help-toggle {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: rgba(15, 23, 42, 0.96);
  color: #e5e7eb;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.7);
}

.jarvis-help-panel {
  position: fixed;
  right: 1rem;
  bottom: 4rem;
  width: 260px;
  border-radius: 0.9rem;
  background: rgba(15, 23, 42, 0.98);
  color: #e5e7eb;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  font-size: 0.85rem;
  padding: 0.7rem 0.8rem;
  z-index: 70;
}

.jarvis-help-header {
  margin-bottom: 0.4rem;
}

.jarvis-help-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.jarvis-help-action {
  border-radius: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.9);
  background: transparent;
  color: #e5e7eb;
  padding: 0.3rem 0.5rem;
  text-align: left;
  font-size: 0.8rem;
  cursor: pointer;
}

.jarvis-help-action:hover {
  background: rgba(30, 64, 175, 0.4);
}

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

/* ============ ADMIN PANEL (admin.html) ============ */
.admin-page {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 1rem;
}

.admin-header-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.admin-header-sub {
  color: #6b7280;
  margin-bottom: 1rem;
}

.admin-token-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.admin-token-bar input {
  flex: 1 1 240px;
  max-width: 320px;
}

.admin-token-status {
  font-size: 0.9rem;
  color: #6b7280;
}

.admin-section {
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  background: #ffffff;
  overflow: hidden;
}

.admin-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.1rem;
  cursor: pointer;
  background: #f9fafb;
}

.admin-section-header h2 {
  font-size: 1.05rem;
  margin: 0;
}

.admin-section-toggle {
  font-size: 0.9rem;
  color: #6b7280;
}

.admin-section-body {
  padding: 1rem 1.1rem 1.2rem;
  display: none;
}

.admin-section-body.is-open {
  display: block;
}

.admin-section-body .form-group {
  margin-bottom: 0.75rem;
}

.admin-section-body label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.admin-section-body input[type="text"],
.admin-section-body textarea,
.admin-section-body select {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  font-size: 0.9rem;
}

.admin-section-body textarea {
  min-height: 180px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.admin-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.btn-admin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: none;
  font-size: 0.9rem;
  cursor: pointer;
  background: #153e52;
  color: #ffffff;
}

.btn-admin-secondary {
  background: #e5e7eb;
  color: #111827;
}

.admin-note {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 0.4rem;
}

.admin-status {
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* ========================= */
/*  EK RESPONSIVE OPTİMİZE  */
/* ========================= */

/* ============ TABLET DÜZENİ (<= 1024px) ============ */
@media (max-width: 1024px) {
  html,
  body {
    font-size: 16px;
  }

  .container {
    max-width: 960px;
    padding: 0 1.25rem;
  }

  .topbar-inner {
    padding: 0.4rem 1.25rem;
    gap: 0.5rem;
  }

  .profile-layout {
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
    gap: 2rem;
  }

  .profile-sidebar {
    max-width: 260px;
    padding-right: 1rem;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.4rem;
  }

  .tools-grid,
  .process-steps,
  .content-map-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

/* ============ MOBİL DÜZENİ (<= 768px) ============ */
@media (max-width: 768px) {
  html,
  body {
    font-size: 15px;
  }

  .container {
    max-width: 100%;
    padding: 0 1rem;
  }

  /* TOPBAR */
  .topbar-inner {
    padding: 0.35rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .topbar-contact {
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  /* PROFİL LAYOUT – tek kolon */
  .section-profile {
    padding-top: 2.8rem;
    padding-bottom: 2.6rem;
  }

  .profile-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.4rem;
  }

  .profile-sidebar {
    max-width: 100%;
    padding-right: 0;
    margin-bottom: 1.3rem;
    border-right: none;
  }

  .profile-photo {
    max-width: 260px;
    margin: 0 auto 0.8rem;
  }

  .profile-img {
    max-height: 360px;
  }

  .profile-name {
    font-size: 1.1rem;
    text-align: center;
  }

  .profile-position,
  .profile-meta {
    text-align: center;
  }

  .profile-contact-block {
    margin-top: 1rem;
  }

  .profile-main {
    gap: 1.4rem;
  }

  .profile-intro-card p,
  .cv-section p,
  .cv-section li {
    font-size: 0.94rem;
    line-height: 1.8;
  }

  .profile-right {
    grid-column: 1 / -1;
    grid-row: auto;
    margin-top: 1.4rem;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.1rem;
  }

  .contact-form {
    margin-top: 1.3rem;
  }

  .btn-submit {
    width: 100%;
    justify-content: center;
  }

  .tools-grid,
  .process-steps,
  .content-map-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .tool-card,
  .process-step,
  .content-map-card {
    padding: 1rem 0.9rem 0.9rem;
  }

  .footer-inner {
    padding: 0 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .footer-note {
    text-align: left;
  }
}

/* ============ MOBİL “KART / KUTU” GÖRÜNÜMÜNÜ SADELEŞTİR ============ */
@media (max-width: 768px) {
  .container {
    padding: 0 1.1rem;
  }

  .section-profile {
    background: linear-gradient(
      180deg,
      var(--krem-acik) 0%,
      var(--krem) 35%,
      var(--krem-acik) 100%
    );
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  }

  .profile-sidebar {
    max-width: 100%;
    padding: 0;
    border-right: none;
    margin-bottom: 1.5rem;
    background: transparent;
    box-shadow: none;
  }

  .profile-intro-card,
  .cv-section {
    background: transparent;
    border: none;
    box-shadow: none;
    padding-left: 0;
    padding-right: 0;
  }

  .profile-right .cv-section {
    background: transparent;
    border: none;
    box-shadow: none;
    padding-left: 0;
    padding-right: 0;
  }

  .contact-card {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .tool-card {
    border-radius: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0.7rem;
    padding-bottom: 0.9rem;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
  }

  .tool-card:first-of-type {
    border-top: none;
  }

  .process-step {
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    border: none;
    padding-left: 0;
    padding-right: 0;
    border-top: 1px dashed rgba(148, 163, 184, 0.4);
  }

  .process-step:first-of-type {
    border-top: none;
  }

  .content-map-card {
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    border: none;
    padding-left: 0;
    padding-right: 0;
    border-top: 1px dashed rgba(148, 163, 184, 0.4);
  }

  .content-map-card:first-of-type {
    border-top: none;
  }

  #blog-list .cv-item {
    background: transparent;
    border: none;
    box-shadow: none;
    padding-left: 0;
    padding-right: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
  }

  #blog-list .cv-item:first-of-type {
    border-top: none;
  }

  .footer {
    margin-top: 1.4rem;
    padding-top: 1rem;
    padding-bottom: 1.4rem;
  }
}
/* ========================= */
/* NAVBAR – ORTAK STİLLER   */
/* ========================= */

.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ana);
  border-bottom: 1px solid #0f2b38;
}

/* İç layout + container hizası */
.navbar-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.7rem 1.5rem 0.6rem;
  display: flex;
  flex-direction: column; /* varsayılan: dikey, alt satırda menü */
  align-items: stretch;
  gap: 0.6rem;
}

/* Üst satır: Marka + sağ tarafta dil/tema/hamburger */
.navbar-inner-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

/* Marka */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(243, 240, 230, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--krem);
  background: rgba(15, 43, 56, 0.65);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.86rem;
  color: var(--krem);
}

.brand-subtitle {
  font-size: 0.78rem;
  color: rgba(243, 240, 230, 0.8);
}

body.theme-dark .brand-title,
body.theme-dark .brand-logo {
  color: var(--bronz-acik);
}

body.theme-dark .brand-subtitle {
  color: rgba(224, 199, 146, 0.85);
}

/* Sağ blok: TR/EN + tema + hamburgerin bulunduğu alan */
.navbar-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* TR / EN linkleri */
.nav-utils {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
}

.nav-utils a {
  color: rgba(243, 240, 230, 0.86);
  text-decoration: none;
}

.nav-utils a:hover {
  text-decoration: underline;
}

/* Tema butonu */
.theme-toggle-btn {
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: transparent;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.85rem;
  color: var(--metin-ana);
  cursor: pointer;
}

body.theme-dark .theme-toggle-btn {
  border-color: rgba(148, 163, 184, 0.8);
  color: var(--metin-ana);
}

/* Menü linkleri – ortak stil */
.nav-links {
  display: flex;
  gap: 1.4rem;
  font-size: 0.86rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.3rem;
}

.nav-links a {
  text-decoration: none;
  color: rgba(243, 240, 230, 0.86);
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-links a:hover {
  color: #ffffff;
  border-color: rgba(181, 154, 114, 0.9);
}

.nav-links a.is-active,
.nav-links a.active {
  color: #ffffff;
  border-color: var(--bronz);
  font-weight: 600;
}

/* Dil EN olduğunda menü biraz daha ince gözüksün */
.lang-en .nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

/* Hamburger buton – varsayılan: görünmesin (desktop mantığı) */
.nav-toggle {
  display: none;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: transparent;
  color: #f9fafb;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 1rem;
  cursor: pointer;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--bronz);
  outline-offset: 2px;
}
/* ========================================= */
/*  ANA SAYFA (HOME) – KUTU HİSSİNİ AZALT   */
/*  Mevcut yapıyı BOZMADAN sadeleştirme     */
/* ========================================= */

@media (min-width: 769px) {
  /* Ana sayfa gövdesindeki kartların zeminini şeffaflaştır,
     daha çok "tek parça metin" hissi verelim. */
  body[data-page="home"] .profile-intro-card,
  body[data-page="home"] .cv-section {
    background: transparent;
    box-shadow: none;
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
    padding-left: 0;
    padding-right: 0;
  }

  /* Sağ sütundaki cv-section’lar da aynı çizgiye gelsin */
  body[data-page="home"] .profile-right .cv-section {
    background: transparent;
    box-shadow: none;
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
    padding-left: 0;
    padding-right: 0;
  }

  /* Süreç kartları: daha düz, belge satırı gibi */
  body[data-page="home"] .process-step {
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    border: none;
    border-top: 1px dashed rgba(148, 163, 184, 0.45);
    padding-left: 0;
    padding-right: 0;
  }

  body[data-page="home"] .process-step:first-of-type {
    border-top: none;
  }

  /* İçerik haritası kartları da “kutu” değil, bölüm başlığı gibi dursun */
  body[data-page="home"] .content-map-card {
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    border: none;
    border-top: 1px dashed rgba(148, 163, 184, 0.45);
    padding-left: 0;
    padding-right: 0;
  }

  body[data-page="home"] .content-map-card:first-of-type {
    border-top: none;
  }

  /* Profil yan panelinde kutu hissini biraz yumuşatalım */
  body[data-page="home"] .profile-sidebar {
    box-shadow: none;
    background: transparent;
    border-right: 1px solid rgba(148, 163, 184, 0.28);
  }
}
@import "/navbar-patch.css";
