/* ═══════════════════════════════════════════════════════════════════
   BK-HERO — bootky_hero module styles
   Rejestrowany przez hookDisplayHome() via registerStylesheet()

   Tokeny (hardkodowane wartości z _tokens.scss):
     pink      #e91e8c
     white     #ffffff
     black     #1a1a1a
     font-base 'Open Sans', sans-serif
     font-serif 'Cormorant Garamond', Georgia, serif
   ═══════════════════════════════════════════════════════════════════ */

/* ══ SEKCJA ══════════════════════════════════════════════════════════ */
.bk-hero {
  position: relative;
  /* Wychodzi poza kontener PS na pełną szerokość viewportu */
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  /* margin-top ustawia JS dynamicznie wg offsetHeight headera */
}

/* ══ TŁO ═════════════════════════════════════════════════════════════ */
.bk-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.bk-hero--loaded .bk-hero__bg {
  opacity: 1;
}

/* Fallback — radial gradient gdy brak wideo/obrazu */
.bk-hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 65% 38%, #2c2c2c 0%, #111 42%, #000 100%);
  z-index: -1;
}

.bk-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ══ OVERLAY — dwa gradienty: lewy ciemny + dolny ciemny ════════════ */
.bk-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,.76) 0%, rgba(0,0,0,.38) 50%, rgba(0,0,0,.08) 100%),
    linear-gradient(to top,   rgba(0,0,0,.90) 0%, rgba(0,0,0,.42) 38%, transparent 62%);
  z-index: 1;
}

/* ══ INNER ═══════════════════════════════════════════════════════════ */
.bk-hero__inner {
  position: relative;
  z-index: 10;
  width: 100%;
}

/* ══ CONTENT ═════════════════════════════════════════════════════════ */
.bk-hero__content {
  padding: 0 4rem 2.5rem;
  max-width: 700px;
}

/* ── Eyebrow ── */
.bk-hero__eyebrow {
  font-family: "Instrument Sans", sans-serif;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .23em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
  margin-bottom: 1.8rem !important;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s .2s ease, transform .8s .2s ease;
}

/* ── Tytuł — Cormorant, duży, cały kursywą ── */
.bk-hero__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(4.5rem, 6vw, 6.5rem);
  font-weight: 400;
  font-style: italic;
  line-height: .92;
  color: #fff;
  margin-top: 0;
  margin-bottom: 1.6rem;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s .35s ease, transform .9s .35s ease;
}

/* em (np. "scena.") */
.bk-hero__title em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,.78);
}

/* ── Tagline — Cormorant italic ── */
.bk-hero__tagline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,.65);
  letter-spacing: .02em;
  margin-bottom: 1.9rem;
  max-width: 42ch;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s .55s ease, transform .8s .55s ease;
}

/* ── CTA ── */
.bk-hero__ctas {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .8s .7s ease, transform .8s .7s ease;
}

/* Primary */
.bk-hero__cta-primary {
  font-family: "Instrument Sans", sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #f5d0e4;
  text-decoration: none;
  border-bottom: 2px solid #e91e8c;
  padding-bottom: 3px;
  transition: color .2s ease;
}

.bk-hero__cta-primary:hover {
  color: #e91e8c;
}

/* Secondary */
.bk-hero__cta-secondary {
  font-family: "Instrument Sans", sans-serif;
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.52);
  text-decoration: none;
  transition: color .2s ease;
}

.bk-hero__cta-secondary:hover {
  color: rgba(255,255,255,.80);
}

/* ── Animacja wejścia — klasa dodawana przez JS po załadowaniu ── */
.bk-hero--loaded .bk-hero__eyebrow,
.bk-hero--loaded .bk-hero__title,
.bk-hero--loaded .bk-hero__tagline,
.bk-hero--loaded .bk-hero__ctas {
  opacity: 1;
  transform: translateY(0);
}

/* ══ STRIP ═══════════════════════════════════════════════════════════ */
.bk-hero__strip {
  background: rgba(0,0,0,.52);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255,255,255,.07);
}

/* Taby */
.bk-hero__strip-tabs {
  display: flex;
  align-items: stretch;
  padding: 0 4rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  gap: 0;
}

.bk-hero__strip-tab {
  font-family: "Instrument Sans", sans-serif;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.40);
  background: none;
  border: none;
  padding: .95rem .75rem;
  cursor: pointer;
  position: relative;
  transition: color .25s ease;
  white-space: nowrap;
}

.bk-hero__strip-tab:first-child {
  padding-left: 0;
}

.bk-hero__strip-tab:hover:not(.is-active) {
  color: rgba(255,255,255,.65);
}

.bk-hero__strip-tab.is-active {
  color: rgba(255,255,255,.92);
}

/* Różowa kreska aktywnego taba */
.bk-hero__strip-tab.is-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: .75rem;
  right: .75rem;
  height: 1.5px;
  background: #e91e8c;
}

.bk-hero__strip-tab:first-child.is-active::after {
  left: 0;
}

/* Panel */
.bk-hero__strip-panel {
  transition: opacity .22s ease, transform .22s ease;
}

.bk-hero__strip-panel[hidden] {
  display: none;
}

/* Items row — poziomy scroll */
.bk-hero__strip-items {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  padding: 0 4rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.bk-hero__strip-items::-webkit-scrollbar {
  display: none;
}

/* Item — zachowane ramki, bardzo subtelne */
.bk-hero__strip-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: .75rem 1.25rem;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 0;
  margin-right: .45rem;
  flex-shrink: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}

.bk-hero__strip-item:last-child {
  margin-right: 0;
}

.bk-hero__strip-item:hover {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.24);
}

/* Label kategorie — Cormorant italic */
.bk-hero__strip-label {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,.82);
  letter-spacing: .02em;
  white-space: nowrap;
  transition: color .2s ease;
  line-height: 1.3;
}

.bk-hero__strip-item:hover .bk-hero__strip-label {
  color: #fff;
}

/* Label marki — Open Sans uppercase (celowo inaczej niż kategorie) */
.bk-hero__strip-item--brand .bk-hero__strip-label {
  font-family: "Instrument Sans", sans-serif;
  font-size: .72rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.60);
}

.bk-hero__strip-item--brand:hover .bk-hero__strip-label {
  color: rgba(255,255,255,.90);
}

/* ═══════════════════════════════════════════════════════════════════
   MOBILE ≤ 767px
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {

  .bk-hero {
    min-height: 100svh;
    align-items: flex-end;
  }

  .bk-hero__content {
    padding: 0 1.5rem 1.75rem;
    /* dolny padding uwzględnia bottom-nav (62px) + iOS safe area */
    padding-bottom: calc(1.75rem + 62px + env(safe-area-inset-bottom, 0px));
    max-width: 100%;
  }

  .bk-hero__title {
    font-size: 4.2rem;
    line-height: .88;
    margin-bottom: 1.1rem;
  }

  .bk-hero__tagline {
    font-size: 1.05rem;
    margin-bottom: 1.6rem;
  }

  .bk-hero__ctas {
    gap: 1.75rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .bk-hero__cta-primary,
  .bk-hero__cta-secondary {
    font-size: .72rem;
  }

  .bk-hero__strip-tabs {
    padding: 0 1.25rem;
  }

  .bk-hero__strip-tab {
    font-size: .64rem;
    padding: .85rem .65rem;
  }

  .bk-hero__strip-tab.is-active::after {
    left: .65rem;
    right: .65rem;
  }

 .bk-hero__strip-tab:first-child.is-active::after {
    left: 0;
  }
  .bk-hero__strip-items {
    padding: .5rem 1.25rem .75rem;
  }
  .bk-hero__strip-item {
    padding: .6rem .9rem;
    margin-right: .35rem;
  }
  .bk-hero__strip-label {
    font-size: .95rem;
  }
  .bk-hero__strip-item--brand .bk-hero__strip-label {
    font-size: .6rem;
  }
}
@media (max-width: 767px) {
  #header.scrolled {
    opacity: 0;
    pointer-events: none;
  }
}
