/* ============================================
   Project Showcase Section - Masonry Grid
   ============================================ */

.interactive-showcase-section {
  background: transparent;
  overflow: visible;
  min-height: auto;
  padding: 4rem 0;
}

.showcase-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.showcase-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* Masonry Grid */
.showcase-masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  width: 100%;
}

/* Project Card */
.showcase-project-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.showcase-project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 224, 122, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.showcase-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Card Image */
.showcase-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  position: relative;
}

.showcase-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.showcase-project-card:hover .showcase-card-image img {
  transform: scale(1.05);
}

/* Card Content */
.showcase-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 1rem;
}

.showcase-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.showcase-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  font-family: "JetBrains Mono", monospace;
  margin: 0;
  flex: 1;
  line-height: 1.3;
}

.showcase-card-category {
  display: inline-block;
  background: rgba(0, 224, 122, 0.15);
  border: 1px solid rgba(0, 224, 122, 0.3);
  color: #00e07a;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.showcase-card-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

/* Metrics */
.showcase-card-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.showcase-metric {
  text-align: center;
}

.showcase-metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00e07a;
  font-family: "JetBrains Mono", monospace;
  margin-bottom: 0.25rem;
}

.showcase-metric-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Tech Stack */
.showcase-card-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.showcase-card-tech .tech-tag {
  background: rgba(0, 224, 122, 0.1);
  border: 1px solid rgba(0, 224, 122, 0.3);
  color: #00e07a;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-family: "JetBrains Mono", monospace;
}

/* Card Action */
.showcase-card-action {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.showcase-card-link-text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #00e07a;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
  font-weight: 500;
  transition: gap 0.2s ease;
}

.showcase-project-card:hover .showcase-card-link-text {
  gap: 0.75rem;
}

.showcase-card-link-text i {
  font-size: 0.85rem;
}

/* Empty State */
.showcase-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  padding: 3rem;
  font-family: "JetBrains Mono", monospace;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .showcase-masonry-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .interactive-showcase-section {
    padding: 3rem 0;
  }

  .showcase-masonry-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .showcase-card-content {
    padding: 1.25rem;
  }

  .showcase-card-image {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .interactive-showcase-section {
    padding: 2rem 0;
  }

  .showcase-intro {
    margin-bottom: 2rem;
  }

  .showcase-description {
    font-size: 0.9rem;
  }

  .showcase-card-title {
    font-size: 1.1rem;
  }

  .showcase-card-description {
    font-size: 0.85rem;
  }

  .showcase-card-metrics {
    grid-template-columns: repeat(2, 1fr);
    padding: 0.75rem;
  }
}
