.hero-expo {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  color: #fff;
  display: flex;
  flex-direction: column;
  background-size: cover;
  background-position: center;
}

.hero-expo__video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.hero-expo__bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-expo__overlay {
  position: absolute;
  inset: 0;
  display: none;
  background: rgba(0,0,0,0.35);
  z-index: 2;
}

/* Show overlay only when video exists */
.hero-expo:has(.hero-expo__video) .hero-expo__overlay {
  display: block;
}

/* Geometric overlays - usunięte */

.hero-expo__inner {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 9rem 0rem 0rem 1rem;
}

.hero-expo__heading {
  padding-top:50px;
  font-family: var(--typography-family-main);
  font-weight: var(--typography-weight-medium);
  font-size: 3em;
  line-height: 1.5;
  letter-spacing: 0;
  margin: 0 0 1.5rem 0;

  color: #fff;
}

.hero-expo__heading strong {
  font-weight: var(--typography-weight-semibold);
}

.hero-expo__tagline {
  font-family: var(--typography-family-main);
  font-weight: var(--typography-weight-regular);
  font-size: 2.2em;
  line-height: 1.2;
  margin: 0;

  color: #fff;
  white-space: nowrap;
}

.hero-expo__tagline strong {
  font-weight: var(--typography-weight-semibold);
  color: #fff;
}

.hero-expo__footer {
  position: relative;
  z-index: 2;
  padding: 2rem 0;
}

.hero-expo__footer-content {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
}

.hero-expo__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.hero-expo__cta:hover {
  transform: scale(1.05);
}



.hero-expo__cta svg {
  width: 100%;
  height: 90px;
  fill: var(--color-science-blue);
}


/* Mobile adjustments */
@media (max-width: 768px) {
  .hero-expo {
    min-height: 500px;
  }
  
  .hero-expo__inner {
    padding: 6rem 0rem 0rem 1rem;
  }
  
  .hero-expo__heading {
    font-size: 2.2em;
    margin-bottom: 1rem;
  }
  
  .hero-expo__tagline {
    white-space: normal;
    font-size: var(--typography-size-h3);
  }
  
  .hero-expo__footer-content {
    justify-content: center;
    gap: 1rem;
    width: 250px;
    margin: 0 auto;
  }
  

  
  .hero-expo__cta svg {
    width: 250px;
    height: 100px;
  }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
  .hero-expo {
    min-height: 400px;
  }
  
  .hero-expo__inner {
    padding: 4rem 0rem 0rem 0.5rem;
  }
  
  .hero-expo__heading {
    font-size: 1.8em;
    margin-bottom: 0.8rem;
  }
  
  .hero-expo__tagline {
    font-size: var(--typography-size-h4);
  }
  
  .hero-expo__footer-content {
    width: 250px;
    margin: 0 auto;
  }
  
  .hero-expo__cta svg {
    width: 250px;
    height: 100px;
  }
}
  