/* DETAIL HEADER */
.detail-header {
	position: fixed;
	top: 0;
	width: 100%;
	height: var(--nav-height);
	background: rgba(17, 17, 17, 0.9);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: 0 3rem;
	z-index: 100;
	border-bottom: 1px solid var(--border);
}

.back-link {
	font-size: 1.25rem;
	color: var(--text-secondary);
	text-decoration: none;
	transition: color 0.2s;
	line-height: 1;
}

.back-link:hover {
	color: var(--text);
}

/* DETAIL MAIN */
.detail-main {
	padding-top: calc(var(--nav-height) + 4rem);
	padding-bottom: 4rem;
}

.detail-main .container {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 2rem;
}

/* COMPANY HEADER */
.company-header h1 {
	font-family: var(--font-serif);
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.company-meta {
	font-size: 0.9rem;
	color: var(--text-muted);
	font-weight: 500;
}

/* ABOUT SECTION */
.about-section {
	margin-top: 3rem;
	padding-top: 3rem;
	border-top: 1px solid var(--border);
}

.about-section h2 {
	font-family: var(--font-serif);
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

.about-section p {
	font-size: 0.9rem;
	color: var(--text-secondary);
	line-height: 1.7;
	margin-bottom: 1.5rem;
}

.highlights {
	list-style: none;
	margin-bottom: 1.5rem;
}

.highlights li {
	font-size: 0.85rem;
	color: var(--text-secondary);
	line-height: 1.6;
	padding-left: 1.25rem;
	position: relative;
	margin-bottom: 0.5rem;
}

.highlights li::before {
	content: "\2022";
	position: absolute;
	left: 0;
	color: var(--text-muted);
}

/* TECH TAGS */
.tech-tags {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.tech-tags span {
	font-size: 0.75rem;
	background: rgba(255, 255, 255, 0.06);
	padding: 0.3rem 0.75rem;
	border-radius: 4px;
	color: var(--text-muted);
	border: 1px solid var(--border);
}

/* PROJECTS SECTION */
.projects-section {
	margin-top: 3rem;
	padding-top: 3rem;
	border-top: 1px solid var(--border);
}

.projects-section h2 {
	font-family: var(--font-serif);
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
}

.detail-project-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.25rem;
}

/* FALLBACK */
.fallback-message {
	min-height: 80vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.fallback-message h2 {
	font-family: var(--font-serif);
	font-size: 2rem;
	font-weight: 600;
	margin-bottom: 0.75rem;
}

.fallback-message p {
	font-size: 0.9rem;
	color: var(--text-muted);
	margin-bottom: 2rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
	.detail-header {
		padding: 0 1.5rem;
	}

	.company-header h1 {
		font-size: 1.75rem;
	}

	.detail-project-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 480px) {
	.detail-project-grid {
		grid-template-columns: 1fr;
	}
}
