/*
Theme Name: İdil Özen
Description: Klinik Psikolog İdil Özen web sitesi için Therapy Coach alt teması. Renk paleti ve marka ayarları burada tutulur.
Template: therapy-coach
Version: 1.1.5
Text Domain: idil-ozen
*/

/* Sabit WhatsApp butonu */
.io-whatsapp {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #25d366;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
	transition: transform 0.2s ease;
}
.io-whatsapp:hover { transform: scale(1.06); }
.io-whatsapp svg { width: 30px; height: 30px; fill: #fff; }

/* Mobilde üstteki randevu butonunu gizle; sabit WhatsApp butonu yeterli */
@media (max-width: 781px) {
	.site-header .header-cta { display: none; }
}

/* Sık sorulan sorular (açılır kutular) */
.io-sss {
	background: #fff;
	border-radius: 14px;
	padding: 20px 24px;
	margin-bottom: 12px;
}
.io-sss summary {
	cursor: pointer;
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: var(--wp--preset--font-size--heading-sm);
	color: var(--wp--preset--color--heading-text);
}
.io-sss[open] summary { margin-bottom: 12px; }
.io-sss p { margin: 0; color: var(--wp--preset--color--paragraph-text); }

/* SSS: varsayılan üçgen yerine sağda + / – işareti */
.io-sss summary {
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}
.io-sss summary::-webkit-details-marker { display: none; }
.io-sss summary::after {
	content: "+";
	flex-shrink: 0;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 26px;
	line-height: 1;
	color: var(--wp--preset--color--primary);
}
.io-sss[open] summary::after { content: "–"; }

/* Başlık ile altındaki metin arasında nefes payı */
.wp-block-heading + p,
.wp-block-heading + ul { margin-top: 0.5em; }

/* Sütun içinde buton/paragraf sonrası gelen başlığa üst boşluk */
.wp-block-column > * + .wp-block-heading.has-heading-md-font-size { margin-top: 1.6em; }

/* Eğitimler: iki sütun aynı yükseklikte */
.io-esit > .wp-block-column { display: flex; flex-direction: column; gap: 24px; }
.io-esit > .wp-block-column > .wp-block-group { margin: 0 !important; }
.io-esit > .wp-block-column > .wp-block-group:first-child { flex: 1; }
.io-esit > .wp-block-column:last-child > .wp-block-group { flex: 1; }

/* İletişim: WhatsApp butonu ve yuvarlak ikonlar */
.io-wa-satir { gap: 14px; margin-top: 24px; }
.io-ikonlar { display: flex; gap: 10px; }
.io-ikonlar a {
	display: flex; align-items: center; justify-content: center;
	width: 48px; height: 48px; border-radius: 50%;
	border: 1px solid var(--wp--preset--color--rule);
	background: #fff;
	transition: background 0.2s ease, border-color 0.2s ease;
}
.io-ikonlar a:hover { background: var(--wp--preset--color--primary); border-color: var(--wp--preset--color--primary); }
.io-ikonlar svg { width: 20px; height: 20px; fill: var(--wp--preset--color--primary); transition: fill 0.2s ease; }
.io-ikonlar a:hover svg { fill: #fff; }

/* Ulaşım kartları: eşit yükseklik ve ikon */
.io-esit-kart > .wp-block-column { display: flex; }
.io-esit-kart > .wp-block-column > .wp-block-group { flex: 1; margin: 0 !important; }
.io-rota-ikon {
	display: flex; align-items: center; justify-content: center;
	width: 56px; height: 56px; border-radius: 50%;
	background: var(--wp--preset--color--mist);
	margin-bottom: 18px;
}
.io-rota-ikon svg { width: 28px; height: 28px; fill: var(--wp--preset--color--primary); }

/* İletişim kanalları: ikon + metin satırları */
.io-kanallar { display: flex; flex-direction: column; gap: 12px; margin-top: 0.6em; }
.io-kanal { display: flex; align-items: center; gap: 14px; }
.io-kanal-ikon {
	display: flex; align-items: center; justify-content: center; flex-shrink: 0;
	width: 42px; height: 42px; border-radius: 50%;
	background: #fff; border: 1px solid var(--wp--preset--color--rule);
}
.io-kanal-ikon svg { width: 18px; height: 18px; fill: var(--wp--preset--color--primary); }
.io-kanal a { color: var(--wp--preset--color--paragraph-text); text-decoration: none; }
.io-kanal a:hover { color: var(--wp--preset--color--primary); text-decoration: underline; }

/* Üst menü yazıları bir kademe büyük */
.site-header .wp-block-navigation,
.site-header .wp-block-navigation.has-body-sm-font-size { font-size: 17px !important; }

/* Blog kartları: aralarında boşluk, hepsi aynı yükseklikte */
.wp-block-post-template.is-layout-grid { gap: 32px !important; }
.wp-block-post-template.is-layout-grid > li { display: flex; margin: 0; }
.wp-block-post-template.is-layout-grid > li > .wp-block-group { flex: 1; }
.wp-block-post-template .wp-block-post-featured-image { margin-bottom: 18px; }

/* Blog tarihleri gösterilmiyor (zamandan bağımsız içerik) */
.wp-block-post-date { display: none !important; }

/* Sabit Instagram butonu: sol alt, WhatsApp ile aynı boyut */
.io-instagram {
	position: fixed;
	left: 20px;
	bottom: 20px;
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
	transition: transform 0.2s ease;
}
.io-instagram:hover { transform: scale(1.06); }
.io-instagram svg { width: 28px; height: 28px; fill: #fff; }

/* Instagram bölümü: Reels kapakları ve oynat simgesi */
.io-reel { margin: 0; }
.io-reel a { position: relative; display: block; border-radius: 14px; overflow: hidden; }
.io-reel img { display: block; width: 100%; transition: transform 0.3s ease; }
.io-reel a:hover img { transform: scale(1.04); }
.io-reel a::after {
	content: "";
	position: absolute; top: 12px; right: 12px;
	width: 30px; height: 30px; border-radius: 50%;
	background: rgba(255, 255, 255, 0.9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%237E596A' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 16px no-repeat;
}
@media (max-width: 781px) {
	.io-reels { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Ana sayfa sloganı: iki cümle arasında küçük boşluk */
.io-slogan em { display: block; margin-top: 0.18em; }
