@import url('../course/index.css');

.category-detail-page {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	background-color: transparent;
	min-height: 100vh;
	color: #cbd5e1;
}

.category-hero {
	position: relative;
	padding: 50px 0;
	overflow: hidden;
	color: #ffffff;
}

.category-hero-container {
	max-width: 1650px;
	margin: 0 auto;
	padding: 0 60px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 40px;
}

.category-hero-content {
	flex: 1;
	max-width: 850px;
	z-index: 10;
}

.category-breadcrumbs {
	font-size: 13.5px;
	font-weight: 500;
	margin-bottom: 25px;
	color: rgba(255, 255, 255, 0.6);
}

.category-breadcrumbs a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	transition: color 0.15s ease;
}

.category-breadcrumbs a:hover {
	color: #ffffff;
}

.breadcrumb-separator {
	margin: 0 8px;
	color: rgba(255, 255, 255, 0.4);
}

.category-breadcrumbs .active {
	color: #ffffff;
	font-weight: 600;
}

.category-tag-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(251, 191, 36, 0.15);
	border: 1px solid rgba(251, 191, 36, 0.4);
	color: #fbbf24;
	padding: 5px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 20px;
}

.category-hero-title {
	font-size: 3rem;
	font-weight: 800;
	margin: 0 0 15px 0;
	color: #ffffff;
	letter-spacing: -0.03em;
	line-height: 1.15;
}

.category-hero-desc {
	font-size: 1.15rem;
	line-height: 1.6;
	color: #e2e8f0;
	margin: 0 0 25px 0;
	font-weight: 400;
}

.category-meta-info {
	display: flex;
	gap: 20px;
	margin-bottom: 30px;
}

.category-meta-info .meta-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14.5px;
	color: #cbd5e1;
}

.category-meta-info .meta-item i {
	color: #c084fc;
	font-size: 16px;
}

.category-director-card {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	padding: 12px 18px;
	display: inline-flex;
	flex-direction: column;
	gap: 6px;
}

.director-label {
	font-size: 11px;
	font-weight: 700;
	color: #cbd5e1;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.director-body {
	display: flex;
	align-items: center;
	gap: 10px;
}

.director-avatar-wrapper {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #c084fc;
	font-size: 20px;
}

.director-avatar-icon {
	line-height: 1;
}

.director-name {
	font-size: 13.5px;
	font-weight: 600;
	color: #ffffff;
}

.category-hero-image-wrapper {
	flex-shrink: 0;
	width: 460px;
	height: 460px;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	position: relative;
	z-index: 5;
}

.category-hero-image-wrapper img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 -10px 25px rgba(0, 0, 0, 0.3));
	animation: floatImage 4s ease-in-out infinite alternate;
}

@keyframes floatImage {
	0% {
		transform: translateY(0);
	}
	100% {
		transform: translateY(-10px);
	}
}

.category-courses-section {
	padding: 60px 0 80px 0;
	background-color: transparent;
}

.category-courses-container {
	max-width: 1650px;
	margin: 0 auto;
	padding: 0 60px;
}

.courses-section-title {
	font-size: 1.8rem;
	font-weight: 700;
	margin-top: 0;
	margin-bottom: 35px;
	color: #ffffff;
	letter-spacing: -0.01em;
}

.no-courses-placeholder {
	background: #111827;
	border: 2px dashed rgba(255, 255, 255, 0.15);
	border-radius: 20px;
	padding: 60px 40px;
	text-align: center;
	max-width: 550px;
	margin: 40px auto 0 auto;
}

.placeholder-icon {
	font-size: 50px;
	color: #94a3b8;
	margin-bottom: 20px;
}

.no-courses-placeholder h3 {
	font-size: 20px;
	font-weight: 700;
	margin-top: 0;
	margin-bottom: 10px;
	color: #ffffff;
}

.no-courses-placeholder p {
	font-size: 14.5px;
	color: #cbd5e1;
	line-height: 1.5;
	margin-bottom: 25px;
}

.btn-return-catalog {
	display: inline-block;
	background: #a855f7;
	color: #ffffff;
	font-weight: 600;
	font-size: 14.5px;
	padding: 10px 24px;
	border-radius: 8px;
	text-decoration: none !important;
	box-shadow: 0 4px 12px rgba(168, 85, 247, 0.2);
	transition: all 0.2s ease;
}

.btn-return-catalog:hover {
	background: #c084fc;
	box-shadow: 0 6px 16px rgba(192, 132, 252, 0.3);
	transform: translateY(-1px);
}

@media (max-width: 1200px) {
	.category-hero-container,
	.category-courses-container {
		padding: 0 40px;
	}
}

@media (max-width: 992px) {
	.category-hero-container {
		flex-direction: column;
		text-align: center;
		padding: 20px;
	}

	.category-hero-content {
		max-width: 100%;
	}

	.category-hero-title {
		font-size: 2.3rem;
	}

	.category-meta-info {
		justify-content: center;
	}

	.category-breadcrumbs {
		justify-content: center;
		display: flex;
		flex-wrap: wrap;
	}

	.category-hero-image-wrapper {
		width: 280px;
		height: 280px;
		margin-top: 20px;
	}

	.category-courses-container {
		padding: 0 20px;
	}
}
