/* =========================================================
   ANKARA PİYANO DERSİ TEMASI - ANA STİL DOSYASI
   ========================================================= */

:root {
	/* Lila & Limon - eğlenceli, göz yormayan piyano teması paleti */
	--color-primary: #B185DB;      /* Orkide moru */
	--color-primary-dark: #9660C4;
	--color-secondary: #FFE066;    /* Limon sarısı */
	--color-accent: #4ECDC4;       /* Turkuaz (nota/başarı vurgusu) */
	--color-dark: #3C2A4D;         /* Koyu erguvan (başlık/metin) */
	--color-text: #4E3D5E;
	--color-cream: #F8F6FC;        /* Açık lila arka plan */
	--color-cream-alt: #EFE7FA;
	--color-white: #FFFFFF;
	--color-whatsapp: #25D366;
	--color-whatsapp-dark: #1EBE57;

	--font-heading: 'Quicksand', system-ui, sans-serif;
	--font-body: 'Quicksand', system-ui, sans-serif;

	--radius-sm: 10px;
	--radius-md: 18px;
	--radius-lg: 28px;
	--radius-pill: 999px;

	--shadow-soft: 0 10px 30px rgba(61, 64, 91, 0.08);
	--shadow-medium: 0 15px 40px rgba(61, 64, 91, 0.14);

	--container-width: 1180px;
}

/* ---------------------------------------------------------
   TEMEL
   --------------------------------------------------------- */
body {
	font-family: var(--font-body);
	color: var(--color-text);
	background-color: var(--color-cream);
	line-height: 1.65;
	font-size: 17px;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
	font-family: var(--font-heading);
	color: var(--color-dark);
	line-height: 1.25;
	margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

.container {
	width: 100%;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 24px;
}

.section { padding: 90px 0; }

/* Sticky header'ın menü/hash bağlantılarıyla (ör. #anasayfa) veya
   tarayıcının kendi "sayfayı hash'e kaydır" davranışıyla bölüm
   başlıklarının üstüne binmesini engeller. Değer, header'ın gerçek
   yüksekliğine göre biraz payla ayarlanmıştır (main.js'teki varsayılan
   headerOffset değeriyle uyumludur). */
#anasayfa,
#hakkimda,
#derslerim,
#sss,
#iletisim {
	scroll-margin-top: 100px;
}

.section-title {
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	margin-bottom: 0.6em;
}

.eyebrow {
	display: inline-block;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 0.85rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-primary-dark);
	background: var(--color-cream-alt);
	padding: 6px 16px;
	border-radius: var(--radius-pill);
	margin-bottom: 18px;
}

.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	overflow: hidden;
	height: 1px; width: 1px;
}

.skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	background: var(--color-dark);
	color: #fff;
	padding: 10px 18px;
	z-index: 9999;
	border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------
   BUTONLAR
   --------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 1rem;
	padding: 14px 28px;
	border-radius: var(--radius-pill);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	border: 2px solid transparent;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
	background: var(--color-primary);
	color: #fff;
	box-shadow: var(--shadow-soft);
}
.btn--primary:hover { background: var(--color-primary-dark); }

.btn--ghost {
	background: transparent;
	color: var(--color-dark);
	border-color: var(--color-dark);
}
.btn--ghost:hover { background: var(--color-dark); color: #fff; }

.btn--whatsapp {
	background: var(--color-whatsapp);
	color: #fff;
}
.btn--whatsapp:hover { background: var(--color-whatsapp-dark); }

.btn--lg { padding: 17px 34px; font-size: 1.05rem; }

/* WhatsApp ikonu (basit CSS/SVG mask ile, ekstra görsel dosyası gerekmez) */
.icon-whatsapp {
	display: inline-block;
	width: 20px;
	height: 20px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.71.306 1.263.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.288.173-1.413-.074-.124-.272-.198-.57-.347z'/><path d='M12.004 2c-5.523 0-10 4.477-10 10 0 1.767.462 3.482 1.34 4.995L2 22l5.146-1.35A9.96 9.96 0 0 0 12.004 22c5.523 0 10-4.477 10-10s-4.477-10-10-10zm0 18.15a8.14 8.14 0 0 1-4.146-1.14l-.297-.176-3.055.801.816-2.978-.194-.306a8.15 8.15 0 1 1 6.876 3.8z'/></svg>") no-repeat center / contain;
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.71.306 1.263.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.288.173-1.413-.074-.124-.272-.198-.57-.347z'/><path d='M12.004 2c-5.523 0-10 4.477-10 10 0 1.767.462 3.482 1.34 4.995L2 22l5.146-1.35A9.96 9.96 0 0 0 12.004 22c5.523 0 10-4.477 10-10s-4.477-10-10-10zm0 18.15a8.14 8.14 0 0 1-4.146-1.14l-.297-.176-3.055.801.816-2.978-.194-.306a8.15 8.15 0 1 1 6.876 3.8z'/></svg>") no-repeat center / contain;
}
.icon-whatsapp--lg { width: 30px; height: 30px; }

/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(248, 246, 252, 0.9);
	backdrop-filter: blur(10px);
	transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-soft); }

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 24px;
	gap: 24px;
}

.site-branding { display: flex; align-items: center; }
.site-title-link { display: flex; flex-direction: column; color: var(--color-dark); }
.site-title {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.4rem;
	color: var(--color-dark);
}
.site-tagline { font-size: 0.8rem; color: var(--color-primary-dark); }

/* Masaüstünde logo daha büyük görünsün diye yükseklik artırıldı (60px -> 88px). */
.site-logo img { max-height: 88px; width: auto; border-radius: var(--radius-sm); }

/* Mobil menü panelinin üst satırı: logo ve kapatma (×) butonu aynı
   hizada, yan yana durur (bkz. header.php + Özelleştir ayarı). */
.mobile-menu-topbar { display: none; }
.mobile-menu-logo {
	display: none;
	line-height: 0;
}
.mobile-menu-logo img {
	max-height: 36px;
	width: auto;
	border-radius: var(--radius-sm);
}
.mobile-menu-logo a { display: inline-block; }

.main-navigation {
	display: flex;
	align-items: center;
	gap: 28px;
}
.primary-menu {
	display: flex;
	gap: 26px;
	align-items: center;
}
.primary-menu a {
	font-family: var(--font-heading);
	font-weight: 500;
	color: var(--color-dark);
	font-size: 0.98rem;
	position: relative;
	padding: 6px 0;
}
.primary-menu a::after {
	content: "";
	position: absolute;
	left: 0; bottom: 0;
	height: 2px; width: 0;
	background: var(--color-primary);
	transition: width 0.25s ease;
}
.primary-menu a:hover::after { width: 100%; }

.header-whatsapp-btn { padding: 10px 20px; font-size: 0.92rem; }

.menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 42px;
	height: 42px;
	background: transparent;
	border: none;
	border-radius: var(--radius-sm);
}
.menu-toggle__bar {
	display: block;
	width: 24px;
	height: 3px;
	background: var(--color-dark);
	border-radius: 2px;
	margin: 0 auto;
	transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle.is-active .menu-toggle__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-active .menu-toggle__bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .menu-toggle__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobil menü içi kapatma (×) butonu */
.menu-close {
	display: none;
	position: absolute;
	top: 18px;
	right: 18px;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: none;
	line-height: 1;
	font-size: 2rem;
	color: var(--color-dark);
	cursor: pointer;
	border-radius: 50%;
	transition: background 0.2s ease;
}
.menu-close:hover,
.menu-close:focus-visible { background: rgba(0,0,0,0.06); }

/* Mobil menü açıkken arka plan kaymasını engelle */
body.menu-is-open { overflow: hidden; }

/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */
.hero-section {
	padding: 70px 0 100px;
	background: radial-gradient(circle at 85% 15%, var(--color-cream-alt) 0%, var(--color-cream) 55%);
	position: relative;
	overflow: hidden;
}
.hero-section__inner {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 50px;
	align-items: center;
}
.hero-section__title {
	font-size: clamp(2.1rem, 4vw, 3.2rem);
}
.hero-section__subtitle {
	font-size: 1.15rem;
	max-width: 520px;
	color: var(--color-text);
}
.hero-section__actions {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	margin: 28px 0;
}
.hero-section__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 20px;
}
.hero-section__badges li {
	background: var(--color-white);
	padding: 8px 16px;
	border-radius: var(--radius-pill);
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--color-dark);
	box-shadow: var(--shadow-soft);
}

.hero-section__media { position: relative; }
.hero-media-frame {
	background: var(--color-white);
	border-radius: var(--radius-lg);
	aspect-ratio: 4 / 5;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--shadow-medium);
	position: relative;
	z-index: 2;
	border: 3px solid var(--color-white);
}
.hero-media-placeholder {
	color: #B3A6C4;
	font-family: var(--font-heading);
	font-size: 0.95rem;
	text-align: center;
	padding: 20px;
}
.hero-media-frame__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: calc(var(--radius-lg) - 3px);
}
.hero-shape {
	position: absolute;
	border-radius: 50%;
	z-index: 1;
}
.hero-shape--1 {
	width: 220px; height: 220px;
	background: var(--color-secondary);
	opacity: 0.5;
	top: -30px; right: -40px;
}
.hero-shape--2 {
	width: 160px; height: 160px;
	background: var(--color-accent);
	opacity: 0.4;
	bottom: -30px; left: -30px;
}

/* ---------------------------------------------------------
   BEN KİMİM / ABOUT
   --------------------------------------------------------- */
.about-section { background: var(--color-white); }
.about-section__inner {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 60px;
	align-items: center;
}
.about-media-frame {
	background: var(--color-cream);
	border-radius: var(--radius-lg);
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--shadow-soft);
	overflow: hidden;
}
.about-media-frame__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.about-section__text { font-size: 1.05rem; color: var(--color-text); }

/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */
.site-footer { background: var(--color-dark); color: #E7E4F0; }

.footer-seo-block {
	background: #4B3560;
	padding: 50px 0;
	border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-seo-block__title {
	color: #fff;
	font-size: 1.3rem;
	margin-bottom: 14px;
}
.footer-seo-block__intro {
	color: #C9C6D6;
	max-width: 720px;
	margin-bottom: 20px;
}
.footer-seo-block__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	margin-bottom: 16px;
}
.footer-seo-block__list a {
	display: inline-block;
	background: rgba(255,255,255,0.06);
	color: #F2E9DD;
	padding: 8px 16px;
	border-radius: var(--radius-pill);
	font-size: 0.9rem;
	transition: background 0.2s ease;
}
.footer-seo-block__list a:hover { background: var(--color-primary); color: #fff; }
.footer-seo-block__note { font-size: 0.85rem; color: #A6A2B8; margin: 0; }

.footer-main { padding: 60px 0 30px; }
.footer-main__grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1.2fr;
	gap: 40px;
}
.footer-col h4 {
	color: #fff;
	font-size: 1.05rem;
	margin-bottom: 16px;
}
.footer-logo-text { color: #fff; font-size: 1.4rem; }

/* Footer logosu: "same" modda WordPress'in bastığı .custom-logo,
   "custom" modda ise .footer-logo-custom img. İkisi de aynı, göze
   çarpan büyüklükte gösterilsin diye burada boyutlandırıyoruz. */
.footer-logo-same,
.footer-col--about { margin-bottom: 4px; }
.footer-logo-same img,
.footer-logo-custom {
	max-height: 130px;
	width: auto;
	border-radius: var(--radius-sm);
}
.footer-col p { color: #C9C6D6; }
.footer-col ul li { margin-bottom: 10px; color: #C9C6D6; font-size: 0.95rem; }
.footer-col ul li a { color: #C9C6D6; }
.footer-col ul li a:hover { color: var(--color-secondary); }
.footer-col--contact .btn { margin-top: 16px; }

.footer-bottom {
	border-top: 1px solid rgba(255,255,255,0.08);
	padding: 20px 0;
}
.footer-bottom p { margin: 0; font-size: 0.85rem; color: #A6A2B8; text-align: center; }

/* ---------------------------------------------------------
   WHATSAPP - FLOATING BUTTON & POPUP
   --------------------------------------------------------- */
.ap-whatsapp-floating {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 1200;
}
.ap-whatsapp-floating__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background: var(--color-whatsapp);
	box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
	color: #fff;
	animation: ap-pulse 2.4s infinite;
}
.ap-whatsapp-floating__btn:hover { background: var(--color-whatsapp-dark); }

@keyframes ap-pulse {
	0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
	70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
	100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.ap-whatsapp-popup {
	position: fixed;
	bottom: 100px;
	right: 24px;
	width: 300px;
	background: #fff;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-medium);
	z-index: 1200;
	overflow: hidden;
	animation: ap-pop-in 0.3s ease;
}
.ap-whatsapp-popup[hidden] { display: none; }
@keyframes ap-pop-in {
	from { opacity: 0; transform: translateY(15px); }
	to { opacity: 1; transform: translateY(0); }
}
.ap-whatsapp-popup__header {
	background: var(--color-whatsapp);
	color: #fff;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 18px;
	font-weight: 700;
	font-family: var(--font-heading);
}
.ap-whatsapp-popup__body { padding: 16px 18px 6px; font-size: 0.92rem; color: var(--color-text); }
.ap-whatsapp-popup__cta { display: flex; justify-content: center; margin: 12px 18px 18px; }
.ap-whatsapp-popup__close {
	position: absolute;
	top: 8px;
	right: 12px;
	background: transparent;
	border: none;
	color: #fff;
	font-size: 1.4rem;
	line-height: 1;
}

/* ---------------------------------------------------------
   ORTAK BÖLÜM BAŞLIĞI
   --------------------------------------------------------- */
.section-heading {
	max-width: 680px;
	margin: 0 0 50px;
}
.section-heading .section-title { margin-bottom: 0.4em; }
.section-intro { color: var(--color-text); font-size: 1.05rem; }

/* ---------------------------------------------------------
   DERSLERİM / HİZMETLERİM
   --------------------------------------------------------- */
.services-section { background: var(--color-cream); }
.services-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 26px;
}
.service-card {
	background: var(--color-white);
	border-radius: var(--radius-md);
	padding: 34px 26px;
	box-shadow: var(--shadow-soft);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	border-top: 4px solid var(--color-primary);
}
.service-card:nth-child(2) { border-top-color: var(--color-secondary); }
.service-card:nth-child(3) { border-top-color: var(--color-accent); }
.service-card:nth-child(4) { border-top-color: var(--color-primary-dark); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-medium); }
.service-card__icon {
	font-size: 2.2rem;
	margin-bottom: 14px;
	width: 60px; height: 60px;
	display: flex; align-items: center; justify-content: center;
	background: var(--color-cream-alt);
	border-radius: 50%;
}
.service-card__title { font-size: 1.15rem; margin-bottom: 10px; }
.service-card__text { font-size: 0.95rem; color: var(--color-text); margin: 0; }

/* ---------------------------------------------------------
   SIKÇA SORULAN SORULAR (FAQ)
   --------------------------------------------------------- */
.faq-section { background: var(--color-cream); }
.faq-list { max-width: 800px; }
.faq-item {
	background: var(--color-white);
	border-radius: var(--radius-md);
	padding: 4px 24px;
	margin-bottom: 14px;
	box-shadow: var(--shadow-soft);
}
.faq-item__question {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 1.05rem;
	color: var(--color-dark);
	padding: 18px 30px 18px 0;
	cursor: pointer;
	position: relative;
	list-style: none;
}
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__question::after {
	content: "+";
	position: absolute;
	right: 0; top: 50%;
	transform: translateY(-50%);
	font-size: 1.6rem;
	color: var(--color-primary);
	transition: transform 0.25s ease;
}
.faq-item[open] .faq-item__question::after { content: "−"; }
.faq-item__answer { padding: 0 0 20px; color: var(--color-text); }
.faq-item__answer p { margin: 0; }

/* ---------------------------------------------------------
   İLETİŞİM
   --------------------------------------------------------- */
.contact-section { background: var(--color-white); }
.contact-section__inner {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 60px;
}
.contact-section__inner--no-form {
	grid-template-columns: 1fr;
	justify-items: center;
}
.contact-info--centered {
	max-width: 620px;
	text-align: center;
}
.contact-info--centered .contact-info__list {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	text-align: left;
}
.contact-info__list { margin: 24px 0 30px; }
.contact-info__list li {
	margin-bottom: 12px;
	font-size: 1rem;
}
.contact-info__list li a { color: var(--color-dark); }
.contact-info__list li a:hover { color: var(--color-primary); }

/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */
/* ---------------------------------------------------------
   EKMEK KIRINTISI (BREADCRUMBS) - blog sayfalarında
   --------------------------------------------------------- */
.breadcrumbs {
	font-size: 0.85rem;
	color: var(--color-text);
	margin-bottom: 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}
.breadcrumbs a { color: var(--color-primary-dark); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span[aria-hidden] { opacity: 0.5; }

/* ---------------------------------------------------------
   BLOG (ANA SAYFA ÖZETİ + ARŞİV LİSTESİ) - ortak kart görünümü
   --------------------------------------------------------- */
.blog-section { background: var(--color-white); }
.blog-archive-section { padding-top: 60px; }
.blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}
.blog-card {
	background: var(--color-cream);
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-soft);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	display: flex;
	flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-medium); }
.blog-card__thumb {
	display: block;
	aspect-ratio: 3 / 2;
	background: var(--color-cream-alt);
	overflow: hidden;
}
.blog-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card__thumb-placeholder {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	font-size: 2.5rem;
}
.blog-card__body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.blog-card__date { font-size: 0.8rem; color: var(--color-primary-dark); font-weight: 600; margin-bottom: 8px; }
.blog-card__title { font-size: 1.1rem; margin: 0 0 10px; line-height: 1.3; }
.blog-card__title a { color: var(--color-dark); }
.blog-card__title a:hover { color: var(--color-primary-dark); }
.blog-card__excerpt { font-size: 0.92rem; color: var(--color-text); margin: 0 0 14px; flex: 1; }
.blog-card__more { font-weight: 700; color: var(--color-primary-dark); font-size: 0.9rem; align-self: flex-start; }
.blog-card__more:hover { text-decoration: underline; }
.blog-section__more { text-align: center; margin-top: 40px; }

/* Blog listesi sayfalama */
.blog-pagination { margin-top: 50px; display: flex; justify-content: center; gap: 12px; }
.blog-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 42px; height: 42px; padding: 0 14px;
	border-radius: var(--radius-pill);
	background: var(--color-white);
	color: var(--color-dark);
	font-weight: 600;
	box-shadow: var(--shadow-soft);
}
.blog-pagination .page-numbers.current { background: var(--color-primary); color: var(--color-white); }
.blog-pagination .page-numbers:hover:not(.current) { background: var(--color-cream-alt); }

/* ---------------------------------------------------------
   TEKİL BLOG YAZISI
   --------------------------------------------------------- */
.single-post__container { max-width: 760px; }
.single-post__header { margin-bottom: 26px; }
.single-post__title { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 6px 0 12px; }
.single-post__meta { color: var(--color-text); font-size: 0.9rem; }
.single-post__thumb {
	width: 100%; height: auto;
	border-radius: var(--radius-lg);
	margin-bottom: 32px;
	box-shadow: var(--shadow-soft);
}
.single-post__content { font-size: 1.05rem; line-height: 1.8; color: var(--color-text); }
.single-post__content h2 { margin-top: 1.6em; }
.single-post__content h3 { margin-top: 1.4em; }
.single-post__content p { margin: 0 0 1.2em; }
.single-post__content ul,
.single-post__content ol { margin: 0 0 1.2em 1.4em; padding: 0; }
.single-post__content img { border-radius: var(--radius-md); }
.single-post__cta {
	margin-top: 48px;
	padding: 30px;
	background: var(--color-cream);
	border-radius: var(--radius-lg);
	text-align: center;
}
.single-post__cta p { margin: 0 0 16px; font-weight: 600; color: var(--color-dark); }
.single-post__back { margin-top: 30px; }
.single-post__back a { font-weight: 700; color: var(--color-primary-dark); }
.single-post__back a:hover { text-decoration: underline; }

@media (max-width: 1024px) {
	.services-grid { grid-template-columns: repeat(2, 1fr); }
	.blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
	.blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
	.hero-section__inner,
	.about-section__inner,
	.contact-section__inner {
		grid-template-columns: 1fr;
	}
	.about-section__media { order: -1; max-width: 320px; margin: 0 auto; }
	.footer-main__grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 560px) {
	.services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 782px) {
	.menu-toggle { display: flex; }
	.menu-close { display: flex; }

	/* Logo mobilde ortalanır: branding'i mutlak konumla header'ın ortasına alıyoruz,
	   menü butonu ise sağda normal akışta kalmaya devam ediyor. */
	.site-header__inner {
		position: relative;
		justify-content: flex-end;
	}
	.site-branding {
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
	}
	.site-logo img { max-height: 56px; }

	/* "Mobilde menü ızgarasına logo koy" ayarı açıksa, açılır menü panelinin
	   üst satırında logo ile × butonu yan yana, aynı hizada gösterilir
	   (bkz. header.php). Ayar kapalıysa topbar'da tek başına × kalır ve
	   margin-left:auto ile yine sağa yaslanır. */
	.mobile-menu-topbar {
		display: flex;
		align-items: center;
		width: 100%;
	}
	.mobile-menu-logo { display: block; }
	.menu-close { position: static; margin-left: auto; }

	/* Footer: logo mobilde tek sütuna düştüğünde sola yaslı durmasın diye
	   ortalanıyor; hem "çok küçük" hem "çok büyük" geri bildirimlerinden
	   sonra orta bir boyutta sabitlendi. WhatsApp butonu da mobilde daha
	   küçük ve daha az baskın görünsün diye küçültülüyor. */
	.footer-main { padding: 40px 0 24px; }
	.footer-col--about { text-align: center; margin-bottom: 0; }
	.footer-logo-same { text-align: center; margin-bottom: 8px; }
	.footer-logo-same img,
	.footer-logo-custom {
		max-height: 88px;
		margin: 0 auto;
	}
	.footer-col--about p { margin-top: 0; }
	.footer-col--about p:empty { display: none; }

	.footer-col--contact .btn {
		padding: 10px 20px;
		font-size: 0.9rem;
	}
	.icon-whatsapp { width: 16px; height: 16px; }

	.main-navigation {
		position: fixed;
		top: 0; right: -100%;
		width: min(320px, 85vw);
		height: 100vh;
		background: var(--color-white);
		flex-direction: column;
		align-items: flex-start;
		padding: 24px 30px 30px;
		overflow-y: auto;
		box-shadow: -10px 0 30px rgba(0,0,0,0.1);
		transition: right 0.3s ease;
		z-index: 1100;
	}
	.main-navigation.is-open { right: 0; }
	.primary-menu { flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 24px; }
	.header-whatsapp-btn { margin-top: 20px; }

	.section { padding: 60px 0; }

	/* .hero-section, .section ile aynı özgüllükte olduğu için üstteki
	   genel kural onu ezip üst boşluğunu daraltıyordu; mobilde
	   header'a çok yakın başlamasını önlemek için burada yeniden
	   tanımlıyoruz. */
	.hero-section { padding: 60px 0; }

	.ap-whatsapp-floating { bottom: 16px; right: 16px; }
	.ap-whatsapp-floating__btn { width: 54px; height: 54px; }
	.ap-whatsapp-popup {
		width: min(280px, calc(100vw - 24px));
		right: 12px;
		bottom: 80px;
	}
	.ap-whatsapp-popup__header { padding: 12px 14px; font-size: 0.9rem; }
	.ap-whatsapp-popup__body { padding: 12px 14px 4px; font-size: 0.85rem; }
	.ap-whatsapp-popup__cta { margin: 10px 14px 14px; padding: 10px 16px; font-size: 0.88rem; }
}
