/* Dr. Psk. İlbey Uçar - Kütahya Yerel SEO & Mobil Uyumlu Stil Dosyası */
:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --primary: #1e3a5f;
  --primary-hover: #152a45;
  --accent: #2b6cb0;
  --wa: #16a34a;
  --wa-hover: #15803d;
  --text: #1e293b;
  --muted: #475569;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

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

a {
  color: var(--accent);
}

/* Header & Mobil Menü */
header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary);
  text-decoration: none;
  line-height: 1.25;
}

.brand span {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
}

.menu-toggle {
  display: none;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--primary);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.35rem 0.2rem;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  font-weight: 700;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
  min-width: 265px;
  padding: 0.5rem 0;
  z-index: 1100;
  list-style: none;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu li a {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

.nav-dropdown-menu li a:hover {
  background: var(--surface-alt);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  font-weight: 600;
  padding: 0.72rem 1.25rem;
  border-radius: 9px;
  font-size: 0.94rem;
  min-height: 46px;
  transition: background-color 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: #ffffff;
}

.btn-wa {
  background-color: var(--wa);
  color: #ffffff;
}

.btn-wa:hover {
  background-color: var(--wa-hover);
  color: #ffffff;
}

.btn-outline {
  background-color: var(--surface);
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  background-color: #eef4fa;
}

/* Breadcrumb */
.breadcrumb {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}

/* Hero Alanı */
.hero {
  background: linear-gradient(180deg, #eef4fa 0%, var(--bg) 100%);
  padding: 2.75rem 1.25rem 2.25rem;
}

.hero-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.badge {
  display: inline-block;
  background: #dce8f5;
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(1.7rem, 3.6vw, 2.45rem);
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 780px;
  margin: 0 auto 1.65rem;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* Ana İçerik ve Bölümler */
main {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.5rem 1.25rem 4rem;
}

section {
  margin-top: 2.75rem;
}

h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  color: var(--primary);
  margin-bottom: 1.15rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.45rem;
}

h3 {
  font-size: 1.12rem;
  color: var(--primary);
  margin-bottom: 0.55rem;
}

p + p {
  margin-top: 0.95rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card p {
  color: var(--muted);
  font-size: 0.96rem;
}

.card-link {
  display: inline-block;
  margin-top: 0.85rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--accent);
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

.content-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.clean-list {
  margin: 0.85rem 0 0.5rem 1.25rem;
  color: var(--text);
}

.clean-list li {
  margin-bottom: 0.55rem;
}

/* Profil / E-E-A-T Kutusu */
.profile-card {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.profile-photo {
  width: 165px;
  height: 165px;
  object-fit: cover;
  border-radius: 14px;
  border: 3px solid #dce8f5;
  flex-shrink: 0;
}

.eeat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.eeat-tag {
  background: #eef4fa;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
}

/* SSS Akordeon */
details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.05rem 1.25rem;
  margin-bottom: 0.75rem;
}

summary {
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}

details[open] summary::after {
  content: "−";
}

details p {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.96rem;
}

/* İletişim ve NAP Alanı */
.nap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.nap-item strong {
  display: block;
  color: var(--primary);
  margin-bottom: 0.3rem;
  font-size: 0.98rem;
}

.nap-item span,
.nap-item a {
  font-size: 0.95rem;
  color: var(--muted);
}

.nap-item a.highlight-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.nap-item a.highlight-link:hover {
  text-decoration: underline;
}

/* İç Linkleme Havuzu */
.topic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.topic-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--primary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  transition: all 0.2s;
}

.topic-pill:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* Footer */
footer {
  background: var(--primary);
  color: #e2e8f0;
  padding: 2.5rem 1.25rem;
  font-size: 0.9rem;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.footer-col h4 {
  color: #ffffff;
  margin-bottom: 0.65rem;
  font-size: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.4rem;
}

.footer-col a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.88rem;
}

.footer-col a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  max-width: 1140px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.84rem;
  color: #cbd5e1;
}

/* Mobil Alt Sabit Dönüşüm Çubuğu */
.mobile-sticky-bar {
  display: none;
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-dropdown-menu {
    position: static;
    display: block;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    background: transparent;
  }

  .header-cta {
    display: none;
  }

  .profile-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .eeat-tags {
    justify-content: center;
  }

  .mobile-sticky-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 0.6rem 0.75rem;
    z-index: 1200;
    box-shadow: 0 -4px 12px rgba(15, 23, 42, 0.08);
  }

  .mobile-sticky-bar .btn {
    padding: 0.6rem 0.5rem;
    font-size: 0.85rem;
    min-height: 44px;
  }

  body {
    padding-bottom: 68px;
  }
}
