/* ==========================================================================
   Hero sections
   ========================================================================== */

/* ---------- Home hero ---------- */
.home-hero {
	position: relative;
	background: var(--navy);
	color: #fff;
	overflow: hidden;
}

.home-hero__media {
	position: absolute;
	inset: 0;
}

.home-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.45;
}

.home-hero__inner {
	position: relative;
	padding: 96px 0;
	max-width: 640px;
}

.home-hero__eyebrow {
	display: inline-block;
	margin-bottom: 14px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--accent);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.home-hero h1 {
	color: #fff;
	font-size: clamp(2.75rem, 5.5vw, 4.5rem);
	font-weight: 700;
	line-height: 1.08;
	margin-bottom: 16px;
}

.home-hero p {
	color: rgba(255, 255, 255, 0.86);
	font-size: clamp(1.1rem, 2vw, 1.35rem);
	margin-bottom: 28px;
}

.home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}
.home-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -2.5%;
    right: -2.5%;
    width: 105%;
    height: 6rem;
	background: var(--bg);
    border-radius: 50% 50% 0px 0px;
    transform: translateY(50%);
    z-index: 1;
}

/* ---------- Home hero onder header (Schalk-stijl) ---------- */
.home-hero--under-header {
	min-height: calc(100vh - var(--top-stripe-height));
	min-height: calc(100dvh - var(--top-stripe-height));
	display: flex;
	align-items: center;
}

.home-hero--under-header::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--hero-overlay);
	z-index: 1;
}

.home-hero--under-header .home-hero__media img {
	opacity: 1;
}

.home-hero--under-header .container {
	position: relative;
	z-index: 2;
	width: 100%;
}

.home-hero--under-header .home-hero__inner {
	max-width: 920px;
	margin: 0 auto;
	text-align: center;
	padding: calc(var(--header-height) + 48px) 0 96px;
}

.home-hero--under-header h1 {
	font-size: clamp(3rem, 6.5vw, 5rem);
}

.home-hero--under-header p {
	font-size: clamp(1.15rem, 2.2vw, 1.45rem);
}

.home-hero--under-header .home-hero__actions {
	justify-content: center;
}

.home-hero--under-header .btn-secondary {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.85);
}

.home-hero--under-header .btn-secondary:hover {
	background: #fff;
	color: var(--navy);
	border-color: #fff;
}

/* ---------- Hero max viewport height ---------- */
.home-hero--max-vh,
.page-hero--max-vh {
	max-height: calc(var(--hero-max-vh) * 1vh);
	max-height: calc(var(--hero-max-vh) * 1dvh);
}

.home-hero--under-header.home-hero--max-vh {
	min-height: min(calc(100vh - var(--top-stripe-height)), calc(var(--hero-max-vh) * 1vh));
	min-height: min(calc(100dvh - var(--top-stripe-height)), calc(var(--hero-max-vh) * 1dvh));
}

/* ---------- Page hero ---------- */
.page-hero {
	position: relative;
	background: var(--navy);
	color: #fff;
	overflow: hidden;
	padding: 64px 0;
}

.page-hero--with-image {
	min-height: 320px;
}

.page-hero__media {
	position: absolute;
	inset: 0;
}

.page-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.35;
}

.page-hero__content {
	position: relative;
	max-width: 720px;
}

.page-hero h1 {
	color: #fff;
	margin-bottom: 16px;
}

.page-hero p {
	color: rgba(255, 255, 255, 0.86);
	font-size: 1.1rem;
}

/* ---------- Detail hero (gallery + purchase) ---------- */
.detail-hero {
	padding: 8px 0 48px;
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(320px, 400px);
	gap: 36px;
	align-items: start;
}

/* ---------- Responsive hero ---------- */
@media (max-width: 1020px) {
	.hero-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
	.home-hero__inner { padding: 64px 0; }

	.home-hero h1 {
		font-size: clamp(2.25rem, 8vw, 2.75rem);
	}

	.home-hero--under-header h1 {
		font-size: clamp(2.35rem, 9vw, 3rem);
	}

	.home-hero--under-header .home-hero__inner {
		padding: calc(var(--header-height) + 32px) 0 64px;
	}
}
