/* === Sekcja Odra-5 === */
.section--odra5 {
  margin-top: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px var(--pad-x);
  color: #f5f5f5;
  text-align: center;
  position: relative;
  z-index: 1;

  background:
    linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.55)),
    radial-gradient(1200px 600px at 70% 30%, rgba(255,140,0,.25), transparent 60%),
    url("../Images/QubitBG.png") no-repeat center center / cover;
}

.section--odra5 .odra5 {
  max-width: 1200px; 
  width: 100%;
  margin: 0 auto;
  padding: 20px;
}

/* Tytuł i podtytuł */
.odra5-title {
  margin: 0;
  text-align: center;
  font-size: clamp(30px, 5.2vw, 44px);
  line-height: 1.2;
  background: linear-gradient(270deg, #b35400, #ff8800, #ffcc33, #b35400);
  background-size: 300% 300%;

  background-clip: text;           /* standard */
  -webkit-background-clip: text;   /* prefiks WebKit */
  -webkit-text-fill-color: transparent;

  text-shadow: 0 0 8px rgba(179, 84, 0, 0.6);
  animation: gradientMove 6s ease-in-out infinite;
}


.odra5-subtitle {
  margin: 10px auto 30px;
  max-width: 820px;
  color: #e8e8e8;
  opacity: .95;
  font-size: clamp(16px, 2.2vw, 18px);
  text-align: center;
}

/* Grid: mobile pionowo, desktop 2 kolumny */
.odra5-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 3vw, 26px);
  align-items: start;
}
@media (min-width: 980px) {
  .odra5-grid {
    grid-template-columns: 1fr 0.94fr;
    gap: 40px;
    align-items: stretch;
  }
}

/* Obrazek i podpis */
.odra5-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  height: 100%;
}

.odra5-image {
  width: 100%;        /* było max-width: 85% */
  max-width: 100%;    /* pozwala rosnąć do szerokości kolumny */
  margin: 0;          /* usuwamy sztuczne wyśrodkowanie */
  border-radius: 14px;
  height: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}

@media (min-width: 980px) {
  .odra5-image {
    flex: 1 1 auto;
    height: 100%;
  }
}

.odra5-figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: #d9d9d9;
  opacity: .85;
  text-align: center;
}

/* Lista faktów */
.odra5-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.odra5-facts li {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
}
@media (min-width: 980px) {
  .odra5-facts li {
    padding: 16px 20px;
    font-size: 17px;
    line-height: 1.55;
    border-width: 2px;
  }
  .odra5-facts li strong {
    font-weight: 800;
  }
}

/* CTA */
.odra5-cta {
  margin-top: 18px;
}

.odra5-cta .btn {
  display: inline-block;
  padding: 16px 28px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ff8800, #ffcc33);
  color: #111;
  font-weight: 800;
  text-decoration: none;
  font-size: 18px;
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.odra5-cta .btn:hover {
  background: linear-gradient(135deg, #ffcc33, #ff8800);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,.45);
}



/* Tablet – obraz nieco mniejszy i wyśrodkowany */
@media (min-width: 640px) and (max-width: 979px) {
  .odra5-image {
    max-width: 80%;
    margin: 0 auto;
  }
}



@media (min-width: 980px) {
  .odra5-cta {
    margin-top: auto;
  }
  .odra5-cta .btn {
    padding: 16px 28px;
    font-size: 18px;
    border-radius: 12px;
  }

  .odra5-grid {
    grid-template-columns: 1fr 1fr; /* równe kolumny zamiast 1fr 0.85fr */
    gap: 40px;                      /* trochę większy odstęp */
    align-items: stretch;
  }
}


/* Lista faktów */
.odra5-facts {
  font-size: 14.5px; /* minimalnie mniejszy font */
  gap: 10px;
}
.odra5-facts li {
  padding: 10px 14px; /* ciaśniejsze kafelki */
}

/* Przycisk */
.odra5-cta .btn {
  font-size: 15px;
  padding: 8px 18px;   /* mniejszy przycisk */
  border-radius: 8px;
}


@media (min-width: 980px) {
  .odra5-cta {
    margin-top: 24px; /* lekki odstęp od listy faktów */
    align-self: flex-start; /* zostaje w kolumnie, nie rozpycha */
  }
}

/* Ultra‑wide: 1600px+ — szersza Odra‑5 + równe „guttery” po bokach */
@media (min-width: 1600px) {
  /* docelowa szerokość treści */
  .section--odra5 .odra5 {
    max-width: 1440px; /* możesz zmienić np. na 1536px */
  }

  /* delikatnie większy oddech i lekko szersza kolumna z obrazem */
  .odra5-grid {
    grid-template-columns: 1.05fr 1fr; /* obraz minimalnie szerszy */
    gap: 48px;
  }

  /* równe marginesy po bokach sekcji (guttery) */
  .section--odra5 {
    padding-left: max(var(--pad-x), calc((100vw - 1440px) / 2));
    padding-right: max(var(--pad-x), calc((100vw - 1440px) / 2));
  }
}


/* === Ikonki przy faktach w Odra-5 === */
.odra5-facts li {
  position: relative;
  padding-left: 40px; /* miejsce na ikonkę */
}

.odra5-facts li::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #ffcc66;
}

/* różne ikony dla kolejnych faktów */
.odra5-facts li:nth-child(1)::before { content: "\f135"; } /* rakieta (fa-rocket) */
.odra5-facts li:nth-child(2)::before { content: "\f1b2"; } /* sześcian (fa-cube – symbol kubitów) */
.odra5-facts li:nth-child(3)::before { content: "\f2db"; } /* termometr (fa-thermometer) */
.odra5-facts li:nth-child(4)::before { content: "\f6ad"; } /* atom (fa-atom – splątanie) */
.odra5-facts li:nth-child(5)::before { content: "\f201"; } /* kod (fa-code – Qiskit/Python) */
.odra5-facts li:nth-child(6)::before { content: "\f121"; } /* błyskawica (fa-bolt – symbol wzrostu mocy) */







.odra5-facts li::before {
  background: linear-gradient(90deg, #ff8800, #ff8800, #ffcc33, #ff8800);

  background-clip: text;           /* standard */
  -webkit-background-clip: text;   /* prefiks WebKit */
  -webkit-text-fill-color: transparent;

  animation: odraIconShine 4s linear infinite;
}


@keyframes odraIconShine {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}



/*Puls ikon*/




