/**
 * @file
 * Hero Styles
 */
/* ===== HERO IMAGE/VIDEO STYLES ===== */
.hero {
  position: relative;
  z-index: 1;
  background-color: #000000;
}

.hero img {
  position: relative;
  z-index: 1;
  opacity: 0.8;
}

.hero video {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 450px;
  object-fit: cover;
  opacity: 0.6;
}

@media only screen and (max-width: 900px) {
  .hero video {
    height: 300px;
  }
}

@media only screen and (max-width: 600px) {
  .hero video {
    height: 250px;
  }
}

/* Page/Node Title */
.hero h1.node-title {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 1rem;
  line-height: 1;
  z-index: 2;
  font-weight: 400;
  font-style: normal;
  font-size: 5vw;
  color: #ffffff;
  text-shadow: 0 3px 5px rgb(0 0 0 / 0.75);
}

@media only screen and (max-width: 900px) {
  .hero h1.node-title {
    font-size: 6vw;
  }
}

/* ===== HOMEPAGE SPECIFIC HERO STYLES ===== */
/* Homepage Title */
.hp-hero h1.hp-node-title {
  position: absolute;
  top: 40%;
  left: 40%;
  transform: translate(-30%, -60%);
  text-align: center;
  padding: 1rem;
  line-height: 1;
  z-index: 2;
  font-weight: 500;
  font-style: normal;
  font-size: 2rem;
  color: #628b20;
  text-shadow: 0 3px 5px rgb(0 0 0 / 0.5);
}

@media only screen and (max-width: 900px) {
  .hp-hero h1.hp-node-title {
    top: 25%;
    font-size: 2rem;
  }
}

@media only screen and (max-width: 600px) {
  .hp-hero h1.hp-node-title {
    top: 20%;
    left: 33%;
    width: 75%;
  }
}

.hp-hero h1.hp-node-title span {
  display: block;
  font-family: "Lora", "Times New Roman", Times, serif;
  font-weight: 500;
  font-style: normal;
  font-size: 4.25rem;
  color: #ffffff;
  text-shadow: 0 3px 5px rgb(0 0 0 / 0.25);
}

@media only screen and (max-width: 768px) {
  .hp-hero h1.hp-node-title span {
    font-size: 3.5rem;
  }
}

@media only screen and (max-width: 600px) {
  .hp-hero h1.hp-node-title span {
    font-size: 2.5rem;
  }
}

/* Green Info Boxes */
.hp-hero .hp-info-blocks {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%);
  z-index: 2;
  width: 100%;
  padding: 0;
}

@media only screen and (max-width: 900px) {
  .hp-hero .hp-info-blocks {
    position: relative;
    bottom: 0;
    left: 0;
    background-color: #ffffff;
    transform: translate(0%);
    max-width: 100%;
  }
}

.hp-hero .hp-info-blocks::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-color: #5c861b;
  opacity: 0.85;
}

@media only screen and (max-width: 900px) {
  .hp-hero .hp-info-blocks::before {
    opacity: 1;
  }
}

.hp-hero .hp-info-blocks ul {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0;
}

@media only screen and (max-width: 900px) {
  .hp-hero .hp-info-blocks ul {
    display: block;
  }
}

.hp-hero .hp-info-blocks ul li {
  margin: 0;
  padding: 1rem;
  width: 25%;
  background: none;
}

@media only screen and (max-width: 900px) {
  .hp-hero .hp-info-blocks ul li {
    width: auto;
    margin: 0;
    padding: 1rem 1rem 0.5rem 2rem;
  }
}

.hp-hero .hp-info-blocks ul li a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1rem 0.5rem 3rem;
  border-right: 1px solid #7a8d32;
}

@media only screen and (max-width: 900px) {
  .hp-hero .hp-info-blocks ul li a {
    border-right: none;
  }
}

.hero .hp-info-blocks ul li:last-child a {
  border-right: none;
}

.hp-hero .hp-info-blocks ul li h3 {
  margin: 0 0 0.25rem 0;
  color: #ffffff;
  transition: color 0.75s ease;
}

.hp-hero .hp-info-blocks ul li a:hover h3 {
  color: #e0eb22;
}

.hp-hero .hp-info-blocks ul li p {
  font-family: "Lora", "Times New Roman", Times, serif;
  font-size: 13px;
  line-height: 1.25;
  margin: 0;
}

.hp-hero .hp-info-blocks ul li.landscaping {
  background-image: url("../../images/icons/icon-flower-yellow.png");
  background-repeat: no-repeat;
  background-size: 50px 50px;
  background-position: 10px 20px;
}

.hp-hero .hp-info-blocks ul li.lighting {
  background-image: url("../../images/icons/icon-lamp-yellow.png");
  background-repeat: no-repeat;
  background-size: 50px 50px;
  background-position: 10px 20px;
}

.hp-hero .hp-info-blocks ul li.mulch {
  background-image: url("../../images/icons/icon-wheelbarrow-yellow.png");
  background-repeat: no-repeat;
  background-size: 50px 50px;
  background-position: 0 20px;
}

.hp-hero .hp-info-blocks ul li.maintenance {
  background-image: url("../../images/icons/icon-gardener-yellow.png");
  background-repeat: no-repeat;
  background-size: 50px 50px;
  background-position: 10px 20px;
}

@media only screen and (max-width: 768px) {
  .hp-hero .hp-info-blocks ul li {
    background-position: 20px 20px !important;
  }
}
