/* ==========================================================================
   TT-MIM Ana Sayfa Stilleri
   v2.0.0 — Endüstriyel katalog + referans odaklı (Parkkent referanslı)
   ========================================================================== */

/* CSS değişkenleri ------------------------------------------------------- */
.ttmim-home {
	--ttmim-max: 1320px;
	--ttmim-pad-x: 18px;
	--ttmim-section-y: 88px;
	--ttmim-radius: 6px;
	--ttmim-radius-sm: 4px;
	--ttmim-shadow: 0 8px 22px rgba(15, 30, 55, 0.10);
	--ttmim-shadow-hover: 0 16px 38px rgba(15, 30, 55, 0.18);
	--ttmim-color-fg: #16202f;
	--ttmim-color-muted: #5a6473;
	--ttmim-color-bg: #ffffff;
	--ttmim-color-bg-alt: #f3f5f8;
	--ttmim-color-border: #e1e6ee;
	--ttmim-color-primary: #2AB391;
	--ttmim-color-primary-d: #1F9C7C;
	--ttmim-color-accent: #0f2543;
	--ttmim-color-accent-l: #1c3b66;
	--ttmim-color-wa: #25d366;
	font-family: inherit;
	color: var(--ttmim-color-fg);
}

/* Tüm bölümler için ortak konteyner */
.ttmim-home-section {
	padding: var(--ttmim-section-y) 0;
	background: var(--ttmim-color-bg);
}

.ttmim-home-section + .ttmim-home-section {
	padding-top: 0;
}

.ttmim-home-section__inner {
	max-width: var(--ttmim-max);
	margin: 0 auto;
	padding: 0 var(--ttmim-pad-x);
}

.ttmim-home-section__head {
	margin-bottom: 44px;
	max-width: 760px;
}

.ttmim-home-section__head h2 {
	font-size: clamp(26px, 2.6vw, 38px);
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 12px;
	color: var(--ttmim-color-fg);
	letter-spacing: -0.02em;
	text-transform: none;
}

.ttmim-home-section__head p {
	font-size: 16px;
	color: var(--ttmim-color-muted);
	margin: 0;
	line-height: 1.6;
}

.ttmim-home-section__head--center {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.ttmim-home-eyebrow,
.ttmim-home-video__eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	color: var(--ttmim-color-primary);
	text-transform: uppercase;
	margin-bottom: 8px;
	position: relative;
	padding-left: 28px;
}
.ttmim-home-eyebrow::before,
.ttmim-home-video__eyebrow::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 20px;
	height: 2px;
	background: var(--ttmim-color-primary);
	transform: translateY(-50%);
}
.ttmim-home-section__head--center .ttmim-home-eyebrow {
	padding-left: 28px;
	padding-right: 28px;
}
.ttmim-home-section__head--center .ttmim-home-eyebrow::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	width: 20px;
	height: 2px;
	background: var(--ttmim-color-primary);
	transform: translateY(-50%);
}

/* Butonlar -------------------------------------------------------------- */
.ttmim-home-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 30px;
	border-radius: var(--ttmim-radius-sm);
	font-weight: 700;
	font-size: 14.5px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none !important;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
	cursor: pointer;
	border: 2px solid transparent;
	line-height: 1.2;
	text-align: center;
}

.ttmim-home-btn--primary {
	background: var(--ttmim-color-primary);
	color: #fff;
	box-shadow: 0 6px 18px rgba(42, 179, 145, 0.32);
}
.ttmim-home-btn--primary:hover {
	background: var(--ttmim-color-primary-d);
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(42, 179, 145, 0.42);
	color: #fff;
}

.ttmim-home-btn--ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.7);
}
.ttmim-home-section .ttmim-home-btn--ghost {
	border-color: var(--ttmim-color-fg);
	color: var(--ttmim-color-fg);
}
.ttmim-home-btn--ghost:hover {
	background: #fff;
	color: var(--ttmim-color-accent);
	border-color: #fff;
}
.ttmim-home-section .ttmim-home-btn--ghost:hover {
	background: var(--ttmim-color-accent);
	color: #fff;
	border-color: var(--ttmim-color-accent);
}

.ttmim-home-btn--sm {
	padding: 11px 20px;
	font-size: 13px;
}

.ttmim-home-btn--wa {
	background: var(--ttmim-color-wa);
	color: #fff;
	box-shadow: 0 6px 18px rgba(42, 179, 145, 0.32);
}
.ttmim-home-btn--wa:hover {
	background: #1ebe5a;
	color: #fff;
	transform: translateY(-2px);
}

.ttmim-home-btn--phone {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.3);
	letter-spacing: 0.02em;
	text-transform: none;
	font-size: 16px;
}
.ttmim-home-btn--phone:hover {
	background: rgba(255, 255, 255, 0.22);
	color: #fff;
}


/* =============================================================
 * 1) HERO
 *    Industrial / catalog feeling: koyu zemin, sol-içerik,
 *    altta kırmızı çizgi vurgusu, breadcrumb yok.
 * ============================================================= */
.ttmim-home-hero {
	position: relative;
	min-height: clamp(540px, 78vh, 780px);
	display: flex;
	align-items: center;
	overflow: hidden;
	color: #fff;
	background: var(--ttmim-color-accent);
}

.ttmim-home-hero__media {
	position: absolute;
	inset: 0;
	z-index: 1;
}
.ttmim-home-hero__bg,
.ttmim-home-hero-swiper {
	position: absolute;
	inset: 0;
}

.ttmim-home-hero-swiper .swiper-wrapper,
.ttmim-home-hero-swiper .swiper-slide {
	width: 100%;
	height: 100%;
}

.ttmim-home-hero-swiper .swiper-slide {
	position: relative;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.ttmim-home-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transform: scale(1.03);
	transition: transform 6s ease;
}
.ttmim-home-hero-swiper .swiper-slide-active .ttmim-home-hero__bg {
	transform: scale(1);
}
.ttmim-home-hero__bg--gradient {
	background: linear-gradient(135deg, #0f2543 0%, #1c3b66 60%, #2c5d99 100%);
}
.ttmim-home-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(15, 37, 67, 0.92) 0%, rgba(15, 37, 67, 0.65) 55%, rgba(15, 37, 67, 0.35) 100%);
	z-index: 2;
}

.ttmim-home-hero__inner {
	position: relative;
	z-index: 3;
	max-width: var(--ttmim-max);
	margin: 0 auto;
	padding: 88px var(--ttmim-pad-x);
	width: 100%;
	border-left: 4px solid var(--ttmim-color-primary);
	padding-left: calc(var(--ttmim-pad-x) + 24px);
}

.ttmim-home-hero__content {
	max-width: 860px;
}

.ttmim-home-hero__title {
	font-size: clamp(32px, 4.6vw, 58px);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.025em;
	color: #fff;
	margin: 0 0 22px;
	max-width: 800px;
}

.ttmim-home-hero__sub {
	font-size: clamp(15px, 1.3vw, 19px);
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.88);
	margin: 0 0 38px;
	max-width: 620px;
}

.ttmim-home-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.ttmim-home-hero-swiper .swiper-pagination {
	position: absolute;
	bottom: 26px;
	left: 0;
	right: 0;
	z-index: 4;
}
.ttmim-home-hero-swiper .swiper-pagination-bullet {
	background: #fff;
	opacity: 0.5;
	width: 10px;
	height: 10px;
}
.ttmim-home-hero-swiper .swiper-pagination-bullet-active {
	opacity: 1;
	width: 28px;
	border-radius: 5px;
	transition: width 0.2s;
}

.ttmim-home-hero__nav {
	position: absolute;
	right: max(24px, calc((100vw - var(--ttmim-max)) / 2 + 18px));
	bottom: 24px;
	z-index: 5;
	display: flex;
	gap: 10px;
}

.ttmim-home-hero__arrow {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.5);
	background: rgba(15, 37, 67, 0.45);
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.ttmim-home-hero__arrow:hover {
	background: var(--ttmim-color-primary);
	border-color: var(--ttmim-color-primary);
	transform: translateY(-2px);
}
.ttmim-home-hero__arrow::before {
	content: "";
	width: 10px;
	height: 10px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	display: block;
}
.ttmim-home-hero__arrow--prev::before {
	transform: rotate(-135deg);
	margin-left: 4px;
}
.ttmim-home-hero__arrow--next::before {
	transform: rotate(45deg);
	margin-right: 4px;
}


/* =============================================================
 * 2) KATEGORİ KARTLARI (Parkkent stili)
 *    Büyük arka plan görseli, dark gradient, alt kısımda başlık.
 * ============================================================= */
.ttmim-home-cats__grid {
	display: grid;
	gap: 20px;
}
.ttmim-home-cats__grid[data-cols="2"] { grid-template-columns: repeat(2, 1fr); }
.ttmim-home-cats__grid[data-cols="3"] { grid-template-columns: repeat(3, 1fr); }
.ttmim-home-cats__grid[data-cols="4"] { grid-template-columns: repeat(4, 1fr); }

.ttmim-home-cats__card {
	position: relative;
	display: block;
	height: 320px;
	border-radius: var(--ttmim-radius);
	overflow: hidden;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-color: #2a3a55;
	color: #fff !important;
	text-decoration: none !important;
	transition: transform 0.4s ease, box-shadow 0.3s ease;
	box-shadow: var(--ttmim-shadow);
	isolation: isolate;
}
.ttmim-home-cats__card::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: inherit;
	background-size: cover;
	background-position: center;
	transition: transform 0.5s ease;
	z-index: -1;
}
.ttmim-home-cats__card:hover {
	transform: translateY(-4px);
	box-shadow: var(--ttmim-shadow-hover);
}
.ttmim-home-cats__card:hover .ttmim-home-cats__overlay {
	background: linear-gradient(180deg, rgba(15, 37, 67, 0.10) 0%, rgba(15, 37, 67, 0.85) 70%, rgba(42, 179, 145, 0.95) 100%);
}

.ttmim-home-cats__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 37, 67, 0.10) 0%, rgba(15, 37, 67, 0.78) 65%, rgba(15, 37, 67, 0.95) 100%);
	transition: background 0.3s ease;
	z-index: 1;
}

.ttmim-home-cats__content {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 26px 24px 24px;
	z-index: 2;
	color: #fff;
}

.ttmim-home-cats__content h3 {
	margin: 0 0 6px;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: #fff;
}

.ttmim-home-cats__content p {
	margin: 0 0 12px;
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.82);
	letter-spacing: 0.02em;
}

.ttmim-home-cats__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	padding-bottom: 4px;
	border-bottom: 2px solid var(--ttmim-color-primary);
	transition: gap 0.25s ease;
}
.ttmim-home-cats__card:hover .ttmim-home-cats__more {
	gap: 14px;
}

/* Görseli olmayan kartlar için fallback */
.ttmim-home-cats__card--plain {
	background: linear-gradient(135deg, var(--ttmim-color-accent), var(--ttmim-color-accent-l));
}
.ttmim-home-cats__card--plain .ttmim-home-cats__overlay {
	background: linear-gradient(135deg, rgba(15, 37, 67, 0.5), rgba(42, 179, 145, 0.25));
}

/* Kart üzerindeki küçük ikon */
.ttmim-home-cats__icon {
	position: absolute;
	top: 16px;
	left: 16px;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.95);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 18px rgba(15, 37, 67, 0.22);
	z-index: 1;
}
.ttmim-home-cats__icon img {
	width: 32px;
	height: 32px;
	object-fit: contain;
}


/* =============================================================
 * 3) HAKKIMIZDA
 *    Sol görsel + sağ metin; sol üstte kırmızı vurgu çizgisi.
 * ============================================================= */
.ttmim-home-about {
	background: var(--ttmim-color-bg-alt);
}

.ttmim-home-about__grid {
	display: grid;
	gap: 56px;
	grid-template-columns: 0.95fr 1.05fr;
	align-items: center;
}

.ttmim-home-about__media {
	position: relative;
}
.ttmim-home-about__media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--ttmim-radius);
	box-shadow: var(--ttmim-shadow);
}
.ttmim-home-about__media::before {
	content: "";
	position: absolute;
	left: -16px;
	top: -16px;
	width: 80px;
	height: 4px;
	background: var(--ttmim-color-primary);
	z-index: 1;
}

.ttmim-home-about__ph {
	width: 100%;
	aspect-ratio: 4 / 3;
	background: linear-gradient(135deg, #d8dfe9, #b3c0d2);
	border-radius: var(--ttmim-radius);
}

.ttmim-home-about__text h2 {
	font-size: clamp(26px, 2.8vw, 38px);
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0 0 18px;
	color: var(--ttmim-color-fg);
	line-height: 1.18;
}

.ttmim-home-about__body {
	font-size: 15.5px;
	line-height: 1.78;
	color: var(--ttmim-color-fg);
}
.ttmim-home-about__body p {
	margin: 0 0 14px;
}


/* =============================================================
 * 3b) FAALİYET ALANLARI
 *     Görsel + alt-merkezde yuvarlak ikon + başlık + açıklama
 *     + kırmızı tikli özellik listesi.
 * ============================================================= */
.ttmim-home-acts {
	background: #fff;
}

.ttmim-home-acts__grid {
	display: grid;
	gap: 28px;
	grid-template-columns: repeat(3, 1fr);
}
.ttmim-home-acts__grid[data-cols="2"] { grid-template-columns: repeat(2, 1fr); }
.ttmim-home-acts__grid[data-cols="1"] { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }

.ttmim-home-act {
	background: #fff;
	border: 1px solid var(--ttmim-color-border);
	border-radius: var(--ttmim-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.ttmim-home-act:hover {
	border-color: var(--ttmim-color-primary);
	box-shadow: var(--ttmim-shadow-hover);
	transform: translateY(-4px);
}

.ttmim-home-act__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: linear-gradient(135deg, #d8dfe9, #b3c0d2);
}
.ttmim-home-act__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s ease;
}
.ttmim-home-act:hover .ttmim-home-act__media img {
	transform: scale(1.05);
}
.ttmim-home-act__media-ph {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, #d8dfe9, #b3c0d2);
}

.ttmim-home-act__body {
	position: relative;
	padding: 48px 30px 32px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1;
}

.ttmim-home-act__icon {
	position: absolute;
	left: 30px;
	top: -32px;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--ttmim-color-accent);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 22px rgba(15, 37, 67, 0.35), 0 0 0 6px #fff;
	z-index: 3;
	transition: background 0.25s ease, transform 0.25s ease;
}
.ttmim-home-act:hover .ttmim-home-act__icon {
	background: var(--ttmim-color-primary);
	transform: translateY(-3px);
}
.ttmim-home-act__icon svg {
	width: 30px;
	height: 30px;
}
.ttmim-home-act__icon img {
	width: 36px;
	height: 36px;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

.ttmim-home-act__body h3 {
	font-size: 22px;
	font-weight: 800;
	margin: 0;
	letter-spacing: -0.015em;
	color: var(--ttmim-color-fg);
}

.ttmim-home-act__body > p {
	margin: 0;
	color: var(--ttmim-color-muted);
	font-size: 15px;
	line-height: 1.65;
}

.ttmim-home-act__list {
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.ttmim-home-act__list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14.5px;
	color: var(--ttmim-color-fg);
	line-height: 1.5;
	font-weight: 500;
}
.ttmim-home-act__check {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	color: var(--ttmim-color-primary);
	margin-top: 2px;
}


/* =============================================================
 * 4) REFERANSLAR (ana ikna alanı)
 *    Mosaic grid, lokasyon overlay, hover'da kırmızı şerit.
 * ============================================================= */
.ttmim-home-refs {
	background: #fff;
}

.ttmim-home-refs__grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.ttmim-home-refs__item {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--ttmim-radius);
	aspect-ratio: 4 / 3;
	background: #1a2536;
	cursor: zoom-in;
	box-shadow: var(--ttmim-shadow);
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ttmim-home-refs__item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	height: 4px;
	width: 0;
	background: var(--ttmim-color-primary);
	transition: width 0.4s ease;
	z-index: 3;
}
.ttmim-home-refs__item:hover::before {
	width: 100%;
}
.ttmim-home-refs__item:hover {
	transform: translateY(-3px);
	box-shadow: var(--ttmim-shadow-hover);
}

.ttmim-home-refs__item img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease, opacity 0.3s ease;
}
.ttmim-home-refs__item:hover img {
	transform: scale(1.06);
}

.ttmim-home-refs__cap {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 22px 22px 18px;
	background: linear-gradient(transparent 0%, rgba(15, 37, 67, 0.92) 100%);
	color: #fff;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.ttmim-home-refs__cap strong {
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.2;
}
.ttmim-home-refs__cap em {
	font-style: normal;
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.78);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}


/* =============================================================
 * 5) SAYILAR
 *    Koyu zemin, kırmızı vurgu, sade.
 * ============================================================= */
.ttmim-home-stats {
	background: var(--ttmim-color-accent);
	color: #fff;
	padding: 64px 0;
	position: relative;
}
.ttmim-home-stats::before {
	content: "";
	position: absolute;
	left: 0; right: 0; top: 0;
	height: 4px;
	background: var(--ttmim-color-primary);
}

.ttmim-home-stats__grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	text-align: center;
}

.ttmim-home-stat {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 0 12px;
	position: relative;
}
.ttmim-home-stat + .ttmim-home-stat::before {
	content: "";
	position: absolute;
	left: -1px;
	top: 18%;
	bottom: 18%;
	width: 1px;
	background: rgba(255, 255, 255, 0.16);
}

.ttmim-home-stat__num {
	font-size: clamp(32px, 4vw, 54px);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1;
	color: #fff;
}

.ttmim-home-stat__lbl {
	font-size: 12.5px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.78);
	text-transform: uppercase;
	letter-spacing: 0.12em;
}


/* =============================================================
 * 6) VİDEO / ÜRETİM
 * ============================================================= */
.ttmim-home-video {
	background: var(--ttmim-color-bg-alt);
}
.ttmim-home-video__grid {
	display: grid;
	gap: 48px;
	grid-template-columns: 1fr 1.15fr;
	align-items: center;
}
.ttmim-home-video__text h2 {
	font-size: clamp(26px, 2.6vw, 36px);
	font-weight: 800;
	margin: 0 0 16px;
	letter-spacing: -0.02em;
	line-height: 1.2;
}
.ttmim-home-video__text p {
	font-size: 16px;
	line-height: 1.65;
	color: var(--ttmim-color-muted);
	margin: 0 0 22px;
}
.ttmim-home-video__media {
	position: relative;
	border-radius: var(--ttmim-radius);
	overflow: hidden;
	box-shadow: var(--ttmim-shadow);
	background: #000;
	aspect-ratio: 16 / 9;
}
.ttmim-home-video__poster {
	position: absolute;
	inset: 0;
	cursor: pointer;
}
.ttmim-home-video__poster img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s ease;
}
.ttmim-home-video__poster:hover img {
	transform: scale(1.04);
}
.ttmim-home-video__play {
	position: absolute;
	left: 50%; top: 50%;
	transform: translate(-50%, -50%);
	width: 88px;
	height: 88px;
	border-radius: 50%;
	background: var(--ttmim-color-primary);
	color: #fff;
	border: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 12px 36px rgba(42, 179, 145, 0.5);
	transition: transform 0.2s ease, background 0.2s ease;
}
.ttmim-home-video__play::before {
	content: "";
	position: absolute;
	inset: -10px;
	border-radius: 50%;
	border: 2px solid rgba(42, 179, 145, 0.3);
	animation: ttmimPulse 2s ease-out infinite;
}
@keyframes ttmimPulse {
	0%   { transform: scale(0.85); opacity: 1; }
	100% { transform: scale(1.4);  opacity: 0; }
}
.ttmim-home-video__play:hover {
	background: var(--ttmim-color-primary-d);
	transform: translate(-50%, -50%) scale(1.06);
}
.ttmim-home-video__embed,
.ttmim-home-video__embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}


/* =============================================================
 * 7) SÜREÇ
 * ============================================================= */
.ttmim-home-process {
	position: relative;
	background:
		radial-gradient(1200px 320px at 50% 0%, rgba(15, 37, 67, 0.05), transparent 70%),
		linear-gradient(180deg, #f6f8fb 0%, #fafbfd 60%, #ffffff 100%);
	box-shadow:
		inset 0 1px 0 rgba(15, 37, 67, 0.06),
		inset 0 -1px 0 rgba(15, 37, 67, 0.04);
}
.ttmim-home-process::before,
.ttmim-home-process::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 24px;
	pointer-events: none;
}
.ttmim-home-process::before {
	top: 0;
	background: linear-gradient(180deg, rgba(15, 37, 67, 0.06), transparent);
}
.ttmim-home-process::after {
	bottom: 0;
	background: linear-gradient(0deg, rgba(15, 37, 67, 0.06), transparent);
}

.ttmim-home-process__grid {
	position: relative;
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	counter-reset: ttmim-step;
}

.ttmim-home-step {
	position: relative;
	padding: 38px 28px 28px;
	background: #ffffff;
	border-radius: var(--ttmim-radius);
	border: 1px solid var(--ttmim-color-border);
	box-shadow: 0 1px 2px rgba(15, 37, 67, 0.04), 0 8px 18px rgba(15, 37, 67, 0.05);
	display: flex;
	flex-direction: column;
	gap: 12px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ttmim-home-step:hover {
	border-color: var(--ttmim-color-primary);
	box-shadow: 0 18px 36px rgba(15, 37, 67, 0.10), 0 4px 8px rgba(15, 37, 67, 0.06);
	transform: translateY(-3px);
}

.ttmim-home-step__num {
	position: absolute;
	top: -14px;
	left: 24px;
	background: var(--ttmim-color-primary);
	color: #fff;
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.06em;
	padding: 6px 14px;
	border-radius: 0;
	box-shadow: 0 4px 12px rgba(42, 179, 145, 0.35);
}

.ttmim-home-step__icon {
	display: inline-flex;
	width: 52px;
	height: 52px;
	border-radius: var(--ttmim-radius-sm);
	background: var(--ttmim-color-bg-alt);
	align-items: center;
	justify-content: center;
}
.ttmim-home-step__icon img {
	width: 28px;
	height: 28px;
	object-fit: contain;
}

.ttmim-home-step h3 {
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.01em;
	margin: 0;
	color: var(--ttmim-color-fg);
}

.ttmim-home-step p {
	margin: 0;
	color: var(--ttmim-color-muted);
	font-size: 14.5px;
	line-height: 1.55;
}


/* =============================================================
 * 8) ÖNE ÇIKAN ÜRÜNLER
 * ============================================================= */
.ttmim-home-products {
	background: #fff;
}

.ttmim-home-products__grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.ttmim-home-products__grid[data-cols="2"] { grid-template-columns: repeat(2, 1fr); }
.ttmim-home-products__grid[data-cols="3"] { grid-template-columns: repeat(3, 1fr); }
.ttmim-home-products__grid[data-cols="4"] { grid-template-columns: repeat(4, 1fr); }
.ttmim-home-products__grid[data-cols="5"] { grid-template-columns: repeat(5, 1fr); }
.ttmim-home-products__grid[data-cols="6"] { grid-template-columns: repeat(6, 1fr); }

.ttmim-home-product {
	background: #fff;
	border: 1px solid var(--ttmim-color-border);
	border-radius: var(--ttmim-radius);
	overflow: hidden;
	transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
	display: flex;
	flex-direction: column;
}

.ttmim-home-product:hover {
	border-color: var(--ttmim-color-primary);
	transform: translateY(-3px);
	box-shadow: var(--ttmim-shadow);
}

.ttmim-home-product__media {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #f3f5f8;
	position: relative;
}

.ttmim-home-product__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.ttmim-home-product:hover .ttmim-home-product__media img {
	transform: scale(1.06);
}

.ttmim-home-product__ph {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #eef1f6, #d6dde7);
}

.ttmim-home-product__body {
	padding: 18px 18px 22px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1;
	border-top: 1px solid var(--ttmim-color-border);
}

.ttmim-home-product__body h3 {
	font-size: 15.5px;
	font-weight: 600;
	margin: 0;
	line-height: 1.4;
	flex: 1;
	letter-spacing: -0.005em;
}

.ttmim-home-product__body h3 a {
	color: var(--ttmim-color-fg);
	text-decoration: none;
}
.ttmim-home-product__body h3 a:hover {
	color: var(--ttmim-color-primary);
}


/* =============================================================
 * 9) SERTİFİKALAR (kompakt şerit)
 * ============================================================= */
.ttmim-home-certs {
	background: var(--ttmim-color-bg-alt);
	padding: 28px 0;
	border-top: 1px solid var(--ttmim-color-border);
	border-bottom: 1px solid var(--ttmim-color-border);
}

.ttmim-home-certs .ttmim-home-section__head--center {
	margin-bottom: 18px;
}
.ttmim-home-certs .ttmim-home-section__head h2 {
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ttmim-color-muted);
	margin: 0;
}
.ttmim-home-certs .ttmim-home-section__head .ttmim-home-eyebrow {
	display: none;
}

.ttmim-home-certs__row {
	display: flex;
	flex-wrap: wrap;
	gap: 18px 44px;
	justify-content: center;
	align-items: center;
}

.ttmim-home-cert {
	max-width: 110px;
	max-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	filter: grayscale(0.7);
	opacity: 0.7;
	transition: filter 0.2s ease, opacity 0.2s ease;
}
.ttmim-home-cert:hover {
	filter: grayscale(0);
	opacity: 1;
}

.ttmim-home-cert img {
	max-width: 100%;
	max-height: 44px;
	height: auto;
	width: auto;
	object-fit: contain;
}


/* =============================================================
 * 10) SON YAZILAR
 * ============================================================= */
.ttmim-home-posts__grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.ttmim-home-post {
	background: #fff;
	border-radius: var(--ttmim-radius);
	overflow: hidden;
	border: 1px solid var(--ttmim-color-border);
	display: flex;
	flex-direction: column;
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.ttmim-home-post:hover {
	transform: translateY(-3px);
	box-shadow: var(--ttmim-shadow-hover);
	border-color: var(--ttmim-color-primary);
}

.ttmim-home-post__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #eef1f6;
}
.ttmim-home-post__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.ttmim-home-post:hover .ttmim-home-post__media img {
	transform: scale(1.05);
}
.ttmim-home-post__ph {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #eef1f6, #c4cdda);
}

.ttmim-home-post__body {
	padding: 20px 22px 24px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.ttmim-home-post__date {
	color: var(--ttmim-color-muted);
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 600;
}

.ttmim-home-post__body h3 {
	font-size: 17.5px;
	font-weight: 700;
	margin: 0;
	line-height: 1.32;
	letter-spacing: -0.01em;
}
.ttmim-home-post__body h3 a {
	color: var(--ttmim-color-fg);
	text-decoration: none;
}
.ttmim-home-post__body h3 a:hover {
	color: var(--ttmim-color-primary);
}

.ttmim-home-post__body p {
	color: var(--ttmim-color-muted);
	font-size: 14.5px;
	line-height: 1.55;
	margin: 0;
	flex: 1;
}

.ttmim-home-post__more {
	color: var(--ttmim-color-primary);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	margin-top: 4px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.ttmim-home-post__more:hover {
	letter-spacing: 0.1em;
}


/* =============================================================
 * 11) CTA BANDI
 * ============================================================= */
.ttmim-home-cta {
	background:
		linear-gradient(135deg, rgba(15, 37, 67, 0.96) 0%, rgba(28, 59, 102, 0.96) 100%),
		repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 6px, transparent 6px 14px);
	background-blend-mode: normal;
	color: #fff;
	padding: 80px 0;
	position: relative;
	overflow: hidden;
}
.ttmim-home-cta::before {
	content: "";
	position: absolute;
	left: 0; right: 0; top: 0;
	height: 4px;
	background: var(--ttmim-color-primary);
}

.ttmim-home-cta__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	align-items: center;
	justify-content: space-between;
}

.ttmim-home-cta__text {
	flex: 1 1 360px;
}

.ttmim-home-cta__text h2 {
	font-size: clamp(26px, 3vw, 38px);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #fff;
	margin: 0 0 12px;
	line-height: 1.2;
}

.ttmim-home-cta__text p {
	color: rgba(255, 255, 255, 0.85);
	font-size: 16px;
	line-height: 1.55;
	margin: 0;
}

.ttmim-home-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}


/* =============================================================
 * RESPONSIVE
 * ============================================================= */
@media (max-width: 1024px) {
	.ttmim-home-cats__grid[data-cols="4"] {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 960px) {
	.ttmim-home {
		--ttmim-section-y: 64px;
	}

	.ttmim-home-about__grid,
	.ttmim-home-video__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.ttmim-home-acts__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ttmim-home-products__grid[data-cols="4"],
	.ttmim-home-products__grid[data-cols="5"],
	.ttmim-home-products__grid[data-cols="6"] {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 720px) {
	.ttmim-home {
		--ttmim-section-y: 48px;
	}

	.ttmim-home-hero {
		min-height: 480px;
	}

	.ttmim-home-hero__inner {
		padding: 60px var(--ttmim-pad-x);
		padding-left: calc(var(--ttmim-pad-x) + 16px);
		border-left-width: 3px;
	}

	.ttmim-home-hero__ctas {
		gap: 10px;
		width: 100%;
	}
	.ttmim-home-hero__ctas .ttmim-home-btn {
		flex: 1 1 calc(50% - 5px);
		min-width: 130px;
	}

	.ttmim-home-hero-swiper .swiper-pagination {
		bottom: 18px;
	}

	.ttmim-home-hero__nav {
		display: none;
	}

	.ttmim-home-section__head {
		margin-bottom: 28px;
	}

	.ttmim-home-cats__grid,
	.ttmim-home-cats__grid[data-cols="2"],
	.ttmim-home-cats__grid[data-cols="3"],
	.ttmim-home-cats__grid[data-cols="4"] {
		grid-template-columns: 1fr;
	}
	.ttmim-home-cats__card {
		height: 240px;
	}

	.ttmim-home-acts__grid {
		grid-template-columns: 1fr;
	}

	.ttmim-home-products__grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}

	.ttmim-home-stats {
		padding: 48px 0;
	}

	.ttmim-home-stats__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 28px 16px;
	}
	.ttmim-home-stat + .ttmim-home-stat::before {
		display: none;
	}

	.ttmim-home-cta__inner {
		flex-direction: column;
		text-align: center;
		align-items: stretch;
	}
	.ttmim-home-cta__actions {
		justify-content: center;
	}

	.ttmim-home-process__grid {
		grid-template-columns: 1fr;
	}

	.ttmim-home-video__play {
		width: 64px;
		height: 64px;
	}
}

@media (max-width: 480px) {
	.ttmim-home-products__grid {
		grid-template-columns: 1fr !important;
	}

	.ttmim-home-cta__actions .ttmim-home-btn {
		width: 100%;
	}
}

body.glightbox-open {
	overflow: hidden;
}
