/* Shared Hero Component - Can be used for both slideshow and static heroes */

/* Full-screen Slideshow Hero (for home page) */
.hero {
	position: relative;
	width: 100%;
	min-height: 100vh;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: #000;
}

.hero-slideshow {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.hero-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 1.5s ease-in-out, transform 8s ease-out;
	transform: scale(1);
}

.hero-slide.active {
	opacity: 1;
	animation: kenburns 12s ease-out infinite alternate;
}

@keyframes kenburns {
	0% { transform: scale(1); }
	100% { transform: scale(1.1); }
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(88, 28, 135, 0.35) 50%, rgba(0, 0, 0, 0.8) 100%);
	z-index: 2;
}

.hero-overlay::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
}

/* Static Page Hero (for inventory, about, etc) */
.page-hero {
	padding: 160px 0 80px;
	background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%);
	position: relative;
	overflow: hidden;
}

.page-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: -50%;
	width: 150%;
	height: 100%;
	background: radial-gradient(ellipse at top left, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
	pointer-events: none;
}

.page-hero::after {
	content: '';
	position: absolute;
	bottom: 0;
	right: -30%;
	width: 100%;
	height: 80%;
	background: radial-gradient(ellipse at bottom right, rgba(236, 72, 153, 0.06) 0%, transparent 50%);
	pointer-events: none;
}

/* Compact Inventory Hero */
.hero-section.hero--compact.inventory-hero {
	position: relative;
	background: linear-gradient(135deg,#0f0f0f 0%,#1a1a1a 55%,#0f0f0f 100%);
	padding: 1.5rem 0 1.25rem;
	border-bottom: 1px solid rgba(139, 92, 246, 0.15);
	color: #e9e9ea;
	display: flex;
	align-items: center;
}

.hero-section.hero--compact.inventory-hero:before {
	content:'';
	position:absolute;
	inset:0;
	background:
		radial-gradient(circle at 85% 30%,rgba(139,92,246,.12),transparent 65%),
		radial-gradient(circle at 15% 70%,rgba(236,72,153,.08),transparent 60%);
	pointer-events:none;
	mix-blend-mode:screen;
}

.inventory-hero__inner {
	display:grid;
	grid-template-columns: 1fr auto;
	gap:2rem;
	width:100%;
	max-width:1600px;
	margin:0 auto;
	padding:0 2rem;
	position:relative;
	z-index:2;
	align-items: center;
}

.inventory-hero__heading h1 {
	margin:0 0 0.35rem 0;
	font-size:2.25rem;
	line-height:1.1;
	font-weight:700;
	letter-spacing:-0.02em;
	background:linear-gradient(135deg,#fff 0%,#e0e0e3 100%);
	-webkit-background-clip:text;
	-webkit-text-fill-color:transparent;
	font-family: var(--font-serif);
}

.inventory-hero__tag {
	margin:0 0 1rem 0;
	font-size:0.875rem;
	font-weight:500;
	color:#a8a8ad;
	letter-spacing:0.03em;
}

.inventory-hero__stats {
	display:flex;
	flex-wrap:wrap;
	gap:0.75rem;
}

.inv-stat {
	background: rgba(255, 255, 255, 0.03);
	border:1px solid rgba(255, 255, 255, 0.08);
	padding:0.625rem 0.875rem;
	border-radius:10px;
	min-width:100px;
	display:flex;
	flex-direction:column;
	gap: 0.25rem;
	transition: all 0.3s ease;
}

.inv-stat:hover {
	background: rgba(139, 92, 246, 0.08);
	border-color: rgba(139, 92, 246, 0.2);
}

.inv-stat__label {
	font-size:0.6875rem;
	letter-spacing:0.08em;
	text-transform:uppercase;
	color:#8a8a8f;
	font-weight: 600;
}

.inv-stat__val {
	font-size:1.125rem;
	font-weight:700;
	color:#f0f0f2;
	white-space:nowrap;
	font-family: var(--font-sans);
}

.inventory-hero__tools {
	display:flex;
	flex-direction:column;
	align-items:flex-end;
	gap:0.875rem;
}

.hero-quick-search {
	display:flex;
	align-items:center;
	background: rgba(255, 255, 255, 0.05);
	border:1px solid rgba(255, 255, 255, 0.1);
	border-radius:10px;
	overflow:hidden;
	width:100%;
	max-width:380px;
	transition: all 0.3s ease;
}

.hero-quick-search:focus-within {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(139, 92, 246, 0.4);
	box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.hero-quick-search input {
	background:transparent;
	border:none;
	color:#e7e7ea;
	padding:0.75rem 1rem;
	font-size:0.875rem;
	width:100%;
	font-family: var(--font-sans);
}

.hero-quick-search input::placeholder {
	color: rgba(255, 255, 255, 0.4);
}

.hero-quick-search input:focus {
	outline:none;
}

.hero-quick-search button {
	background: rgba(255, 255, 255, 0.08);
	border:none;
	color:#cacace;
	padding:0.75rem 0.875rem;
	cursor:pointer;
	display:flex;
	align-items:center;
	transition: all 0.3s ease;
}

.hero-quick-search button:hover {
	background: rgba(139, 92, 246, 0.2);
	color: #8b5cf6;
}

.inventory-hero__actions {
	display:flex;
	gap:0.625rem;
}

.btn-primary.slim,
.btn-outline.slim {
	padding:0.625rem 1.125rem;
	font-size:0.8125rem;
	border-radius:8px;
	display:inline-flex;
	align-items:center;
	gap:0.5rem;
	text-decoration:none;
	transition: all 0.3s ease;
	font-weight: 600;
	font-family: var(--font-sans);
	white-space: nowrap;
}

.btn-primary.slim {
	background:linear-gradient(135deg,#8b5cf6 0%,#7c3aed 100%);
	color:#fff;
	border:none;
	box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25);
}

.btn-primary.slim:hover {
	box-shadow: 0 6px 20px rgba(139, 92, 246, 0.35);
	transform: translateY(-2px);
}

.btn-outline.slim {
	background: rgba(255, 255, 255, 0.05);
	color:#d9d9dc;
	border:1px solid rgba(255, 255, 255, 0.15);
}

.btn-outline.slim:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.25);
}

.inventory-hero__chips {
	display:flex;
	flex-wrap:wrap;
	gap:0.5rem;
	justify-content:flex-end;
	max-width: 380px;
}

.inventory-hero__chips .chip {
	background: rgba(139, 92, 246, 0.15);
	color:#e2e2e6;
	border:1px solid rgba(139, 92, 246, 0.25);
	padding:0.375rem 0.75rem;
	border-radius:16px;
	font-size:0.75rem;
	cursor:pointer;
	transition: all 0.3s ease;
	font-weight: 500;
	font-family: var(--font-sans);
}

.inventory-hero__chips .chip:hover {
	background: rgba(139, 92, 246, 0.25);
	border-color: rgba(139, 92, 246, 0.4);
}

.inventory-hero__chips .chip.inactive {
	background: rgba(255, 255, 255, 0.03);
	color:#6d6d72;
	border-color: rgba(255, 255, 255, 0.08);
	cursor:default;
}

.inventory-hero__chips .chip.inactive:hover {
	background: rgba(255, 255, 255, 0.03);
	border-color: rgba(255, 255, 255, 0.08);
}

/* Shared Hero Elements */
.hero-container {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
}

.hero .hero-container {
	padding: 220px 2rem 100px;
	min-height: 100vh;
}

.page-hero .hero-container {
	padding: 0;
}

.hero-content {
	max-width: 900px;
	width: 100%;
	margin: 0 auto;
	text-align: center;
}

.hero .badge,
.page-hero .badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 28px;
	border-radius: 50px;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	margin-bottom: 1.5rem;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero .badge {
	background: rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #fff;
}

.page-hero .badge {
	background: rgba(139, 92, 246, 0.1);
	border: 1px solid rgba(139, 92, 246, 0.2);
	color: #8b5cf6;
}

.hero h1,
.page-hero h1 {
	font-family: var(--font-serif);
	font-size: clamp(2.5rem, 7vw, 5.5rem);
	font-weight: 700;
	line-height: 1.15;
	margin-bottom: 1.5rem;
}

.hero h1 {
	color: #fff;
	text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.page-hero h1 {
	color: var(--black);
}

.hero h1 .highlight,
.page-hero h1 .highlight {
	background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	position: relative;
	display: inline-block;
}

.hero-description {
	font-size: clamp(1rem, 2vw, 1.25rem);
	line-height: 1.8;
	max-width: 700px;
	margin: 0 auto 2.5rem;
}

.hero .hero-description {
	color: rgba(255, 255, 255, 0.9);
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.page-hero .hero-description {
	color: var(--gray-600);
}

/* Responsive */
@media (max-width: 1200px) {
	.inventory-hero__inner {
		max-width: 1200px;
		padding: 0 1.5rem;
	}
}

@media (max-width:968px) {
	.inventory-hero__inner {
		grid-template-columns:1fr;
		gap:1.25rem;
		padding: 0 1.25rem;
	}
	
	.inventory-hero__tools {
		align-items:flex-start;
	}
	
	.hero-quick-search {
		max-width: none;
	}
	
	.inventory-hero__chips {
		justify-content:flex-start;
		max-width: none;
	}
	
	.inventory-hero__actions {
		width: 100%;
	}
	
	.btn-primary.slim,
	.btn-outline.slim {
		flex: 1;
		justify-content: center;
	}
}

@media (max-width:640px) {
	.hero-section.hero--compact.inventory-hero {
		padding:1.25rem 0 1rem;
	}
	
	.inventory-hero__inner {
		padding: 0 1rem;
	}
	
	.inventory-hero__heading h1 {
		font-size:1.875rem;
	}
	
	.inventory-hero__tag {
		font-size: 0.8125rem;
		margin-bottom: 0.875rem;
	}
	
	.inv-stat {
		padding:0.5rem 0.75rem;
		min-width: 85px;
	}
	
	.inv-stat__val {
		font-size:1rem;
	}
	
	.hero-quick-search input {
		font-size: 0.8125rem;
		padding: 0.625rem 0.875rem;
	}
	
	.hero-quick-search button {
		padding: 0.625rem 0.75rem;
	}
	
	.inventory-hero__actions {
		flex-direction: column;
	}
}
