/*

	Theme Name: Hello Elementor Child

	Theme URI: https://orb.solutions

	Description: Hello Elementor Child Theme

	Author: ORB Solutions

	Author URI: https://orb.solutions

	Template: hello-elementor

	Version: 2.1.16

	License: GNU General Public License v2 or later

	License URI: http://www.gnu.org/licenses/gpl-2.0.html

	Text Domain: hello-elementor-child

*/

@font-face {
  font-family: "Montserrat";
  src: url("./assets/fonts/Montserrat-VariableFont_wght.ttf");
}

:root {
  /* Most brands will use 3-4 colors, 6 are used for the demo theme */

  --brand-color-1: #1D310B;		/* Primary Color - Forest Green */
  --brand-color-2: #98723E;		/* Highlight Color - Bark Brown */
  --brand-color-3: white;		/* Light Neutral - Full White */
  --brand-color-4: black;		/* Dark Neutral/Accent 1 - Black Black */
  --brand-color-5: #6DC06A;		/* Mid Neutral/Accent 2 - Leaf Green */
  --brand-color-6: #3A3A3A;		/* Mid Neutral - Ash Grey */
  --drop-shadow: 1px 1px 3px rgba(0, 0, 0, 0.69);
  --mega-height: 125px;			/* Adjust the height depending on amount of links */
  --mega-top: 140px;			/* Adjust the top to align with the bottom of the menu bar */
  --mega-top-initial: 140px;
  --mega-slide: left 0.8s ease;
}

/* SITE HEADER */

#orb-site-header {
  display: flex;
  position: sticky;
  top: 0;
  padding: 10px 20px;
  z-index: 100;
  align-items: center;
  font-family: Montserrat;				/* Brand Font */
  background-color: var(--brand-color-3);		/* Main Header Color */
  border-bottom: 3px solid var(--brand-color-6);	/* Highlight Color to divide header from content */
  transition: top ease 0.2s;
}

#orb-site-header.orb-sticky-effect {
	/* Add styles to change the header after scrolling down */
	/* Update the transition property to all if necessary */
}

#orb-site-header a {
  text-decoration: none;
}

#orb-site-logo {
  display: flex;
  width: 10%;
}

  #orb-site-logo img {
    width: 100%;
    max-width: 200px;
  }

#orb-social-links {
  display: flex;
  width: 10%;
  margin: 0 20px;
  column-gap: 15px;
}

.orb-social-button {
  display: flex;
  width: 25px;
  height: 25px;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  fill: var(--brand-color-6);				/* Social Media Icon - Contrast with Header */
  transition: fill ease 0.2s;
}

.orb-social-button.orb-wide {
	width: 125px;
}

.orb-social-button:hover {
  fill: var(--brand-color-1);				/* Icon On Hover - Change from base color, but still contrast with Header */
}

#orb-site-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  column-gap: 20px;
  font-size: 24px;
}

a.orb-header-link {					/* Specificity used to override Elementor */
  font-weight: bold;
  color: var(--brand-color-6);				/* Navigation Link Color - Contrast with Header */
  transition: color ease 0.2s;
}

a.orb-header-link:hover, .orb-header-link.active {	/* Also overrides Elementor */
  color: var(--brand-color-1);				/* Link On Hover/Current Page - Change from base color, contrast with Header */
}

  .orb-header-link svg {
    width: 0.8em;
    height: 0.8em;
    fill: var(--brand-color-6);				/* Dropdown Arrow Color - Match Link Color */
    transition: fill ease 0.2s;
  }

  .orb-header-link:hover svg {
    fill: var(--brand-color-1);				/* Arrow On Hover - Match Link On Hover */
  }

#orb-header-phone {
  display: flex;
  margin-left: auto;
  justify-content: center;
  column-gap: 10px;
  color: var(--brand-color-6);				/* CTA Text Color - Contrast with CTA Background */
  font-size: 20px;
  font-weight: 700;
}

  #orb-header-phone svg {
    width: 20px;
    fill: var(--brand-color-6);				/* CTA Icon Color - Match CTA Text */
  }

#orb-header-cta {
  display: flex;
  margin-left: 20px;
  padding: 15px;
  justify-content: center;
  column-gap: 10px;
  color: var(--brand-color-3);				/* CTA Text Color - Contrast with CTA Background */
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  text-shadow: var(--drop-shadow);
  background-color: var(--brand-color-1);		/* CTA Background Color - Contrast with Header */
  transition: background-color ease 0.2s;
}

#orb-header-cta:hover {
  background-color: var(--brand-color-6);		/* CTA On Hover - Change from base color, contrast with Header, possibly add color property if new color does not contrast with text color */
}

  #orb-header-cta svg {
    width: 24px;
    fill: var(--brand-color-3);				/* CTA Icon Color - Match CTA Text */
    filter: drop-shadow(var(--drop-shadow));
  }

.orb-header-dropdown {
  position: relative;
}

.orb-header-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: max-content;
  z-index: 1;
  background-color: var(--brand-color-3);		/* Dropdown Background Color - Contrast with Header or define strong border */
  border-top: 3px solid var(--brand-color-6);		/* Dropdown Highlight Accent - Contrast with Header, change to full border if necessary */
  box-shadow: 0 5px 10px black;
  overflow: hidden;
}

  .orb-header-menu .orb-header-link {
    display: block;
    padding: 10px;
    transition: background-color ease 0.2s;
  }

  .orb-header-menu .orb-header-link:hover, .orb-header-menu .active {
    background-color: var(--brand-color-1);		/* Dropdown Link On Hover/Current Page - Contrast with Dropdown Background */
	color: var(--brand-color-3);
  }

@media screen and (min-width: 771px) {
  .orb-header-dropdown:hover .orb-header-menu {
    display: block;
  }
}

#orb-mobile-toggle, .orb-dropdown-toggle, .orb-mega-mobile-toggle {
  display: none;
}

/* MEGA MENU */

#orb-mega-background, #orb-mega-overlay {
  display: block;
  position: fixed;
  top: var(--mega-top);
  left: -110%;
  width: 100%;
  height: var(--mega-height);
  box-shadow: 0 5px 10px black;
  transition: var(--mega-slide);
}

#orb-mega-background {
  z-index: 99;
  background-image: url("/wp-content/uploads/2024/11/Dead-Tree-Removal-Longtree-Tree-Service-MI.png.webp");
  background-size: cover;
  background-position: center;
}

#orb-mega-overlay {					/* Include if background image is a simple photo */
  z-index: 99;
  background-color: var(--brand-color-6);		/* Overlay Color - Contrast with menu background color */
  opacity: 0.75;
}

#orb-mega-lightbox {
  display: block;
  position: fixed;
  top: 0;
  left: -110%;
  width: 100%;
  height: 100%;
  z-index: 99;
  transition: var(--mega-slide);
}

#orb-mega-background.orb-toggled, #orb-mega-overlay.orb-toggled, #orb-mega-lightbox.orb-toggled {
  left: 0;
}

#orb-services-menu {
  width: 100%;
  padding: 10px 20px;
  font-size: 24px;
  font-family: Montserrat;				/* Brand Font */
  background-color: var(--brand-color-6);		/* Main Menu Color */
}

#orb-mega-navigation {
  display: flex;
  position: relative;
  width: 100%;
  z-index: 99;
  align-items: center;
  justify-content: center;
  column-gap: 20px;
}

#orb-mega-navigation .orb-header-link {
	color: var(--brand-color-3);
}

#orb-mega-navigation .orb-header-link svg {
	fill: var(--brand-color-3);
}

#orb-mega-navigation .orb-header-link:hover, #orb-mega-navigation .active {
	text-decoration: underline;
}

.orb-mega-dropdown {
  position: relative;
}

.orb-mega-menu {
  display: flex;
  position: fixed;
  top: var(--mega-top);
  left: -110%;
  height: var(--mega-height);
  z-index: 3;
  flex-direction: column;
  flex-wrap: wrap;
  background-color: var(--brand-color-3);		/* Dropdown Background Color - Contrast with Header or define strong border */
  border-top: 3px solid var(--brand-color-6);		/* Dropdown Highlight Accent - Contrast with Header, change to full border if necessary */
  overflow: hidden;
  transition: var(--mega-slide);
}

  #orb-mega-navigation .orb-mega-menu .orb-header-link {
    display: block;
    padding: 10px;
    color: var(--brand-color-6);
    font-size: 16px;					/* Decrease font size to allow more links to fit */
    transition: background-color ease 0.2s;
  }

  #orb-mega-navigation .orb-mega-menu .orb-header-link:hover, #orb-mega-navigation .orb-mega-menu .active {
    background-color: var(--brand-color-1);		/* Dropdown Link On Hover/Current Page - Contrast with Dropdown Background */
    color: var(--brand-color-3);
  }

.orb-header-column {
  display: flex;
  height: calc(var(--mega-height) - 60px);		/* Adjust depending on the height of the headings */
  flex-direction: column;
  flex-wrap: wrap;
  border-right: 1px solid var(--brand-color-5);		/* Divider Line Color - Choose a subtle neutral color different than the Dropdown Background */
}

#orb-mega-navigation .orb-header-link.orb-header-heading {
  font-size: 24px;
  font-weight: 700;
}

.orb-mega-toggle {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  cursor: pointer;
}

.orb-mega-dropdown.orb-toggled {
  z-index: 3;
}

.orb-mega-dropdown.orb-toggled .orb-mega-menu {
  left: 0;
}

.orb-mega-dropdown.orb-toggled .orb-mega-toggle {
  left: 90%;
}

.orb-mega-dropdown.orb-toggled svg {
  transform: rotate(180deg);
}

/* SITE FOOTER */

#google-reviews {
	max-width: 1420px;
	margin: auto;
	padding: 10px;
}

#orb-site-footer {
  padding: 50px 10px;
  font-family: Montserrat;				/* Brand Font */
  background-color: var(--brand-color-6);		/* Main Footer Color */
  color: var(--brand-color-3);				/* Footer Text Color - Contrast with Footer */
}

  #orb-site-footer h2 {
    margin: 0 0 20px;
    font-weight: bold;
  }

  #orb-site-footer img {
    width: 100%;
    max-width: 300px;
    margin-bottom: 20px;
  }

  #orb-site-footer iframe {
    width: 100%;
  }

  #orb-site-footer p {
    width: 100%;
    margin: 0;
    text-align: center;
  }

  #orb-site-footer a {
    color: var(--brand-color-3);			/* Footer Link Color - Match Text Color to override defaults */
    text-decoration: none;
  }

  #orb-site-footer a:hover, #orb-site-footer .active {
    color: var(--brand-color-5);			/* Link On Hover - Change from base color, contrast with Footer */
  }

.orb-container {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 25px;
}

.orb-footer-column {
  display: flex;
  width: 25%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#orb-site-footer .orb-footer-column p {
	margin-bottom: 1em;
	text-align: left;
}

.orb-footer-column:first-of-type {
  align-items: start;
}

.orb-footer-column:last-of-type {
  width: 50%;
}

#orb-footer-info a, .orb-footer-number {
  display: flex;
  margin-bottom: 20px;
  align-items: center;
  column-gap: 10px;
}

  #orb-footer-info a span {
    max-width: 90%;
  }

#orb-footer-info svg {
  width: 16px;
  fill: var(--brand-color-5);				/* Footer Icon Color - Highlight Color or match text */
}

#orb-social-footer {
  display: flex;
  width: 100%;
  margin-top: 20px;
  column-gap: 15px;
}

#orb-social-footer .orb-social-button {
	fill: var(--brand-color-5);
}

#orb-social-footer .orb-social-button:hover {
  fill: var(--brand-color-3);				/* Social Media Icon On Hover - Change from base Footer Icon, contrast with Footer */
}

#orb-social-footer .orb-social-button img {
	margin: 0;
}

.orb-footer-link {
  display: block;
  margin-bottom: 20px;
  font-size: 150%;
  font-weight: bold;
}

/* RESPONSIVE STYLES */

@media screen and (max-width: 1540px) {			/* Adjust this value at the point the largest menu peaks from off page */
							/* Compensate for the horizontal scroll bar with +20 pixels */
  :root {
    --mega-height: 145px;
  }

  .orb-mega-menu {
    max-width: 100%;
    overflow-x: scroll;
  }

  .orb-header-column {
    height: calc(var(--mega-height) - 80px);
  }
}

@media screen and (max-width: 1620px) {			/* Adjust if navigation items become squished */

  :root {
    --mega-top: 185px;					/* Adjust the top when the header height increases */
    --mega-top-initial: 185px;
  }

  #orb-site-header {
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 20px;
  }

  #orb-site-logo, #orb-social-links, #orb-header-phone, #orb-header-cta {
    order: 0;
    width: 24%;
    margin: 0;
  }

  #orb-site-navigation {
    order: 1;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
  }
}

/* MOBILE STYLES */

@media screen and (max-width: 1125px) {
  #orb-site-header.orb-hidden {
    top: -95px;
  }

  #orb-site-logo {
    width: 100%;
    justify-content: center;
  }

  #orb-social-links {
    display: none;
  }

  #orb-site-navigation {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    max-height: 100%;
    z-index: 1;
    order: 1;
    overflow: scroll;
    background-color: var(--brand-color-3);		/* Mobile Dropdown Background Color */
    border-bottom: 3px solid var(--brand-color-6);	/* Dropdown Accent - Matches Header Accent, change to work with divider style */
    transition: height ease 0.2s;
  }

  #orb-site-navigation.orb-toggled {
    height: 100%;
  }

  .orb-header-menu {
    display: none;
    position: static;
    width: 100%;
    border: none;
    box-shadow: 0 0 10px black inset;
    border-radius: 0;
  }

  .orb-header-link svg {
    position: absolute;
    top: 0.8em;
    right: 0.5em;
  }

  #orb-header-phone, #orb-header-cta {
    width: fit-content;
    margin-left: 10px;
    font-size: 20px;
  }

  #orb-mobile-toggle {
    display: flex;
    width: 50px;
    height: 50px;
    margin-right: 10px;
    align-items: center;
    justify-content: center;
    background-color: var(--brand-color-6);		/* Mobile Dropdown Toggle Button - Contrast with Header */
  }

    #orb-mobile-toggle svg {
      width: 1.5em;
      height: 1.5em;
      fill: var(--brand-color-3);			/* Hamburger/X Icon Color - Contrast with Toggle Button Background */
    }

  #orb-toggle-close {
    display: none;
  }

  #orb-mobile-toggle.orb-toggled {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 2;
    background-color: var(--brand-color-1);		/* Mobile Dropdown Toggled - Change from base color to highlight as toggled */
  }

    #orb-mobile-toggle.orb-toggled #orb-toggle-open {
      display: none;
    }

    #orb-mobile-toggle.orb-toggled #orb-toggle-close {
      display: block;
    }

  .orb-dropdown-toggle {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }

  .orb-header-dropdown.orb-toggled .orb-header-menu {
    display: block;
  }

  .orb-header-dropdown.orb-toggled .orb-dropdown-toggle {
    left: 90%;
  }

  .orb-header-dropdown.orb-toggled svg {
    transform: rotate(180deg);
  }

  .orb-header-link {
    display: block;
    padding: 15px;
  }

  #orb-services-menu {
    height: 0;
    padding: 0;
  }

  #orb-mega-background, #orb-mega-overlay, #orb-mega-lightbox {
    display: none;
  }

  #orb-mega-navigation {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    max-height: 100%;
    z-index: 101;
    overflow: scroll;
    background-color: var(--brand-color-3);		/* Mobile Dropdown Background Color */
    border-bottom: 3px solid var(--brand-color-6);	/* Dropdown Accent - Matches Header Accent, change to work with divider style */
    transition: height ease 0.2s;
  }

	#orb-mega-navigation .orb-header-link {
		color: var(--brand-color-6);
	}

	#orb-mega-navigation .orb-header-link svg {
		fill: var(--brand-color-6);
	}

  #orb-mega-navigation.orb-toggled {
    height: 100%;
  }

  .orb-mega-menu {
    display: none;
    position: static;
    width: 100%;
    height: initial;
    border: none;
    box-shadow: 0 0 10px black inset;
    flex-wrap: nowrap;
  }

  .orb-header-column {
    height: initial;
    flex-wrap: nowrap;
    border-right: none;
    border-bottom: 1px solid var(--brand-color-5);	/* Move divider line from the left to the bottom */
  }

  .orb-mega-mobile-toggle {
    display: flex;
    width: 50px;
    height: 50px;
    margin-right: auto;
    align-items: center;
    justify-content: center;
    background-color: var(--brand-color-6);		/* Mobile Dropdown Toggle Button - Contrast with Header */
  }

    .orb-mega-mobile-toggle svg {
      width: 1.5em;
      height: 1.5em;
      fill: var(--brand-color-3);			/* Hamburger/X Icon Color - Contrast with Toggle Button Background */
    }

  #orb-mega-mobile-close {
    display: none;
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 102;
    background-color: var(--brand-color-1);		/* Mobile Dropdown Toggled - Change from base color to highlight as toggled */
  }

  #orb-mega-mobile-close.orb-toggled {
    display: flex;
  }

  .orb-mega-dropdown.orb-toggled .orb-mega-menu {
    display: block;
  }

  .orb-footer-column {
    width: 45%;
    justify-content: start;
  }

  .orb-footer-column:first-of-type {
    align-items: center;
    width: 100%;
  }

  .orb-footer-column:nth-of-type(2) {
    align-items: start;
    width: 30%;
  }

  .orb-footer-column:last-of-type {
    width: 70%;
  }

  #orb-social-footer {
    margin-bottom: 20px;
    justify-content: center;
  }

  #orb-site-footer p {
    order: 2;
  }

	#orb-site-footer .orb-footer-column p {
		text-align: center;
	}
}

@media screen and (max-width: 670px) {
  #orb-header-cta {
    margin: auto;
  }

  .orb-footer-column:nth-of-type(2), .orb-footer-column:last-of-type {
    align-items: center;
    width: 100%;
  }
}

@media screen and (max-width: 345px) {
  #orb-site-header {
    padding: 10px;
  }
}