:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #5c5c5c;
  --line: #e8e8e8;
  --accent: #0d6b5c;
  --accent-soft: #e6f4f1;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  --max: 1120px;
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}

.logo {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo:hover {
  text-decoration: none;
  color: var(--accent);
}

.logo-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  max-width: min(100%, 320px);
}

.logo-img {
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-toggle {
  display: none;
  margin-inline-start: auto;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  font: inherit;
  cursor: pointer;
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.site-nav a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
}
.site-nav a:hover {
  color: var(--accent);
}

.lang-switch {
  display: flex;
  gap: 0.35rem;
  margin-inline-start: auto;
}
.lang-switch a {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.45rem;
  border-radius: 6px;
  color: var(--muted);
  border: 1px solid transparent;
}
.lang-switch a.is-active {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

/* Dar ekranda hamburger; 900px çok genişti — birçok masaüstünde menü kayboluyordu */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .site-nav {
    width: 100%;
    display: none;
    order: 3;
    flex: none;
  }
  .site-nav.is-open {
    display: block;
  }
  .site-nav ul {
    flex-direction: column;
    padding: 0.5rem 0 0.75rem;
  }
  .lang-switch {
    margin-inline-start: 0;
  }
}

.site-main {
  padding-block: 2.5rem 3.5rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  background: var(--surface);
}
.footer-inner p {
  margin: 0.35rem 0;
}
.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero {
  padding: 2.5rem 0 2rem;
}
.hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}
.hero p.lead {
  margin: 0;
  color: var(--muted);
  max-width: 52ch;
  font-size: 1.05rem;
}

.grid-cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.25rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 100%;
}
.card h2,
.card h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}
.card .more {
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: 0.35rem;
}

.page-head {
  margin-bottom: 1.75rem;
}
.page-head h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}
.page-head p {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
}

.prose {
  max-width: 70ch;
}
.prose p {
  margin: 0 0 1rem;
}

.pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.split {
  display: grid;
  gap: 2rem;
}
@media (min-width: 880px) {
  .split-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.map-embed {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  background: var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 1.15rem 0;
}
.faq-item h2 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.tagline-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

[dir="rtl"] .lang-switch {
  margin-inline-start: 0;
  margin-inline-end: auto;
}

@media (max-width: 768px) {
  [dir="rtl"] .nav-toggle {
    margin-inline-start: 0;
    margin-inline-end: auto;
  }
}

/* ——— Homepage slider ——— */
.wrap-full {
  max-width: none;
  width: 100%;
  padding-inline: 0;
}

.hero-slider {
  position: relative;
  background: #0a3d36;
}

.hero-slider-viewport {
  position: relative;
  min-height: min(58vh, 480px);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-bg--placeholder {
  background: var(--slide-bg, linear-gradient(135deg, #0d6b5c, #1a4a42));
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.15));
  z-index: 1;
}

.hero-slide-inner {
  position: relative;
  z-index: 2;
  min-height: min(58vh, 480px);
  display: flex;
  align-items: flex-end;
  padding: 3rem 0 2.5rem;
}

.hero-slide-caption {
  max-width: 40rem;
}

.hero-slide-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero-slide-sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
}

.hero-slide-link {
  color: inherit;
  text-decoration: none;
}
.hero-slide-link:hover {
  text-decoration: none;
}
.hero-slide-link:hover .hero-slide-title {
  text-decoration: underline;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-btn:hover {
  background: rgba(0, 0, 0, 0.45);
}
.slider-btn-prev {
  left: 0.75rem;
}
.slider-btn-next {
  right: 0.75rem;
}

.slider-dots {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  padding: 0.75rem 0 1rem;
  position: relative;
  z-index: 5;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}
.slider-dot.is-active {
  background: #fff;
  transform: scale(1.15);
}

/* ——— Cards with media ——— */
.section-block {
  margin-top: 2.75rem;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}
.section-head h2 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.grid-cards--media {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.card--media {
  padding: 0;
  overflow: hidden;
}

.card-media-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.card-media-link:hover {
  text-decoration: none;
}
.card-media-link:hover .more {
  text-decoration: underline;
}

/* Liste / kart: yatay şerit, sabit yükseklik (dev görsel yok) */
.card-media {
  width: 100%;
  height: clamp(152px, 22vw, 188px);
  max-height: 188px;
  background: var(--line);
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.card-media-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-soft), #dfeae8);
}

.card--media .card-body {
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.card--media h3 {
  margin: 0;
  font-size: 1.05rem;
}

.card--media p {
  margin: 0;
  font-size: 0.92rem;
}

/* İç sayfa üst görsel: yatay banner, yükseklik üst sınırlı */
.page-hero-figure {
  margin: 0 0 1.25rem;
  width: 100%;
  aspect-ratio: 2.2 / 1;
  max-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.page-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.contact-hosp-thumb {
  display: block;
  margin-bottom: 0.65rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.contact-hosp-thumb img {
  width: 100%;
  max-height: 120px;
  object-fit: cover;
  display: block;
}
