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

html,
body {
	margin: 0;
	padding: 0;
	font-size: 18px;
	line-height: 1.4;
	color: #4a4a4a;
	font-family: sans-serif;
	background: #fefefe;
}

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

h1 {
	text-transform: uppercase;
	font-size: 2.6rem;
	line-height: 1.2;
	margin: 0;
}

#wrapper {
	height: 100vh;
	overflow: hidden;
	background-color: #fff;
	display: grid;
	grid-template-columns: 300px 1fr;
}

#sidebar {
	padding: 2rem;
	height: 100%;
	display: grid;
	grid-template-rows: min-content 1fr min-content;
	background: #fff;
	overflow-y: auto;
}

main {
	overflow-y: auto;
	scroll-behavior: smooth;
}

#logo {
	padding: 1rem;
	margin-bottom: 2rem;
}

#logo > img {
	display: block;
}

#navigation > ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#nav > li {
	margin-bottom: 0.75em;
}

#nav > li > a {
	color: #000;
	text-decoration: none;
	border-bottom: 1px solid #000;
	display: block;
	width: 100%;
	padding-bottom: 0.2em;
	transition: ease-in-out all 350ms;
	position: relative;
}

#nav > li > a:before {
	content: "";
	border-bottom: 2px solid #b20838;
	width: 0;
	bottom: 0;
	left: 0;
	position: absolute;
	transition: ease-in-out all 350ms;
}

#nav > li > a:hover {
	padding-left: 0.4em;
	border-bottom-color: #b20838;
}

#nav > li > a:hover:before {
	width: 100%;
}

.social_media_links {
	display: flex;
}

.social_media_links > li {
	margin-right: 0.4em;
}

.social_media_links > li:last-child {
	margin-right: 0;
}

.social_media_links > li > a > svg {
	fill: #1d1d1d;
	width: 30px;
	transition: all ease-in-out 200ms;
}

.social_media_links > li > a:hover > svg {
	fill: var(--secondary-colour);
}

.social_media_links > li > a > .x-icon {
	background: #222; fill: #fff; padding: 5px; border-radius: 5px;
}

.social_media_links > li > a:hover > .x-icon{
	fill: #fff;
	background: var(--secondary-colour);
}

.has-text-align-center {
	text-align: center;
}

#partner_logos {
	padding: 1.25rem 0;
	border-top: 1px solid #222;
	border-bottom: 1px solid #222;
	margin-bottom: 1rem;
}

#nav_footer {
	font-size: 12px;
	text-align: center;
}

#nav_footer a {
	text-decoration: none;
	color:#222;
}

.wp-block.hdhighlight {
	background-image: url("https://forte.harmonicdesign.ca/wp-content/uploads/2025/01/para.jpg") !important;
	color: #fff !important;
	background-attachment: fixed;
}

.hd_accordion_content > .wp-block-image {
	width: calc(100% + 2rem);
	margin-left: -2rem;
}

#page_header {
	min-height: 40vh;
	place-items: center;
	display: grid;
	text-align: center;
	background-size: cover;
	background-position-y: center;
}

#page_header_gallery {
	aspect-ratio: 16/9;
	height: initial;
	background-size: cover;
}

#page_header_gallery .hds_slider {
	aspect-ratio: 16/9;
	height: initial;
}

#page_header h1 {
	color: #fff;
	font-weight: normal;
	padding: 0.6em 1em;
	background-color: rgba(0, 0, 0, 0.5);
	border: 2px solid #fff;
	display: inline-block;
	line-height: 1;
	text-transform: initial;
}

.single-project h1 {
	font-size: 22px;
	margin: 2rem 0;
}

body:not(.home) #content {
	padding-bottom: 4rem;
}

#content {
	background-color: #dbdbdb;
	min-height: 100vh;
}

#content a {
	color: #222;
}

#contact_page {
	padding: 2rem 0;
}

#contact_page h2 {
	font-weight: normal;
	font-size: 24px;
}

#contact_page .wp-block-image {
	margin: 1em;
}

/* HDForms */
.hdf-label {
	font-weight: normal !important;
	text-transform: uppercase;
}

#contact_page .hdf-form .hdf-input {
	background-color: transparent;
	border: 1px solid #222 !important;
}

#contact_page .hdf-error .hdf-input {
	border-color: var(--secondary-colour) !important;
}

#contact_page .hdf-required-symbol {
	color: var(--secondary-colour) !important;
}

/* HDSlides */
.hds_slide {
	display: grid;
	place-items: center;
}

.slide_content {
	background-color: rgba(0, 0, 0, 0.7);
	padding: 2rem;
	text-align: center;
	border: 2px solid #fff;
	color: #fff;
	max-width: 700px;
	width: calc(100% - 4rem);
}

.slide_content > p[role="heading"] {
	font-size: 2.4rem;
	margin: 0;
	padding: 0;
	line-height: 1.2;
	font-weight: bold;
}

.slide_content > p {
	font-size: 1.4rem;
}

.slide_content > a {
	display: inline-block;
	line-height: 1;
	margin: 0;
	padding: 1rem;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
	border: 2px solid #fff;
	transition: ease-in-out all 350ms;
}

.slide_content > a:hover {
	background-color: #fff;
	color: #000;
}

#hdslide {
	border-bottom: 4px solid #b20838;
	height: calc(100vh + 4px);
}

.hds_nav_item:hover > svg {
	fill: #b20838;
}

/* Gallery */
#gallery_nav {
	text-align:center;
	margin-bottom: 2rem;
}

.hd_gallery_cat_parent {
	display: inline-block;
	margin: 0 0.5rem;
}

.hd_gallery_cat_parent > a {
	text-decoration: none;
	font-size: 1.4rem;
	padding: 0.4rem 1rem;
	line-height: 1;
	transition: all ease-in-out 350ms;
}

.hd_gallery_cat_parent.active > a {
	text-decoration: none;
	color:#fff !important;
	font-size: 1.4rem;
	padding: 0.4rem 1rem;
	line-height: 1;
	cursor: default;
	background-color:#232323;
}

.hd_gallery_cat_parent.hd_term_2.active a {	
	background-color: var(--secondary-colour);
}

.hd_gallery_cat_parent.hd_term_3.active a{	
	background-color: #232323;
}

.hd_gallery_cat_parent:not(.active) > a:hover{
	background-color: var(--secondary-colour);
	color:#fff !important;
}

.hd_gallery_cat_parent.hd_term_3:not(.active) > a:hover{
	background-color:#232323;
	color:#fff !important;
}


/* .hd_gallery_cat_parent > a {
	display: block;
	text-decoration: none;
	border-bottom: 2px solid;
	padding-bottom: 0.4em;
	margin-bottom: 0.8em;
	position: relative;
}

.hd_gallery_cat_child > a {
	display: block;
	text-decoration: none;
	margin-bottom: 0.4em;
	margin-left: 2em;
	border-bottom: 1px solid transparent;
	position: relative;
}

.hd_gallery_cat_parent a:before,
.hd_gallery_cat_child a:before {
  content: "";
  border-bottom: 2px solid #b20838;
  width: 0;
  bottom: 0;
  left: 0;
  position: absolute;
  transition: ease-in-out all 350ms;
}

.hd_gallery_cat_parent a:hover:before,
.hd_gallery_cat_child a:hover:before {
	width: 100%
}

.hd_gallery_cat_parent > a:hover,
.hd_gallery_cat_child > a:hover {
	border-bottom-color: var(--secondary-colour);
}

.hd_gallery_cat_parent_wrapper {
	margin-bottom: 0.75em;
} */

#gallery_items {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
}

.project_item {
	aspect-ratio: 1 / 1;
	background-size: cover;
	background-position: center;
	position: relative;
	transition: all ease-in-out 350ms;
	cursor: pointer;
	overflow: hidden;
}

.project_item_url {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	text-decoration: none;
	opacity: 0;
}

.project_item_overlay {
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: end;
	padding: 4rem;
	color: #fff;
	font-weight: bold;
	text-transform: uppercase;
	transition: all ease-in-out 350ms;
	background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.3603816526610645) 40%, rgba(0, 0, 0, 0) 100%);
}

.project_item_overlay_title::after {
	position: relative;
	content: "";
	width: 4rem;
	height: 2px;
	background-color: #eee;
	position: absolute;
	bottom: -1rem;
	left: calc(50% - 2rem);
	transition: all ease-in-out 500ms;
}

.project_item_overlay_title,
.project_item_overlay_arrow {
	display: block;
	position: relative;
	transition: all ease-in-out 500ms;
	top: 0;
}

.project_item_overlay_arrow {
	opacity: 0;
	font-size: 1.6em;
}

.project_item:hover .project_item_overlay {
	background: #b20838c7;
	opacity: 1;
}

.project_item:hover .project_item_overlay_title {
	top: -1rem;
}

.project_item:hover .project_item_overlay_title::after {
	width: 100%;
	left: 0%;
}

.project_item:hover .project_item_overlay_arrow {
	opacity: 1;
}



#mobile_toggle {
	display: none;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 99999999;
	background-color: rgba(0, 0, 0, 0.8);
	padding: 12px;
	border-radius: 50%;
	aspect-ratio: 1 / 1;
	line-height: 1;
	transform: scale(0.75);
}

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

body #mobile_toggle > span:first-child {
	margin-top: 3px;
}

body #mobile_toggle > span:last-child {
	margin-bottom: 0;
}

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

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

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

.page-template-contact-template .wp-container-core-columns-is-layout-1 {
	display: grid;
	grid-template-columns: minmax(10px, 1fr) minmax(10px, 1fr)
}

#content .hdhighlight_content a {color:#fff;}


@media (max-width: 1000px){

  body #mobile_toggle {
    display: block;
    z-index: 99999999;
  }

	#wrapper {
		grid-template-columns: 1fr;
	}
	
	#logo {
		padding: 0;
	}
	
	#logo > img {
		max-width: 100px
	}
	
	#sidebar {
		width: 100vw;
		height: 100vh;
		pointer-events: none;
		left: -100vw;
		position: fixed;
		top: 0;
		transition: all ease-in-out 350ms;
		z-index: 9;
	}
	
	#sidebar.active {
		left: 0;
		pointer-events: initial;
	}
	
	.slide_content > p[role="heading"] {
		font-size: 1.2rem;
	}
	
	.slide_content > p {
		font-size: 1rem;
	}
	
	.hds_nav_item {
		margin-top: 0 !important;
		top: initial !important;
		bottom: 1rem;
	}
	
	.hds_prev {
		right: initial !important;
		left: 2rem !important;
	}
	
	#page_header h1 {
		font-size: 2rem;
		padding: 0.4em 0.8em;
	}
	
	.cols {
		grid-template-columns: 1fr !important;
	}
	
	#contact_page {
		padding: 2rem;
	}
	
	.hd_accordion_item .hd_accordion_title {
		font-size: 16px;
  		line-height: 1.4;
	}
	
	.home #content {
		padding: 0 2rem;
	}
	
	.project_item_overlay {
		padding: 1rem;
	}
	
	.hd_gallery_cat_parent {
		display: block;
		padding: 0.4em;
	}
	
	.hd_gallery_cat_parent > a {
		font-size: 1rem !important;
	}
	
	#gallery_items {
		grid-template-columns: 1fr !important;
	}
	
	#contact_page .is-layout-flex {
		display: grid;
	}
}