/* Kampanja "Cvetni novembar" - hero na pocetnoj strani.
   Velicine slova su iz dizajna (baner 1870px sirok) preracunate u cqw,
   pa tekst raste i smanjuje se zajedno sa banerom. */

.header.cn-hero {
  background-image: var(--cn-bg);
  container-type: inline-size;
}

/* Tamnija sredina ka providnim ivicama (crna 40-55%) */
.header.cn-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 48% 58% at 50% 50%, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .4) 50%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

.cn-hero .header-wrapper {
  position: relative;
  z-index: 1;
}

.cn-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cn-hero__text p {
  margin: 0;
  color: #fff;
  line-height: 1.15;
}

.cn-hero__brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: clamp(30px, 4.5cqw, 92px);
  letter-spacing: .2em;
  padding-left: .2em;
}

.cn-hero__tagline {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(30px, 4.4cqw, 88px);
  letter-spacing: .03em;
  word-spacing: .2em;
  margin-top: -.1em !important;
}

.cn-hero__title {
  font-family: 'Cinzel', serif;
  font-size: clamp(30px, 4.15cqw, 84px);
  letter-spacing: .04em;
  margin-top: .25em !important;
}

.cn-hero__sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8em;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(16px, 2cqw, 40px);
  color: #F5F0EA !important;
  margin-top: .3em !important;
}

.cn-hero__sub::before,
.cn-hero__sub::after {
  content: "";
  width: 2.2em;
  height: 1px;
  background: rgba(245, 240, 234, .8);
}

.header .cn-hero__btn {
  display: inline-block;
  margin-top: 2.6cqw;
  padding: .6em 2.4em .6em 2.6em;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: clamp(13px, 1.25cqw, 26px);
  letter-spacing: .2em;
  color: #111111;
  background: #fff;
  border: none;
  border-radius: 6px;
}

.header .cn-hero__btn:hover {
  background: #F5F0EA;
  color: #111111;
}

/* Tablet: baner je visi u odnosu na sirinu, pa tekst ide krupnije */
@media only screen and (min-width: 651px) and (max-width: 991px) {
  .cn-hero__brand {
    font-size: 6.6cqw;
  }

  .cn-hero__tagline {
    font-size: 6cqw;
  }

  .cn-hero__title {
    font-size: 6.2cqw;
  }

  .cn-hero__sub {
    font-size: 3cqw;
  }

  .header .cn-hero__btn {
    font-size: 1.9cqw;
    margin-top: 4cqw;
  }
}

/* Telefon: vertikalna pozadina, tekst je relativno veci (dizajn 1007px sirok) */
@media only screen and (max-width: 650px) {
  .header.cn-hero {
    background-image: var(--cn-bg-mobile);
    background-position: center top;
  }

  .header.cn-hero::before {
    background: radial-gradient(ellipse 70% 42% at 50% 42%, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .4) 55%, rgba(0, 0, 0, 0) 100%);
  }

  .cn-hero__brand {
    font-size: min(10cqw, 44px);
  }

  .cn-hero__tagline {
    font-size: min(9.8cqw, 44px);
  }

  /* Naslov u dva reda, kao u dizajnu za telefon */
  .cn-hero__title {
    font-size: min(12cqw, 52px);
    max-width: 6.5em;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .cn-hero__sub {
    font-size: min(5.4cqw, 23px);
  }

  .cn-hero__sub span {
    max-width: 12em;
  }

  .header .cn-hero__btn {
    margin-top: 7cqw;
    font-size: min(4.4cqw, 19px);
    padding: .7em 3em .7em 3.2em;
  }
}
