/*
Theme Name: İstanbul Cenaze Hizmetleri (Hello Child)
Theme URI: https://istanbulcenaze.com/
Description: Hello Elementor alt teması. İstanbul Cenaze Hizmetleri için özel stil ve küçük işlevler.
Author: İstanbul Cenaze Hizmetleri
Template: hello-elementor
Version: 1.0.0
Text Domain: ic-child
*/

:root {
	--ic-navy: #1F2F46;
	--ic-green: #3E6B5A;
	--ic-gold: #C9A227;
	--ic-text: #2B2B2B;
	--ic-light: #F5F6F4;
}

body {
	color: var(--ic-text);
	-webkit-font-smoothing: antialiased;
}

a { color: var(--ic-green); }
a:hover, a:focus { color: var(--ic-navy); }

img { height: auto; }

/* Ekran okuyucu ve klavye odak görünürlüğü */
:focus-visible {
	outline: 3px solid var(--ic-gold);
	outline-offset: 2px;
}

/* ---------- Mobil sabit alt bar (Ara + Yol Tarifi) ---------- */
.ic-sticky-cta { display: none; }

@media (max-width: 767px) {
	.ic-sticky-cta {
		display: flex;
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 9999;
		box-shadow: 0 -4px 16px rgba(0,0,0,.12);
	}
	.ic-sticky-cta a {
		flex: 1;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		min-height: 56px;
		font-weight: 700;
		font-size: 16px;
		text-decoration: none;
	}
	.ic-sticky-cta .ic-call { background: var(--ic-gold); color: var(--ic-navy); flex: 1.6; }
	.ic-sticky-cta .ic-map  { background: var(--ic-navy); color: #fff; }
	.ic-sticky-cta svg { width: 20px; height: 20px; fill: currentColor; }
	body { padding-bottom: 56px; }
}

/* ---------- Rank Math breadcrumb ---------- */
.ic-breadcrumb {
	font-size: 14px;
	color: #6b7280;
	max-width: 1200px;
	margin: 0 auto;
	padding: 12px 20px;
}
.ic-breadcrumb a { color: var(--ic-green); text-decoration: none; }

/* ---------- Blog / tekil yazı (Pro olmadan Hello şablonu) ---------- */
.single-post .site-main,
.blog .site-main,
.archive .site-main {
	max-width: 820px;
	margin: 0 auto;
	padding: 40px 20px 80px;
}
.single-post .entry-title,
.blog .page-header h1,
.archive .page-header h1 {
	color: var(--ic-navy);
	line-height: 1.25;
}
.single-post .page-content { font-size: 18px; line-height: 1.75; }
.single-post .page-content h2 { color: var(--ic-navy); margin-top: 2em; }
.single-post .page-content h3 { color: var(--ic-green); margin-top: 1.6em; }

/* ---------- 404 ---------- */
.error404 .site-main {
	max-width: 720px;
	margin: 0 auto;
	padding: 80px 20px;
	text-align: center;
}
.ic-404-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
.ic-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 52px; padding: 0 28px; border-radius: 8px;
	font-weight: 700; text-decoration: none;
}
.ic-btn--gold { background: var(--ic-gold); color: var(--ic-navy); }
.ic-btn--navy { background: var(--ic-navy); color: #fff; }
.ic-btn--gold:hover { color: var(--ic-navy); filter: brightness(1.05); }
.ic-btn--navy:hover { color: #fff; filter: brightness(1.2); }

/* ---------- Elementor bağlantı düzeltmeleri ---------- */
.elementor a,
.elementor-button,
.elementor-icon-box-title a,
.elementor-icon-list-item a,
.elementor-tab-title a,
.elementor-accordion .elementor-tab-title a,
.hfe-nav-menu a { text-decoration: none !important; }
.elementor-widget-text-editor a { text-decoration: underline; text-underline-offset: 3px; }
.elementor-icon-box-title a:hover { color: var(--ic-green); }
.elementor-accordion .elementor-tab-title { padding: 18px 20px; }
.elementor-accordion .elementor-tab-content { padding: 4px 20px 20px; }

/* Hero içindeki breadcrumb (koyu zemin) */
.ic-bc-light .rank-math-breadcrumb,
.ic-bc-light .rank-math-breadcrumb p { color: #E8EDE9; font-size: 14px; margin: 0; }
.ic-bc-light .rank-math-breadcrumb a { color: #fff; text-decoration: none; }
.ic-bc-light .rank-math-breadcrumb a:hover { color: var(--ic-gold); }
.ic-bc-light .separator { opacity: .6; padding: 0 4px; }

/* Form */
.fluentform .ff-btn-submit {
	background: var(--ic-gold) !important; color: var(--ic-navy) !important;
	font-weight: 700; border-radius: 8px; padding: 14px 32px; border: 0;
}
.fluentform .ff-btn-submit:hover { background: var(--ic-navy) !important; color: #fff !important; }
.fluentform .ff-el-form-control { border-radius: 8px; min-height: 48px; }
.fluentform .ff-el-input--label label { font-weight: 600; color: var(--ic-navy); }

/* Mobil: header logo ve hamburger hizası */
@media (max-width: 1024px) {
	.hfe-nav-menu__toggle { margin-left: auto; }
}

/* Elementor olmayan sayfa/yazılarda başlığı her zaman göster */
.single-post .page-header .entry-title,
.page:not(.elementor-page) .page-header .entry-title,
.blog .page-header .entry-title,
.archive .page-header .entry-title { display: block !important; }
.page:not(.elementor-page) .site-main { max-width: 820px; margin: 0 auto; padding: 40px 20px 80px; }
.page:not(.elementor-page) .entry-title { color: var(--ic-navy); }
.ic-post-figure { margin: 0 0 28px; }
.ic-post-figure img { width: 100%; border-radius: 12px; }
.ic-post-cta { background: var(--ic-light); border-left: 4px solid var(--ic-gold); padding: 18px 22px; border-radius: 8px; margin-top: 32px; }
.blog article.post, .archive article.post { margin-bottom: 48px; }
.blog article.post img, .archive article.post img { border-radius: 12px; }
.blog .entry-title a, .archive .entry-title a { color: var(--ic-navy); text-decoration: none; }

/* Erişilebilirlik: metin içi bağlantılar altı çizili, footer telif kontrastı */
.elementor .elementor-widget-text-editor a { text-decoration: underline !important; text-underline-offset: 3px; }
.hfe-copyright-wrapper, .hfe-copyright-wrapper a, .hfe-copyright-wrapper span { color: #C9CED6 !important; }
