/* ================================================================
   realizacje.css – style specyficzne dla realizacje.html
   ================================================================ */

/* HERO */
#real-hero {
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 5% 5rem;
  position: relative;
  overflow: hidden;
}
#real-hero #c1 {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.real-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.section-num-hero {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--p2);
  font-weight: 700;
  font-family: "JetBrains Mono", monospace;
}

.real-hero-title {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.real-hero-sub {
  color: var(--mut);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 500px;
}

/* PROJEKTY */
#projekty {
  padding: 5rem 5% 7rem;
  background: var(--blk);
}

.projekty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Karta projektu */
.projekt-card {
  background: var(--g1);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s;
  position: relative;
}
.projekt-card:hover {
  border-color: rgba(124, 58, 237, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.12);
}

.projekt-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.projekt-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.5s;
}
.projekt-card:hover .projekt-media {
  transform: scale(1.03);
}

.projekt-overlay {
  position: absolute;
  inset: 0;
  background: rgba(124, 58, 237, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.projekt-card:hover .projekt-overlay {
  opacity: 1;
}
.projekt-overlay-text {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.projekt-info {
  padding: 1.5rem;
}
.projekt-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}
.projekt-tag {
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: var(--p3);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
}
.projekt-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.projekt-desc {
  color: var(--mut);
  font-size: 0.87rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}
.projekt-stats {
  display: flex;
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1rem;
}
.ps {
  display: flex;
  flex-direction: column;
}
.ps-num {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--p2);
  line-height: 1;
}
.ps-label {
  font-size: 0.7rem;
  color: var(--mut);
  margin-top: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Karta "wkrótce" */
.projekt-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  border: 1px dashed rgba(124, 58, 237, 0.3);
  background: rgba(124, 58, 237, 0.03);
}
.projekt-soon:hover {
  border-color: rgba(124, 58, 237, 0.5);
  background: rgba(124, 58, 237, 0.06);
}
.projekt-soon-inner {
  text-align: center;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.soon-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.soon-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.3);
}
.soon-dots span:nth-child(1) {
  animation: pcdPulse 1.6s 0s infinite;
}
.soon-dots span:nth-child(2) {
  animation: pcdPulse 1.6s 0.3s infinite;
}
.soon-dots span:nth-child(3) {
  animation: pcdPulse 1.6s 0.6s infinite;
}
@keyframes pcdPulse {
  0%,
  100% {
    background: rgba(124, 58, 237, 0.25);
    transform: scale(1);
  }
  50% {
    background: var(--p2);
    transform: scale(1.3);
  }
}
.projekt-soon-inner h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.projekt-soon-inner p {
  color: var(--mut);
  font-size: 0.87rem;
  line-height: 1.6;
}

/* nav active link */
.nav-links a.active {
  color: var(--p2);
}
.nav-links a.active::after {
  width: 100%;
}

/* ================================================================
   Footer extra styles (telefon)
   ================================================================ */
.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
  text-decoration: none;
  color: var(--mut);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(124, 58, 237, 0.25);
  padding: 0.45rem 1rem;
  border-radius: 50px;
  transition: all 0.3s;
}
.footer-phone:hover {
  color: #fff;
  border-color: rgba(168, 85, 247, 0.6);
  background: rgba(124, 58, 237, 0.1);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.2);
}
.footer-phone-icon {
  font-size: 1rem;
}

/* Section num */
.section-num {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--p2);
  font-weight: 700;
  font-family: "JetBrains Mono", monospace;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  #real-hero {
    padding: 6rem 5% 3rem;
  }
  .projekty-grid {
    grid-template-columns: 1fr;
  }
  #projekty {
    padding: 4rem 5%;
  }
}
