:root {
  /* Light medical theme */
  --bg: #f7fafc;
  /* very light gray-blue */
  --surface: #ffffff;
  /* cards */
  --text: #0f172a;
  /* slate-900 */
  --muted: #475569;
  /* slate-600 */
  --line: rgba(15, 23, 42, .10);

  /* Medical accents */
  --primary: #0ea5a4;
  /* teal */
  --primary-2: #22c55e;
  /* soft green (sub-accent, optional) */
  --secondary: #4f46e5;
  /* indigo */
  --secondary-2: #7c3aed;
  /* violet */

  --shadow: 0 10px 30px rgba(2, 6, 23, .08);
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:
    radial-gradient(900px 500px at 20% -10%, rgba(14, 165, 164, .18), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(79, 70, 229, .14), transparent 55%),
    var(--bg);
  color: var(--text);
}

a {
  color: var(--primary);
  text-decoration: none
}

a:hover {
  text-decoration: underline
}

img {
  max-width: 100%;
  display: block
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.muted {
  color: var(--muted)
}

.small {
  font-size: .92rem
}

.kicker {
  color: rgba(15, 23, 42, .65);
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  font-size: .78rem;
}

.inline-link {
  color: var(--primary);
  font-weight: 800
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 12px;
  flex-wrap: wrap;
}

.brand {
  font-weight: 900;
  letter-spacing: .2px;
  color: var(--text);
  padding: 8px 12px;
  margin-left: -12px;
  /* Offset the padding to keep text aligned to the grid */
  border-radius: 12px;
  transition: background-color 0.2s ease, text-decoration 0.2s;
}

.brand:hover {
  background-color: rgba(15, 23, 42, 0.06);
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

.nav-link {
  padding: 8px 10px;
  border-radius: 12px;
  color: rgba(15, 23, 42, .70);
}

.nav-link.active {
  background: rgba(14, 165, 164, .12);
  color: var(--text);
}

/* Hero */
.hero {
  padding: 44px 0 20px
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

@media (max-width:900px) {
  .hero-grid {
    grid-template-columns: 1fr
  }
}

.hero-text-row {
  padding: 1.5rem 0 0.5rem;
}

.lead {
  font-size: 1.06rem;
  line-height: 1.7;
  color: rgba(15, 23, 42, .72);
}

.cta-row {
  display: flex;
  gap: 12px;
  margin: 18px 0 10px;
  flex-wrap: wrap
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: white;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.btn:hover {
  text-decoration: none;
  filter: brightness(1.02);
}

.btn:active {
  transform: translateY(1px);
}

.btn-small {
  padding: 8px 12px;
  border-radius: 12px
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: none;
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, .03);
  text-decoration: none;
}

/* Info badges */
.info-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px
}

@media (max-width:900px) {
  .info-badges {
    grid-template-columns: 1fr
  }
}

.badge {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  background: rgba(255, 255, 255, .85);
  box-shadow: 0 6px 18px rgba(2, 6, 23, .05);
}

.badge-title {
  font-size: .85rem;
  color: rgba(15, 23, 42, .60);
  font-weight: 800
}

.badge-text {
  margin-top: 6px;
  font-weight: 800
}

/* Sections */
.section {
  padding: 22px 0
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap
}

.section-head > div:first-child {
  text-align: center;
  flex: 1;
}

.section-actions {
  display: flex;
  gap: 10px
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

@media (max-width:900px) {
  .section-grid {
    grid-template-columns: 1fr
  }
}

/* Cards */
.card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .90);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card-body {
  padding: 16px
}

.portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  background: #e2e8f0;
  display: block;
}

.spacer {
  height: 10px
}

.link {
  color: var(--secondary);
  font-weight: 900
}

/* Chips */
.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.chip {
  border: 1px solid rgba(14, 165, 164, .20);
  background: rgba(14, 165, 164, .08);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .85rem;
  color: rgba(15, 23, 42, .72);
  font-weight: 800;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding: 18px 0;
  background: rgba(255, 255, 255, .70);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap
}

/* Pages */
main.page {
  padding: 28px 16px
}

.page-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  align-items: flex-end
}

.page-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

/* Blog list */
.post-list {
  display: grid;
  gap: 12px;
  margin-top: 14px
}

.post-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, .90);
  box-shadow: 0 8px 22px rgba(2, 6, 23, .06);
}

.post-title {
  font-weight: 950;
  color: var(--text)
}

.post-meta {
  margin-top: 6px;
  font-size: .9rem;
  color: rgba(15, 23, 42, .60);
  font-weight: 700
}

.post-desc {
  margin-top: 8px
}

/* Post */
.post {
  max-width: 850px
}

.post h1 {
  margin: 10px 0 6px
}

.post h2 {
  margin-top: 18px
}

.post p,
.post li {
  line-height: 1.75;
  color: rgba(15, 23, 42, .84)
}

.post-hero {
  margin: 14px 0;
  border-radius: 18px;
  border: 1px solid var(--line);
  max-height: 360px;
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(2, 6, 23, .10);
}

/* Timeline */
.timeline {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  flex-direction: column;
}

.timeline li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  padding: 6px 4px;
  border-bottom: 1px solid var(--line);
}

.timeline li:last-child {
  border-bottom: none;
}

.t-year {
  font-weight: 950;
  color: var(--text)
}

.t-text {
  color: rgba(15, 23, 42, .72);
  font-weight: 700
}

/* Slider */
.slider {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, .85);
  box-shadow: var(--shadow);
}

.slider-track {
  display: flex;
  transition: transform .35s ease
}

.slide {
  min-width: 100%;
  position: relative
}

.slide img {
  width: 100%;
  height: 380px;
  object-fit: contain;
  background: #f1f5f9;
}

@media (max-width:900px) {
  .slide img {
    height: 260px;
    object-fit: contain;
    background: #f1f5f9;
  }
}

.slide-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(2, 6, 23, .08);
}

.slide-caption strong {
  color: var(--text)
}

.slide-caption .muted {
  color: rgba(15, 23, 42, .65)
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .90);
  color: var(--text);
  font-size: 30px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(2, 6, 23, .10);
}

.slider-btn.prev {
  left: 10px
}

.slider-btn.next {
  right: 10px
}

.slider-btn:hover {
  filter: brightness(1.02)
}

.dots {
  display: flex;
  gap: 8px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, .22);
  background: rgba(15, 23, 42, .18);
  cursor: pointer;
}

.dot.active {
  background: var(--primary);
  border-color: rgba(14, 165, 164, .55)
}

/* Randevu Al CTA - professional blue */
.header-cta,
.nav-cta {
  background: #1a56db;
  background-image: none;
}

.header-cta:hover,
.nav-cta:hover {
  background: #1648c0;
  filter: none;
}

/* Section heading card */
.section-heading-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .90);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  margin-bottom: 16px;
  transition: box-shadow 0.2s, background 0.2s;
}

.section-heading-card:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 14px 36px rgba(2, 6, 23, .12);
  text-decoration: none;
}

.section-heading-arrow {
  font-size: 1.8rem;
  color: var(--muted);
  line-height: 1;
}

/* Responsive map iframe */
.map-responsive {
  border-radius: 12px;
  overflow: hidden;
  background: #eee;
  width: 100%;
}

.map-responsive iframe {
  display: block;
  width: 100% !important;
  height: 450px;
  border: 0;
}

@media (max-width: 600px) {
  .map-responsive iframe {
    height: 300px;
  }
}

/* Fix header position when WordPress admin bar is present */
.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

/* Fix generic margin leak from WordPress html/body */
html {
  margin-top: 0 !important;
}

body {
  margin: 0;
}

.brand {
  transition: opacity 0.2s;
}

.brand:hover {
  opacity: 0.8;
  text-decoration: none;
}

/* ---------- Mobile-first improvements ---------- */

/* Header CTA behavior */
.header-cta {
  display: inline-flex;
}

.nav-cta {
  display: none;
}

/* Hamburger button */
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 24px rgba(2, 6, 23, .10);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 50;
}

.menu-icon {
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
  display: block;
  border-radius: 999px;
  transition: background 0.2s ease-out;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.2s ease-out, top 0.2s ease-out;
}

.menu-icon::before {
  top: -6px;
}

.menu-icon::after {
  top: 6px;
}

/* Hamburger open state (optional animation) */
[aria-expanded="true"] .menu-icon {
  background: transparent;
}

[aria-expanded="true"] .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

[aria-expanded="true"] .menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}



/* Slightly larger tap targets on mobile */
.nav-link {
  padding: 10px 12px;
}

/* Mobile layout */
@media (max-width: 900px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  /* Show hamburger, hide top-right CTA, move CTA inside menu */
  .menu-btn {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .nav-cta {
    display: inline-flex;
    margin-top: 8px;
    width: 100%;
  }

  /* Collapsible nav */
  .nav {
    grid-column: 1 / -1;
    display: none;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, .92);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: grid;
    gap: 8px;
  }

  /* Hero becomes single column */
  .hero {
    padding-top: 28px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .info-badges {
    grid-template-columns: 1fr;
  }

  /* Cards spacing */
  .card-body {
    padding: 14px;
  }

  /* Slider mobile ergonomics */
  .slide img {
    height: 240px;
  }

  .slider-btn {
    width: 44px;
    height: 44px;
    font-size: 28px;
  }

  .slide-caption {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  h1 {
    font-size: 1.55rem;
  }

  .lead {
    font-size: 1rem;
  }

  .cta-row {
    gap: 10px;
  }

  .btn {
    width: 100%;
  }

  .btn-secondary {
    width: 100%;
  }

  .slider-btn.prev {
    left: 8px;
  }

  .slider-btn.next {
    right: 8px;
  }
}