/* TEKCRAFT Projects grid + filters */

.tk-projects-filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-bottom: 28px;
}

.tk-filter-btn {
	appearance: none;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(13, 13, 33, 0.6);
	color: #a0aec0;
	border-radius: 8px;
	padding: 10px 14px;
	font: inherit;
	font-size: 0.88rem;
	font-weight: 600;
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.tk-filter-btn:hover,
.tk-filter-btn.is-active {
	border-color: rgba(6, 182, 212, 0.45);
	color: #67e8f9;
	background: rgba(6, 182, 212, 0.1);
}

.tk-projects-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.tk-project-card {
	background: rgba(13, 13, 33, 0.6);
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.25s ease, border-color 0.2s ease;
}

.tk-project-card.is-hidden {
	display: none;
}

.tk-project-card:hover {
	transform: translateY(-5px);
	border-color: rgba(6, 182, 212, 0.35);
}

.tk-project-card-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.tk-project-media {
	height: 160px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(145deg, rgba(6, 182, 212, 0.2), rgba(15, 15, 40, 0.95));
	color: #67e8f9;
	overflow: hidden;
}

.tk-project-media.accent-purple {
	background: linear-gradient(145deg, rgba(168, 85, 247, 0.22), rgba(15, 15, 40, 0.95));
	color: #c4b5fd;
}

.tk-project-media.accent-pink {
	background: linear-gradient(145deg, rgba(236, 72, 153, 0.22), rgba(15, 15, 40, 0.95));
	color: #f9a8d4;
}

.tk-project-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tk-project-icon {
	font-size: 2rem;
}

.tk-project-body {
	padding: 16px 18px 20px;
}

.tk-project-type {
	display: block;
	font-size: 0.75rem;
	font-weight: 700;
	color: #67e8f9;
	margin-bottom: 6px;
}

.tk-project-body h3 {
	margin: 0 0 8px;
	font-size: 1.05rem;
	line-height: 1.35;
	color: #fff;
}

.tk-project-body p {
	margin: 0;
	font-size: 0.88rem;
	color: #a0aec0;
	line-height: 1.55;
}

.tk-projects-empty {
	grid-column: 1 / -1;
	text-align: center;
	color: #64748b;
}

@media (max-width: 900px) {
	.tk-projects-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.tk-projects-grid {
		grid-template-columns: 1fr;
	}
}

/* Single project gallery + Elementor page wrapper */
.tk-project-gallery-section { padding: 48px 0 24px; }
.tk-project-gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}
.tk-project-gallery-item {
	display: block;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
	transition: transform 0.2s ease, border-color 0.2s ease;
}
.tk-project-gallery-item:hover {
	transform: translateY(-3px);
	border-color: rgba(6, 182, 212, 0.45);
}
.tk-project-gallery-item img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
}
.tk-project-hero-img { width: 100%; height: auto; display: block; border-radius: 12px; }
.tk-project-tech-line { color: #94a3b8; font-weight: 600; }
.tk-gallery-preview { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.tk-gallery-thumb { width: 72px; height: 72px; border-radius: 8px; overflow: hidden; border: 1px solid #e2e8f0; }
.tk-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tekcraft-elementor-page { padding: 24px 0 48px; }
@media (max-width: 768px) { .tk-project-gallery-grid { grid-template-columns: 1fr 1fr; } }
