/**
 * Home Hero/Banner Component
 *
 * Full-width hero section with background image and content overlay
 */

.home-hero {
	position: relative;
	width: 100%;
	max-height: 500px;
	height: 500px;
	overflow: hidden;
}

.home-hero__media {
	position: relative;
	width: 100%;
	height: 100%;
}

.home-hero__image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.home-hero__panel {
	position: absolute;
	bottom: 15px;
	right: 15px;
	background: #fff;
	border-radius: 8px;
	width: 50%;
	max-width: 480px;
	padding: 20px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.home-hero__subtitle {
	text-transform: uppercase;
	font-size: 0.875rem;
	font-weight: 500;
	color: #000;
	margin: 0 0 8px 0;
	letter-spacing: 0.05em;
}

.home-hero__title {
	font-size: 2rem;
	font-weight: 700;
	color: var(--color-red-light);
	margin: 0;
	line-height: 1.2;
	display: flex;
	align-items: center;
	gap: 12px;
}

.home-hero__title::after {
	content: "→";
	font-size: 1.5rem;
	color: var(--color-red-light);
	flex-shrink: 0;
}

/* ==========================================================================
   Slides list
   ========================================================================== */

.home-hero__slides {
	list-style: none;
	padding: 0;
	margin: 0;
}

.home-hero__slide {
	display: none;
}

.home-hero__slide--active {
	display: block;
}

.home-hero__title-link {
	color: inherit;
	text-decoration: none;
}

.home-hero__title-link:hover .home-hero__title {
	text-decoration: underline;
}

/* Dot navigation */

.home-hero__dots {
	display: flex;
	gap: 8px;
	margin-top: 16px;
}

.home-hero__dot {
	width: 50px;
	height: 4px;
	padding: 0;
	border: none;
	border-radius: 10px;
	background: #dcdcde;
	cursor: pointer;
}

.home-hero__dot--active {
	background: var(--color-primary);
}

/* Responsive: Mobile/Tablet */
@media (max-width: 875px) {
	.home-hero {
		max-height: 300px;
		height: 300px;
	}

	.home-hero__panel {
		width: calc(100% - 30px);
		max-width: none;
		bottom: 15px;
		right: 15px;
		left: 15px;
		padding: 16px;
	}

	.home-hero__subtitle {
		font-size: 0.75rem;
		margin-bottom: 6px;
	}

	.home-hero__title {
		font-size: 1.5rem;
		gap: 8px;
	}

	.home-hero__title::after {
		font-size: 1.25rem;
	}
}

