@charset "utf-8";
.heroHome {
  display: flex;
  background-image: url("../images/photos/hero-home.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  aspect-ratio: 16 / 6;
}

/* LEFT OVERLAY */
.heroHomeLeft {
  width: calc((100vw - var(--widthMax)) / 2);
  background: rgba(0, 0, 0, 0.7);
  padding: 2rem;
  color: #fff;
  display: flex;
  align-items: center;
}

/* CENTER CONTENT */
.heroHomeCenter {
  width: var(--widthMax);
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: flex-start;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.7) 40%,
    rgba(0, 0, 0, 0) 80%
  );
}

.heroSloganHome {
  height: 100%;
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: calc(var(--wSpace) * 1) calc(var(--wSpace) * 1)
    calc(var(--wSpace) * 1) calc(var(--wSpace) * 2);
}
.heroSloganHome h1 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 4.5rem;
  line-height: 1.2;
  color: #fff;
}

.heroSloganHome h1 em {
  color: var(--mazeRed);
}

.heroSloganHome p {
  color: #fff;
}

.heroSloganHome .tag {
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.heroNoImage {
  background-image: url("../images/hero/solutions02.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  aspect-ratio: 16 / 3;
  display: flex;
  align-items: center;
}

.heroNoImageSlogan {
  max-width: var(--widthMax);
  margin: 0 auto;
  background-color: color-mix(in oklab, var(--bgPage) 80%, transparent);
  border-radius: 5px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: calc(var(--wSpace) * 1) calc(var(--wSpace) * 2);
  box-shadow: var(--shadow-elevation-high);
}

.heroNoImageSlogan h1 {
  font-size: 2.2rem;
  line-height: 1.2;
  color: black;
}

.map {
  background-image: url("../images/map.webp"), url("../images/bgLine.svg");
  background-size:
    contain,
    100px auto;
  background-position: center;
  background-repeat: no-repeat, repeat;
  background-attachment: scroll;
}

.noImage {
  background-image: url("../images/bgLine.svg"), url("../images/no-image.svg");
  background-size:
    100px auto,
    cover;
  background-position:
    center center,
    left center;
  background-repeat: repeat, no-repeat;
  background-attachment: scroll, scroll;
}

.noImage--flip {
  transform: scaleX(-1);
  background-position:
    center center,
    left center;
}

.guy {
  background-image:
    url("../images/bgLine.svg"), url("../images/hero/guy-martin.webp");
  background-size:
    100px auto,
    contain;
  background-repeat: repeat, no-repeat;
  background-position:
    center center,
    right bottom;
  background-attachment: scroll;
  will-change: background-position;
}

@media only screen and (max-width: 1080px) {
}

@media only screen and (max-width: 780px) {
  .heroHome {
    aspect-ratio: 16 / 16;
  }

  .heroHomeLeft {
    display: none;
  }

  .heroHomeCenter {
    width: 80%;
    background: linear-gradient(
      to right,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.7) 80%,
      rgba(0, 0, 0, 0) 100%
    );
  }

  /*
  Hero više nije background
  .heroHome {
    display: block;
    background: none;
    aspect-ratio: auto;
  }

  Lijevi overlay se sakrije
  .heroHomeLeft {
    display: none;
  }

  Mobilna slika kao normalan blok
  .heroHome::before {
    content: "";
    display: block;
    width: 100%;
    aspect-ratio: 16 / 7;
    background-image: url("../images/photos/hero-home.webp");
    background-size: cover;
    background-position: center;
  }

  Tekst ide ispod slike
  .heroHomeCenter {
    width: 100%;
    position: relative;
    overflow: hidden;
  }

  Blurred background image
  .heroHomeCenter::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.8) 60%,
        rgba(0, 0, 0, 0.2) 90%
      ),
      url("../images/photos/hero-home.webp");
    background-size: cover;
    background-position: center;
    filter: blur(4px);
    transform: scale(1.1);
    z-index: 0;
  }

  Your content stays sharp
  .heroHomeCenter > * {
    position: relative;
    z-index: 1;
  }
  */

  .heroSloganHome {
    height: auto;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: calc(var(--wSpace) * 1) calc(var(--wSpace) * 1)
      calc(var(--wSpace) * 1) calc(var(--wSpace) * 1);
  }

  .heroSloganHome h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .heroSloganHome h2 {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .map {
    aspect-ratio: 16 / 9;
  }

  .guy {
    aspect-ratio: 16 / 11;
  }
}

@media only screen and (max-width: 340px) {
}
