/* ================================================================
   ICE TECH SERVICE — ANIMATIONS.CSS
   Plik animacji — nie zmienia układu strony ani treści
   ================================================================ */

/* ──────────────────────────────────────────────
   FOOTER — wyrównanie i estetyka
────────────────────────────────────────────── */

/* Logo wyrównane do lewej — jak w nav */
.uui-footer04_top-wrapper {
  justify-content: space-between !important;
}

.uui-footer04_logo-link {
  padding-right: 0 !important;
}

/* Dolna belka — wyrównana z górną częścią */
.uui-footer04_bottom-wrapper {
  justify-content: space-between !important;
  border-top-color: rgba(255, 255, 255, 0.12) !important;
  padding-top: 1.5rem !important;
  margin-top: 1.5rem !important;
}

/* Hover na linkach nawigacyjnych w footerze */
.uui-footer04_link {
  position: relative;
  transition: color 0.25s ease !important;
}

.uui-footer04_link:hover {
  color: #fff !important;
}

.uui-footer04_link .text-block-4 {
  position: relative;
  display: inline-block;
}

.uui-footer04_link .text-block-4::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #ffb02e;
  transition: width 0.28s ease;
}

.uui-footer04_link:hover .text-block-4::after {
  width: 100%;
}

/* Hover na linkach prawnych (Regulamin, Polityka, Cookies) */
.uui-footer04_legal-link {
  opacity: 0.75;
  transition: opacity 0.25s ease, color 0.25s ease !important;
}

.uui-footer04_legal-link:hover {
  opacity: 1 !important;
  color: #fff !important;
}

/* Hover na social (Facebook) */
.uui-footer04_social-link {
  opacity: 0.65;
  transition: opacity 0.25s ease, transform 0.25s ease !important;
}

.uui-footer04_social-link:hover {
  opacity: 1 !important;
  color: #fff !important;
  transform: translateY(-2px);
}

/* ──────────────────────────────────────────────
   1. SCROLL REVEAL
   Elementy pojawiają się płynnie przy scrollowaniu
────────────────────────────────────────────── */
.its-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.its-reveal.its-visible {
  opacity: 1;
  transform: translateY(0);
}

.its-reveal-delay-1 { transition-delay: 0.07s; }
.its-reveal-delay-2 { transition-delay: 0.14s; }
.its-reveal-delay-3 { transition-delay: 0.21s; }
.its-reveal-delay-4 { transition-delay: 0.28s; }
.its-reveal-delay-5 { transition-delay: 0.35s; }
.its-reveal-delay-6 { transition-delay: 0.42s; }


/* ──────────────────────────────────────────────
   2. HOVER — karty usług
   Delikatny lift + cień + niebieski akcent po lewej
────────────────────────────────────────────── */
.service--div {
  border-radius: 12px;
  border-left: 3px solid transparent;
  transition: transform 0.3s ease,
              box-shadow 0.3s ease,
              border-left-color 0.3s ease;
  cursor: default;
}

.service--div:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 42px rgba(2, 3, 59, 0.09);
  border-left-color: #1a91fc;
}


/* ──────────────────────────────────────────────
   3. HOVER — ikony usług
   Sprężyste powiększenie + lekki obrót
────────────────────────────────────────────── */
.services--logo {
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

.service--div:hover .services--logo {
  transform: scale(1.14) rotate(5deg);
}


/* ──────────────────────────────────────────────
   4. HOVER — karty "reasons to believe"
   Subtelny lift + delikatne niebieskie tło
────────────────────────────────────────────── */
.uui-layout34_content {
  border-radius: 10px;
  padding: 1rem;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.uui-layout34_content:hover {
  transform: translateY(-4px);
  background-color: rgba(26, 145, 252, 0.04);
}


/* ──────────────────────────────────────────────
   5. STICKY CTA — pływający przycisk telefonu
────────────────────────────────────────────── */
#its-sticky-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 8900;
  background: #ffb02e;
  color: #02033b;
  border-radius: 50px;
  padding: 12px 22px 12px 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 22px rgba(255, 176, 46, 0.45);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.25s ease;
  user-select: none;
}

#its-sticky-cta.its-cta-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  animation: its-pulse 3.2s ease-out 1.5s infinite;
}

#its-sticky-cta:hover {
  box-shadow: 0 8px 30px rgba(255, 176, 46, 0.65) !important;
  transform: translateY(-2px) !important;
  animation: none !important;
}

@keyframes its-pulse {
  0%   { box-shadow: 0 4px 22px rgba(255, 176, 46, 0.45); }
  50%  { box-shadow: 0 4px 30px rgba(255, 176, 46, 0.65), 0 0 0 9px rgba(255, 176, 46, 0.08); }
  100% { box-shadow: 0 4px 22px rgba(255, 176, 46, 0.45); }
}

@media (max-width: 480px) {
  #its-sticky-cta {
    bottom: 20px;
    right: 16px;
    padding: 11px 16px 11px 14px;
    font-size: 13px;
  }
}


/* ──────────────────────────────────────────────
   6. TYPING CURSOR
────────────────────────────────────────────── */
.its-cursor {
  display: inline-block;
  width: 2px;
  height: 0.8em;
  background: #1a91fc;
  margin-left: 3px;
  vertical-align: middle;
  border-radius: 1px;
  animation: its-blink 0.72s step-end infinite;
}

@keyframes its-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}


/* ──────────────────────────────────────────────
   7. NAVBAR — efekt szkła przy scrollowaniu
────────────────────────────────────────────── */
.navbar {
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.navbar.its-scrolled {
  background-color: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 2px 24px rgba(2, 3, 59, 0.07) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}


/* ──────────────────────────────────────────────
   8. CTA SECTION — canvas cząsteczki
   Naprawia też overflow: scroll → hidden
────────────────────────────────────────────── */
.cta--section {
  position: relative;
  overflow: hidden !important;
}

#its-cta-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.18;
}
