@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');


/* =========================================================
   GLOBAL
   ========================================================= */

main#primary.site-main {
	margin-top: 0 !important;
}


/* =========================================================
   HEADER
   ========================================================= */

.moraway-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 120px;
	padding: 15px 20px;
	z-index: 999;
	background: rgba(0, 0, 0, 0.1);
	transition:
		height 0.3s ease,
		padding 0.3s ease,
		background 0.3s ease,
		box-shadow 0.3s ease;
	box-sizing: border-box;
}

.header-inner {
	width: 100%;
	height: 100%;
	margin: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.header-logo {
	display: flex;
	align-items: center;
	flex: 0 1 auto;
}

.header-logo img {
	display: block;
	width: auto !important;
	max-height: 90px;
}


/* =========================================================
   HEADER NAVIGATION
   ========================================================= */

.header-navigation ul {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

#mega-menu-wrap-primary {
	background-color: unset !important;
}

.mega-menu-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.header-navigation a {
	color: white;
	text-decoration: none;
}

body button.mega-close {
	background: none !important;
	border: none !important;
	position: fixed;
	left: 0 !important;
	top: 0 !important;
}

span.mega-indicator {
	display: initial !important;
    margin-top: -5px !important;

}

ul.mega-sub-menu > li:hover a.mega-menu-link {
	text-decoration: none;
	color: #f9a817;
	font-weight: 800;
}


/* =========================================================
   SCROLLED / COLLAPSED HEADER
   ========================================================= */

.moraway-header.header-scrolled,
.header-scrolled {
	height: 90px;
	padding-top: 10px;
	padding-bottom: 10px;
	background: rgba(0, 0, 0, 0.7);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.header-scrolled .header-navigation a {
	color: #333;
}

.header-scrolled .header-logo img {
	max-height: 60px;
	width: auto !important;
}

.header-scrolled .header-inner {
	height: 100%;
}


/* =========================================================
   HERO
   ========================================================= */

.ma-hero {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.ma-hero-slide {
	position: relative;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ma-hero-slide.video-slide video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

.ma-hero-slide.image-slide {
	background-size: cover;
	background-position: center;
}

.hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
	color: white;
	padding: 0 20px;
}

.hero-content h1 {
	font-size: clamp(2.5rem, 5vw, 4.5rem);
	font-weight: 700;
	line-height: 1.1;
	color: #ffffff;
	margin: 0 auto;
	text-shadow:
		0 2px 6px rgba(0, 0, 0, 0.4),
		0 4px 20px rgba(0, 0, 0, 0.5);
	letter-spacing: 0.02em;
	max-width: 900px;
	text-transform: capitalize;
}

.hero-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	padding: 22px;
	border-radius: 999px;
	font-weight: 600;
	line-height: 1;
	background: #1d252a;
	color: #fff;
	transition: transform 0.25s ease, opacity 0.25s ease;
	font-size: 28px;
	margin-top: 48px;
}

.hero-btn:hover {
	text-decoration: none;
	background: #333;
	color: #fff;
}

.hero-snippet {
	font-size: clamp(0.5rem, 4vw, 2.5rem);
	line-height: 1.35;
	color: #ffffff;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
	text-align: center;
	margin: 0 auto;
	max-width: 1600px;
}

.hero-from-price {
	position: absolute;
	right: 2rem;
	bottom: 2rem;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.85rem 1.1rem;
	background: rgba(0, 0, 0, 0.5);
	color: #ffffff;
	border-radius: 999px;
	backdrop-filter: blur(4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
	z-index: 3;
}

.hero-from-price .dashicons {
	font-size: 26px;
	width: 26px;
	height: 26px;
	line-height: 26px;
	display: none;
}

.hero-from-price-label {
	font-size: 2.3rem;
	opacity: 0.9;
}

.hero-from-price-value {
	font-size: 2.4rem;
	font-weight: 700;
	line-height: 1;
}


/* =========================================================
   HOME HERO
   ========================================================= */

.ma-home-hero .hero-content {
	z-index: 2;
}

.ma-home-hero .hero-content p {
	display: none;
}

.ma-home-hero .hero-search-form {
	margin: 4vh auto 0;
	position: relative;
	width: min(100%, 460px);
}

.ma-home-hero .hero-search {
	display: inline-flex;
	align-items: stretch;
	width: 100%;
	background: rgba(255, 255, 255, 0.92);
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.ma-home-hero .hero-search-input {
	flex: 1 1 auto;
	min-width: 0;
	border: 0;
	background: transparent;
	padding: 0.9rem 1rem;
	font-size: 1rem;
	line-height: 1.2;
	color: #1f1f1f;
}

.ma-home-hero .hero-search-input:focus {
	outline: none;
}

.ma-home-hero .hero-search-input::placeholder {
	color: #666;
}

.ma-home-hero .hero-search-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	min-width: 56px;
	border: 0;
	border-left: 1px solid rgba(0, 0, 0, 0.1);
	background: #ffffff;
	color: #1f1f1f;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.ma-home-hero .hero-search-submit:hover {
	background: #f4f4f4;
}

.ma-home-hero .hero-search-submit .dashicons {
	font-size: 20px;
	width: 20px;
	height: 20px;
	line-height: 20px;
}

.ma-home-hero .hero-search-results {
	position: absolute;
	top: calc(100% + 0.4rem);
	left: 0;
	right: 0;
	background: #fff;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
	z-index: 20;
}

.ma-home-hero .hero-search-results[hidden] {
	display: none;
}

.ma-home-hero .hero-search-result {
	display: block;
	width: 100%;
	padding: 0.85rem 1rem;
	text-align: left;
	background: #fff;
	color: #1f1f1f;
	border: 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	cursor: pointer;
}

.ma-home-hero .hero-search-result:last-child {
	border-bottom: 0;
}

.ma-home-hero .hero-search-result:hover,
.ma-home-hero .hero-search-result:focus {
	background: #f5f5f5;
	outline: none;
}

.ma-home-hero-contact {
	position: fixed;
	right: 1.5rem;
	top: calc(var(--moraway-header-offset, 90px) + 1rem);
	z-index: 999;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.ma-home-hero-contact:hover {
	color: #f3f3f3;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 992px) {

	/*
	 * No extra vertical padding on .header-inner.
	 * Padding belongs on the header itself so it does not stack.
	 */
	.moraway-header {
		height: 92px;
		padding: 8px 18px;
	}

	.header-inner {
		padding: 0;
	}

	.header-logo img {
		max-height: 70px;
	}

	.header-navigation ul {
		gap: 18px;
	}

	.header-navigation a {
		font-size: 14px;
	}

	.moraway-header.header-scrolled,
	.header-scrolled {
		height: 78px;
		padding-top: 7px;
		padding-bottom: 7px;
	}

	.header-scrolled .header-logo img {
		max-height: 60px;
	}

	.moraway-section-nav {
		position: sticky;
		top: 78px !important;
	}
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

	/*
	 * Compact mobile header.
	 *
	 * The full Moraway logo remains visible; we're reducing the
	 * surrounding buffer rather than switching logo variants.
	 */
	.moraway-header {
		height: 76px;
		padding: 6px 12px;
	}

	.header-inner {
		height: 100%;
		padding: 0;
		margin: 0 auto;
		align-items: center;
	}

	.header-logo {
		height: 100%;
		display: flex;
		align-items: center;
		min-width: 0;
	}

	.header-logo img {
		display: block;
		width: auto !important;
		max-width: min(68vw, 260px);
		max-height: 62px;
		margin: 0;
	}

	/*
	 * Let Mega Menu handle the mobile navigation.
	 */
	.header-navigation ul {
		display: none;
	}

	/*
	 * Keep the hamburger/menu control easy to tap even though the
	 * overall header is now smaller.
	 */
	#mega-menu-wrap-primary,
	.header-navigation {
		flex: 0 0 auto;
	}

	#mega-menu-wrap-primary .mega-menu-toggle {
		min-width: 44px;
		min-height: 44px;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	/*
	 * Compact sticky / scrolled state.
	 */
	.moraway-header.header-scrolled,
	.header-scrolled {
		height: 66px;
		padding: 4px 12px;
	}

	.header-scrolled .header-logo img {
		max-height: 54px;
		max-width: min(65vw, 240px);
	}

	.header-scrolled .header-inner {
		height: 100%;
	}

	.moraway-section-nav {
		display: none !important;
	}

	.ma-home-hero .hero-search {
		width: 100%;
	}

	.ma-home-hero-contact {
		right: 1rem;
		top: calc(var(--moraway-header-offset, 76px) + 0.75rem);
	}

	.hero-from-price {
		right: 1rem;
		bottom: 1rem;
		padding: 0.7rem 0.9rem;
	}

	.hero-from-price-value {
		font-size: 1rem;
	}

	.hero-from-price-label {
		font-size: 0.9rem;
	}
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 576px) {

	.moraway-header {
		height: 70px;
		padding: 5px 10px;
		backdrop-filter: blur(6px);
		-webkit-backdrop-filter: blur(6px);
	}

	.header-inner {
		padding: 0;
	}

	.header-logo img {
		max-height: 58px;
		max-width: min(70vw, 240px);
	}

	/*
	 * Small-screen sticky header gets slightly shorter without
	 * making the menu control difficult to tap.
	 */
	.moraway-header.header-scrolled,
	.header-scrolled {
		height: 62px;
		padding: 3px 10px;
	}

	.header-scrolled .header-logo img {
		max-height: 50px;
		max-width: min(67vw, 220px);
	}

	#mega-menu-wrap-primary .mega-menu-toggle {
		min-width: 44px;
		min-height: 44px;
	}

	.moraway-section-nav {
		display: none !important;
	}
}


small {
	font: 35% !important;
}