/* ----- OGÓLNE ----- */
a { color: aliceblue; text-decoration: none; }
header { background: #000; color: #fff; }

/* PASEK */
.pasek{
  position: relative; /* do pozycjonowania burgera na mobile */
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1900px; min-width: 50%; height: 90px; margin: auto; padding: 0 8px;
}

/* LEWY BLOK */
.lewa_pasek{ display: flex; align-items: center; flex: 0 0 auto; min-width: fit-content; }
.logo-link{ display: inline-flex; align-items: center; height: 90px; color:#fff; padding: 0 10px; }
.brand{
  font-family: 'Lilita One', sans-serif; font-size: clamp(28px, 4.4vw, 44px);
  letter-spacing:.2px; color:#fff; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  text-shadow: 0 0 10px rgba(255,0,204,.12), 0 0 14px rgba(0,183,255,.12);
}
.logo-link:hover .brand{
  background: linear-gradient(90deg, #ff00cc, #00b7ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* PRAWY BLOK */
.prawa_pasek{ display:flex; justify-content:flex-end; width:auto; align-items:center; }
.nav-list{ margin:0; padding:0; list-style:none; display:flex; height:90px; align-items:center; gap:10px; }
.nav-item{ display:block; }
.nav-link{ color: aliceblue; padding:8px 14px; font-size:24px; border-radius:10px; transition: color .2s, background .2s, transform .08s; }
.nav-link:hover, .nav-link.aktywna{ color:#fff; background: rgba(255,255,255,.06); transform: translateY(-1px); }

/* BURGER */
.menu{ display:none; background:#000; color:#fff; border:none; font-size:16px; padding:10px 20px; cursor:pointer; z-index:10001; position:relative; border-radius:12px; }
.menu:focus{ outline:none; }
.menu span{ display:block; width:35px; height:3px; background:#fff; margin-bottom:7px; transition: background .3s; }
.menu:hover span{ background:#00b7ff; }
.menu:hover{ background:#313030; color:#00b7ff; }

/* MOBILE: ukryj prawą część, wyśrodkuj nazwę, burger na prawej krawędzi */
@media (max-width: 777px){
  .prawa_pasek{ display:none; }
  .lewa_pasek{ margin: 0 auto; }
  .menu{
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    position:absolute; right:8px; top:50%; transform: translateY(-50%);
  }
}

/* FULLSCREEN MENU */
.fullscreen-menu{
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(10px);
  display: none; justify-content: center; align-items: center; z-index: 10000;
}
.fullscreen-nav{ list-style: none; padding: 0; margin: 0; text-align: center; }
.fullscreen-link{
  display: block; font-size: 48px; color: #fff; text-decoration: none; margin: 20px 0;
  font-family: 'Lilita One', sans-serif; transition: color 0.3s ease, transform .12s ease;
}
.fullscreen-link:hover{ color: #00b7ff; transform: translateY(-1px); }

/* TŁO + BODY */
html, body {
  margin: 0;
  background: #000;
  overflow: hidden;
  display: flex;
  height: 100%;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  flex-direction: column;
  color: #fff;
}
#particles-js { top: 90px; position: fixed; width: 100%; height: 100%; z-index: 0; }

footer { text-align: center; padding: 1rem 0; color: #fff; margin-top: auto; }

/* ----- KONTENER SCROLL ----- */
.main-scroll {
  position: relative;
  z-index: 1;                  /* nad particles */
  max-width: 1100px;
  width: 92%;
  margin: 32px auto 40px;
  max-height: calc(100vh - 90px - 80px);
  overflow: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.no-scroll { overflow: hidden !important; }

/* O M N I E */
.about { padding: 8px 0 24px; }
.about-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 24px;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.about-photo-wrap { display: block; }
.about-photo {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 6px 16px rgba(0,0,0,0.45);
}
.gradient-title {
  background: linear-gradient(90deg, #ff00cc, #00b7ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin: 0 0 8px; font-size: clamp(28px, 3vw, 40px); line-height: 1.1;
}
.about-lead { margin: 0 0 16px; font-size: 18px; color: #eaeaea; }
.about-stats {
  display: flex; gap: 16px; list-style: none; padding: 0; margin: 0 0 16px;
  flex-wrap: wrap;
}
.stat-number { font-size: 28px; font-weight: 800; display: block; }
.stat-label { font-size: 12px; letter-spacing: .3px; color: #cfcfcf; }
.about-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 16px; border-radius: 12px; font-weight: 600; font-size: 16px;
  border: 1px solid rgba(255,255,255,0.18); transition: transform .08s ease, background .2s ease, color .2s ease;
}
.btn-primary { background: linear-gradient(90deg, #ff00cc40, #00b7ff40); }
.btn-primary:hover { background: linear-gradient(90deg, #ff00cc66, #00b7ff66); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.08); transform: translateY(-1px); }

@media (max-width: 880px) {
  .about-card { grid-template-columns: 1fr; text-align: center; }
  .about-photo { margin: 0 auto 16px; max-width: 180px; }
}

/* CERTYFIKATY */
.certs { padding: 24px 0 8px; }
.certs-head { margin-bottom: 12px; }
.section-title { margin: 0; font-size: clamp(22px, 2.6vw, 32px); }
.section-subtitle { margin: 6px 0 0; color: #cfcfcf; font-size: 14px; }

.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1100px) { .certs-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .certs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .certs-grid { grid-template-columns: 1fr; } }

.cert-card {
  position: relative; overflow: hidden; border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer; outline: none;
  transition: transform .12s ease, box-shadow .2s ease, border-color .2s ease;
}
.cert-card:hover, .cert-card:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.45);
  border-color: rgba(0,183,255,0.4);
}
.cert-img {
  width: 100%; height: 180px; object-fit: cover; display: block;
  filter: saturate(1.05) contrast(1.02);
}
.cert-meta { padding: 10px 12px; }
.cert-meta h3 { margin: 0 0 4px; font-size: 16px; }
.cert-meta p  { margin: 0; font-size: 13px; color: #cfcfcf; }

/* LIGHTBOX */
.lightbox {
  position: fixed; inset: 0; display: none; z-index: 10002;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; flex-direction: column; padding: 20px;
}
.lightbox img {
  max-width: min(1100px, 92vw); max-height: 76vh;
  border-radius: 12px; border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}
.lightbox p { margin: 12px 0 0; color: #e8e8e8; font-size: 14px; }
.lightbox-close {
  position: absolute; top: 16px; right: 16px; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06); color: #fff; font-size: 28px; line-height: 1;
  cursor: pointer; transition: background .2s ease, transform .08s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,0.12); transform: translateY(-1px); }

/* Mobile CTA wyrównania */
@media (max-width: 600px) {
  .about-stats { justify-content: center; text-align: center; flex-direction: column; align-items: center; }
  .about-cta { justify-content: center; text-align: center; width: 100%; }
  .about-cta .btn { width: 100%; max-width: 240px; }
}

.main-scroll { scrollbar-width: none; }
.main-scroll::-webkit-scrollbar { display: none; }
