/**
 * Archive Service (Catalog) Page Styles
 * URL: /catalog/
 *
 * @package gunesh
 */

/* Catalog Hero */
.catalog-hero {
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding: 80px 20px;
	text-align: center;
	color: #fff;
}

.catalog-hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.5));
	z-index: 1;
}

.catalog-hero-content {
	position: relative;
	z-index: 2;
}

.catalog-hero-title {
	font-size: 42px;
	font-weight: 700;
	margin: 0 0 16px;
	color: #fff;
}

.catalog-hero-subtitle {
	font-size: 18px;
	opacity: 0.9;
	margin: 0;
}

/* Categories Section */
.catalog-categories-section {
	padding: 60px 20px;
	background: var(--color-bg-light, #f8f9fa);
}

.catalog-container {
	max-width: var(--container-width, 1440px);
	margin: 0 auto;
}

.catalog-categories-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

/* Category Card */
.catalog-category-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: var(--border-radius, 16px);
	overflow: hidden;
	text-decoration: none;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.catalog-category-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.catalog-category-image {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #f0f0f0;
}

.catalog-category-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.catalog-category-card:hover .catalog-category-image img {
	transform: scale(1.05);
}

.catalog-category-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #f8f9fa, #e9ecef);
	color: #adb5bd;
}

.catalog-category-content {
	padding: 20px;
	flex-grow: 1;
}

.catalog-category-title {
	font-size: 20px;
	font-weight: 600;
	color: var(--color-text, #1a1a1a);
	margin: 0 0 8px;
}

.catalog-category-desc {
	font-size: 14px;
	color: #666;
	margin: 0 0 12px;
	line-height: 1.5;
}

.catalog-category-count {
	font-size: 13px;
	color: var(--color-primary, #ff1da8);
	font-weight: 500;
}

.catalog-category-arrow {
	padding: 16px 20px;
	border-top: 1px solid #f0f0f0;
	display: flex;
	justify-content: flex-end;
	color: var(--color-primary, #ff1da8);
	transition: transform 0.3s ease;
}

.catalog-category-card:hover .catalog-category-arrow {
	transform: translateX(5px);
}

.catalog-empty {
	text-align: center;
	padding: 60px 20px;
	color: #666;
}

/* Responsive */
@media (max-width: 992px) {
	.catalog-categories-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 576px) {
	.catalog-hero {
		padding: 60px 20px;
	}

	.catalog-hero-title {
		font-size: 32px;
	}

	.catalog-categories-grid {
		grid-template-columns: 1fr;
	}

	.catalog-categories-section {
		padding: 40px 16px;
	}
}
