/*Parallax Hero Start*/
.parallax-hero{
	height: 650px;
	align-items: center;
	display: flex;
}

.parallax-hero--static{
	position: relative;
	display: flex;
	height: 100%;
	width: 100%;
}

.parallax-hero__background{
	position: absolute;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center -1px;
}

.parallax-hero__background img{
	display: flex;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.parallax-hero__background--mobile {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;

    & :is(img, video) {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

.parallax-hero--catalog{
	padding: 30px 0px;
	background-color: #d1d1d1;
}

.parallax-hero--catalog .swiper-button-prev, .parallax-hero--catalog .swiper-button-next{
	color: white;
	 background-color: rgba(47,47,47,0.5);
	padding: 10px;
	width: 40px;
	height: 40px;
	border-radius: 696969px;
}

.parallax-hero--catalog .swiper-button-prev::after, .parallax-hero--catalog .swiper-button-next::after{
	font-size: 24px;
	font-weight: 600;
	text-align: center;
}

.parallax-hero--catalog.parallax-hero .parallax-hero__slide{
	justify-content: center;
	align-items: center;
	display: flex;
	
}

.parallax-hero--catalog.parallax-hero .parallax-hero__background{
	background-size: contain;
	background-repeat: no-repeat;
	aspect-ratio: 16 / 9;
	width: 1200px;
	
}

.parallax-hero--catalog.parallax-hero .parallax-hero__background > img{
	border-radius: 30px;
}

.parallax-hero__content{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 100px;
	align-items: center;
	height: 100%;
	width: 100%;
	max-width: 100%;
	padding: var(--site-padding);
	z-index: 1;
}

.parallax-hero__buttons{
	display: flex;
	flex-direction: row;
	gap: 15px;
}

.parallax-hero__image{
	margin: 0 auto;
	display: flex;
	max-width: 400px;
}

.parallax-hero__image img{
	width: 100%;
}

.parallax-hero__subheader{
	font-weight: var(--header-weight);
  font-family: var(--body-font);
  line-height: var(--header-sub-height);
	text-transform: uppercase;
	font-size: var(--header-sub-size);
}

.parallax-hero__header{
	text-wrap: balance;
	line-height: .9;
}

.parallax-hero__header > span.fancy{
	display: inline-flex;
	isolation: isolate;
}

/*parallax hero video start*/

div.parallax-hero__background--video{
	position: absolute;
	top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

div.parallax-hero__background--video video{
	width: 100%;
	height: 100%;
	z-index: -1;
    object-fit: cover;
    object-position: center;
}

div.parallax-hero{
	height: auto;
}

div.parallax-hero__content{
	z-index: 1;
	aspect-ratio: 16/9;
}

div.parallax-hero__overlay{
	background: linear-gradient(to right, rgba(6, 47, 73,.8),rgba(6, 47, 73,.0),rgba(6, 47, 73,.0));
	z-index: 0;
	width: 100%;
    height: 100%;
	position: absolute;
}


/*parallax hero video end*/

@media(max-width: 1050px){
	.parallax-hero__content{
		display: flex;
		column-gap: 30px;
        align-items: start;
        margin-top: 15%;
	}

    .parallax-hero__content--text {
        max-width: 500px;
    }

    .parallax-hero__header, .parallax-hero__header .fancy {
        font-size: 72px;
        margin-top: 0;
    }
}

@media(max-width: 768px){
    div.parallax-hero {
        position: relative;
        z-index: 2;
    }

    div.parallax-hero--overhang.parallax-hero {
        height: 100vh;

        & .parallax-hero__content {
            margin-top: 0;
        }
    }


	.parallax-hero__content{
		flex-direction: column-reverse;
		padding-bottom: 30px;
        justify-content: center;
        position: relative;
	}

    .parallax-hero__content:not(:has(.parallax-hero__image)) .parallax-hero__header {
        margin-top: 0;
        max-width: 500px;
    }

    .parallax-hero--overhang .parallax-hero__content--text {
        background-color: #062F4999;
        backdrop-filter: blur(4px);
        padding: 20px;
        border-radius: 10px;
        position: absolute;
        bottom: -200px;
        max-width: 100%;
        width: calc(100% - (2 * var(--site-padding)));
        left: 50%;
        transform: translatex(-50%);
    }

    div.overhang-hero.overhang-hero.overhang-hero.overhang-hero .parallax-hero__image {
        right: unset;
        top: unset;
        position: relative;
        width: auto;
    }
	
	.parallax-hero__image{
		margin: auto;
	}
	
	.parallax-hero__image img{
		width: 250px;
	}
	
	.parallax-hero__buttons{
	    flex-direction: column;
    }

    .parallax-hero:has(.parallax-hero__background--mobile) :is(.parallax-hero__background, .parallax-hero__background--video, .parallax-hero__overlay) {
        display: none;
    }

    .parallax-hero__background--mobile {
        display: flex;
    }
}

@media(max-width: 520px) {
    .parallax-hero__header, .parallax-hero__header .fancy {
        font-size: 62px;
    }

    .parallax-hero__content:not(:has(.parallax-hero__image)) .parallax-hero__header {
        max-width: unset;
    }
}

@media(max-width: 393px) {
    .parallax-hero__header, .parallax-hero__header .fancy {
        font-size: 54px;
    }
}

@media(max-width: 350px) {
    .parallax-hero__header .fancy {
        text-wrap: wrap;
        line-height: 1;
    }
}
/*Parallax Hero End*/