/* Project Grid */

.project-bg {
  margin-top: -6vh;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  margin-top: 2rem;
}

/* Project Card */
.project-card {
  display: flex;
  flex-direction: column;
  background: #212529;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #dfe9ef;
  box-shadow: 0 0 12px rgba(0, 170, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(0, 170, 255, 0.3);
}

/* Image */
.project-card__img {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
}

/* Content */
.project-card__content {
  padding: 1rem;
}

.project-card__content h3 {
  margin: 0 0 0.4rem 0;
  font-size: 1.25rem;
  color: #00aaff;
}

.project-card__content p {
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.project-card__content .pill {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  background: rgba(0, 170, 255, 0.12);
  color: #00aaff;
  border-radius: 12px;
  font-weight: 600;
}

/* ========== HERO ========== */
.hero-pr {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 6vh, 6rem) 0;
  overflow: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-pr__bg {
    animation: hero-zoom 40s linear infinite;
  }
}
@keyframes hero-zoom {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1);
  }
}

.hero-pr__fade {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-pr__content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  width: min(92%, 980px);
}

.hero-pr__title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 0.6rem;
}
.hero-pr__title .accent {
  color: var(--accent);
  text-shadow: 0 8px 32px rgba(0, 170, 255, 0.08);
}

.hero-pr__lead {
  margin: 0 0 1.2rem 0;
  color: #dcecf8;
  font-size: 1rem;
}

.section-pr {
  padding-bottom: 2.8rem;
}
