.dk-green-bg {
  background-color: #163821;
}

.lt-green-bg {
  background-color: #53b770;
}

.lt-gold {
  color: #eecd80;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Work Sans", "Helvetica Neue", "Helvetica", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 300;
}

.wrapper {
  width: 100%;
  box-sizing: border-box;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

header {
  display: flex;
  justify-content: space-between;
}

.mobile-nav {
  display: none;
}

.main-nav {
  margin: 10px;
}

.main-nav li {
  display: inline-block;
  list-style: none;
  margin: 0 15px;
}

.main-nav li a {
  color: #000;
  display: block;
  font-size: 15px;
  font-weight: 400;
  padding: 10px 0;
  text-decoration: none;
}

.main-nav li.active-nav-link a {
  border-bottom: 1px solid #53b770;
}

.main-nav li:last-of-type a {
  background-color: rgba(22,56,33,0.8);
  color: white;
  font-weight: 600;
  border-radius: 4px;
  margin-left: 10px;
  padding-left: 20px;
  padding-right: 20px;
}

.logo-wrapper {
  box-sizing: border-box;
  width: 320px;
  padding: 2px;
  position: relative;
  z-index: 10;
}

.home-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  border: 2px solid white;
  margin-top: -164px;
  aspect-ratio: auto 2.5/1;
  background: url("../img/long-island-landscaping-company.jpg");
  background-size: contain;
}

.home-hero__banner {
  width: 100%;
  background-color: rgba(22,56,33,0.7);
  padding: 20px 0;
  text-align: center;
  color: white;
}

.home-hero__banner h1 {
  font-size: 50px;
  font-weight: 200;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  margin: 0;
}

.home-hero__banner h1 strong {
  font-weight: 800;
  letter-spacing: 1px;
}

.home-hero__banner h2 {
  font-size: 24px;
  font-weight: 400;
  margin-top: 20px;
  margin-bottom: 0;
  letter-spacing: 0;
  word-spacing: 15px;
}

.section-title {
  text-align: center;
  margin: 100px auto 30px;
}

.section-title h3 {
  color: rgba(22,56,33,1);
  font-size: 45px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
}

.section-title h4 {
  color: rgba(22,56,33,1);
  font-size: 24px;
  font-weight: 500;
  margin: 0;
}

.section-title h3:before {
  content: "";
  display: block;
  width: 124px;
  height: 100px;
  background-image: url("../img/hat.png");
  background-size: cover;
  margin: 0 auto;
}

.section-title h4:after {
  content: "";
  display: block;
  width: 124px;
  height: 2px;
  background-color: #eecd80;
  margin: 20px auto 0;
}

.section-title p {
  max-width: 700px;
  margin: 30px auto 20px;
}

.services {
  display: flex;
  gap: 60px;
  justify-content: space-around;
  width: 80%;
  margin: auto;
}

.services section {
  width: 350px;
}

.services h4 {
  font-size: 26px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin: 0 auto 10px;
  text-transform: uppercase;
  text-align: center;
}

.services p {
  font-size: 16px;
  text-wrap: pretty;
  text-align: center;
}

.services a.btn-primary,
.section-title a.btn-primary {
  display: block;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  width: 142px;
  height: 42px;
  line-height: 42px;
  padding: 0;
  text-transform: uppercase;
  background-color: rgba(22,56,33,0.8);
  color: white;
  margin: 25px auto 0;
  border-radius: 4px;
}

.free-estimate {
  background-image: url("../img/back-yard.jpg");
  background-size: cover;
  margin: 80px auto;
  padding: 60px 0;
}

.free-estimate h3 {
  font-size: 42px;
  font-weight: 600;
  color: white;
  margin: 0 auto 20px;
  text-align: center;
}

.free-estimate a:not(.btn-primary) {
  color: white;
  text-decoration: none;
}

.free-estimate p {
  font-size: 18px;
  color: white;
  margin: 0 auto 25px;
  text-align: center;
}

.free-estimate a.btn-primary {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  width: 400px;
  height: 60px;
  line-height: 42px;
  padding: 0;
  text-transform: uppercase;
  background-color: rgba(193,174,90,0.75);
  color: white;
  margin: 60px auto 0;
  border-radius: 4px;
}

.site-footer {
  font-size: 14px;
  padding: 20px 0;
  margin: 100px 0 0;
  text-align: center;
  background-color: black;
  color: white;
}

main.pg-interior {
  margin-top: -162px;
  border-top: 2px solid #eecd80;
  padding-top: 10px;
}

section.pg-interior {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 40px;
}

section.pg-interior:not(:last-of-type):after {
  content: "";
  display: block;
  width: 124px;
  height: 2px;
  background-color: #53b770;
  margin: 80px auto 0;
}

section.pg-interior img {
  width: 100%;
}

section.pg-interior h2 {
  font-size: 50px;
  font-weight: 300;
  color: rgba(22,56,33,0.8);
  letter-spacing: -0.5px;
  line-height: 1;
  text-transform: uppercase;
  margin: 0 auto 20px;
  padding-top: 40px;
  text-align: center;
}

section.pg-interior h2 strong {
  font-weight: 800;
  letter-spacing: 1px;
}

section.pg-interior h3 {
  font-size: 20px;
  font-weight: 600;
  color: rgba(22,56,33,0.8);
  letter-spacing: -0.5px;
  text-align: center;
}

section.pg-interior h4 {
  font-size: 18px;
  font-weight: 600;
  color: rgba(22,56,33,0.8);
  letter-spacing: 0px;
  text-align: center;
}

section.pg-interior p {
  max-width: 800px;
  text-wrap: pretty;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

section.pg-interior a {
  color: #53b770;
  text-decoration: none;
}

section.pg-interior ul {
  margin-top: 0;
  margin-bottom: 0;
}

.col-2 {
  display: flex;
  justify-content: center;
  width: 800px;
  gap: 40px;
  margin-right: auto;
  margin-left: auto;
}

@media screen and (max-width: 1160px) {
  .logo-wrapper {
    width: 280px;
  }

  .home-hero {
    margin-top: -144px;
  }

  .home-hero__banner h1 {
    font-size: 40px;
  }

  .section-title {
    margin: 80px auto 30px;
  }

  .section-title h3 {
    font-size: 40px;
  }

  .section-title h4 {
    font-size: 22px;
  }

  .section-title h3:before {
    width: 110px;
    height: 88px;
  }

  .main-nav {
    position: absolute;
    top: 70px;
    right: 10px;
    background-color: #53b770;
    padding: 20px 25px;
    border-radius: 10px;
    z-index: 10;
    box-shadow: 0 10px 12px -2px black;
    transition: opacity 0.2s, transform 0.4s ease;
    opacity: 0;
    transform: translateY(-10px);
  }

  .main-nav.show {
    opacity: 1;
    transform: translateY(0);
  }

  .main-nav ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    padding: 0;
  }

  .main-nav li {
    margin: 0;
    display: block;
    width: 100%;
  }

  .main-nav li a,
  .main-nav li:last-of-type a {
    color: #163821;
    display: block;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    padding: 10px 0;
    text-decoration: none;
  }

  .main-nav li.active-nav-link a {
    border-bottom: none;
  }

  .main-nav li:last-of-type a {
    background-color: unset;
    border-radius: 0;
    margin-left: 0;
    padding-left: 0;
  }

  .mobile-nav {
    display: block;
    position: absolute;
    top: 40px;
    right: 40px;
  }

  .mobile-nav__container {
    display: inline-block;
    cursor: pointer;
  }

  .bar1, .bar2, .bar3 {
    width: 35px;
    height: 5px;
    background-color: #163821;
    margin: 6px 0;
    transition: 0.4s;
  }

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

  .change .bar2 {opacity: 0;}

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

@media screen and (max-width: 880px) {
  .logo-wrapper {
    width: 250px;
    padding: 0;
    margin: 20px auto;
  }

  .home-hero {
    margin-top: -20px;
    align-items: flex-start;
  }

  .home-hero__banner {
    background-color: rgba(22,56,33,0.8);
    padding: 15px 0;
  }

  .home-hero__banner h1 {
    font-size: 36px;
  }

  .home-hero__banner h1 strong {
    display: block;
    margin-top: 5px;
  }

  .home-hero__banner h2 {
    font-size: 18px;
  }

  .section-title {
    margin: 60px auto 30px;
  }

  .section-title h3 {
    font-size: 40px;
  }

  .section-title h4 {
    font-size: 26px;
  }

  .section-title h3:before {
    width: 90px;
    height: 74px;
  }

  .section-title h4:after {
    margin: 30px auto 0;
  }

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

  .services section {
    width: 100%;
  }

  .services p,
  .section-title p {
    max-width: 500px;
    margin-right: auto;
    margin-left: auto;
  }

  .services a.btn-primary,
  .section-title a.btn-primary {
    width: 200px;
  }

  .free-estimate {
    background-image: url("../img/back-yard.jpg");
    background-size: cover;
    margin: 80px auto;
    padding: 60px 0;
  }

  .free-estimate h3 {
    font-size: 34px;
  }

  .free-estimate a.btn-primary {
    font-size: 18px;
  }

  .site-footer {
    padding: 10px 0;
  }

  main.pg-interior {
    margin-top: -148px;
    padding-top: 60px;
  }

  section.pg-interior {
    width: 100%;
    padding-top: 40px;
  }

  section.pg-interior:not(:last-of-type):after {
    margin: 80px auto 0;
  }

  section.pg-interior h2 {
    font-size: 40px;
    margin: 0 auto 10px;
    padding-top: 40px;
    text-align: center;
  }

  section.pg-interior h2 strong {
    font-weight: 800;
    letter-spacing: 1px;
  }

  section.pg-interior h3 {
    font-size: 20px;
    font-weight: 600;
    color: rgba(22,56,33,0.8);
    letter-spacing: -0.5px;
    text-align: center;
  }

  section.pg-interior p {
    max-width: 500px;
  }

  .col-2 {
    display: flex;
    justify-content: center;
    width: 800px;
    gap: 40px;
    margin-right: auto;
    margin-left: auto;
  }
}

@media screen and (max-width: 600px) {
  .main-nav {
    position: absolute;
    top: 50px;
    right: 5px;
    background-color: #53b770;
    padding: 10px 25px;
    border-radius: 10px;
    z-index: 10;
  }

  .mobile-nav {
    top: 20px;
    right: 20px;
  }

  .logo-wrapper {
    width: 200px;
    margin: 5px auto;
  }

  .home-hero {
    margin-top: 110px;
    position: relative;
  }

  .home-hero__banner {
    background-color: rgba(22,56,33,0.9);
    position: absolute;
    top: -117px;
  }

  .home-hero__banner h1 {
    font-size: 24px;
  }

  .home-hero__banner h2 {
    font-size: 14px;
    margin-top: 15px;
    word-spacing: 8px;
  }

  .section-title {
    margin: 40px auto 30px;
  }

  .section-title h3 {
    font-size: 30px;
  }

  .section-title h4 {
    font-size: 22px;
  }

  .section-title h3:before {
    width: 80px;
    height: 64px;
  }

  .section-title h4:after {
    margin: 30px auto 0;
  }

  .services p,
  .section-title p {
    max-width: 80%;
  }

  .services a.btn-primary,
  .section-title a.btn-primary {
    width: 80%;
  }

  .free-estimate {
    background-image: url("../img/back-yard.jpg");
    background-size: cover;
    margin: 80px auto 60px;
    padding: 30px 0;
  }

  .free-estimate h3 {
    font-size: 24px;
    max-width: 80%;
  }

  .free-estimate p {
    font-size: 16px;
    max-width: 80%;
  }

  .free-estimate a.btn-primary {
    font-size: 18px;
    width: 80%;
    margin-top: 20px;
  }

  .site-footer {
    padding: 5px 0;
  }

  main.pg-interior {
    margin-top: -106px;
    padding-top: 60px;
  }

  section.pg-interior {
    width: 100%;
    padding-top: 20px;
  }

  section.pg-interior:not(:last-of-type):after {
    margin: 50px auto 0;
  }

  section.pg-interior h2 {
    font-size: 24px;
    margin: 0 auto 10px;
    padding-top: 40px;
    text-align: center;
  }

  section.pg-interior h3 {
    font-size: 18px;
    max-width: 80%;
    margin-right: auto;
    margin-left: auto;
    line-height: 1.3;
    text-wrap: pretty;
  }

  section.pg-interior p {
    max-width: 80%;
    margin-right: auto;
    margin-left: auto;
  }

  section.pg-interior a {
    color: #53b770;
    text-decoration: none;
  }

  section.pg-interior ul {
    margin-top: 0;
    margin-bottom: 0;
  }

  .col-2 {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    gap: 0;
    margin-right: 0;
    margin-left: 60px;
  }

}
