:root{
  --bg:#ffffff;     /* tło */
  --panel:#1e1e1e;  /* kontenery */
  --chip:#2a2a2a;   /* zaznaczone/aktywne */
  --text:#e9e9e9;
  --muted:#bdbdbd;  /* wzmocniony muted na ciemnym */
}

body{
  background:var(--bg) !important;
  color:var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* particles */
#particles-js{ position:fixed; inset:0; z-index:-1; background-color: #151515; }

/* Navbar */
.navbar-nav .nav-link{ color:#aaa !important; }
.navbar-nav .nav-link:hover{ color:#fff !important; }
.navbar-nav .nav-link.active{
  background:var(--chip);
  border-radius:.6rem;
  padding:.4rem .8rem;
  color:#fff !important;
}

/* Panele / karty */
.custom-panel{ background:var(--panel); border-radius:1rem; box-shadow:0 8px 30px rgba(0,0,0,.35); }
.bg-panel{ background:var(--panel) !important; border-radius:.9rem; }
.chip{ display:inline-flex; align-items:center; gap:.4rem; background:var(--chip); padding:.35rem .65rem; border-radius:.6rem; color:#ddd; font-size:.9rem; }

/* Tekst */
.text-muted{ color:var(--muted) !important; }

/* Portfolio placeholder */
.thumb{ aspect-ratio: 16/9; background:linear-gradient(135deg,#202020,#242424); border-top-left-radius:.9rem; border-top-right-radius:.9rem; }
.skeleton{ position:relative; overflow:hidden; }
.skeleton::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(120deg, transparent 0%, rgba(255,255,255,.06) 50%, transparent 100%);
  transform:translateX(-100%); animation:shine 1.6s infinite;
}
@keyframes shine{ to{ transform:translateX(100%); } }

/* Team */
.team-card{ border-radius:1rem; background:var(--panel); box-shadow:0 8px 24px rgba(0,0,0,.35); }
.avatar{
  width:120px; height:120px; border-radius:50%;
  object-fit:cover; margin:0 auto;
  border:1px solid rgba(255,255,255,.06);
  box-shadow:0 6px 18px rgba(0,0,0,.35);
}
.role{ color:var(--muted); }

/* Footer */
footer{ color:var(--muted); }

/* Pełny ekran */
#loader {
  position: fixed;
  inset: 0;
  background: #1A1A1A; /* tło */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.6s ease;
}

/* Animacja znika */
#loader.fade-out {
  opacity: 0;
  pointer-events: none;
}

#loader img {
  width: 350px;   /* możesz dopasować wielkość gifa */
  height: auto;
}

/* ===== Ciekawsze animacje scrollowe ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  will-change: transform, opacity;
}

.reveal.in {
  opacity: 1;
  transform: none;
  transition:
    opacity 1s cubic-bezier(.16,1,.3,1),
    transform 1s cubic-bezier(.16,1,.3,1);
  transition-delay: var(--reveal-delay, 0ms);
}

/* Warianty specjalne */
.reveal.flip-x {
  transform: rotateX(80deg);
}
.reveal.flip-x.in {
  transform: rotateX(0deg);
}

.reveal.flip-y {
  transform: rotateY(80deg);
}
.reveal.flip-y.in {
  transform: rotateY(0deg);
}

.reveal.scale-up {
  transform: scale(0.6);
}
.reveal.scale-up.in {
  transform: scale(1);
}

.reveal.rotate {
  transform: rotate(-15deg) scale(0.9);
}
.reveal.rotate.in {
  transform: rotate(0deg) scale(1);
}

.reveal.slide-up {
  transform: translateY(80px);
}
.reveal.slide-up.in {
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

h3 {
  color:#e9e9e9 !important;
}

/* ===== Centralny "pill" z logo na górnej krawędzi karty ===== */
.service-card { position: relative;  }

/* wymiar pilla – edytowalne zmienne */
:root{
  --svc-pill-w: clamp(180px, 42%, 5px);
  --svc-pill-h: 80px;           /* wysokość pilla */
}

/* sam pill */
.service-pill{
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);   /* połowa wysokości ponad kartą */
  width: var(--svc-pill-w);
  height: var(--svc-pill-h);
  background: var(--chip);            /* ten sam kolor co aktywny element */
  border-radius: 12px;
  box-shadow: 0 5px 12px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.04);
  display: flex; align-items: center; justify-content: center;
  padding: 6px 12px;
  z-index: 2;
  pointer-events: none;               /* nie zasłania klików w karcie */
}

/* logo w środku – zachowuje proporcje 1024x400 */
.service-pill img{
  max-width: 100%;
  max-height: calc(var(--svc-pill-h) - 12px);
  height: auto;
  width: auto;
  object-fit: contain;
}

/* delikatny bufor na treść pod pil lem, żeby nagłówek nie wchodził pod spód */
.service-card .card-body{
  padding-top: calc(1rem + var(--svc-pill-h)/2); /* pół wysokości pilla + oddech */
}


/* Portfolio – styl zakładek (pills) */
.portfolio-tabs .nav-pills .nav-link{
  background: var(--chip);
  color: #e9e9e9;
  border-radius: .8rem;
  padding: .5rem 1rem;
  border: 1px solid rgba(255,255,255,.06);
  backdrop-filter: saturate(120%) blur(2px);
}
.portfolio-tabs .nav-pills .nav-link:hover{
  background: #323232;
}
.portfolio-tabs .nav-pills .nav-link.active{
  background: #3a3a3a;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.05);
}

/* wjazd kart przy zmianie zakładki – drobna animacja */
.tab-pane .item{
  transform: translateY(16px);
  opacity: 0;
  transition: transform .5s ease, opacity .5s ease;
}
.tab-pane.show.active .item{
  transform: none;
  opacity: 1;
}
.tab-pane.show.active .item:nth-child(2){ transition-delay: .06s; }
.tab-pane.show.active .item:nth-child(3){ transition-delay: .12s; }
.tab-pane.show.active .item:nth-child(4){ transition-delay: .18s; }


.hover-scale iframe {
  transition: transform 0.3s ease;
}
.hover-scale:hover iframe {
  transform: scale(1.05);
}


/* Karta w sliderze */
#trusted .card {
  border-radius: 12px;
  transition: transform .25s ease, box-shadow .25s ease;
}
#trusted .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,.35);
}

/* Avatar: idealne kółko z nakładką platformy */
.trusted-card .avatar{
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 8px 22px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.04);
  overflow: visible; 
  margin: 0 auto;
  background: #202020;
}
.trusted-card .avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

/* Mała plakietka platformy nachodząca na kółko */
.trusted-card .platform-badge{
  position: absolute;
  z-index: 2;
  top: -6px;
  right: -6px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  line-height: 1;
  color: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08);
}
.trusted-card .platform-badge.youtube { background: #ff0033; }
.trusted-card .platform-badge.tiktok  { background: #111; color: #fff;   display: flex; align-items: center; justify-content: center;}
.trusted-card .platform-badge .bi,
.trusted-card .platform-badge svg { display:block; }

/* Drobna animacja avatara */
.trusted-card .avatar img { transition: transform .25s ease; }
.trusted-card:hover .avatar img { transform: scale(1.03); }

.avatar img {
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}
.avatar img:hover {
  transform: scale(1.05);
}

.social-links a {
  transition: color 0.3s;
}
.social-links a:hover {
  color: #00aaff; /* kolor hovera, np. jasny niebieski */
}

/* miększa krzywa przejścia między slajdami */
.mySwiper .swiper-wrapper{
  transition-timing-function: cubic-bezier(.16,1,.3,1);
}


/* Styl dla klikalnych nicków w sliderze */
.client-link {
  text-decoration: none;      /* brak podkreślenia */
  transition: color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  display: inline-block;
  font-weight: bold;
}

.client-link:hover {
  color: #00aced;             /* lekki akcent koloru (np. niebieski) */
  transform: scale(1.05);     /* subtelne powiększenie */
}

.trusted-card .platform-badge.website {
  background: #0d6efd; /* Bootstrap primary (niebieski) */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* HERO */
.hero { position: relative; overflow: hidden; }
.hero-title{
  font-size: clamp(10px, 4.2vw, 30px);
  letter-spacing: .3px;
}
.hero-sublead span { white-space: nowrap; }

/* CTA */
.btn-hero-primary{
  background: linear-gradient(90deg, #0d6efd, #00aaff);
  color:#fff;
  border:0;
  border-radius:.7rem;
  font-weight:600;
  box-shadow: 0 8px 22px rgba(0,170,255,.25);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn-hero-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0,170,255,.32);
  filter: brightness(1.03);
}

.btn-hero-ghost{
  border:1px solid rgba(255,255,255,.25);
  color:#e9e9e9;
  border-radius:.7rem;
  font-weight:600;
  backdrop-filter: saturate(120%) blur(2px);
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn-hero-ghost:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.35);
}

/* drobny akcent za kickerem */
.hero .kicker{ box-shadow: 0 8px 24px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.05); }


.hero-sublead {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px; /* odstęp między elementami */
}

.hero-sublead span {
  display: flex;
  align-items: center;
  gap: 6px; /* odstęp między ikoną a tekstem */
  white-space: nowrap;
}

.hero-sublead span::after {
  content: "•";
  color: white; /* kolor kropki */
  margin-left: 8px;
  margin-right: 8px; /* odstęp po kropce */
}

.hero-sublead span:last-child::after {
  content: ""; /* usuwa kropkę po ostatnim elemencie */
}


/* zanim loader zniknie, trzymaj reveal wstępnie ukryte */
html:not(.app-ready) .reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
}


.serv {
  margin-top: 70px;
}

/* Wspólny styl */
.btn-social {
  color: #fff;
  font-weight: 600;
  padding: 8px 20px;
  border: none;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  text-decoration: none;
}

.btn-social:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* Kolory dla każdej platformy */
.btn-social.youtube {
  background: #FF0000;
}

.btn-social.instagram {
  background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
}

.btn-social.facebook {
  background: #1877F2;
}

.btn-social.tiktok {
  background: linear-gradient(45deg, #25F4EE, #000000, #FE2C55);
}
