/* Florya Hero Slider */
.florya-hero,
.florya-hero * {
	box-sizing: border-box;
}

.florya-hero {
	position: relative;
	width: 100%;
	height: 100vh;
	min-height: 420px;
	overflow: hidden;
	background: var(--fl-navy-deep);
	color: #fff;
	font-family: var(--fl-font-body);
}

.florya-hero__slides {
	position: absolute;
	inset: 0;
}

/* Slides (fade) */
.florya-hero__slide {
	position: absolute;
	inset: 0;
	z-index: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0s linear var(--florya-speed), visibility 0s linear var(--florya-speed);
}

.florya-hero__slide.is-active {
	z-index: 1;
	opacity: 1;
	visibility: visible;
	transition: opacity var(--florya-speed) ease, visibility 0s linear 0s;
}

.florya-hero__media {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.florya-hero__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.florya-hero--zoom .florya-hero__slide.is-active .florya-hero__img {
	animation: florya-hero-zoom 9s ease-out forwards;
}

@keyframes florya-hero-zoom {
	from { transform: scale(1.12); }
	to   { transform: scale(1); }
}

.florya-hero__overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(7, 22, 61, 0.4);
	pointer-events: none;
}

/* Content */
.florya-hero__inner,
.florya-hero__controls {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 45px;
	z-index: 3;
	width: 100%;
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 15px;
	display: flex;
	justify-content: flex-start;
}

.florya-hero__box {
	width: 100%;
	max-width: 360px;
	padding: 35px 30px;
	background-color: var(--fl-navy-deep);
	border-top: 2px solid var(--fl-gold);
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

.florya-hero__slide.is-active .florya-hero__box {
	opacity: 1;
	transform: none;
	transition-delay: 0.35s;
}

.florya-hero__subtitle {
	display: block;
	margin: 0 0 14px;
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 4px;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--fl-gold-light);
}

.florya-hero__title {
	margin: 0 0 14px;
	font-family: var(--fl-font-heading);
	font-size: 26px;
	font-weight: 500;
	line-height: 1.25;
	color: #fff;
}

.florya-hero__text {
	margin: 0;
	font-size: 12px;
	font-weight: 300;
	line-height: 1.7;
	color: rgba(251, 247, 238, 0.85);
}

.florya-hero__highlight {
	font-family: var(--fl-font-script);
	font-size: 36px;
	line-height: 1;
	color: var(--fl-gold-light);
}

.florya-hero__button {
	display: inline-block;
	margin-top: 18px;
	padding-bottom: 3px;
	border-bottom: 1px solid currentColor;
	font-size: 11px;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--fl-gold-light);
	transition: opacity 0.3s ease;
}

.florya-hero__button:hover {
	opacity: 0.7;
	color: #fff;
}

/* Arrows */
.florya-hero__controls {
	justify-content: flex-end;
	align-items: flex-end;
	pointer-events: none;
}

.florya-hero__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin: 0 0 0 8px;
	padding: 0;
	border: 1px solid rgba(236, 197, 102, 0.7);
	border-radius: 50%;
	background: transparent;
	color: #fff;
	cursor: pointer;
	pointer-events: auto;
	transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

.florya-hero__arrow:hover,
.florya-hero__arrow:focus-visible {
	background-color: var(--fl-gold);
	border-color: var(--fl-gold);
	color: var(--fl-navy-deep);
}

.florya-hero__arrow:disabled {
	opacity: 0.35;
	cursor: default;
}

/* Progress */
.florya-hero__progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 5;
	height: 3px;
	background-color: rgba(236, 197, 102, 0.2);
}

.florya-hero__progress span {
	display: block;
	width: 0;
	height: 100%;
	background-color: var(--fl-gold);
}

.florya-hero__progress span.is-running {
	animation: florya-hero-progress var(--florya-autoplay, 6000ms) linear forwards;
}

.florya-hero.is-paused .florya-hero__progress span {
	animation-play-state: paused;
}

@keyframes florya-hero-progress {
	from { width: 0; }
	to   { width: 100%; }
}

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

	.florya-hero__box {
		max-width: 100%;
		padding: 25px 22px;
	}

	.florya-hero__inner {
		bottom: 70px;
	}

	.florya-hero__controls {
		bottom: 25px;
	}

	.florya-hero__title {
		font-size: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.florya-hero__slide,
	.florya-hero__box {
		transition-duration: 0.01s;
	}

	.florya-hero--zoom .florya-hero__slide.is-active .florya-hero__img {
		animation: none;
	}
}
