/*
Copyright Green Team Consulting 2023
*/

/*#region Variables*/
:root
{
  --green: #0D4426;
  --axolotl: #6C7D4A;
  --grey-green: #444939;
  --light-axolotl: #E3E6DC;
  --sage-green: #7F9F77;
}
/*#endregion Variables*/

/*#region Small Screen Size (320-750)*/
nav {
  background-color: #0D4426; /* Dark green background color */
  color: #fff; /* White text color */
  padding: 10px 0;
}

.quote-section,
.services-nav,
.links-container,
.hidden-services{
  position: absolute; 
  max-height: 0vh;
  overflow: hidden;
}

nav .logo-icon{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo a{
  display: flex;
  align-items: center;
}

nav .logo-text h1,
nav .logo-text h2{
  font-family: 'Lato', sans-serif;
  text-decoration: none;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1.2rem;
}

nav .logo-text h1{
  letter-spacing: 1px;
}

nav .logo-text h2{
  font-size: 1rem;
}

.logo img {
  width: 60px;
  height: 60px;
  margin: 0rem 0.25rem 0.25rem 0.5rem;
}

/*#region menu-icon*/

#myBtn {
  display: none; 
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border: none; 
  outline: none; 
  background-color: var(--green); 
  color: var(--light-green);
  cursor: pointer; 
  padding: 1rem;
  border-radius: 5rem;
  font-size: 18px;
  font-family: 'Montserrat', sans-serif;
  border: 1px solid var(--light-green);
}

#myBtn:hover {
  background-color: var(--brown); /* Add a dark-grey background on hover */
}

.menu-icon {
display: inline-block;
cursor: pointer;
margin-right: 1rem;
}

.bar1, .bar2, .bar3 {
width: 30px;
height: 5px;
background-color: white;
border-radius: 2px;
margin: 6px 0;
transition: 0.4s;
}

.open .bar1 {
transform: translate(0, 11px) rotate(-45deg);
}

.open .bar2 {
opacity: 0;
}

.open .bar3 {
transform: translate(0, -11px) rotate(45deg);
}

nav.open .links-container{
  max-height: 100vh;
  left: 0;
  right: 0;
  overflow: visible;
  transition: all 0.8s ease;
  z-index: 1;
  padding: 0.5rem 1.5rem 0.2rem 1.5rem;
  border-top: 1px solid var(--axolotl);
  white-space: normal;
  background-color: var(--green);
}

.open .logo-icon{
box-shadow: none;
}

/*#endregion menu-icon*/

.links {
  list-style: none;
  display: flex; 
  flex-direction: column;
}

.services-li{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.services-li:hover{
  cursor: pointer;
}

.links li {
  margin-right: 50px; /* Add spacing between menu items */
}

.links svg{
  width: 14px;
  height: 14px;
  transform: rotate(180deg);
  transition: all 0.8s ease;
  margin-left: 0.75rem;
  margin-top: 0.4rem;
}

.links svg path{
  fill: white;
}

.links a,
.links p {
  text-decoration: none;
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 1.7rem;
  line-height: 3rem;
}

.links a:hover,
.links p:hover {
  text-decoration: underline
}

.hidden-services p:hover{
  text-decoration: none;
}

.links ul.open{
  position: relative;
  max-height: 100vh;
  overflow: visible;
  transition: all 0.8s ease;
}

.services-nav{
  display: flex;
  width: 100%;
}

.services-nav div:nth-of-type(2){
  display: flex;
  flex-direction: column;
}

.services-nav .divider{
  width: 5px;
  height: 55px;
  background-color: var(--axolotl);
}

.services-nav a{
  font-size: 1.35rem;
  line-height: 1.7rem;
  margin-left: 0.5rem;
  margin-top: 0rem;
}

.services-nav a:hover{
  text-decoration: underline;
}

li.open svg{
  transform: rotate(0deg);
  transition: all 0.8s ease;

}

.quote-box{
  border-top: 2px solid var(--grey-green);
  padding: 0.5rem 0rem;
  margin-top: 0.5rem;
}

.quote-box a.quote-button {
  background-color: var(--axolotl);
  color: #fff;
  padding: 0.5rem 0.75rem;
  border: none;
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  font-size: 1.3rem;
}

.quote-box a.quote-button:hover {
  background-color: var(--sage-green);
}
/*#endregion Small Screen Size (320-750)*/

/*#region Medium Screen Size (751-1160)*/
@media only screen and (min-width: 751px)
{
  nav{
    padding: 0rem;
  }

  .menu-icon,
  .services-li svg{
    position: absolute;
    max-height: 0vh;
    overflow: hidden;
  }

  .quote-section,
  .links-container{
    position: relative; 
    max-height: 100vh;
    overflow: visible;
  }

  .links,
  nav .inner-container{
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  nav .inner-container{
    justify-content:left;
  }

  .inner{
    flex: 1;
  }

  .links{
    padding-left: 3rem;
    justify-content: space-evenly;
  }

  .links li{
    margin-right: 0rem;
  }

  .logo-icon img{
    width: 43px;
    height: 43px;
    padding-left: 0.5rem;
  }

  nav .logo-text h1,
  nav .logo-text h2{
    font-size: 0.63rem;
  }

  .links a,
  .links p{
    font-size: 0.95rem;
    text-transform: uppercase;
  }

  .links li.open .hidden-services{
    position: relative;
    max-height: 100vh;
    overflow: visible;
  }

  .hidden-services{
    padding: 0rem;
    padding-left: 0.5rem;
    display: flex;
    align-items: center;
    transition: none;
  }

  .quote-box{
    border: none;
    margin-top: 0rem;
    padding: 0.25rem 0.5rem;
    margin-left: 10%;
  }

  .quote-box a{
    font-size: 0.95rem;
    text-transform: none;
    white-space: nowrap;
    margin-right: 0.25rem;
  }

  .services-li{
    padding-right: 1rem;
    z-index: 2;
    position: relative;
  }

  .quote-box a.quote-button{
    padding: 0.25rem 0.5rem;
  }

  .links ul.open{
    position: absolute;
    left: -0.56rem;
    top: -0.05rem;
    background-color: var(--green);
    padding: 0rem 0.5rem 0.5rem 0rem;
    border: 1px solid white;
  }

  .links li svg{
    transition: none;
    width: 10px;
    height: 10px;
    margin-bottom: 0.1rem;
  }

  .links li.open svg{
    position: relative;
    max-height: 100vh;
    overflow: visible;
    transform: rotate(0deg);
    transition: all 0.8s ease;
  }

  .services-nav{
    flex-direction: column;
    flex-wrap: nowrap;
    width: fit-content;
  }

  .services-nav .divider{
    width: 7rem;
    height: 1px;
    background-color: white;
    margin-left: 0.3rem;
    margin-top: -0.25rem;
    margin-bottom: 0.5rem;
  }

  .services-nav a{
    font-size: 1rem;
    text-transform: none;
  }

}

@media only screen and (min-width: 955px)
{
  .quote-box {
    margin-left: 20%;
  }
}
/*#endregion Medium Screen Size (751-1160)*/

/*#region Large Screen Size (1161-1920)*/
@media only screen and (min-width: 1161px)
{
    nav .inner-container{
      max-width: 1161px;
      margin: auto;
    }

    .logo-icon img{
      width: 70px;
      height: 70px;
    }

    nav .logo-text h1,
    nav .logo-text h2{
      font-size: 1rem;
    }

    .links a,
    .links p{
      font-size: 1.25rem;
    }

    .services-nav a{
      font-size: 1rem;
    }

    .quote-box a.quote-button{
      font-size: 1.25rem;
      padding: 0.5rem 0.75rem;
    }
}
/*#endregion Large Screen Size (1161-1920)*/

/*#region Extra Large Screen Size (1921-3840+)*/
@media only screen and (min-width: 1921px)
{

}
/*#endregion Extra Large Screen Size (1921-3840+)*/


  

  
  