/* =============================================================
   Portfolio enhancements: skills section, feature card
   thumbnails, and tech / business skill tags.
   ============================================================= */

/* ---- Feature Card Thumbnails ---- */
.features > section .feature-thumb {
	width: calc(100% + 2em);
	margin: -1.5em -1em 1.1em -1em;
	height: 148px;
	overflow: hidden;
	border-radius: 0.25em 0.25em 0 0;
}

.features > section .feature-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.features > section:hover .feature-thumb img {
	transform: scale(1.05);
}

/* ---- Skill Tags ---- */
.feature-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3em;
	margin-top: 0.75em;
}

/* Base tag */
.tag {
	font-size: 0.71em;
	padding: 0.2em 0.7em;
	border-radius: 1em;
	line-height: 1.6;
	white-space: nowrap;
}

/* Hard / tool tags — purple */
.tag--tech {
	background: rgba(94, 66, 166, 0.25);
	border: 1px solid rgba(94, 66, 166, 0.5);
	color: rgba(200, 185, 255, 0.9);
}

/* Business / domain tags — teal */
.tag--biz {
	background: rgba(56, 178, 172, 0.15);
	border: 1px solid rgba(56, 178, 172, 0.4);
	color: rgba(153, 230, 225, 0.9);
}

/* ---- Skills Section ---- */
#skills {
	background: #251b3e;
}

.skills-group-label {
	font-size: 0.7em;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: rgba(255, 255, 255, 0.3);
	margin: 2em 0 0;
	padding-bottom: 0.55em;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.skills-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	gap: 1.1em;
	margin-top: 1.1em;
}

.skill-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.55em;
	padding: 1.4em 0.8em 1.2em;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 0.35em;
	transition: background 0.2s, transform 0.2s, border-color 0.2s;
	cursor: default;
}

.skill-card:hover {
	background: rgba(94, 66, 166, 0.18);
	border-color: rgba(94, 66, 166, 0.45);
	transform: translateY(-3px);
}

.skill-card .icon {
	font-size: 1.9em;
	color: #7e5fbe;
	margin: 0;
	line-height: 1;
}

.skill-card .skill-name {
	font-size: 0.8em;
	color: rgba(255, 255, 255, 0.65);
	text-align: center;
	line-height: 1.3;
}

/* Business skill card — teal accent */
.skill-card--biz:hover {
	background: rgba(56, 178, 172, 0.15);
	border-color: rgba(56, 178, 172, 0.4);
}

.skill-card--biz .icon {
	color: #38b2ac;
}

/* ---- Responsive ---- */
@media (max-width: 736px) {
	.skills-grid {
		grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
		gap: 0.8em;
	}
}
