/* =========================================================
   Espresso-Etc Responsive Hero Slider
   Version: 1.1

   Purpose:
   - Homepage-specific replacement for the interior page banner.
   - Built from scratch; no old slider dependency.
   - Uses shared typography and buttons from the Design System.

   To add final images, replace the gradient on each slide:
   .hero-slide-one { background-image: url('../images/home-hero-breakroom.jpg'); }
   ========================================================= */
/* ----------------------------------------------------------------------
   01. Fonts
---------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,400italic,600,700,800');
@import url('https://fonts.googleapis.com/css?family=Raleway:300,400,500,600,700,800,900');
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400..700;1,400..700&family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&display=swap');

.hero-slider {
  position: relative;
  width: 100%;
  background: #2f241c;
}

.hero-slider-viewport {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  min-height: 520px;
  opacity: 0;
  visibility: hidden;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: opacity .75s ease, visibility .75s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide-one {
  background-image: url('../images/office-coffee.webp');
  
}

.hero-slide-two {
  background-image: url('../images/office-coffee-machine.webp');
}

.hero-slide-three {
  background-image: url('../images/office-coffee-service-support.webp');
}

.hero-slide-four {
  background-image: url('../images/office-coffee-experience.webp');
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,0) 42%, rgba(0,0,0,0) 100%);
    /*background: linear-gradient(90deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,.47) 42%, rgba(0,0,0,.20) 100%);*/
  z-index: 1;
}

.hero-slide-content {
  position: relative;
  z-index: 3;
  padding-top: 70px;
  padding-bottom: 80px;
  color: #ffffff;
}

.hero-slide-content .home-eyebrow {
  color: #5d9d2f;
}

.hero-slide-content h1,
.hero-slide-content h2 {
  max-width: 650px;
  margin: 0 0 16px 0;
  color: #ffffff;
  letter-spacing: .05em;
  font-family: 'Playfair Display', sans-serif;
  font-weight: 600;
  text-shadow: 2px 2px 4px #000000;
}

.hero-slide-content p {
  max-width: 560px;
  margin: 0 0 24px 0;
  padding: 0;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.50!important;
  font-family: 'Open Sans', sans-serif;
  font-weight: normal;
  text-shadow: 2px 2px 4px #000000;}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 50%;
  background: rgba(0,0,0,.28);
  color: #ffffff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  transition: background .25s ease, border-color .25s ease;
}

.hero-control:hover,
.hero-control:focus {
  background: rgba(0,0,0,.55);
  border-color: #ffffff;
}

.hero-control-prev {
  left: 16px;
}

.hero-control-next {
  right: 16px;
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 6;
  text-align: center;
}

.hero-dots button {
  display: inline-block;
  width: 12px;
  height: 12px;
  padding: 0;
  margin: 0 5px;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.hero-dots button.is-active,
.hero-dots button:hover,
.hero-dots button:focus {
  background: #ffffff;
}

@media only screen and (max-width: 640px) {
  .hero-slider-viewport,
  .hero-slide {
    min-height: 500px;
  }

  .hero-slide-overlay {
    background: rgba(0,0,0,.58);
  }

  .hero-slide-content {
    padding-top: 62px;
    padding-bottom: 74px;
    text-align: center;
  }

  .hero-slide-content h1,
  .hero-slide-content h2 {
    max-width: none;
    font-size: 29px;
    line-height: 35px;
  }

  .hero-slide-content p {
    max-width: none;
    font-size: 16px;
    line-height: 25px;
  }

  .hero-control {
    width: 36px;
    height: 36px;
    margin-top: -18px;
    font-size: 18px;
  }
}

@media only screen and (min-width: 900px) {
  .hero-slider-viewport,
  .hero-slide {
    min-height: 610px;
  }

  .hero-slide-content h1,
  .hero-slide-content h2 {
    font-size: 60px;
    line-height: 1.2;
  }
}

.hero-slide-content2 {
  font-size: 60px!important;
  font-family: 'Playfair Display', sans-serif!important;
  font-weight: 600!important;
    line-height: 1.2 !important;
  text-shadow: 2px 2px 4px #000000!important;
    max-width: 650px;
  margin: 0 0 16px 0;
  color: #ffffff;
  letter-spacing: .05em;
}
