/**
 * HERO SLIDER
 *
 * @format
 */

.header-mobile .dark-logo {
  display: none;
}

.scrolled .header-mobile .dark-logo {
  display: block;
}

.scrolled .header-mobile .light-logo {
  display: none;
}

.hero {
  width: 100%;
  position: relative;
}

.hero:after {
  z-index: 2;
  position: absolute;
  top: calc(100% - 44px);
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 0;
  background-color: var(--color-primary);
  content: '';
  transition: all 1s;
  transition-delay: 0.5s;
}

.hero.animated:after {
  height: 90px;
}

.hero-slide {
  display: none;
}

.hero-slide:first-child {
  display: block;
}

.hero-content {
  z-index: 2;
  display: flex;
  padding: 120px 0 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 450px;

  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.hero-content h1 {
  line-height: 0.8;
  margin-bottom: 0;
  color: var(--color-white);
}

.hero-content h1 .hero-title-1,
.hero-content h1 .hero-title-2 {
  overflow: clip;
  display: inline-block;
}

.hero-content h1 .hero-title-1 {
  font-size: 1.25rem;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 3px;
}

.hero-content .word {
  display: inline-block;
  transform: translateY(100%);
}

.hero-button {
  overflow: hidden;
  margin-top: 40px;
}

.hero-button .button {
  min-width: 166px;
  color: var(--color-white);
  border-color: var(--color-white);
}

.hero-image {
  width: 100%;
  height: 100%;
  transform: scale(1.2);
  transition: opacity 0.5s ease-out;
}

@media screen and (max-width: 1024px) {
  .hero-image {
    transform: none !important;
  }
}

.hero-image img {
  width: 100%;
  /* height: 100%; */
  object-fit: cover;
  object-position: center;
}

.hero-image:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: '';
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

@media screen and (min-width: 768px) {
  .hero:after {
    top: calc(100% - 250px);
  }

  .hero.animated:after {
    height: 300px;
  }

  .hero-content {
    min-height: 550px;
  }

  .hero-content h1 {
    line-height: 1;
  }

  .hero-content h1 .hero-title-1 {
    font-size: 1.875rem;
  }

  .hero-content h1 .hero-title-2 {
    font-size: 6.25rem;
  }

  .hero-button {
    margin-top: 20px;
  }
}

@media screen and (min-width: 1025px) {
  .hero-content {
    height: 800px;
  }

  .hero-content h1 .hero-title-1 {
    font-size: 2.8125rem;
  }

  .hero-content h1 .hero-title-2 {
    font-size: 9.375rem;
  }

  .hero-content h1 .hero-title-1.key-0,
  .hero-content h1 .hero-title-2.key-0 {
    margin-right: 15px;
  }

  .hero-slide[data-slick-index='2'] .hero-image:before {
    background-color: rgba(0, 0, 0, 0.5);
  }
}

@media screen and (min-width: 1220px) {
  .hero-content {
    min-height: 970px;
  }

  .hero-content {
    padding-top: 55px;
  }

  .hero-content h1 .hero-title-1 {
    letter-spacing: 10px;
  }

  .hero-content h1 .hero-title-2 {
    font-size: 10.625rem;
  }

  .hero-image:before {
    background-color: rgba(0, 0, 0, 0.35);
  }
}

/* intro */
.intro {
  padding-top: 58px;
  padding-bottom: 71px;
  position: relative;
  text-align: center;
}

.intro-line {
  position: absolute;
  top: calc(100% - 50px);
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 0;
  transition: all 1s;
  transition-delay: 0.2s;
  background-color: var(--color-primary);
}

.intro-line.animated {
  height: 100px;
}

.intro h2 {
  font-size: 1.6875rem;
  line-height: 1.5;
  margin-bottom: 32px;
}

.intro-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.intro-image {
  width: 123px;
  height: 123px;
  margin: 0 auto 37px;
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-text {
  max-width: 600px;
  margin: 0 auto 50px;
  color: var(--color-secondary);
}

@media screen and (min-width: 768px) {
  .intro {
    padding-top: 120px;
  }

  .intro h2 {
    font-size: 2.1875rem;
    margin-bottom: 35px;
  }

  .intro-image {
    width: auto;
    height: auto;
  }

  .intro-image img {
    width: auto;
  }

  .intro-line {
    top: calc(100% - 66px);
  }

  .intro-line.animated {
    height: 132px;
  }
}

/* text-block */
.text-block {
  line-height: 1.5;
  position: relative;
  padding-top: 100px;
  padding-bottom: 80px;
  font-size: 1.6875rem;
  background-color: rgba(158, 146, 96, 0.05);
  font-family: var(--font-family-heading);
}

.text-block-line {
  position: absolute;
  top: calc(100% - 56px);
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 0;
  transition: 1s;
  transition-delay: 0.5s;
  background-color: var(--color-primary);
  content: '';
}

.text-block-line.animated {
  height: 100px;
}

.text-block-inner {
  margin: 0 auto;
  max-width: 900px;
  text-align: center;
}

.text-block-holder {
  max-width: 550px;
  margin: 0 auto 20px;
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 5px;
}

.text-block-text {
  animation-delay: 0.3s;
}

.text-block .button {
  animation-delay: 0.5s;
}

.text-block-image {
  width: 93%;
}

.text-block-image:nth-child(1),
.text-block-image:nth-child(3) {
  animation-delay: 0.25s;
}

.text-block-image img {
  width: 100%;
}

.text-block-image:nth-child(2) {
  margin-top: -23px;
}

@media screen and (min-width: 768px) {
  .text-block {
    padding-top: 165px;
    font-size: 2.1875rem;
    padding-bottom: 125px;
  }

  .text-block-line.animated {
    height: 132px;
  }

  .text-block-holder {
    margin: 0 auto 27px;
    gap: 10px;
  }

  .text-block-image {
    width: auto;
  }

  .text-block-image img {
    width: auto;
  }

  .text-block-image:nth-child(2) {
    margin-top: -40px;
  }
}

/* locations */
.locations {
  padding-top: 98px;
}

.locations .row {
  max-width: 1204px;
}

.locations-line {
  border-bottom: 1px solid var(--color-alternate);
}

.locations-holder {
  max-width: 770px;
  text-align: center;
  margin: 0 auto 10px;
}

.locations h2 {
  font-size: 3.75rem;
  font-weight: 300;
  margin-bottom: 0;
  letter-spacing: -1.1px;
  line-height: 1.1;
}

.locations h3 {
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 7px;
  line-height: 1.3;
  font-weight: 300;
}

.locations-image {
  position: relative;
  width: calc(100% + 60px);
  margin-left: -30px;
  animation-delay: 0.5s;
}

.locations-image img {
  width: 100%;
  height: auto;
}

.locations-image ul {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin-bottom: 0;
}

.locations-image li {
  position: absolute;
  top: 27%;
  left: 29.5%;
  line-height: 1;
}

.locations-image li a {
  display: block;
}

.locations-image li a:after {
  width: 9px;
  height: 9px;
  content: '';
  display: block;
  border-radius: 50%;
  position: relative;
  background-color: var(--color-white);
  border: 3px solid var(--color-black);
}

.locations-image li a span {
  opacity: 0;
  visibility: hidden;
  background-color: var(--color-black);
  font-size: 0.8125rem;
  color: var(--color-white);
  text-transform: uppercase;
  padding: 6px 10px;
  letter-spacing: 2px;
  white-space: nowrap;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateY(-50%);
  transition: all 300ms ease-out;
}

.locations-image li a:hover:after,
.locations-image li a:focus:after {
  background: var(--color-primary);
}

.locations-image li a:hover span,
.locations-image li a:focus span {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

@media screen and (min-width: 768px) {
  .locations {
    padding-top: 115px;
  }

  .locations-holder {
    margin: 0 auto 30px;
  }

  .locations h2 {
    font-size: 6.25rem;
    letter-spacing: -1.1px;
    line-height: 1.1;
  }

  .locations h3 {
    line-height: 1.2;
    font-size: 1.875rem;
    letter-spacing: 4px;
  }

  .locations-image {
    width: unset;
    margin-left: 0;
  }

  .locations-image img {
    width: auto;
    height: auto;
  }

  .locations-image li a:after {
    width: 15px;
    height: 15px;
  }
}
