﻿/* Homepage Hero Content */
/*#region*/
.hero-image {
	background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("../images/HeroImageTemp.webp");
	height: min(50vh,300px);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
}

@media(min-width: 576px) {
	.hero-image {
		height: 50vh;
	}
}

.hero-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	color: white;
	padding: .5rem 1rem;
}
	.hero-text h1 {
		font-weight: 900;
		line-height: 1;
		margin-bottom: 0;
	}

#heroSearch {
	display: grid;
	grid-template-columns: 1fr;
	justify-content: center;
	align-items: center;
	padding: .5rem 1rem;
}
	#heroSearch a {
		display:none;
		align-items:center;
	}

	#heroSearch.sticky-search {
        grid-template-columns: auto 1fr;
		column-gap:1em;
	}

.sticky-search {
	background-color: #fff;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1000;
	padding: 8px 0;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sticky-search-image {
	height: 64px;
	width: auto;
}

@media(min-width:768px) {
	#heroSearch.sticky-search {
		grid-template-columns: auto .5fr;
	}
	#heroSearch {
		grid-template-columns: .5fr;
	}
		#heroSearch:not(.sticky-search) {
			justify-content: start;
		}
}

@media(min-width:992px) {
	#heroSearch {
		grid-template-columns: .4fr;
	}
		#heroSearch.sticky-search {
			grid-template-columns: auto .3fr;
		}	
}


@media(max-width: 576px) {
	.sticky-search-image {
		height: 46px;
	}

	
}
	.sticky-search-image:hover {
		transform: scale(1.05);
	}

/*#endregion*/

.services-preview a {
	text-decoration: none;
	color: inherit;
}

.services-preview .service-card:hover {
	cursor:pointer;
	transform: scale(1.05);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
