/*
Theme Name: Theme Harmonic
Theme URI: https://harmonicdesign.ca
Author: Harmonic Design
Author URI: https://harmonicdesign.ca
Description: This theme is for use on *** <strong>only</strong>
*/

html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	--primary-colour: #00c8b0;
	--secondary-colour: #2a4048;
	--site-width: 1000px;
}

*,
*:before,
*:after {
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

* {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

html,
body {
	margin: 0;
	padding: 0;
	font-size: 22px;
	line-height: 1.4;
	color: #222222;
	font-family: sans-serif;
	background: #fff;
	scroll-behavior: smooth;
}

img {
	max-width: 100%;
	height: auto;
}

.wrap {
	max-width: var(--site-width);
	margin: 0 auto;
}

header {
	min-height: 100vh;
	background-image: url("./images/hero.jpg");
	background-size: cover;
	background-position: center;
	position: relative;
}

#top_bar {
	padding: 1rem 0;
	position: relative;
	z-index: 1;
	transition: all 350ms ease-in-out;
}

#top_bar.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
	padding: 0.6rem 0;
  background-color: #222;
  box-shadow: 0 7px 34px #bebebe, 0 -7px 34px #fff;
}

#top_bar > div {
	display: grid;
	grid-template-columns: 1fr max-content;
	align-items: center;
}

#logo {
	display: block;
	max-height: 60px;
	transition: all 350ms ease-in-out;
}

#top_bar.sticky #logo {
	max-height: 40px;
}

nav > a {
	text-decoration: none;
	color: #fff;
	margin-right: 1.6em;
	font-size: 22px;
	position: relative;
}

nav > a:last-child {
	margin-right: 0;
}

nav > a:before{
	content: "";
	position: absolute;
	bottom: -4px;
	left: 0;
	height: 4px;
	width: 0px;
	opacity: 0;
	background-color: var(--primary-colour);
	transition: all 350ms ease-in-out;
}

nav > a:hover:before {
	left: 0;
	width: 100%;
	opacity: 1;	
}

.hero {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
	z-index: 0;
}

.hero > p {
	display: inline-block;
	color: var(--primary-colour);
	border: 4px solid var(--primary-colour);
	font-size: 82px;
	font-weight: bolder;
	line-height: 1;
	background-color: rgba(0, 0, 0, 0.4);
	padding: 0.4em 0.4em 0.3em 0.4em;
	font-family: "Bebas Neue", sans-serif;
}

#home_about {
	background-image: url("images/about.jpg");
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	padding: 4rem 0;
}

#home_about > .wrap {
	display: grid;
	grid-template-columns: minmax(20px, 1fr) minmax(20px, 1fr);
}

h1 {
	color: var(--primary-colour);
}

.hd_section {
	scroll-margin-top: 20vh;
}

#home_services {
	background-color: var(--secondary-colour);
	color: var(--primary-colour);
}

.section_heading {
	display: grid;
	grid-template-columns: minmax(20px, 1fr) minmax(20px, 1fr);
	align-items: center;
	padding: 2rem 0;
}

.section_heading h2,
.section_heading p {
	padding: 0;
	margin: 0;
	line-height: 1;
}

.section_heading h2 {
	font-size: 82px;
	margin: 2rem 0;
	padding-right: 2rem;
	font-family: "Bebas Neue", sans-serif;
}

.section_heading p {
	padding-left: 2rem;
}

.section_heading_a {
	text-align: right;
	border-right: 2px solid;
}

#home_services_content {
	padding: 2rem 0;
}

#home_callout {
	min-height: 60vh;
	background-image: url("./images/footer.jpg");
	background-size: cover;
	background-position: center;
	position: relative;
	background-attachment: fixed;
	text-align: center;
}

#home_contact {
	background-color: var(--secondary-colour);
}

#home_contact .section_heading {
	color: var(--primary-colour);
}

#home_contact > .wrap {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	padding-bottom: 4rem;
}

.icon-list {
	padding-left: 0;
	margin: 0;
}

.icon-list li {
	font-size: 16px;
	list-style: none;
	color: #fff;
}

.icon-list li a {
	color: #fff;
	text-decoration: none;
}

.icon-list i {
	font-size: 20px;
	margin-right: 20px;
}

.divider {
	background-color: #dfdfdf;
	height: 1px;
	width: 85%;
	margin: 12px 0 12px;
}

footer {
	text-transform: uppercase;
	background-color: var(--primary-colour);
	padding: 1rem 0;
	font-size: 14px;
}

footer .wrap > p {
	margin: 0;
	padding: 0;
	line-height: 1;
}

/* HDAccordion */
.hdaccordion {
	margin-bottom: 0.2em;
	overflow: hidden;
	font-size: 22px;
}

.hdaccordion__title {
	outline: none;
	padding: 1rem;
	padding-left: 1rem;
	display: block;
	background-color: var(--secondary-colour);
	padding-left: 1.6rem;
	position: relative;
	cursor: pointer;
	line-height: 1;
	margin: 0;
	position: relative;
	cursor: pointer;
	color: #fff;
	font-weight: bold;
	scroll-margin-top: 6rem;
	font-family: var(--heading-font);
}

.hdaccordion[open] .hdaccordion__title {
	background-color: var(--primary-colour);
	color: var(--secondary-colour);
}

.hdaccordion__title::before {
	content: "";
	border-width: 0.4rem;
	border-style: solid;
	border-color: transparent transparent transparent #fff;
	position: absolute;
	top: 1.25rem;
	left: 0.5rem;
	transform: rotate(0);
	transform-origin: 0.2rem 50%;
	transition: 0.25s transform ease;
}

.hdaccordion[open] > .hdaccordion__title::before {
	transform: rotate(90deg);
	border-color: transparent transparent transparent var(--secondary-colour);
}

.hdaccordion__content {
	padding: 1rem;
}

/* HForms */
#home_contact .hdf-label {
	color:#fff;	
}
.hdf-required-symbol {
	color:#eee !important
}

#home_contact .hdf-columns {
	grid-gap: 1em;
}

#home_contact .hdf-item {
	padding: 0.2em 0;
}

#home_contact .hdf-button {
  background-color: var(--primary-colour);
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
}



/* Mobile Nav */
#mobile_toggle {
	display: none;
}

#mobile_toggle > span {
	width: 30px;
	height: 4px;
	background-color: #fff;
	margin: 6px 0;
	display: block;
	transition: 0.3s ease-in-out;
}

#mobile_toggle.active > .bar1 {
	transform: translate(0, 10px) rotate(-45deg);
}

#mobile_toggle.active > .bar2 {
	opacity: 0;
}

#mobile_toggle.active > .bar3 {
	transform: translate(0, -10px) rotate(45deg);
}

#main_nav.active {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.96);
	z-index: 9999;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

#main_nav.active > a {
	font-size: 2em;
	margin: 1rem 0;
}

@media (max-width: 1000px){

	.wrap,
	.hero {
		padding: 2rem
	}
	
	#top_bar > .wrap {
		padding: 0.6rem 1rem;
	}
	
	.hero > p {
		font-size: 40px;
		text-align: center;
	}
	
	.section_heading,
	#home_about > .wrap,
	#home_contact > .wrap {
		grid-template-columns: 1fr;
	}
	
	.section_heading_a,
	.section_heading_b {
		text-align: center;
	}
	
	.section_heading h2 {
		margin: initial;
	}
	.section_heading h2,
	.section_heading p {
		padding: 0;
	}
	
	
	#navigation {
		opacity: 0;
		display: flex;
		position: fixed;
		width: 100vw;
		height: 100vh;
		left: 100vw;
		top: 0;
		background: #222;
		overflow: auto;
		padding: 4rem;
		flex-direction: column;
		text-align: center;
		transition: 350ms ease-in-out all;
	}

	#navigation.active {
		opacity: 1;
		display: flex;
		left: 0;
		padding-top: 6rem;
	}

	nav > a {
		margin: 1rem 0;
	}

	#mobile_toggle {
		display: block;
		z-index: 9999;
	}	
}