/* =================================================================
   Conceptly – Modern Footer (.mfooter)
   Koyu zemin (#0e1014) + turuncu (#ff5d00) accent + grid layout.
   Render: inc/conceptly-modern-footer.php
   Eşleşen footer.php: azwa/footer.php
   ================================================================= */

:root {
	--mf-bg: #0e1014;
	--mf-bg-2: #15171c;
	--mf-line: rgba(255, 255, 255, 0.08);
	--mf-line-strong: rgba(255, 255, 255, 0.14);
	--mf-text: #e6e8ee;
	--mf-muted: #9aa0ad;
	--mf-heading: #ffffff;
	--mf-primary: #ff5d00;
	--mf-primary-soft: rgba(255, 93, 0, 0.14);
	--mf-primary-ring: rgba(255, 93, 0, 0.32);
	--mf-radius: 14px;
}

/* ----------------------------------------------------------------
   Parent footer override – eski background-image / inline style
   ile tek widget'lı footer'ı görsel olarak nötrle.
   Parent tema (widget.css) #footer-widgets üzerinde
   p { color: #111 } gibi agresif kurallar tanımladığından
   selector'ları body footer#footer-widgets.mfooter ile yüksek
   specificity'de yazıyoruz.
   ---------------------------------------------------------------- */
body footer#footer-widgets.mfooter {
	background: var(--mf-bg) !important;
	background-image: none !important;
	color: var(--mf-text) !important;
	font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	position: relative;
	overflow: hidden;
	padding: 88px 0 56px;
	margin-top: 0;
	isolation: isolate;
}

body footer#footer-widgets.mfooter * {
	box-sizing: border-box;
}

/* Parent widget.css içindeki #footer-widgets p { color: #111 } ve
   benzeri kuralları nötrle: footer içinde varsayılan renk açık. */
body footer#footer-widgets.mfooter p,
body footer#footer-widgets.mfooter li,
body footer#footer-widgets.mfooter span,
body footer#footer-widgets.mfooter h1,
body footer#footer-widgets.mfooter h2,
body footer#footer-widgets.mfooter h3,
body footer#footer-widgets.mfooter h4,
body footer#footer-widgets.mfooter h5,
body footer#footer-widgets.mfooter h6 {
	color: var(--mf-text);
}

/* ----------------------------------------------------------------
   Üst accent çizgisi + arka plan dekoratif öğeler
   ---------------------------------------------------------------- */
.mfooter__accent {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(
		90deg,
		var(--mf-primary) 0%,
		#ff7a2a 35%,
		var(--mf-primary) 65%,
		#ff7a2a 100%
	);
	background-size: 200% 100%;
	animation: mfooterAccentShift 8s linear infinite;
	z-index: 3;
}

@keyframes mfooterAccentShift {
	0%   { background-position: 0% 0%; }
	100% { background-position: 200% 0%; }
}

.mfooter__bg-decor {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
}

.mfooter__decor {
	position: absolute;
	display: block;
}

.mfooter__decor--dots {
	top: 60px;
	right: 6%;
	width: 220px;
	height: 100px;
	background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1.4px, transparent 2px);
	background-size: 18px 18px;
	opacity: 0.7;
}

.mfooter__decor--glow {
	bottom: -120px;
	left: -120px;
	width: 360px;
	height: 360px;
	border-radius: 50%;
	background: radial-gradient(circle, var(--mf-primary-soft) 0%, transparent 70%);
	filter: blur(8px);
}

/* ----------------------------------------------------------------
   Grid – 4 kolon (1.4fr | 1fr | 1.2fr | 1.4fr)
   ---------------------------------------------------------------- */
.mfooter > .container {
	position: relative;
	z-index: 1;
}

.mfooter__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr;
	gap: 48px 36px;
	align-items: start;
}

.mfooter__col {
	min-width: 0;
}

/* ----------------------------------------------------------------
   Genel başlık
   ---------------------------------------------------------------- */
.mfooter__heading {
	margin: 0 0 22px;
	padding: 0 0 14px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.2px;
	color: var(--mf-heading) !important;
	position: relative;
	text-transform: none;
	display: block;
}

.mfooter__heading::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 32px;
	height: 2px;
	background: var(--mf-primary);
	border-radius: 2px;
}

.mfooter__heading--secondary {
	margin-top: 28px;
}

/* ----------------------------------------------------------------
   COL 1 – Brand
   ---------------------------------------------------------------- */
.mfooter__col--brand .mfooter__logo-link {
	display: inline-block;
	margin-bottom: 22px;
	line-height: 0;
}

.mfooter__logo {
	max-height: 60px;
	width: auto;
	height: auto;
	display: block;
	filter: brightness(1) drop-shadow(0 6px 24px rgba(0, 0, 0, 0.45));
}

.mfooter__brand-title {
	display: inline-block;
	margin: 0 0 22px;
	font-size: 22px;
	font-weight: 800;
	color: var(--mf-heading) !important;
	text-decoration: none !important;
	letter-spacing: -0.3px;
}

.mfooter__about {
	margin: 0 0 24px;
	font-size: 14.5px;
	line-height: 1.7;
	color: var(--mf-muted) !important;
	max-width: 340px;
}

/* Sosyal medya */
.mfooter__social {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.mfooter__social li {
	margin: 0;
	padding: 0;
	line-height: 0;
}

.mfooter__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--mf-line);
	color: var(--mf-text) !important;
	text-decoration: none !important;
	transition: all 0.25s ease;
	font-size: 14px;
}

.mfooter__social-link:hover,
.mfooter__social-link:focus-visible {
	background: var(--mf-primary);
	border-color: var(--mf-primary);
	color: #fff !important;
	transform: translateY(-3px);
	box-shadow: 0 10px 22px -8px var(--mf-primary-ring);
	outline: none;
}

.mfooter__social-link i {
	line-height: 1;
}

/* ----------------------------------------------------------------
   COL 2 – Quick Links
   ---------------------------------------------------------------- */
.mfooter__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mfooter__links li {
	margin: 0 0 10px;
	padding: 0;
}

.mfooter__links li:last-child {
	margin-bottom: 0;
}

.mfooter__links a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--mf-muted) !important;
	text-decoration: none !important;
	font-size: 14.5px;
	font-weight: 500;
	line-height: 1.5;
	transition: all 0.2s ease;
	padding: 2px 0;
}

.mfooter__links a::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--mf-primary);
	opacity: 0.55;
	flex: 0 0 auto;
	transition: all 0.2s ease;
}

.mfooter__links a:hover,
.mfooter__links a:focus-visible {
	color: #fff !important;
	transform: translateX(3px);
	outline: none;
}

.mfooter__links a:hover::before,
.mfooter__links a:focus-visible::before {
	background: var(--mf-primary);
	opacity: 1;
	box-shadow: 0 0 0 3px var(--mf-primary-soft);
}

.mfooter__link-arrow {
	display: none; /* render fallback'te span var ama görsel olarak nokta yeterli */
}

/* WP menu fallback – ul/li nesting'i sıfırla */
.mfooter__links.menu,
.mfooter__links .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mfooter__links .sub-menu {
	margin-top: 8px;
	padding-left: 16px;
}

/* ----------------------------------------------------------------
   COL 3 – Contact
   ---------------------------------------------------------------- */
.mfooter__contact {
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.mfooter__contact-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 0;
}

.mfooter__contact-icon {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: var(--mf-primary-soft);
	color: var(--mf-primary) !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	transition: all 0.25s ease;
}

.mfooter__contact-icon--wa {
	background: rgba(37, 211, 102, 0.16);
	color: #25d366 !important;
}

.mfooter__contact-item:hover .mfooter__contact-icon {
	transform: translateY(-2px);
	background: var(--mf-primary);
	color: #fff;
}

.mfooter__contact-item:hover .mfooter__contact-icon--wa {
	background: #25d366;
	color: #fff;
}

.mfooter__contact-text {
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--mf-text) !important;
	text-decoration: none !important;
	padding-top: 6px;
	transition: color 0.2s ease;
	min-width: 0;
	overflow-wrap: anywhere;
	word-break: break-word;
}

a.mfooter__contact-text:hover,
a.mfooter__contact-text:focus-visible {
	color: var(--mf-primary) !important;
	outline: none;
}

/* CTA buton (iletişim sütununun altında) */
.mfooter__cta {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 13px 22px;
	background: var(--mf-primary);
	color: #fff !important;
	font-size: 14.5px;
	font-weight: 700;
	letter-spacing: 0.2px;
	border-radius: 12px;
	text-decoration: none !important;
	transition: all 0.25s ease;
	box-shadow: 0 14px 26px -14px var(--mf-primary-ring);
	border: 1px solid var(--mf-primary);
}

.mfooter__cta::before,
.mfooter__cta::after {
	display: none !important;
	content: none !important;
}

.mfooter__cta i {
	font-size: 11px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.25s ease;
}

.mfooter__cta:hover,
.mfooter__cta:focus-visible {
	background: #ff7a2a;
	border-color: #ff7a2a;
	transform: translateY(-2px);
	box-shadow: 0 18px 30px -12px var(--mf-primary-ring);
	outline: none;
	color: #fff !important;
}

.mfooter__cta:hover i {
	transform: translateX(3px);
}

/* ----------------------------------------------------------------
   COL 4 – Map + Hours
   ---------------------------------------------------------------- */
.mfooter__hours {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.mfooter__hours li {
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	line-height: 1.45;
	color: var(--mf-text) !important;
}

.mfooter__hours i {
	width: 20px;
	height: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--mf-primary) !important;
	font-size: 14px;
	flex: 0 0 auto;
}

.mfooter__hours span {
	color: var(--mf-muted) !important;
}

.mfooter__map {
	position: relative;
	border-radius: var(--mf-radius);
	overflow: hidden;
	background: var(--mf-bg-2);
	border: 1px solid var(--mf-line);
	aspect-ratio: 4 / 3;
	box-shadow: 0 22px 44px -28px rgba(0, 0, 0, 0.6);
}

.mfooter__map::after {
	/* Hafif iç gölge / kenar parlatma */
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	border-radius: inherit;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.mfooter__map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
	filter: saturate(0.9) brightness(0.95);
}

/* ----------------------------------------------------------------
   Copyright bar (#footer-copyright)
   ---------------------------------------------------------------- */
body section#footer-copyright.mfooter-copyright {
	background: #0a0c10 !important;
	color: var(--mf-muted) !important;
	font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	border-top: 1px solid var(--mf-line);
	padding: 22px 0;
}

body section#footer-copyright.mfooter-copyright .copyright-text p {
	margin: 0;
	font-size: 13.5px;
	color: var(--mf-muted);
	line-height: 1.55;
	word-break: normal;
	overflow-wrap: break-word;
}

body section#footer-copyright.mfooter-copyright .copyright-text a {
	color: var(--mf-text);
	text-decoration: none;
	border-bottom: 1px dashed var(--mf-line-strong);
	transition: color 0.2s ease, border-color 0.2s ease;
	white-space: nowrap;
}

body section#footer-copyright.mfooter-copyright .copyright-text a:hover {
	color: var(--mf-primary);
	border-bottom-color: var(--mf-primary);
}

body section#footer-copyright.mfooter-copyright ul.payment-method {
	list-style: none;
	margin: 0;
	padding: 0;
	display: inline-flex;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

body section#footer-copyright.mfooter-copyright ul.payment-method li {
	margin: 0;
	padding: 0;
}

body section#footer-copyright.mfooter-copyright ul.payment-method a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 26px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--mf-line);
	color: var(--mf-muted);
	font-size: 14px;
	transition: all 0.2s ease;
}

body section#footer-copyright.mfooter-copyright ul.payment-method a:hover {
	color: var(--mf-primary);
	border-color: var(--mf-primary-ring);
	background: var(--mf-primary-soft);
}

/* Scroll-up button – modernle */
body a.scrollup.boxed-btn {
	background: var(--mf-primary) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 12px !important;
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 14px 28px -12px var(--mf-primary-ring) !important;
	transition: all 0.25s ease;
}

body a.scrollup.boxed-btn:hover {
	background: #ff7a2a !important;
	transform: translateY(-3px);
}

body a.scrollup.boxed-btn::before,
body a.scrollup.boxed-btn::after {
	display: none !important;
	content: none !important;
}

/* ----------------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 1199px) {
	.mfooter__grid {
		grid-template-columns: 1.2fr 1fr 1.2fr 1.3fr;
		gap: 40px 28px;
	}
}

@media (max-width: 991px) {
	body footer#footer-widgets.mfooter {
		padding: 64px 0 40px;
	}

	.mfooter__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 44px 32px;
	}

	.mfooter__decor--dots {
		display: none;
	}
}

@media (max-width: 600px) {
	body footer#footer-widgets.mfooter {
		padding: 52px 0 32px;
	}

	.mfooter__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 38px;
	}

	.mfooter__heading {
		font-size: 15px;
	}

	.mfooter__about,
	.mfooter__contact-text,
	.mfooter__links a {
		font-size: 14px;
	}

	.mfooter__cta {
		width: 100%;
		justify-content: center;
	}

	body section#footer-copyright.mfooter-copyright ul.payment-method {
		justify-content: center;
	}
}
