/* Hazal Çelik — design tokens + theme chrome (header, footer, buttons).
   Page sections are built in Elementor using the same tokens via Global Colors/Fonts. */

:root {
	--hc-cream: #efe9e1;
	--hc-cream-light: #f6f2ec;
	--hc-navy: #1f2d3d;
	--hc-navy-soft: #2e4157;
	--hc-text: #3d3d3b;
	--hc-muted: #6b6862;
	--hc-line: #d9d1c5;
	--hc-white: #fff;

	--hc-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--hc-sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

	--hc-container: 1200px;
	--hc-gutter: clamp(16px, 4vw, 40px);
	--hc-radius-pill: 999px;
}

body {
	background: var(--hc-cream);
	color: var(--hc-text);
	font-family: var(--hc-sans);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	font-family: var(--hc-serif);
	font-weight: 400;
	color: var(--hc-navy);
	line-height: 1.15;
}

a { color: var(--hc-navy); }
a:focus-visible, button:focus-visible {
	outline: 2px solid var(--hc-navy);
	outline-offset: 3px;
}

.hc-container {
	max-width: var(--hc-container);
	margin-inline: auto;
	padding-inline: var(--hc-gutter);
}

.hc-eyebrow {
	font-family: var(--hc-sans);
	font-size: 12px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--hc-muted);
}

/* Buttons */
.hc-btn {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	padding: .7em 1.5em;
	border-radius: var(--hc-radius-pill);
	font-family: var(--hc-sans);
	font-size: 15px;
	text-decoration: none;
	transition: background-color .2s, color .2s;
}
.hc-btn--dark { background: var(--hc-navy); color: var(--hc-white); }
.hc-btn--dark:hover { background: var(--hc-navy-soft); color: var(--hc-white); }
.hc-btn--light { background: var(--hc-cream-light); color: var(--hc-navy); }

/* Skip link */
.hc-skip {
	position: absolute;
	left: -9999px;
	top: 8px;
	z-index: 1000;
	background: var(--hc-navy);
	color: var(--hc-white);
	padding: 8px 16px;
}
.hc-skip:focus { left: 8px; }

/* Header */
.hc-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--hc-cream);
	border-bottom: 1px solid transparent;
	transition: border-color .2s;
}
.hc-header.is-scrolled { border-color: var(--hc-line); }
.hc-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 72px;
}

.hc-brand {
	display: flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
}
.hc-brand__logo { display: block; flex: none; color: var(--hc-navy); }
.hc-brand__logo svg { display: block; height: 40px; width: auto; }
@media (max-width: 420px) {
	.hc-brand { gap: 10px; }
	.hc-brand__logo svg { height: 30px; }
}
.hc-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.hc-brand__name {
	font-family: var(--hc-serif);
	font-size: 20px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--hc-navy);
}
@media (max-width: 420px) {
	.hc-brand__name { font-size: 15px; letter-spacing: .1em; }
	.hc-brand__title { letter-spacing: .24em; }
}
.hc-brand__title {
	font-size: 10px;
	letter-spacing: .3em;
	text-transform: uppercase;
	color: var(--hc-muted);
}

/* Nav — mobile first */
.hc-nav-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}
.hc-nav-toggle__bar,
.hc-nav-toggle__bar::before,
.hc-nav-toggle__bar::after {
	display: block;
	width: 22px;
	height: 1.5px;
	background: var(--hc-navy);
	position: relative;
	transition: transform .2s, opacity .2s;
}
.hc-nav-toggle__bar::before,
.hc-nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
.hc-nav-toggle__bar::before { top: -7px; }
.hc-nav-toggle__bar::after { top: 7px; }
.hc-nav-toggle[aria-expanded="true"] .hc-nav-toggle__bar { background: transparent; }
.hc-nav-toggle[aria-expanded="true"] .hc-nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.hc-nav-toggle[aria-expanded="true"] .hc-nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

.hc-nav {
	display: none;
	position: absolute;
	inset: 72px 0 auto 0;
	background: var(--hc-cream);
	border-top: 1px solid var(--hc-line);
	padding: 16px var(--hc-gutter) 28px;
	max-height: calc(100vh - 72px);
	overflow-y: auto;
}
.hc-nav.is-open { display: block; }

.hc-menu, .hc-menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.hc-menu a {
	display: block;
	padding: 12px 0;
	text-decoration: none;
	font-size: 16px;
	color: var(--hc-navy);
}
.hc-menu .sub-menu { padding-left: 16px; border-left: 1px solid var(--hc-line); }
.hc-menu .sub-menu a { font-size: 15px; padding: 8px 0; color: var(--hc-text); }
.hc-menu .current_page_item > a,
.hc-menu .current-menu-ancestor > a { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.hc-nav__cta { margin-top: 16px; }

@media (min-width: 1024px) {
	.hc-nav-toggle { display: none; }
	.hc-nav {
		display: flex;
		align-items: center;
		gap: 28px;
		position: static;
		background: none;
		border: 0;
		padding: 0;
		max-height: none;
		overflow: visible;
	}
	.hc-menu { display: flex; gap: 26px; }
	.hc-menu > li { position: relative; }
	.hc-menu a { padding: 8px 0; font-size: 14px; }
	.hc-menu .menu-item-has-children > a::after {
		content: "";
		display: inline-block;
		width: 5px;
		height: 5px;
		margin: 0 0 3px 7px;
		border-right: 1px solid currentColor;
		border-bottom: 1px solid currentColor;
		transform: rotate(45deg);
	}
	.hc-menu .sub-menu {
		position: absolute;
		top: 100%;
		left: -16px;
		min-width: 280px;
		padding: 10px 16px;
		background: var(--hc-cream-light);
		border: 1px solid var(--hc-line);
		box-shadow: 0 12px 30px rgba(31, 45, 61, .08);
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition: opacity .15s, transform .15s, visibility .15s;
	}
	.hc-menu li:hover > .sub-menu,
	.hc-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.hc-nav__cta { margin-top: 0; padding: .55em 1.4em; font-size: 14px; }
}

/* Footer */
.hc-footer {
	background: var(--hc-cream-light);
	border-top: 1px solid var(--hc-line);
	padding-top: 48px;
	font-size: 14px;
}
.hc-footer__grid { display: grid; gap: 32px; }
.hc-footer__brand {
	font-family: var(--hc-serif);
	font-size: 22px;
	color: var(--hc-navy);
	margin: 0 0 6px;
}
.hc-footer__areas { color: var(--hc-muted); margin: 0; }
.hc-footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px !important; }
.hc-footer__name { display: flex; flex-direction: column; line-height: 1.15; }
.hc-footer__name small { margin-top: 4px; font-family: var(--hc-sans); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--hc-muted); }
.hc-footer__logo { flex: none; color: var(--hc-navy); }
.hc-footer__logo svg { display: block; height: 34px; width: auto; }
.hc-footer__head { display: block; margin: 0 0 10px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--hc-muted); }
.hc-footer__hours { color: var(--hc-muted); }
.hc-footer__list, .hc-footer__legal { list-style: none; margin: 0; padding: 0; }
.hc-footer__list li + li { margin-top: 6px; }
.hc-footer a { text-decoration: none; }
.hc-footer a:hover { text-decoration: underline; }
.hc-footer__contact { font-style: normal; display: grid; gap: 8px; }
.hc-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	margin-top: 40px;
	padding-block: 20px 96px; /* alt boşluk: mobilde WhatsApp butonu üstüne binmesin */
	border-top: 1px solid var(--hc-line);
	color: var(--hc-muted);
	font-size: 13px;
}
.hc-footer__bottom p { margin: 0; }
.hc-footer__legal { display: flex; flex-wrap: wrap; gap: 16px; }
.hc-footer__bottom .hc-editor { flex: 1 1 calc(100% - 260px); order: 3; }
/* Geliştirici imzası (BTKOD): editör satırının sağında, küçük ve sakin */
.hc-credit { order: 4; display: inline-flex; align-items: center; gap: 8px; margin-left: auto; color: var(--hc-muted); text-decoration: none; }
.hc-credit img { display: block; width: 28px; height: 28px; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.hc-footer .hc-credit:hover, .hc-footer .hc-credit:focus-visible { color: var(--hc-navy); text-decoration: none; }
.hc-credit:hover img, .hc-credit:focus-visible img { filter: none; opacity: 1; }
.hc-footer .hc-editor a { text-decoration: underline; text-underline-offset: 2px; }

/* Yazı sonu iletişim kutusu */
.hc-post-cta {
	margin-top: 48px; padding: 24px 28px;
	background: var(--hc-navy); color: var(--hc-cream-light);
}
.hc-post-cta p { margin: 0 0 16px; }
.hc-post-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 0 !important; }
.hc-post-cta a { color: var(--hc-cream-light); }
.hc-post-cta__btn {
	display: inline-block; padding: 12px 22px; border-radius: var(--hc-radius-pill);
	background: var(--hc-cream-light); color: var(--hc-navy) !important; text-decoration: none !important;
}

@media (min-width: 768px) {
	.hc-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
	.hc-footer__grid { grid-template-columns: 1.5fr 1.1fr .8fr 1.1fr; }
	.hc-footer__bottom { padding-bottom: 24px; }
}

/* WhatsApp floating button */
.hc-fab {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 90;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--hc-navy);
	color: var(--hc-white);
	box-shadow: 0 8px 24px rgba(31, 45, 61, .25);
}
.hc-fab:hover { background: var(--hc-navy-soft); color: var(--hc-white); }

/* Posts */
.hc-post__content a, .hc-author a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.hc-post { padding-block: 56px 80px; }
.hc-post__inner { max-width: 720px; margin-inline: auto; }
.hc-post__meta { color: var(--hc-muted); font-size: 14px; }
.hc-post__content h2 { font-size: 30px; margin-top: 1.8em; }
.hc-post__content h3 { font-size: 24px; margin-top: 1.5em; }
.hc-table { max-width: 100%; overflow-x: auto; margin-block: 1.6em; border: 1px solid var(--hc-line); background: var(--hc-white); }
.hc-table table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.hc-table th, .hc-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hc-line); }
.hc-table thead th { background: var(--hc-cream-light); color: var(--hc-navy); font-weight: 500; }
.hc-table tbody th { font-weight: 500; color: var(--hc-navy); }
.hc-table tbody tr:last-child > * { border-bottom: 0; }
.hc-author {
	margin-top: 56px;
	padding: 24px;
	background: var(--hc-cream-light);
	border-left: 2px solid var(--hc-navy);
}
.hc-author p { margin: 0; }

.hc-posts { display: grid; gap: 32px; padding-block: 48px 80px; }
@media (min-width: 768px) { .hc-posts { grid-template-columns: repeat(3, 1fr); } }
.hc-card { text-decoration: none; color: inherit; display: block; }
.hc-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hc-card h2 { font-size: 24px; margin: 16px 0 6px; }
.hc-card time { font-size: 13px; color: var(--hc-muted); }

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; animation: none !important; }
}

.hc-updated { margin: 0 auto; padding-block: 0 32px; font-size: 13px; color: var(--hc-muted); }
.hc-sec--navy + .hc-updated, .hc-updated { padding-top: 24px; }

/* 404 */
.hc-404 { padding-block: clamp(64px, 10vw, 128px); }
.hc-404 h1 { font-size: clamp(36px, 6vw, 56px); margin: 0 0 16px; }
.hc-404__lead { max-width: 36em; font-size: 18px; }
.hc-404__links { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 4px; max-width: 520px; }
.hc-404__links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--hc-line); text-decoration: none; font-family: var(--hc-serif); font-size: 22px; }
.hc-404__links a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.hc-404__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hc-btn--line { border: 1px solid var(--hc-navy); color: var(--hc-navy); }
.hc-btn--line:hover { background: var(--hc-navy); color: var(--hc-white); }

/* Kısa cevap (yazılar) */
.hc-kisa-cevap { margin: 0 0 32px; padding: 20px 24px; background: var(--hc-cream-light); border-left: 2px solid var(--hc-navy); }
.hc-kisa-cevap p { margin: 0; font-size: 18px; }
.hc-kisa-cevap .hc-kisa-cevap__etiket { margin-bottom: 6px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--hc-muted); }
.hc-kaynaklar { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hc-line); }
.hc-post__content .hc-kaynaklar h2 { margin: 0 0 12px; font-family: var(--hc-sans); font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--hc-muted); }
.hc-kaynaklar ol { margin: 0; padding-left: 1.4em; font-size: 14px; line-height: 1.6; color: var(--hc-muted); }
.hc-kaynaklar li + li { margin-top: 6px; }
.hc-kaynaklar a { overflow-wrap: anywhere; }
/* Metin içi atıf → Kaynaklar maddesi (#kaynak-N): sabit header'ın altında kalmasın, hedef kısa süre vurgulansın */
.hc-post__content .hc-atif { color: inherit; text-decoration: underline dotted; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.hc-post__content .hc-atif:hover { text-decoration-style: solid; }
.hc-kaynaklar li { scroll-margin-top: 110px; border-radius: 4px; transition: background-color .6s; }
.hc-kaynaklar li:target { background: var(--hc-white); color: var(--hc-text); box-shadow: 0 0 0 8px var(--hc-white); }
@media (prefers-reduced-motion: no-preference) { html:has(.hc-kaynaklar) { scroll-behavior: smooth; } }
.hc-menu .menu-item-type-custom.current-menu-item > a,
.hc-menu .menu-item-type-custom.current_page_item > a { text-decoration: none; }

/* Footer sosyal bağlantılar */
.hc-social { display: flex; gap: 14px; margin-top: 18px; }
.hc-social a { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--hc-line); border-radius: 50%; color: var(--hc-navy); }
.hc-social a:hover { border-color: var(--hc-navy); background: var(--hc-navy); color: var(--hc-white); }
.hc-social svg { width: 16px; height: 16px; }

/* Mobil hızlı iletişim çubuğu (Hazal Hanım onayı 2026-10-05). Masaüstünde sağ alttaki WhatsApp butonu kalır. */
.hc-callbar { display: none; }
@media (max-width: 767px) {
	.hc-fab { display: none; }
	.hc-callbar {
		display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
		background: var(--hc-line);
		padding-bottom: env(safe-area-inset-bottom, 0px);
		box-shadow: 0 -6px 20px rgba(31, 45, 61, .08);
	}
	.hc-callbar a {
		display: flex; align-items: center; justify-content: center; min-height: 54px;
		font: 500 16px/1 var(--hc-sans); text-decoration: none;
		background: var(--hc-cream-light); color: var(--hc-navy);
	}
	.hc-callbar a + a { background: var(--hc-navy); color: var(--hc-white); }
	.hc-footer__bottom { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Yazılar sayfalaması ---------- */
.hc-pagination { margin: 8px 0 96px; padding-top: 40px; border-top: 1px solid var(--hc-line); }
.hc-pagination .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hc-pagination .nav-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.hc-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-width: 48px; height: 48px; padding: 0 14px;
	border: 1px solid var(--hc-line); border-radius: var(--hc-radius-pill);
	background: var(--hc-cream-light); color: var(--hc-navy);
	font: 500 16px/1 var(--hc-sans); text-decoration: none;
	transition: background-color .2s, color .2s, border-color .2s;
}
.hc-pagination a.page-numbers:hover { border-color: var(--hc-navy); background: var(--hc-navy); color: var(--hc-white); }
.hc-pagination a.page-numbers:focus-visible { outline: 2px solid var(--hc-navy); outline-offset: 3px; }
.hc-pagination .page-numbers.current { border-color: var(--hc-navy); background: var(--hc-navy); color: var(--hc-white); }
.hc-pagination .page-numbers.dots { border-color: transparent; background: none; min-width: 24px; padding: 0; }
.hc-pagination .prev,
.hc-pagination .next { padding: 0 24px; border-color: var(--hc-navy); background: transparent; letter-spacing: .02em; }
.hc-pagination .next { margin-left: 8px; }
.hc-pagination .prev { margin-right: 8px; }
@media (max-width: 480px) {
	.hc-pagination .prev, .hc-pagination .next { flex-basis: 100%; order: 2; margin: 6px 0 0; }
	.hc-pagination .prev { order: -1; margin: 0 0 6px; }
}
