/* Główny Wrapper */
.ahago-hero-slider-wrapper {
  position: relative;
  background-size: cover;
  background-position: center center;
  transition: background-image 1s ease-in-out;
  display: flex;
  align-items: flex-start;
  padding-top: 10vh;
  justify-content: center;
  overflow: hidden;
  padding-bottom: 10vh;
}

/* Klasa dla opcji "Od Krawędzi do Krawędzi" */
.ahago-hero-slider-wrapper.ahago-hero--full-width {
  justify-content: flex-start;
}

/* Nakładka */
.ahago-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

/* Wrapper Wewnętrzny */
.ahago-hero-inner-container {
  position: relative;
  z-index: 2;
  display: flex;

  /* --- POPRAWKA: Wyrównanie do góry --- */
  align-items: flex-start; /* Zamiast 'center' */
  /* --- KONIEC POPRAWKI --- */

  padding: 0 5%;
}

.ahago-hero-slider-wrapper.ahago-hero--full-width .ahago-hero-inner-container {
  padding: 0 10%;
}

/* Boks z treścią */
.ahago-hero-content-box {
  background-color: #ffffff;
  padding: 40px;
  max-width: 550px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.ahago-hero-content-box h1 {
  margin-top: 0;
}

/* --- Style Przycisków (zgodne z "Lustro9" i zrzutem) --- */
.ahago-hero-buttons {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

/* Przycisk 1 (Primary - nadpisanie "Lustro9") */
.ahago-hero-buttons .elementor-button {
  background-color: #9c938b !important; /* Akcent - Taupe */
  color: #ffffff !important;
}
.ahago-hero-buttons .elementor-button:hover {
  background-color: #2e2e2e !important; /* Tekst - Grafit */
  color: #ffffff !important;
}

/* Przycisk 2 (Secondary - styl "ghost") */
.ahago-hero-buttons .elementor-button-secondary {
  background-color: transparent !important;
  color: #2e2e2e !important; /* Tekst - Grafit */
  border: 2px solid #c0c0c0 !important; /* Brand - Srebrny */
}
.ahago-hero-buttons .elementor-button-secondary:hover {
  background-color: #c0c0c0 !important; /* Brand - Srebrny */
  color: #ffffff !important;
  border-color: #c0c0c0 !important;
}
/* --- END: Style Przycisków --- */

/* Animacje Tekstu (bez zmian) */
#ahago-hero-title,
#ahago-hero-content {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
#ahago-hero-title.is-hiding,
#ahago-hero-content.is-hiding {
  opacity: 0;
  transform: translateY(20px);
}

/* Style Nawigacji (Strzałek) */
.ahago-hero-nav {
  display: flex;
  flex-direction: column;
  margin-left: 5px;
  z-index: 10;
}

.ahago-hero-arrow {
  cursor: pointer;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 1);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin-bottom: 5px;
}
.ahago-hero-arrow:last-child {
  margin-bottom: 0;
}

.ahago-hero-arrow svg {
  width: 1em;
  height: 1em;
  color: #2e2e2e;
}

.ahago-hero-arrow:hover {
  background-color: #c0c0c0;
  color: #2e2e2e;
}

/* --- Responsywność --- */
@media (max-width: 1024px) {
  .ahago-hero-slider-wrapper.ahago-hero--full-width
    .ahago-hero-inner-container {
    padding: 0 5%;
  }
}
@media (max-width: 767px) {
  .ahago-hero-slider-wrapper {
    padding-top: 5vh;
    padding-bottom: 5vh;
  }

  .ahago-hero-inner-container {
    flex-direction: column;
    padding: 0;
    /* Na mobilkach wracamy do centrowania, bo strzałki są na dole */
    align-items: center;
  }

  .ahago-hero-content-box {
    max-width: 100%;
    width: 100%;
  }

  .ahago-hero-nav {
    flex-direction: row;
    margin-left: 0;
    margin-top: 15px;
    justify-content: center;
  }

  .ahago-hero-arrow {
    margin-bottom: 0;
    margin-left: 5px;
    margin-right: 5px;
    width: 45px;
    height: 45px;
  }
}
