body {
  font-family: Verdana, sans-serif;
  background: #f5f5f5;
  color: #222;
  margin: 0;
}

.container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

.project {
  margin-bottom: 60px;
}

.project-title {
  font-size: 2rem;
  margin-bottom: 20px;
}

/* Layout: image + description */
.project-content {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.project-image {
  width: 300px;
  height: 300px;
  background: #ddd;
  border: 3px solid #000;
}

.project-description {
  flex: 1;
}

/* Tags */
.tags {
  margin-top: 15px;
}

.tag {
  display: inline-block;
  background: #ddd;
  color: #333;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  margin-right: 8px;
}

/* STATUS BAR */
.status-bar {
  margin-top: 20px;
  display: flex;
  border: 2px solid #4287f5;
  padding: 5px;
  gap: 5px;
}

/* Each stage */
.stage {
  flex: 1;
  text-align: center;
  padding: 8px 5px;
  font-size: 0.85rem;
  background: #e0e0e0;
  color: #666;
  border-radius: 4px;
  opacity: 0.4;
  transition: all 0.2s ease;
}

/* Active stage */
.stage.active {
  background: #333;
  color: white;
  opacity: 1;
  font-weight: bold;
}

/* Completed stages */
.stage.completed {
  opacity: 0.7;
  background: #999;
  color: white;
}

@media (max-width: 700px) {
  .project-content {
    flex-direction: column;
  }

  .project-image {
    width: 100%;
    height: 200px;
  }
}


/* Images */
.project-image {
  width: 300px;
  height: 300px;
  border: 3px solid #000;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* keeps it square, crops if needed */
}

/* Playtest */
.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  gap: 10px;
  flex-wrap: wrap; /* helps on small screens */
}

/* Button style */
.playtest-button {
  /* background: #333; */
  background-color: #D93636;
  color: white;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.playtest-button:hover {
  background: #555;
}

/* Navigation tabs */
.category-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

.category-nav a {
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  background: #ddd;
  color: #333;
  font-weight: bold;
}

.category-nav a.active {
  background: #333;
  color: white;
}

/* Hide image if parent is radioplay */
.project[data-category="radioplay"] .project-content .project-image {
  display: none;
}

.project[data-category="radioplay"] .project-content {
  display: block;
}