/**
 * Home Banner Module
 *
 * Styles for template-parts/modules/home_banner_module.php
 * Full-viewport hero with a background image track (absolute fill) and a
 * static content layer (heading, description, CTAs) that always shows.
 * Slider variant fades between background images only — content does not move.
**/

/* ---------------------------------------------------------------
   Section wrapper
   - min-height drives the viewport fill
   - flex column + justify flex-end anchors content to the bottom
--------------------------------------------------------------- */
.home-banner {
	position: relative;
	width: 100%;
	min-height: 100vh;
	min-height: 100svh; /* modern browsers — accounts for mobile browser chrome */
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	overflow: hidden;
}

/* ---------------------------------------------------------------
   Background image track — fills the full section
   Content layers (.home-banner__overlay, .home-banner__container)
   sit above it via z-index.
--------------------------------------------------------------- */
.home-banner__track {
	position: absolute;
	inset: 0;
	z-index: 0;
}

/* ---------------------------------------------------------------
   Individual slide — just a background image fill
   Slick sets position: absolute in fade mode; height must be forced.
--------------------------------------------------------------- */
.home-banner__slide {
	height: 100%;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

/* ---------------------------------------------------------------
   Gradient overlay — ensures text legibility at the bottom
--------------------------------------------------------------- */
.home-banner__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.55) 100%);
	z-index: 1;
	pointer-events: none;
}

/* ---------------------------------------------------------------
   Content container — always visible, sits above the track
--------------------------------------------------------------- */
.home-banner__container {
	position: relative;
	z-index: 2;
	padding-bottom: 65px;
	padding-left: 50px;
	padding-right: 50px;
}

.home-banner__content {
	width: 100%;
	min-height: 1px; /* Bootstrap row clearfix */
}

/* ---------------------------------------------------------------
   Heading column (left)
--------------------------------------------------------------- */
.home-banner__col-heading {
	display: flex;
	align-items: flex-end;
	padding-bottom: 0px;
	margin-bottom: -5px;
}

.home-banner__heading {
	font-size: clamp(46px, 7vw, 86px);
	font-weight: 900;
	line-height: 0.95;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: var(--white);
	margin: 0;
}

/* ---------------------------------------------------------------
   Details column (right)
   Internal padding centres the content block within the half-width
   column, matching the design where the text sits inset from the
   centre divide rather than flush against it.
--------------------------------------------------------------- */
.home-banner__col-details {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 29px;
	padding-left: clamp(24px, 8vw, 115px);
	padding-right: clamp(24px, 4vw, 80px);
}

.home-banner__desc {
	font-size: 16px;
	line-height: 1.6;
	color: var(--white);
	margin: 0;
}
.home-banner__desc p {
	color: var(--white);
	font-size: clamp(16px, 1.5vw, 20px);
	line-height: 1.3;
}
.home-banner__desc p:last-child {
	margin-bottom: 0;
}

/* ---------------------------------------------------------------
   CTAs
--------------------------------------------------------------- */
.home-banner__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

/* Primary — yellow fill, black text */
.home-banner__btn--primary {
	background-color: var(--yellow);
	background-color:#FBDB29;
	color: var(--black);
	border: 1px solid var(--yellow);
	padding: 16px 18px 16px 16px;
}


.home-banner__btn--primary:hover,
.home-banner__btn--primary:focus {
	background-color: var(--white);
	border-color: var(--white);
	color: var(--black);
	text-decoration: none;
}

/* Outline — transparent, white border */
.home-banner__btn--outline {
	background-color: transparent;
	color: var(--white);
	border: 1px solid var(--white);
	padding:16px 23px 16px 23px;
}

.home-banner__btn--outline:hover,
.home-banner__btn--outline:focus {
	background-color: var(--white);
	color: var(--black);
	text-decoration: none;
}

/* ---------------------------------------------------------------
   Slick overrides
   The track is position: absolute; inset: 0 — Slick's list/track
   must fill it fully for the fade effect to cover the section.
   !important required to override Slick's inline height: 0 styles.
--------------------------------------------------------------- */
.home-banner--has-slider .slick-list,
.home-banner--has-slider .slick-track {
	height: 100% !important; /* override Slick inline style; fills the absolute track */
}

.home-banner--has-slider .slick-slide,
.home-banner--has-slider .slick-slide > div {
	height: 100%;
}


/* Arrow group — positioned bottom right, houses both prev/next */
.home-banner__arrows {
	position: absolute;
	bottom: 40px;
	right: 40px;
	z-index: 10;
	display: flex;
	gap: 12px;
	align-items: center;
}

/* Base arrow button — circular */
.home-banner__arrow {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	padding: 0;
	flex-shrink: 0;
}

.home-banner__arrow svg {
	width: 20px;
	height: 20px;
	display: block;
}

/* Prev — white outline circle */
.home-banner__arrow--prev {
	background: transparent;
	border: 2px solid var(--white);
	color: var(--white);
		background-color: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
  cursor: pointer;
}

.home-banner__arrow--prev:hover,
.home-banner__arrow--prev:focus {
	background: var(--yellow);
	border: 2px solid var(--yellow);
	color: var(--black);
}

/* Next — yellow filled circle */
.home-banner__arrow--next {
	background: var(--yellow);
	border: 2px solid var(--yellow);
	color: var(--black);
}

.home-banner__arrow--next:hover,
.home-banner__arrow--next:focus {
	background: #e6d220;
	border-color: #e6d220;
	outline: none;
}

/* ---------------------------------------------------------------
   Responsive
--------------------------------------------------------------- */
@media (max-width: 1280px) {
	.home-banner__container {
		padding-left: 20px;
    padding-right: 20px;
	}
}

@media (max-width: 992px) {
	.home-banner__overlay {
		background: linear-gradient(360deg, #000000 17.32%, rgba(255, 255, 255, 0) 86.19%)
	}

	.home-banner__container {
		padding-bottom: 40px;
	}

	.home-banner__col-heading {
		padding-bottom: 0;
		margin-bottom: 28px;
	}

	.home-banner__col-details {
		padding-left: 0;
		padding-right: 0;
	}

	.home-banner__desc {
		padding-left: 15px;
	}
	
	.home-banner__ctas {
		padding-left: 15px;
		flex-direction: row-reverse;
		justify-content: flex-end;
	}

	.home-banner__btn--outline {
		border: 1px solid var(--white);
	}

	.home-banner__btn--primary {
		border: 1px solid var(--yellow);
	}

}

@media (max-width: 768px) {
	.home-banner__container {
		padding-bottom: 33px;
		padding-left: 10px;
		padding-right: 10px;
	}

	.home-banner__arrows {display:none}

	.home-banner__col-heading {
		margin-bottom: 20px;
	}

	.home-banner__desc {
		font-size: 15px;
	}

	.home-banner__ctas {
		flex-wrap: nowrap;
		gap: 8px;
	}

	.home-banner__btn--primary,
	.home-banner__btn--outline {
		font-size: 14px;
		white-space: nowrap;
	}

	.home-banner__arrows {
		bottom: 24px;
		right: 20px;
		gap: 8px;
	}

	.home-banner__arrow {
		width: 44px;
		height: 44px;
	}

	.home-banner__arrow svg {
		width: 16px;
		height: 16px;
	}

	.home-banner__desc p {
		line-height: 22px;
	}
}

