/* ==========================================================================
   PREMIUM CİLA (2026-11-18) — yalnızca görünüm; metin ve içerik değişmez.
   1) Açık mavi (buz mavisi) vurgu: ince ayraç çizgileri, kart kenarları
   2) Koyu / açık bölüm ritmi (beyaz ↔ yüzey, tek koyu CTA bandı)
   3) Premium kartlar: katmanlı yumuşak gölge, ince açık mavi kenar, yavaş kalkış
   4) Kaydırmada yumuşak beliriş (assets/js/scroll-reveal.js)
   5) Başlıklarda daha ferah tipografi
   Hover'da alt şerit / dolma çubuğu YOKTUR (bilinçli karar).
   Bu dosya en son yüklenir. Geri alma: functions.php'de 'mc-premium-polish'
   ve 'mc-scroll-reveal' satırlarını sil.
   ========================================================================== */

:root {
	--mc-sand-rgb: 111, 182, 234;
	--mc-ink-rgb: 10, 42, 92;
	--mc-ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
	--mc-shadow-card: 0 1px 2px rgba(var(--mc-ink-rgb), 0.05), 0 12px 30px -16px rgba(var(--mc-ink-rgb), 0.18);
	--mc-shadow-card-hover: 0 2px 6px rgba(var(--mc-ink-rgb), 0.06), 0 28px 50px -20px rgba(var(--mc-ink-rgb), 0.3);
	/* Kart kenarı: sol üstte hafif açık mavi, geri kalanı soğuk ince çizgi */
	--mc-card-edge: linear-gradient(155deg, rgba(var(--mc-sand-rgb), 0.6) 0%, rgba(223, 230, 242, 0.95) 38%, rgba(223, 230, 242, 0.95) 100%);
}

/* --- 1) Bölüm ritmi: beyaz ↔ yüzey ↔ (tek) koyu band -------------------- */
body .mc-hospital,
body .mc-clinics-journey,
body .mc-clinics-daily-flow,
body .mc-team {
	background: #ffffff;
}

body .mc-branches--cards,
body .mc-branches--showcase,
body .mc-youtube {
	background-color: var(--mc-surface);
}

/* İstatistik bandı: alt/üst ince açık mavi çizgi */
body .mc-counter {
	background:
		linear-gradient(90deg, transparent 0%, rgba(var(--mc-sand-rgb), 0.7) 50%, transparent 100%) top / 100% 1px no-repeat,
		linear-gradient(90deg, transparent 0%, rgba(var(--mc-sand-rgb), 0.7) 50%, transparent 100%) bottom / 100% 1px no-repeat,
		var(--mc-surface);
	border-top: 0;
	border-bottom: 0;
}

/* CTA bandı: sayfa ritmini kıran koyu lacivert band + açık mavi hatlar */
body .mc-cta-banner {
	background:
		linear-gradient(90deg, transparent 0%, rgba(169, 216, 255, 0.75) 50%, transparent 100%) top / 100% 1px no-repeat,
		linear-gradient(90deg, transparent 0%, rgba(169, 216, 255, 0.75) 50%, transparent 100%) bottom / 100% 1px no-repeat,
		linear-gradient(135deg, #041a3d 0%, #0a2a5c 55%, #0d3a7a 100%);
	border-top: 0;
	border-bottom: 0;
}

body .mc-cta-banner-title {
	color: #ffffff;
}

body .mc-cta-banner-text {
	color: rgba(220, 230, 245, 0.9);
}

/* --- 2) Başlıklar: ferah tipografi + ince altın ayraç ------------------- */
body .mc-hospital-title,
body .mc-branches-title,
body .mc-clinics-section-title,
body .mc-df-title,
body .mc-team-title,
body .mc-youtube-name,
body .mc-bio-name {
	letter-spacing: -0.022em;
	line-height: 1.18;
	text-wrap: balance;
}

/* Ortalı bölüm başlıkları: altında ince, uçları sönen altın çizgi */
body .mc-branches-title::after,
body .mc-clinics-section-title::after,
body .mc-df-title::after,
body .mc-team-title::after {
	content: "";
	display: block;
	width: 72px;
	height: 2px;
	margin: 20px auto 4px;
	background: linear-gradient(90deg, transparent 0%, rgb(var(--mc-sand-rgb)) 28%, rgb(var(--mc-sand-rgb)) 72%, transparent 100%);
}

/* "Hasta Yolculuğu" başlığı flex düzeninde: çizgi kendi satırında, ortada */
body .mc-clinics-section-title {
	flex-wrap: wrap;
	justify-content: center;
}

body .mc-clinics-section-title::after {
	flex: 0 0 100%;
	width: 100%;
	margin: 20px 0 4px;
	background: linear-gradient(90deg, transparent 0%, rgb(var(--mc-sand-rgb)) 28%, rgb(var(--mc-sand-rgb)) 72%, transparent 100%) center / 72px 2px no-repeat;
}

/* Sola hizalı başlık: çizgi soldan başlar */
body .mc-hospital-title::after {
	content: "";
	display: block;
	width: 72px;
	height: 2px;
	margin: 20px 0 4px;
	background: linear-gradient(90deg, rgb(var(--mc-sand-rgb)) 0%, rgb(var(--mc-sand-rgb)) 72%, transparent 100%);
}

/* --- 3) Premium kartlar -------------------------------------------------- */
body .mc-branches-card,
body .mc-hospital-card,
body .mc-team-card,
body .mc-bio-expertise-item {
	position: relative;
	border: 1px solid transparent;
	border-radius: 16px;
	background:
		linear-gradient(#ffffff, #ffffff) padding-box,
		var(--mc-card-edge) border-box;
	box-shadow: var(--mc-shadow-card);
	transition:
		transform 0.5s var(--mc-ease-premium),
		box-shadow 0.5s var(--mc-ease-premium);
}

/* Hover'da altın kenar belirir (çerçeve parıltısı; alt şerit değil) */
body .mc-branches-card::after,
body .mc-hospital-card::after,
body .mc-bio-expertise-item::after {
	content: "";
	position: absolute;
	inset: 0;
	width: auto;
	height: auto;
	margin: 0;
	border: 1px solid rgba(var(--mc-sand-rgb), 0.65);
	border-radius: inherit;
	background: none;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.5s var(--mc-ease-premium);
}

@media (hover: hover) {
	/* Yalnız tedavi kartları kalkar; tesis kartları ve hakkında maddeleri sabit kalır */
	body .mc-branches-card:hover {
		transform: translateY(-4px);
		box-shadow: var(--mc-shadow-card-hover);
	}

	body .mc-hospital-card:hover,
	body .mc-bio-expertise-item:hover {
		transform: none;
		box-shadow: var(--mc-shadow-card);
	}

	body .mc-bio-expertise-item:hover .mc-bio-expertise-icon {
		transform: none;
	}

	body .mc-branches-card:hover::after,
	body .mc-hospital-card:hover::after,
	body .mc-bio-expertise-item:hover::after {
		opacity: 1;
		width: auto;
	}
}

/* Tedavi kartı: fotoğraf yavaş yakınlaşır, "Devamını oku" oku kayar */
body .mc-branches-media img {
	transition: transform 0.9s var(--mc-ease-premium);
}

@media (hover: hover) {
	body a.mc-branches-card:hover .mc-branches-media img {
		transform: scale(1.06);
	}
}

body .mc-branches-body {
	padding: 24px 24px 26px;
}

body .mc-branches-card-title {
	letter-spacing: -0.014em;
}

/* Tesis kartları: fotoğraf + metin tek premium kartta */
body .mc-hospital-card {
	padding: 14px 14px 24px;
}

body .mc-hospital-card-media {
	margin-bottom: 30px;
}

/* Uzmanlık listesi (Hakkında): açık liste → kart; eski alt çubuk ve ayraçlar kalkar */
body .mc-bio-expertise {
	column-gap: 16px;
	row-gap: 16px;
}

body .mc-bio-expertise::before,
body .mc-bio-expertise-item::before {
	display: none;
}

body .mc-bio-expertise-item {
	padding: 18px 20px;
	border-radius: 14px;
}

body .mc-bio-expertise-desc {
	min-height: 0;
}

/* --- Günlük akış: "Günde 6+ saat…" bilgisi kutusuz, düz yazı ------------ */
body .mc-clinics-daily-flow .mc-df-program-info {
	width: fit-content;
	max-width: 100%;
	margin-inline: auto;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	justify-content: center;
	text-align: center;
}

body .mc-clinics-daily-flow .mc-df-program-info-icon {
	width: auto;
	height: auto;
	flex: 0 0 auto;
	border-radius: 0;
	background: none;
	box-shadow: none;
	font-size: 18px;
}

/* --- Doktor kartları ve sayaç şeridi: HOVER YOK (bilinçli karar) --------
   Eski kuralların kalkış / yakınlaşma / çerçeve değişimi de sıfırlanır. */
body .mc-team-member:hover,
body .mc-team-card:hover {
	transform: none;
	border-color: transparent;
	box-shadow: var(--mc-shadow-card);
}

body .mc-team-member:hover .mc-team-photo img {
	transform: none;
}

body .mc-counter-item:hover {
	transform: none;
	background: transparent;
	box-shadow: none;
}

body .mc-counter-item:hover .mc-counter-icon {
	transform: none;
}

/* --- Hakkında: sol (fotoğraf) ve sağ (içerik) sütunları aynı yükseklikte -- */
@media (min-width: 1025px) {
	body .mc-bio-layout {
		align-items: stretch;
	}

	body .mc-bio-media {
		aspect-ratio: auto;
		height: auto;
		min-height: 520px;
	}
}

/* --- 4) Kaydırmada beliriş (JS: scroll-reveal.js) ------------------------ */
@keyframes mc-rv-in {
	from {
		opacity: 0;
		translate: 0 24px;
	}
	to {
		opacity: 1;
		translate: 0 0;
	}
}

html.mc-rv-on .mc-rv {
	opacity: 0;
	animation: none;
}

html.mc-rv-on .mc-rv.is-in {
	animation: mc-rv-in 0.9s var(--mc-ease-premium) var(--mc-rv-d, 0s) both;
}

@media (prefers-reduced-motion: reduce) {
	html.mc-rv-on .mc-rv,
	html.mc-rv-on .mc-rv.is-in {
		opacity: 1;
		animation: none;
	}

	body .mc-branches-card,
	body .mc-hospital-card,
	body .mc-bio-expertise-item,
	body .mc-branches-media img {
		transition: none;
	}

	body .mc-branches-card:hover,
	body .mc-hospital-card:hover,
	body .mc-bio-expertise-item:hover {
		transform: none;
	}
}

/* Footer: resmî site notu (yasal bağlantı satırının hemen üstü) */
.mc-footer-official-note {
	max-width: 118ch;
	margin: 18px auto 0;
	padding: 0 8px;
	text-align: center;
	font-size: 0.84rem;
	line-height: 1.7;
	color: rgba(214, 227, 255, 0.72);
	text-wrap: balance;
}

.mc-footer-official-note a {
	color: rgba(214, 227, 255, 0.95);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.2s ease;
}

.mc-footer-official-note a:hover,
.mc-footer-official-note a:focus-visible {
	color: #fff;
}

/* Footer en alt satır: yasal metin bağlantıları (Gizlilik, Aydınlatma ve Onam, Çerez) */
.mc-footer-legal {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid rgba(214, 227, 255, 0.12);
}

.mc-footer-legal ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mc-footer-legal li {
	margin: 0;
	padding: 0;
}

.mc-footer-legal li + li::before {
	content: "";
	display: inline-block;
	width: 1px;
	height: 12px;
	margin: 0 16px;
	vertical-align: middle;
	background: rgba(214, 227, 255, 0.28);
}

.mc-footer-legal a {
	font-size: 0.82rem;
	line-height: 1.5;
	color: rgba(214, 227, 255, 0.82);
	text-decoration: none;
	transition: color 0.2s ease;
}

.mc-footer-legal a:hover,
.mc-footer-legal a:focus-visible {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 640px) {
	.mc-footer-legal ul {
		flex-direction: column;
		align-items: center;
		gap: 8px;
	}

	.mc-footer-legal li + li::before {
		display: none;
	}
}

/* Mobilde uzmanlık kartları: kaydırma alanı gölgeyi kestiği için gölge yok */
@media (max-width: 640px) {
	body .mc-bio-expertise-item,
	body .mc-bio-expertise-item:hover {
		box-shadow: none;
	}
}

/* --- Ekip kartları: tek çerçeve -------------------------------------------
   Dıştaki <li> yalnız yerleşim taşır (çerçeve/gölge yok); çerçeve yalnız
   içteki .mc-team-card üzerinde: ince çizgi, fotoğraf kenara tam oturur. */
body .mc-team-member,
body .mc-team-member:hover {
	background: none;
	border: 0;
	box-shadow: none;
	transform: none;
	border-radius: 20px;
}

body .mc-team-card,
body .mc-team-card:hover {
	border: 1px solid var(--mc-line);
	border-radius: 20px;
	background: #ffffff;
	box-shadow: 0 1px 2px rgba(11, 44, 82, 0.04);
	overflow: hidden;
	transition: border-color 0.4s var(--mc-ease-premium);
}

@media (hover: hover) {
	body .mc-team-card:hover {
		border-color: rgba(var(--mc-sand-rgb), 0.7);
	}
}

body .mc-team-photo {
	border-radius: 0;
	background: var(--mc-surface);
}

/* Fotoğrafın altında ince ayırıcı + kum çizgili künye alanı */
body .mc-team-meta {
	position: relative;
	gap: 4px;
	padding: 26px 22px 24px;
	border-top: 1px solid var(--mc-line);
	background: #ffffff;
}

body .mc-team-meta::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 22px;
	width: 28px;
	height: 2px;
	background: rgb(var(--mc-sand-rgb));
}

body .mc-team-name {
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: -0.015em;
	color: var(--mc-brand-navy);
}

body .mc-team-role {
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	color: var(--mc-text-soft);
}

/* ==========================================================================
   RANDEVU BUTONLARI — açık mavi (buz mavisi) premium görünüm
   Kapsam: başlık/alt bilgi/mobil menü "Randevu Al", hero hızlı randevu formu
   düğmeleri ve mobil alt çubuktaki randevu öğesi. Diğer düğmeler değişmez.
   Zemin açık olduğu için yazı beyaz değil lacivert (kontrast 6–10:1).
   Geri alma: bu bloğu sil.
   ========================================================================== */
:root {
	--mc-btn-ice: linear-gradient(100deg, #a6dcff 0%, #6fb6ea 100%);
	--mc-btn-ice-hover: linear-gradient(100deg, #bde7ff 0%, #82c3f2 100%);
	--mc-btn-ice-ink: #0a2a5c;
	--mc-btn-ice-shadow: 0 10px 26px -10px rgba(111, 182, 234, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

body .mc-header-cta,
body .mc-hero-form-btn:not(.mc-hero-form-btn--back) {
	background: var(--mc-btn-ice);
	color: var(--mc-btn-ice-ink);
	border: 1px solid rgba(255, 255, 255, 0.55);
	box-shadow: var(--mc-btn-ice-shadow);
}

body .mc-header-cta:hover,
body .mc-header-cta:focus-visible,
body .mc-hero-form-btn:not(.mc-hero-form-btn--back):hover,
body .mc-hero-form-btn:not(.mc-hero-form-btn--back):focus-visible {
	background: var(--mc-btn-ice-hover);
	color: var(--mc-btn-ice-ink);
	filter: none;
	box-shadow: 0 16px 34px -12px rgba(111, 182, 234, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Düğme içindeki simge/yazılar (mobil menü kartı dahil) lacivert kalır */
body .mc-header-cta i,
body .mc-header-cta .mc-nav-action-title,
body .mc-header-cta .mc-nav-action-desc,
body .mc-header-cta .mc-nav-action-icon,
body .mc-header-cta .mc-nav-action-arrow {
	color: var(--mc-btn-ice-ink);
}

body .mc-header-cta.mc-nav-action {
	background:
		radial-gradient(ellipse 90% 120% at 0% 50%, rgba(255, 255, 255, 0.45), transparent 45%),
		var(--mc-btn-ice);
	border-color: rgba(255, 255, 255, 0.6);
	color: var(--mc-btn-ice-ink);
}

body .mc-header-cta.mc-nav-action .mc-nav-action-icon,
body .mc-header-cta.mc-nav-action .mc-nav-action-arrow {
	background: rgba(10, 42, 92, 0.1);
	border-color: rgba(10, 42, 92, 0.18);
}

/* Mobil alt çubuk: randevu öğesi */
body .mc-mobile-cta-item--form {
	background: var(--mc-btn-ice);
	border-color: rgba(255, 255, 255, 0.55);
	box-shadow: var(--mc-btn-ice-shadow);
}

body .mc-mobile-cta-item--form .mc-mobile-cta-icon,
body .mc-mobile-cta-item--form .mc-mobile-cta-title {
	color: var(--mc-btn-ice-ink);
}

/* ==========================================================================
   KVKK onay satırı (sağdaki formlar): kutu ile yazı dikeyde ortalı.
   Yalnızca "KVKK Aydınlatma Metni" link olduğu için link rengi yalnız ona uygulanır.
   ========================================================================== */
body .mc-contact-kvkk {
	align-items: center;
}

body .mc-contact-kvkk input {
	margin: 0;
}

body .mc-contact-kvkk a {
	text-decoration: underline;
	text-underline-offset: 2px;
}
