.bws-hero {
	align-items: center;
	background: #b9b7b1;
	display: flex;
	isolation: isolate;
	justify-content: center;
	margin-block-start: 0 !important;
	margin-top: 0 !important;
	min-height: 100vh;
	overflow: hidden;
	position: relative;
}

.bws-hero::before {
	background: url("http://www.moonsail.com.tr/wp-content/uploads/2026/07/moonsail-hero-fallback-v3.jpg") center center / cover no-repeat;
	content: "";
	inset: -6%;
	pointer-events: none;
	position: absolute;
	transform: translate3d(0, var(--bws-hero-parallax, 0), 0) scale(1.04);
	transition: transform 80ms linear;
	z-index: 0;
	will-change: transform;
}

.wp-site-blocks > .wp-block-template-part:first-child,
.wp-site-blocks > .wp-block-template-part:first-child + .bws-hero {
	margin-block-start: 0 !important;
	margin-top: 0 !important;
}

.bws-hero .wp-block-cover__image-background {
	height: 112%;
	left: -6%;
	object-fit: cover;
	top: -6%;
	transform: translate3d(0, var(--bws-hero-parallax, 0), 0) scale(1.04);
	transition: transform 80ms linear;
	width: 112%;
	z-index: 0;
	will-change: transform;
}

.bws-hero__video {
	inset: -6%;
	pointer-events: none;
	position: absolute;
	transform: translate3d(0, var(--bws-hero-parallax, 0), 0) scale(1.04);
	transition: transform 80ms linear;
	z-index: 1;
	will-change: transform;
}

.bws-hero__video > div {
	height: 56.25vw;
	left: 50%;
	max-height: none;
	max-width: none;
	min-height: 100vh;
	min-width: 177.7778vh;
	padding-top: 0 !important;
	position: absolute !important;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 100vw;
}

.bws-hero__video iframe {
	height: 100% !important;
	left: 0;
	object-fit: cover;
	position: absolute;
	top: 0;
	width: 100% !important;
}

.bws-hero.has-video .wp-block-cover__image-background,
.bws-hero .bws-hero__video ~ .wp-block-cover__image-background,
.bws-hero.has-video .wp-block-cover__background {
	display: none;
}

.bws-hero .wp-block-cover__inner-container {
	position: relative;
	z-index: 3;
}

.bws-hero__content {
	color: #fff;
	margin-left: auto;
	margin-right: auto;
	max-width: 840px;
	padding: calc(96px + 48px) 24px 48px;
	position: relative;
	text-align: center;
	z-index: 3;
}

.bws-hero__title {
	animation: bws-hero-content-slide-in 820ms ease forwards;
	color: #fff;
	font-weight: 300;
	margin: 0;
	opacity: 0;
	transform: translateY(18px);
}

.bws-hero__subtitle {
	animation: bws-hero-content-slide-in 820ms ease 140ms forwards;
	color: #fff;
	margin: 22px auto 0;
	max-width: 680px;
	opacity: 0;
	transform: translateY(18px);
}

.bws-hero__actions {
	animation: bws-hero-content-slide-in 820ms ease 280ms forwards;
	margin-top: 34px;
	opacity: 0;
	transform: translateY(18px);
}

.bws-hero__button .wp-block-button__link {
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	background: rgba(0, 36, 68, 0.72);
	border: 1px solid rgba(255, 255, 255, 0.34);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
	color: #fff;
	transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.bws-hero__button .wp-block-button__link:hover,
.bws-hero__button .wp-block-button__link:focus {
	background: rgba(255, 255, 255, 0.28);
	border-color: rgba(255, 255, 255, 0.58);
	box-shadow: 0 22px 46px rgba(0, 0, 0, 0.2);
	color: #111;
	transform: translateY(-2px);
}

.bws-hero__scroll {
	align-items: center;
	bottom: clamp(28px, 5vh, 54px);
	color: #fff;
	display: inline-flex;
	height: 52px;
	justify-content: center;
	left: 50%;
	position: absolute;
	text-decoration: none;
	transform: translateX(-50%);
	width: 52px;
	z-index: 4;
}

.bws-hero__scroll-arrow {
	animation: bws-hero-arrow-slide 1.6s ease-in-out infinite;
	border-bottom: 2px solid currentColor;
	border-right: 2px solid currentColor;
	display: block;
	height: 18px;
	transform: rotate(45deg);
	width: 18px;
}

@keyframes bws-hero-arrow-slide {
	0%,
	100% {
		opacity: 0.55;
		transform: translateY(-6px) rotate(45deg);
	}

	50% {
		opacity: 1;
		transform: translateY(8px) rotate(45deg);
	}
}

@keyframes bws-hero-content-slide-in {
	from {
		opacity: 0;
		transform: translateY(18px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.bws-hero::before,
	.bws-hero .wp-block-cover__image-background,
	.bws-hero__video {
		transform: scale(1.04);
		transition: none;
	}

	.bws-hero__title,
	.bws-hero__subtitle,
	.bws-hero__actions {
		animation: none;
		opacity: 1;
		transform: none;
	}

	.bws-hero__scroll-arrow {
		animation: none;
	}
}

@media (max-width: 700px) {
	.bws-hero__content {
		padding-top: calc(78px + 36px);
	}

	.wp-site-blocks .bws-hero__title,
	.editor-styles-wrapper .bws-hero__title {
		font-size: clamp(28px, 8vw, 34px) !important;
		line-height: 1.08 !important;
	}
}
