/* ==========================================================================
   TT-MIM Footer Stilleri
   v1.0.0 — Global; tüm sayfalarda yüklenir.
   ========================================================================== */

.ttmim-footer {
	--ttmim-fs-bg: #0f2543;
	--ttmim-fs-bg-d: #0a1a30;
	--ttmim-fs-fg: #ffffff;
	--ttmim-fs-muted: rgba(255, 255, 255, 0.6);
	--ttmim-fs-link: rgba(255, 255, 255, 0.8);
	--ttmim-fs-accent: #2AB391;
	--ttmim-fs-border: rgba(255, 255, 255, 0.08);
	background: var(--ttmim-fs-bg);
	color: var(--ttmim-fs-fg);
	font-family: inherit;
	margin-top: 0;
	position: relative;
}
.ttmim-footer::before {
	content: "";
	position: absolute;
	left: 0; right: 0; top: 0;
	height: 3px;
	background: var(--ttmim-fs-accent);
}

.ttmim-footer__inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 18px;
}

/* ====================================================================
 *  TOP
 * ==================================================================== */
.ttmim-footer__top {
	padding: 64px 0 48px;
}

.ttmim-footer__top .ttmim-footer__inner {
	display: grid;
	gap: 44px;
	grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
}

.ttmim-footer__col {
	min-width: 0;
}

.ttmim-footer__heading {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 22px;
	padding-bottom: 14px;
	position: relative;
}
.ttmim-footer__heading::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 36px;
	height: 2px;
	background: var(--ttmim-fs-accent);
}

/* Marka */
.ttmim-footer__logo {
	display: inline-block;
	margin-bottom: 18px;
}
.ttmim-footer__logo img {
	max-height: 44px;
	width: auto;
	height: auto;
	display: block;
}
.ttmim-footer__logo--text {
	font-size: 24px;
	font-weight: 800;
	letter-spacing: 0.04em;
	color: #fff;
	text-decoration: none;
}
.ttmim-footer__about {
	margin: 0 0 22px;
	font-size: 14.5px;
	line-height: 1.7;
	color: var(--ttmim-fs-link);
}

/* Sosyal */
.ttmim-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.ttmim-footer__social-link {
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	border-radius: 6px;
	transition: background 0.18s ease, transform 0.18s ease, color 0.18s ease;
}
.ttmim-footer__social-link:hover {
	background: var(--ttmim-fs-accent);
	color: #fff;
	transform: translateY(-2px);
}
.ttmim-footer__social-link svg {
	width: 16px;
	height: 16px;
}

/* Listeler */
.ttmim-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.ttmim-footer__list li,
.ttmim-footer__list li > a {
	font-size: 14.5px;
	line-height: 1.5;
}
.ttmim-footer__list a {
	color: var(--ttmim-fs-link);
	text-decoration: none;
	transition: color 0.18s ease, padding-left 0.18s ease;
	display: inline-block;
}
.ttmim-footer__list a::before {
	content: "›";
	color: var(--ttmim-fs-accent);
	margin-right: 8px;
	font-weight: 800;
	transition: transform 0.18s ease;
}
.ttmim-footer__list a:hover {
	color: #fff;
	padding-left: 4px;
}

/* İletişim */
.ttmim-footer__contact {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.ttmim-footer__contact li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: var(--ttmim-fs-link);
	font-size: 14.5px;
	line-height: 1.5;
}
.ttmim-footer__contact a {
	color: var(--ttmim-fs-link);
	text-decoration: none;
	transition: color 0.18s ease;
}
.ttmim-footer__contact a:hover {
	color: #fff;
}
.ttmim-footer__icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	color: var(--ttmim-fs-accent);
	margin-top: 2px;
}
.ttmim-footer__icon--wa {
	color: #2AB391;
}

/* ====================================================================
 *  BOTTOM (copyright)
 * ==================================================================== */
.ttmim-footer__bottom {
	border-top: 1px solid var(--ttmim-fs-border);
	background: var(--ttmim-fs-bg-d);
	padding: 18px 0;
}
.ttmim-footer__bottom .ttmim-footer__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
}
.ttmim-footer__copy {
	margin: 0;
	font-size: 13px;
	color: var(--ttmim-fs-muted);
	letter-spacing: 0.02em;
}

.ttmim-footer__top-btn {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	border: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.18s ease, transform 0.18s ease;
}
.ttmim-footer__top-btn:hover {
	background: var(--ttmim-fs-accent);
	transform: translateY(-2px);
}
.ttmim-footer__top-btn svg {
	width: 16px;
	height: 16px;
}

/* ====================================================================
 *  RESPONSIVE
 * ==================================================================== */
@media (max-width: 980px) {
	.ttmim-footer__top .ttmim-footer__inner {
		grid-template-columns: 1fr 1fr;
		gap: 36px 32px;
	}
}

@media (max-width: 580px) {
	.ttmim-footer__top {
		padding: 48px 0 32px;
	}
	.ttmim-footer__top .ttmim-footer__inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.ttmim-footer__bottom .ttmim-footer__inner {
		justify-content: center;
		text-align: center;
	}
}

/* Parent theme'in default footer'ı kalıntı olabilir; gizle. */
.main-footer.footer-classic,
.main-footer.footer-bold {
	display: none !important;
}
