/* Hero full screen */
header{
   position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}
header.show {
  opacity: 1;
}

html, body {
  height: 100%;
  margin: 0;
  scroll-behavior: smooth;
}

body {
  overflow-y: scroll;
  scroll-snap-type: y mandatory; /* włączamy snap w osi Y */
}

.hero, .main-content {
  height: 100vh;               /* pełna wysokość ekranu */
  scroll-snap-align: start;    /* snap do początku sekcji */
}
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* dopasowuje video do ekranu */
  z-index: -1;
  filter: brightness(0.8); /* przyciemnienie wideo */
}

/* Treść hero */
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
}
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 20px rgba(66, 68, 90, 1);
}
.hero-content h5 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 20px rgba(66, 68, 90, 1);
}
.hero-content input[type="button"] {
  padding: 0.5rem 2rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  background-color: #FF6700; /* Pomarańczowy przycisk */
  border: none;
  border-radius: 20px;
  cursor: pointer;
  -webkit-box-shadow: 0px 0px 50px 0px rgba(66, 68, 90, 1);
-moz-box-shadow: 0px 0px 50px 0px rgba(66, 68, 90, 1);
box-shadow: 0px 0px 50px 0px rgba(66, 68, 90, 1);
transition: all 0.3s ease;
}

.hero-content input[type="button"]:hover {
  background-color: #e65a00;
}
@media screen and (max-width: 768px) {
  .hero .hero-content h5 {
    font-size: clamp(50px, 8vw, 100px);
  }

.hero .hero-content h1 {
    display: none;
  }
}