/* Kontener slidera – ustalamy wysokość i pozycjonowanie */
.kompro-slider {
  position: relative;
  width: 100%;
  height: 80vh;      /* albo inna, stała wysokość */
  overflow: hidden;
}

/* Każdy slajd absolutnie w kontenerze */
.kompro-slide {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;     /* dziedziczy 80vh z .kompro-slider */
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kompro-slide.active {
  opacity: 1;
  z-index: 1;
}
  
.kompro-button {
	position: absolute;
	left: 0;
	bottom: 100px;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  color: white!important;
  background: black;
  border: none;
  border-radius: 0;
  padding: 1.4rem 2.8rem;
  outline: none;
  box-shadow: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.kompro-button:hover {
  text-decoration: none;
}

.kompro-button * {
  position: relative;
  z-index: 2;
}

.kompro-button:focus,
.kompro-button:active {
  outline: none;
  box-shadow: none;
}

a.kompro-button,
a.kompro-button * {
  color: var(--white);
}

.kompro-button i {
  margin-left: 0.8rem;
}
  
  .slide-link {
    position: absolute;
    inset: 0;
    z-index: 2;
  }

  .kompro-prev,
  .kompro-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    border-radius: 50%;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease, color 0.3s ease;
  }
  
  .kompro-prev {
    left: 2rem;
  }
  
  .kompro-next {
    right: 2rem;
  }
  
  .kompro-prev:hover,
  .kompro-next:hover {
    background: var(--white);
    color: var(--navy);
  }

/* wrapper wskaźnika */
.kompro-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 70px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  animation: komproBounce 2s infinite;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* chevron */
.kompro-scroll-indicator .chevron {
  font-size: 1rem;
  line-height: 1;
  color: var(--gray-dark);
}

/* tekst pod strzałką */
.kompro-scroll-indicator .label {
  font-size: 10px;
  margin-top: 4px;
  color: var(--gray-dark);
  letter-spacing: 0.05em;
}

/* animacja bounce */
@keyframes komproBounce {
  0%, 100%   { transform: translate(-50%, 0); }
  50%        { transform: translate(-50%, 10px); }
}
/* na mobilkach: likwidujemy 80vh i nadajemy kontenerowi proporcję */
@media (max-width: 767px) {
  .kompro-slider {
    height: auto;            /* usuń 80vh */
    aspect-ratio: 16/9;      /* albo inna proporcja twoich obrazków */
  }
  /* slajdy nadal absolutne, żeby nakładały się razem */
  .kompro-slide {
    position: absolute;
    height: 100%;
  }
	.kompro-scroll-indicator { display: none; }
	.kompro-button {
	position: absolute;
	left: 0;
	bottom: 0;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  color: white!important;
  background: black;
  border: none;
  border-radius: 0;
  padding: 1rem 2rem;
  outline: none;
  box-shadow: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
}