/* Alfa Plus v2 - style dodane przy aktualizacji (Felix Studio) */

/* Naglowki H1 na podstronach O nas i Kontakt wygladaja jak dawne H2 */
.heading-text.heading-section h1 { position: relative; font-size: 48px; line-height: 56px; margin-bottom: 60px; }
.heading-text.heading-section h1:before { content: ""; position: absolute; height: 2px; width: 100px; background-color: #2250fc; bottom: -30px; left: 0; right: 0; }
@media (max-width: 991.98px) {
  .heading-text.heading-section h1 { font-size: 40px; line-height: 44px; margin-bottom: 16px; }
  .heading-text.heading-section h1:before { display: none; }
}

/* Tagi: dawniej kazdy byl w <h4>, odstepy jak wczesniej */
ul#tags li { margin: 0 5px 8px; line-height: 2.3em; }

/* Linki tel: i mailto: w pasku gornym i na niebieskim pasku */
#topbar .top_info a { color: inherit; }
.background-colored .phone a { color: inherit; text-decoration: none; }

/* Mapa Google ladowana po kliknieciu */
.ap-map { position: relative; min-height: 450px; background: #eef2fb; border-radius: 4px; }
.ap-map-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; }
.ap-map.is-loaded { background: none; }
.ap-map iframe { display: block; }

/* Baner zgody na cookies */
#ap-cookies {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 99999;
  max-width: 760px; margin: 0 auto; padding: 18px 20px;
  background: #fff; color: #1e2022; border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .18);
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  font-size: 14px; line-height: 1.5;
}
#ap-cookies .ap-cookies-text { flex: 1 1 360px; }
#ap-cookies .ap-cookies-text a { text-decoration: underline; }
#ap-cookies .ap-cookies-buttons { display: flex; gap: 8px; flex: 0 0 auto; }
#ap-cookies .btn { margin: 0; }
.ap-cookie-link { font-size: 12px; opacity: .8; }

/* Slider strony glownej */
#slider .container { position: relative; }
.ap-slider { position: relative; }
.ap-slider-viewport { position: relative; overflow: hidden; border-radius: 4px; background: #f6f7fb; }
.ap-slider-track { display: flex; height: 100%; transition: transform .6s cubic-bezier(.4, 0, .2, 1); will-change: transform; }
.ap-slider-track.is-dragging { transition: none; }
.ap-slide { flex: 0 0 100%; height: 100%; }
.ap-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ap-slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, .92); color: var(--bs-blue, #003aee);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; line-height: 1; transition: background-color .2s, color .2s, transform .2s;
}
.ap-slider-arrow:hover, .ap-slider-arrow:focus-visible { background: var(--bs-blue, #003aee); color: #fff; }
.ap-slider-arrow:focus-visible { outline: 3px solid rgba(0, 58, 238, .35); outline-offset: 2px; }
.ap-prev { left: 12px; }
.ap-next { right: 12px; }
.ap-slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.ap-slider-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: #cfd6ea; transition: background-color .2s, transform .2s; }
.ap-slider-dots button.is-active { background: var(--bs-blue, #003aee); transform: scale(1.25); }
@media (max-width: 767.98px) {
  .ap-slider-arrow { width: 36px; height: 36px; font-size: 26px; }
  .ap-prev { left: 6px; }
  .ap-next { right: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .ap-slider-track { transition: none; }
}

/* Pasek z animacja pod menu (gwiazdy, ksiezyc, chmury, dzieci).
   Wysokosc ograniczona w px, wszystko przyciete do pasa,
   ksiezyc skaluje sie z wysokoscia pasa i chowa za chmurami. */
.alfaplus {
  height: clamp(90px, 13vh, 150px);
  overflow: hidden;
  /* dolne 12% pod chmurami biale: obrazek chmur ma tam przezroczyste
     przerwy, przez ktore przeswitywal niebieski prazek */
  background: linear-gradient(to bottom, var(--bs-blue) 88%, #fff 88%);
}
.alfaplus .stars { z-index: 1; }
.alfaplus .moon {
  z-index: 2;
  top: 8%;
  bottom: auto;
  height: 72% !important;
  width: auto !important;
  aspect-ratio: 1 / 1;
  transform-origin: 50% 60%;
}
.alfaplus .clouds {
  z-index: 3;
  bottom: -2px;
  height: calc(100% + 2px);
}
.alfaplus .child01,
.alfaplus .child02 { z-index: 4; }
@media (prefers-reduced-motion: reduce) {
  .alfaplus .moon,
  .alfaplus .child01,
  .alfaplus .child02 { animation: none; }
}
