/* ============================================
   HERO-ALUE (DFS AB -tyylinen)
   ============================================ */

.hero {
	height: 600px;
	background: url('../media/banner.jpeg') center/cover;
	position: relative;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to right,
		rgba(28, 46, 73, 0.9) 0%,
		rgba(28, 46, 73, 0.4) 100%
	);
	z-index: 1;
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 600px;
	padding-left: 5%;
	padding-right: 5%;
	color: var(--color-white);
}

.hero-icon {
	margin-bottom: 24px;
}

.hero-icon i {
	font-size: 80px;
	color: var(--color-white);
	opacity: 0.9;
}

.hero-title {
	font-size: var(--font-size-h1);
	font-weight: var(--font-weight-bold);
	letter-spacing: -2px;
	line-height: 1.15;
	margin-bottom: 20px;
	color: var(--color-white);
}

.hero-subtitle {
	font-size: 20px;
	font-weight: 400;
	line-height: 1.6;
	margin-bottom: 32px;
	color: var(--color-white);
	opacity: 0.95;
}

.hero-cta {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

/* Hero CTA-painikkeet */
.hero-cta .btn {
	padding: 16px 40px;
	font-size: 16px;
	font-weight: var(--font-weight-semibold);
	border-radius: var(--border-radius-button);
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-block;
}

.hero-cta .btn-primary {
	background: var(--color-secondary);
	color: var(--color-white);
	border: none;
}

.hero-cta .btn-primary:hover {
	background: #005A92;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 119, 190, 0.3);
}

.hero-cta .btn-secondary {
	background: transparent;
	color: var(--color-white);
	border: 2px solid var(--color-white);
}

.hero-cta .btn-secondary:hover {
	background: var(--color-white);
	color: var(--color-primary);
}

/* ============================================
   SISÄLTÖALUE
   ============================================ */

.frontpage-container {
	display: flex;
	flex-direction: column;
	gap: var(--padding-large);
	padding: var(--padding-large) 5%;
}

.frontpage-content > h3 {
	color: var(--color-secondary);
}

/* ============================================
   RESPONSIIVISUUS
   ============================================ */

/* Tablet */
@media (max-width: 1023px) {
	.hero {
		height: 500px;
	}

	.hero-title {
		font-size: 48px;
		letter-spacing: -1.5px;
	}

	.hero-subtitle {
		font-size: 18px;
	}

	.hero-icon i {
		font-size: 64px;
	}
}

/* Mobile */
@media (max-width: 767px) {
	.hero {
		height: 450px;
	}

	.hero-content {
		padding-left: 20px;
		padding-right: 20px;
	}

	.hero-title {
		font-size: 36px;
		letter-spacing: -1px;
	}

	.hero-subtitle {
		font-size: 16px;
	}

	.hero-icon i {
		font-size: 48px;
	}

	.hero-cta {
		flex-direction: column;
	}

	.hero-cta .btn {
		width: 100%;
		text-align: center;
	}

	.frontpage-container {
		padding: var(--padding-medium) 20px;
	}
}
