/**
 * Hero (full-bleed) component styles.
 * Alleen geladen op pagina's waar deze layout ook echt voorkomt
 * (zie inc/blocks.php: christies_enqueue_page_block_assets()).
 */

.hero-fullbleed {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: var( --hero-height, 95vh );
	min-height: 600px;
	overflow: hidden;
	color: #fff;
	text-align: center;
}

.hero-fullbleed__media {
	position: absolute;
	inset: 0;
}

.hero-fullbleed__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-fullbleed__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgb( 0 0 0 / 0.4 ) 0%,
		rgb( 0 0 0 / 0.2 ) 50%,
		rgb( 0 0 0 / 0.5 ) 100%
	);
}

.hero-fullbleed__content {
	position: relative;
	z-index: 10;
	max-width: 56rem;
	padding-inline: var( --container-padding, 1rem );
}

.hero-fullbleed__eyebrow {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin: 0 0 1.5rem;
	text-transform: uppercase;
	letter-spacing: 0.3em;
	font-size: 0.8rem;
}

.hero-fullbleed__eyebrow-line {
	display: inline-block;
	width: 2.5rem;
	height: 1px;
	background-color: currentColor;
}

.hero-fullbleed__heading {
	margin: 0 0 2rem;
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp( 1.5rem, 4vw, 3rem );
	line-height: 1.2;
	font-weight: 600;
}

.hero-fullbleed__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem;
}

.hero-fullbleed__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 2rem;
	font-size: 0.9rem;
	letter-spacing: 0.02em;
	text-decoration: none;
	border: 1px solid transparent;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.hero-fullbleed__cta--primary {
	background-color: rgb( 203 43 43 / 1 );
	color: #fff;
}

.hero-fullbleed__cta--primary:hover,
.hero-fullbleed__cta--primary:focus {
	background-color: rgb( 203 43 43 / 0.9 );
	color: #fff;
}

.hero-fullbleed__cta--secondary {
	background-color: transparent;
	border-color: #fff;
	color: #fff;
}

.hero-fullbleed__cta--secondary:hover,
.hero-fullbleed__cta--secondary:focus {
	background-color: #fff;
	color: #2c2c2c;
}

@media ( max-width: 600px ) {
	.hero-fullbleed__actions {
		flex-direction: column;
		align-items: stretch;
	}
}
