@charset "UTF-8";
@font-face {
  font-family: "DeveloperFont";
  src: url("../Fonty.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "DeveloperFont", sans-serif;
  color: #f0f0f0;
  background-color: #0a0a0a;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

a {
  text-decoration: none;
  color: #0077b6;
  transition: color 0.3s;
}
a:hover {
  color: rgb(0, 159.0153846154, 243.2);
}

.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.background-animation {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.bg-shape {
  background-color: #0077b6;
  opacity: 0.18;
  filter: blur(50px);
  transition: background-color 0.7s ease;
}

.language-selection-container {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 50px;
  text-align: center;
  z-index: 10;
}

.page-title {
  font-size: 2.2rem;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #f0f0f0;
  opacity: 0.9;
}

.language-options {
  display: flex;
  gap: 50px;
}

.language-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 180px;
  height: 180px;
  padding: 20px;
  border-radius: 14px;
  background: #1e1e1e;
  border: 1px solid #333333;
  color: #f0f0f0;
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out, border 0.3s ease-out;
}
.language-button:hover {
  transform: translateY(-6px) scale(1.05);
  border-color: #0077b6;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 12px #0077b6;
  cursor: pointer;
}

.flag-icon {
  font-size: 58px;
  margin-bottom: 10px;
}

.language-name {
  font-size: 1.05rem;
  font-weight: bold;
  opacity: 0.8;
  letter-spacing: 1px;
  text-transform: uppercase;
}

main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  padding-top: 120px;
  min-height: 100vh;
  position: relative;
  z-index: 5;
}

.section {
  padding: 80px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #333333;
}
.section:last-child {
  border-bottom: none;
}
.section h2 {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 30px;
  font-weight: bold;
  position: relative;
}
.section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #0077b6;
  margin-top: 10px;
}

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.main-header nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
}

.main-header a {
  color: #f0f0f0;
  font-size: 1rem;
  position: relative;
}
.main-header a:hover {
  color: #0077b6;
}
.main-header a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #0077b6;
  transition: width 0.3s;
}
.main-header a:hover::after {
  width: 100%;
}

.language-switch a {
  padding: 6px 12px;
  border-radius: 5px;
  border: 1px solid #333333;
  font-size: 1rem;
  font-weight: 600;
  color: white;
}
.language-switch a:hover {
  border-color: #0077b6;
  color: #0077b6;
}

#hero {
  min-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#hero h1 {
  font-size: 4rem;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 30px;
}
#hero br {
  display: none;
}
@media (min-width: 768px) {
  #hero br {
    display: block;
  }
}

.cta-button {
  background: #0077b6;
  color: #ffffff;
  padding: 12px 26px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  transition: background 0.3s, transform 0.3s;
}
.cta-button:hover {
  background: rgb(0, 152.3461538462, 233);
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0, 119, 182, 0.4);
}

.main-footer {
  text-align: center;
  padding: 20px 0;
  color: #333333;
  font-size: 0.9rem;
  border-top: 1px solid #333333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0e0e11;
  font-family: "Inter", sans-serif;
  color: #e4e4e7;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}
body:after {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  background: url("https://grainy-gradients.vercel.app/noise.svg");
  opacity: 0.12;
  mix-blend-mode: soft-light;
  z-index: 999999;
}

a {
  color: inherit;
  text-decoration: none;
  transition: 0.25s ease;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.accent {
  color: #6b8bff;
  text-shadow: 0 0 12px rgba(107, 139, 255, 0.4);
}

.animated-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(transparent 95%, rgba(255, 255, 255, 0.03) 100%), linear-gradient(90deg, transparent 95%, rgba(255, 255, 255, 0.03) 100%);
  background-size: 50px 50px;
  opacity: 0.15;
  animation: gridMove 22s linear infinite;
}

@keyframes gridMove {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50px);
  }
}
.main-header {
  width: 100%;
  padding: 20px 0;
  background: rgba(14, 14, 17, 0.4);
  backdrop-filter: blur(25px) saturate(190%);
  position: sticky;
  top: 0;
  z-index: 900;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}
.main-header .nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.main-header .logo {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: 0.35s ease;
}
.main-header .logo:hover {
  color: #6b8bff;
  text-shadow: 0 0 20px rgba(107, 139, 255, 0.9);
  transform: translateY(-3px) scale(1.03);
}
.main-header .nav-links {
  display: flex;
  gap: 32px;
}
.main-header .nav-links a {
  font-weight: 500;
  color: #a1a1aa;
  padding-bottom: 4px;
  position: relative;
  transition: 0.3s;
}
.main-header .nav-links a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: #6b8bff;
  box-shadow: 0 0 12px rgba(107, 139, 255, 0.9);
  border-radius: 4px;
  transition: 0.3s;
}
.main-header .nav-links a:hover {
  color: #e4e4e7;
  text-shadow: 0 0 8px rgba(107, 139, 255, 0.6);
}
.main-header .nav-links a:hover:after {
  width: 100%;
}
.main-header .nav-links a.active {
  color: #6b8bff;
}
.main-header .nav-links a.active:after {
  width: 100%;
}
.main-header .lang-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
}
.main-header .lang-switcher a {
  color: #a1a1aa;
  transition: 0.25s;
}
.main-header .lang-switcher a:hover {
  color: rgb(158, 178.972972973, 255);
  text-shadow: 0 0 10px rgba(107, 139, 255, 0.8);
}
.main-header .lang-switcher a.active {
  color: #6b8bff;
  font-weight: 600;
}
.main-header .lang-switcher span {
  color: #a1a1aa;
}

.hero-section {
  padding: 190px 0 200px;
  position: relative;
  text-align: center;
  overflow: hidden;
}
.hero-section:before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  top: -200px;
  left: -200px;
  background: radial-gradient(circle, rgba(107, 139, 255, 0.35), transparent 70%);
  filter: blur(120px);
  z-index: -1;
  opacity: 0.7;
}
.hero-section:after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  bottom: -150px;
  right: -150px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 70%);
  filter: blur(130px);
  z-index: -1;
  opacity: 0.4;
}
.hero-section .hero-content {
  position: relative;
  z-index: 3;
}
.hero-section .hero-content h1 {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -1.2px;
  margin-bottom: 18px;
  line-height: 1.1;
  transition: 0.4s ease;
  text-shadow: 0 0 18px rgba(107, 139, 255, 0.4), 0 0 35px rgba(107, 139, 255, 0.25);
}
.hero-section .hero-content h1:hover {
  transform: scale(1.035);
  text-shadow: 0 0 25px rgba(107, 139, 255, 0.65), 0 0 40px rgba(107, 139, 255, 0.35);
}
.hero-section .hero-content .hero-sub {
  font-size: 22px;
  color: #a1a1aa;
  margin-bottom: 40px;
  opacity: 0.85;
  letter-spacing: 0.3px;
}
.hero-section .hero-content .cta-button {
  display: inline-block;
  padding: 18px 48px;
  font-size: 20px;
  font-weight: 700;
  border-radius: 14px;
  background: linear-gradient(135deg, #6b8bff, rgb(158, 178.972972973, 255));
  color: white;
  box-shadow: 0 0 15px rgba(107, 139, 255, 0.6), 0 0 35px rgba(107, 139, 255, 0.4);
  transition: 0.35s ease;
}
.hero-section .hero-content .cta-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 0 22px rgba(107, 139, 255, 0.8), 0 0 55px rgba(107, 139, 255, 0.5);
}
.hero-section .hero-content .cta-button:active {
  transform: scale(0.95);
}

.main-footer {
  text-align: center;
  padding: 55px 0;
  background: #16161a;
  margin-top: 100px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.45);
}
.main-footer p {
  color: #a1a1aa;
  font-size: 15px;
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 40px;
  }
  .hero-sub {
    font-size: 18px !important;
  }
}
.about-section {
  padding: 140px 0;
  position: relative;
  background: #0e0e11;
  overflow: hidden;
}
.about-section .about-background-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(107, 139, 255, 0.12), transparent 70%);
  filter: blur(55px);
  z-index: 0;
}
.about-section .container {
  position: relative;
  z-index: 2;
}
.about-section h2 {
  text-align: center;
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 60px;
}
.about-section h2 span.accent {
  color: #6b8bff;
  text-shadow: 0 0 14px rgba(107, 139, 255, 0.5);
}
.about-section .about-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 60px;
}
@media (max-width: 900px) {
  .about-section .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.about-section .about-text {
  font-size: 18px;
  color: #e4e4e7;
  line-height: 1.75;
}
.about-section .about-text p {
  margin-bottom: 22px;
  color: #e4e4e7;
  font-size: 17.5px;
}
.about-section .about-text p strong {
  color: #6b8bff;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(107, 139, 255, 0.4);
}
.about-section .about-stats {
  display: grid;
  gap: 20px;
}
.about-section .about-stats .stat-card {
  padding: 26px 30px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  transition: 0.3s ease;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
}
.about-section .about-stats .stat-card .num {
  font-size: 34px;
  font-weight: 700;
  color: #6b8bff;
  margin-bottom: 8px;
  text-shadow: 0 0 12px rgba(107, 139, 255, 0.6);
}
.about-section .about-stats .stat-card .label {
  font-size: 15px;
  color: #a1a1aa;
}

/* ============================================================
   PROJEKTY – Karty jak w sekcji “O mnie”
   ============================================================ */
.project-img {
  flex: 1;
  max-width: 540px;
  height: 310px;
  padding: 20px;
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(18px);
  box-shadow: 0 0 90px rgba(0, 0, 0, 0.55), inset 0 0 50px rgba(255, 255, 255, 0.02), 0 0 60px rgba(40, 120, 255, 0.18), 0 0 120px rgba(0, 102, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: 0.4s ease;
}

.project-img:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 120px rgba(0, 102, 255, 0.25), inset 0 0 65px rgba(255, 255, 255, 0.03);
}

.project-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  opacity: 0.9;
  transition: 0.45s ease;
}

.project-img:hover img {
  opacity: 1;
  transform: scale(1.06);
}

.project-info {
  flex: 1;
  max-width: 620px;
  opacity: 0;
  transform: translateY(25px);
  animation: fadeUp 1s ease forwards;
}

.project-info h3 {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #ffffff;
  letter-spacing: 0.4px;
  text-shadow: 0 0 10px rgba(0, 102, 255, 0.3);
}

.project-info p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 18px;
}

/* Mini-statystyki projektu */
.project-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 10px;
}

.project-stats li {
  margin-bottom: 6px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.project-stats li strong {
  color: #6aa8ff;
  font-weight: 600;
}

.project-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
  margin: 140px 0;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.9s ease forwards;
  animation-delay: calc(var(--i) * 0.15s);
}

.project-row.reverse {
  flex-direction: row-reverse;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(55px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
@media (max-width: 860px) {
  .project-row,
  .project-row.reverse {
    flex-direction: column !important;
    text-align: center;
    gap: 50px;
  }
  .project-img {
    max-width: 100%;
    height: 250px;
  }
  .project-info {
    max-width: 100%;
  }
}
/* ============================================================
   SPECJALIZACJA – identyczne karty jak “O mnie”
   Premium Glass + Glow + Animacje
   ============================================================ */
.specialization-section {
  padding-top: 80px;
}
.specialization-section .specialization-intro {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 50px;
}

/* —— KARTA — identyczna jak w “O mnie” —— */
.spec-card {
  width: 100%;
  margin: 40px 0;
  padding: 32px 38px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.5), inset 0 0 45px rgba(255, 255, 255, 0.04), 0 0 20px rgba(0, 102, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0;
  transform: translateY(35px);
  filter: blur(6px);
  animation: fadeUp 1.1s ease forwards;
  animation-delay: calc(var(--i) * 0.1s);
  transition: 0.35s ease;
}

/* Hover – subtelny premium glow */
.spec-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 80px rgba(0, 102, 255, 0.16), inset 0 0 55px rgba(255, 255, 255, 0.05);
}

.spec-card h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 14px;
  color: #fff;
}

.spec-card p {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 22px;
}

/* Lista punktów */
.spec-list {
  list-style: none;
  padding-left: 0;
}
.spec-list li {
  font-size: 16px;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.7);
}
.spec-list li strong {
  color: #fff;
}

/* ============================================================
   Animacje pojawienia i ZANIKANIA
   ============================================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(60px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
  to {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(6px);
  }
}
/* Klasa do użycia przy zaniku (np. JS) */
.fade-out {
  animation: fadeOut 0.6s ease forwards;
}

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 768px) {
  .spec-card {
    padding: 26px 28px;
  }
  .spec-card h3 {
    font-size: 23px;
  }
  .spec-card p {
    font-size: 16px;
  }
  .spec-list li {
    font-size: 15px;
  }
}