:root{
  font-size: 62.5%; /* (62.5/100) * 16px = 10px */

}

html, body{
  font-size: 1.8rem;
  font-size: clamp(1.6rem, 4vw, 2rem);
  line-height: 2.8rem;
  line-height: clamp(2.4rem, 4svw, 2.8rem);
  background-color: #F2EDD0;
  padding: 0;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

*,
*::before,
*::after {
  position: relative;
  box-sizing: border-box;
  border: none;
  margin-top: 0;
}

:focus:not(:focus-visible) {
  outline: none;
}

label,
button,
select,
summary,
[type=radio],
[type=submit],
[type=checkbox] {
  cursor: pointer;
}


menu,
ol,
ul {
  padding-left: 0;
  list-style: none;
}


/** PAGE CSS **/

/** body **/
html,body{
  background-color: #fafafa;
  color: #502A0E;
}



/** header **/

header{
  margin: 0;
  padding: 0;
  background-color: rgb(218 226 213);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
}

header *{
  margin: 0;
}

.header__wrapper{
  min-height: 9rem;
  max-width: 1400px;
  margin: auto;
  padding: 0 2rem;

}

.header__companyInfo--icon{
  width: 20rem;
  width: 22rem;
  top: 1rem;
  top: 0.5rem;
  margin: auto;
}
.header__companyInfo--icon img{
  display: inline-block;
  width: 100%;
}
header h1{
  font-size: 3rem;
  position: absolute;
  position: fixed;
  left: -9999px;
}
.menu__buttons ul{
  margin: 0;
  display: block;
  width: 100%;
  margin: auto;
  text-align: center;
}

.menu__buttons li{
  display: inline-block;
  padding: 1rem;
  font-size: clamp(1.7rem, 5vw, 2rem);
}
.menu__buttons li:last-of-type{
  padding-right: 0;
}

@media(min-width:550px){
  .header__wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

header a{
  text-decoration: none;
  color: #444;
  padding: 1rem 0;
}
header a:hover{
  color: black;
  text-decoration: underline;
}

@media( min-width: 1430px){
  .header__wrapper{
    padding: 0;
  }
}



/** main **/
main{
  padding: 0;
  margin: 0;
  max-width: 1400px;
  margin: auto;
  background-color: #F2EDD0;
  background-color: #fafafa;

}

main section{
  margin-bottom: 8rem;
  margin-bottom: clamp(10rem, 10vw, 13rem);
  padding: 0 2rem;
}
@media( min-width: 1430px){
  main section{
    padding: 0;
  }
}

main h2{
  font-size: 2.4rem;
}

main h3{
  font-size: 2.2rem;
}

.heroSection{
  height: 65vh;
  min-height: 40rem;
  max-height: 70rem;
  padding-bottom: 1rem;
  box-shadow: 0px 14px 24px -22px #333;
}
.heroImage__wrapper{
  width: 100%;
  height: inherit;
}
.heroImage__wrapper img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right;
}

.heroContent__wrapper{
  position: absolute;
  color: #fafafa;
  top: 50%;
  transform: translateY(-50%);
  padding: 3rem 2rem;
  width: 100%;
  height: 100%;
  /* background-color: rgba(51, 51, 51, 0.4); */
  background-image: linear-gradient(to top, rgba(51, 51, 51, 0.6) 10%, rgba(51, 51, 51, 0) 50%);

  display: flex;
  align-items: center;
}
.heroContent{
  padding-right: 2rem;
  font-size: clamp(2rem, 3.7vw, 2.6rem);
  line-height: clamp(2.8rem, 5vw, 3.6rem);
  bottom: 0;
  position: absolute;
  margin-bottom: 2rem;
  max-width: 40rem;
}
@media ( min-width: 600px){
  .heroContent{
    max-width: 45rem;
  }
}
@media ( min-width: 800px){
  .heroContent__wrapper{
    width: 40%;
    background: linear-gradient(to right, rgba(51, 51, 51, 0.8) 10%, rgba(51, 51, 51, 0) 100%);
  }
  .heroContent{
    top:0;
    position: relative;
    width: 100%;
  }
  
}
.heroContent--btn{
  display: inline-block;
  text-decoration: none;
  font-size: clamp(2rem, 3vw, 2.4rem);
  border: 2px solid white;
  padding: .5rem 1rem;
  border-radius: 1.5rem;
  color: #fafafa;
  transition-duration: 200ms;
}
.heroContent--btn:hover{
  background-color: white;
  color: black;
}

main section:first-of-type{
  padding: 0;
}

#commercial,
#residential,
#contact{
  top: -14rem;
}
h2 + p,
.services{
  margin-bottom: 2.3rem;
}
@media(min-width: 680px){
  .services{
    -moz-column-count: 2;
         column-count: 2;

  }
}


/** footer **/
footer{
  --iconPadding: 1rem;
  background-color: #594F46;
  /* background-color: #502A0E; */
  color:#fafafa;
  padding-top: 2rem;
  font-size: 1.4rem;
  font-size: clamp(1.4rem, 5vw, 1.6rem);
  line-height: 2.1rem;
  line-height: clamp(2.3rem, 4vw, 2.6rem);
}
.footer__wrapper{
  max-width: 1400px;
  margin: auto;
  padding: 0 2rem;
}
footer img{
  display: block;
  width: 100%;
}
footer h4{
  font-size: 2.1rem;
  margin-bottom: 2rem;
}
.contactInfo{
  padding-bottom: 5rem;
}

.contactInfo a{
  display: inline-block;
  color: #fafafa;
  text-decoration: none;
  padding: .8rem 0;
  margin:.3rem;
}
.contactInfo a[href^="mailto:"]:hover{
  text-decoration: underline;
}
.iconWrapper{
  display: flex;
  align-items: baseline;
}
.icon{
  display: inline-block;
  width: 2rem;
  margin-right: var(--iconPadding);
  align-self: center;
}
.phoneIcon{
  top: -.3rem;
  margin-right: calc(var(--iconPadding) + .5rem);
}
.emailIcon{
  width: 2.8rem;
}
.locationIcon{
  width: 2.2rem;
  top: -1.1rem;
  margin-right: calc(var(--iconPadding) + 1.2rem);
}
.locationIcon img{
  top: 1rem;
}
.contactInfo address{
  font-style: normal;
}
.facebookIcon {
  width: 3rem;
}
.facebookIcon + a:hover{
  text-decoration: underline;
}
.iconWrapper:has(.emailIcon){
  top: -.4rem;
}
.iconWrapper:has(.facebookIcon){
  top: .4rem;
}

/* .contactInfo span img{
  width: 100%
} */

@media( min-width: 1430px){
  .footer__wrapper{
    padding: 0;
  }
}
.footer__businessInfo{
  display: block;
  padding-bottom: 3rem;
  flex: 1;
}
@media(min-width:600px){
  .footer__businessInfo{
    display: flex;
    justify-content: space-between;
  }
}
.businessHours{
  padding-bottom: 5rem;
}
@media(min-width:600px){
  .businessHours{
    padding-bottom: 0;
  }
  .footer__businessInfo{
    padding-bottom: 0;
  }

}
.officeHours{
  width: 100%;
  min-width: 25rem;
  max-width: 35rem;
}
.officeHours li{
  display: flex;
  justify-content: space-between;
  padding-bottom: .4rem;
}


.footerImage__wrapper{
  display: flex;
  justify-content: space-between;
  width: 20rem;
  margin: auto;
  margin-bottom: 3rem;
}
.footerImage{
  display: inline-block;
  width: 8rem;

}
.footerImage img{
  width: 100%;
}
.copyright p{
  margin: auto;
  text-align: center;
  font-size: 1.4rem;
  font-size: clamp(1.4rem, 5vw, 1.6rem);
  /* margin-bottom: .7rem; */
  line-height: 1.2em;
}
.goreckimedia{
  margin-bottom: 0;
  font-size: .8em;
  color: rgba(250, 250, 250, 0.3);
  text-decoration: none;
  transition-duration: 250ms;
}
.goreckimedia:hover{
  color: rgba(250, 250, 250, 0.65);
}
.copyright p:last-of-type{
  padding-top: .8rem;
  padding-bottom: .6rem;
}
