/* docs/css/space-cards.css */

/* 1) Grid stays the same */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

/* 2) Dark, translucent “panel” cards */
.project-card {
  background: rgba(10, 10, 30, 0.85);
  border: 1px solid rgba(100, 100, 180, 0.3);
  border-radius: 12px;
  box-shadow: 0 0 1.5rem rgba(50, 50, 150, 0.25);
  padding: 1.5rem;
  color: #e0e0ff;
  transition: box-shadow 0.3s ease, transform 0.2s ease, border 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

/* 3) Neon‑glow on hover */
.project-card:hover {
  box-shadow: 0 0 2rem rgba(100, 100, 255, 0.6),
              0 0 0.5rem rgba(255, 255, 255, 0.4);
  border-color: rgba(150, 150, 255, 0.8);
  transform: translateY(-5px);
}

/* 4) Titles in Orbitron with subtle glow */
.project-card h3 {
  margin-bottom: 0.6rem;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.3;
  color: #c5c5ff;
  text-shadow: 0 0 0.3rem rgba(200, 200, 255, 0.7);
}

/* 5) Body text lighter for contrast */
.project-card p {
  flex-grow: 1;
  font-size: 0.95rem;
  color: #aaaaff;
  margin-bottom: 1rem;
}

/* 6) “Read more” as a glowing button/link */
.project-card .read-more {
  font-family: "Orbitron", sans-serif;
  font-weight: 600;
  color: #90caf9;
  font-size: 0.9rem;
  align-self: flex-start;
  padding: 0.3rem 0.6rem;
  border: 1px solid #90caf9;
  border-radius: 4px;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.project-card .read-more:hover {
  color: #fff;
  background: rgba(144, 202, 249, 0.2);
  box-shadow: 0 0 0.5rem #90caf9;
  text-decoration: none;
}

/* 7) Skill tags as mini‑energy orbs */
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}
.skill-tags span {
  background: radial-gradient(circle at 30% 30%, 
                              rgba(144, 202, 249, 0.4), 
                              rgba(10, 10, 30, 0.9));
  color: #e0e0ff;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 0 0.6rem rgba(144, 202, 249, 0.5);
}

/* 8) Generic .card overrides (if you’re using elsewhere) */
.card {
  border-radius: 12px;
  box-shadow: 0 0 1.5rem rgba(50, 50, 150, 0.3);
  overflow: hidden;
  max-width: 320px;
  margin: 1em;
  background: rgba(5, 5, 20, 0.9);
}
.card a {
  display: block;
  text-decoration: none;
  color: inherit;
}
.full-image-card {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}