/* projects.css - Full-Paged Showcase Stage & Details View */
@import url('base.css');

.showcase-section {
  padding: 1.5rem 0 2.5rem;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Showcase Stage Container */
.showcase-stage-wrapper {
  max-width: 1360px;
  margin: 0 auto;
  width: 100%;
}

.showcase-slides-container {
  position: relative;
  min-height: 560px;
}

.showcase-slide {
  display: none;
  opacity: 0;
  transform: translateY(8px) scale(0.995);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-slide.active {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: stageFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes stageFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.995);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Featured Stage Card with Expanded 50%+ Larger HD Artwork */
.showcase-card {
  background: rgba(13, 17, 23, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 2.5rem 2.75rem;
  display: grid;
  grid-template-columns: 0.92fr 1.38fr;
  gap: 2.5rem;
  align-items: center;
  min-height: 500px;
  box-shadow: 0 35px 80px -15px rgba(0, 0, 0, 0.85), 0 0 45px rgba(0, 242, 254, 0.09);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

/* Left Column: Info & Actions */
.stage-info-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 400px;
}

.stage-info-top {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.stage-info-bottom {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.stage-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.project-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-family: var(--font-header);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
  box-shadow: 0 0 8px currentColor;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.status-live {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
  color: #4ade80;
}

.status-alpha {
  background: rgba(0, 242, 254, 0.12);
  border-color: rgba(0, 242, 254, 0.35);
  color: var(--accent-1);
}

.status-poc, .status-concept {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}

.status-poc .status-dot, .status-concept .status-dot {
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}

.status-retired, .status-legacy {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.3);
  color: #94a3b8;
}

.status-retired .status-dot, .status-legacy .status-dot {
  background: #94a3b8;
  box-shadow: 0 0 6px rgba(148, 163, 184, 0.5);
  animation: none;
}

.project-collab-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-family: var(--font-header);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(192, 132, 252, 0.12);
  border: 1px solid rgba(192, 132, 252, 0.3);
  color: #c084fc;
}

.stage-title {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--text-primary);
  margin: 0;
}

.stage-tagline {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--accent-1);
  letter-spacing: 0.02em;
  margin: -0.15rem 0 0;
}

.stage-description {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.65;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stage-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.stage-tag-pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.stage-actions-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.stage-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
}

.stage-external-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Right Column: Large HD Visual Frame */
.stage-visual-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-visual-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #090d14;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 35px rgba(0, 242, 254, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.stage-visual-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 75px -10px rgba(0, 0, 0, 0.95), 0 0 50px rgba(0, 242, 254, 0.25);
  border-color: rgba(0, 242, 254, 0.4);
}

.stage-visual-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
}

.stage-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stage-visual-frame:hover .stage-visual-img {
  transform: scale(1.05);
}

.stage-visual-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
}

.fallback-letter {
  font-family: var(--font-header);
  font-size: 5rem;
  font-weight: 800;
  color: var(--accent-1);
  opacity: 0.6;
}

.stage-visual-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 17, 23, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stage-visual-frame:hover .stage-visual-overlay {
  opacity: 1;
}

.stage-visual-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  background: rgba(0, 242, 254, 0.2);
  border: 1px solid var(--accent-1);
  color: #fff;
  font-family: var(--font-header);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Top Navigation / Project Switcher Bar */
.showcase-nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
  width: 100%;
}

.nav-arrow-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.nav-arrow-btn:hover {
  background: rgba(0, 242, 254, 0.2);
  border-color: var(--accent-1);
  color: var(--accent-1);
  transform: scale(1.08);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

.stage-tabs-track {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.5rem 0.25rem;
  max-width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-padding: 0.5rem;
}

.stage-tabs-track::-webkit-scrollbar {
  display: none;
}

.stage-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 1.15rem 0.5rem 0.6rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  cursor: pointer;
  font-family: var(--font-header);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.stage-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.stage-tab-btn.active {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--accent-1);
  color: #fff;
  box-shadow: 0 0 18px rgba(0, 242, 254, 0.25);
  transform: translateY(-2px);
}

.tab-thumb-wrap {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #090d14;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.tab-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tab-thumb-placeholder {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent-1);
}

.tab-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.tab-status-dot.dot-active {
  background: #38ef7d;
  box-shadow: 0 0 6px #38ef7d;
}

.tab-status-dot.dot-poc {
  background: #38bdf8;
  box-shadow: 0 0 6px #38bdf8;
}

.tab-status-dot.dot-retired {
  background: #94a3b8;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 992px) {
  .showcase-card {
    grid-template-columns: 1fr;
    padding: 2.5rem 2rem;
    gap: 2.5rem;
  }

  .stage-title {
    font-size: 2.25rem;
  }
}

@media (max-width: 600px) {
  .showcase-card {
    padding: 1.75rem 1.25rem;
    border-radius: 20px;
  }

  .stage-title {
    font-size: 1.85rem;
  }

  .stage-actions-group {
    flex-direction: column;
    width: 100%;
  }

  .stage-cta-btn, .stage-external-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Project Details View (Visual Studio C# IDE Theme)
   ========================================================================== */
.project-details-container {
  padding: 2rem 0 4rem;
  min-height: 80vh;
  width: 100%;
  background: var(--bg-primary);
}

.details-content-wrapper {
  max-width: 1300px;
  margin: 0 auto;
}

/* Top Breadcrumb Nav Bar */
.details-top-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #2d2d30;
  width: 100%;
}

.details-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-family: var(--font-mono);
  color: var(--cs-comment);
}

.details-breadcrumbs a {
  color: var(--cs-variable);
  text-decoration: none;
  transition: color 0.2s ease;
}

.details-breadcrumbs a:hover {
  color: var(--cs-keyword);
  text-decoration: underline;
}

.crumb-sep {
  color: #858585;
  font-size: 0.95rem;
}

.crumb-current {
  color: var(--cs-type);
  font-weight: 600;
}

.details-back-cta {
  font-size: 0.85rem;
  font-family: var(--font-header);
  padding: 0.5rem 1.15rem;
  border-radius: 6px;
  background: #252526;
  border: 1px solid #3f3f46;
  color: #d4d4d4;
}

.details-back-cta:hover {
  background: #2d2d30;
  border-color: var(--cs-keyword);
  color: #ffffff;
}

/* Main 2-Column Body Layout */
.details-layout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}

.details-article-col {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* Visual Studio Panel Cards */
.details-panel-card {
  background: #252526;
  border: 1px solid #3f3f46;
  border-radius: 12px;
  padding: 2rem 2.25rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

/* Title Card inside the Main Article Column */
.details-title-card {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: 2rem 2.25rem;
  border-color: #454545;
  background: #252526;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.details-badges-cluster {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.details-main-title {
  font-size: 2.65rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
  color: #ffffff;
  margin: 0;
}

.details-main-tagline {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--cs-string);
  font-family: var(--font-mono);
  margin: 0;
  letter-spacing: 0.01em;
}

/* Action Buttons inside Title Card */
.details-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  padding-top: 0.4rem;
}

.details-primary-cta {
  background: #007acc;
  color: #ffffff;
  font-weight: 700;
  padding: 0.65rem 1.4rem;
  border-radius: 6px;
  border: 1px solid #1f8ad2;
  box-shadow: 0 4px 12px rgba(0, 122, 204, 0.35);
}

.details-primary-cta:hover {
  background: #1f8ad2;
  border-color: #38bdf8;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 122, 204, 0.5);
}

.details-feedback-trigger {
  font-size: 0.88rem;
  padding: 0.65rem 1.2rem;
  border-radius: 6px;
  background: #2d2d30;
  border: 1px solid #3f3f46;
  color: #d4d4d4;
}

.details-feedback-trigger:hover {
  background: #38383d;
  border-color: var(--cs-keyword);
  color: #ffffff;
}

/* Panel Headings (Visual Studio Method Yellow) */
.panel-heading {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin: 0 0 1.15rem;
  color: var(--cs-method);
  font-family: var(--font-header);
  border-bottom: 1px solid #333337;
  padding-bottom: 0.65rem;
}

.panel-body-text {
  color: var(--text-primary);
  font-size: 1.02rem;
  line-height: 1.75;
  margin: 0;
}

/* Sidebar Manifest Card */
.sidebar-manifest-card {
  padding: 1.5rem;
  border-color: #3f3f46;
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.sidebar-artwork-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #3f3f46;
  background: #1e1e1e;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.sidebar-artwork-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sidebar-manifest-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cs-type);
  margin: 0 0 0.85rem;
  border-bottom: 1px solid #333337;
  padding-bottom: 0.5rem;
  font-family: var(--font-header);
}

.sidebar-manifest-list {
  display: flex;
  flex-direction: column;
}

.manifest-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #2d2d30;
}

.manifest-item:last-of-type {
  border-bottom: none;
}

.manifest-label {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cs-comment);
}

.manifest-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cs-variable);
  font-family: var(--font-header);
}

.manifest-value.status-retired {
  color: #858585;
}

.manifest-value.status-live {
  color: var(--cs-number);
}

.manifest-value.status-poc {
  color: var(--cs-control);
}

.manifest-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.manifest-tag-pill {
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-mono);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: #1e1e1e;
  border: 1px solid #3f3f46;
  color: var(--cs-type);
}

.social-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.35rem;
}

.social-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-header);
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  background: #1e2430;
  border: 1px solid #007acc;
  color: var(--cs-type);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.social-link-btn:hover {
  background: #243044;
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-1px);
}

.social-link-btn svg {
  flex-shrink: 0;
}

.manifest-launch-wrap {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #333337;
}

.manifest-launch-btn {
  width: 100%;
  justify-content: center;
  padding: 0.7rem 1rem;
  font-size: 0.88rem;
}

/* Markdown Rendering in Panels (C# Syntax Themed) */
.panel-markdown-content {
  color: var(--text-primary);
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.panel-callout-box {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  border-radius: 8px;
  background: #1e2430;
  border: 1px solid #007acc;
  color: #d4d4d4;
  margin-bottom: 1.15rem;
}

.callout-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  line-height: 1.4;
}

.callout-text p {
  margin: 0 0 0.4rem;
}

.callout-text p:last-child {
  margin-bottom: 0;
}

.panel-subheading {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--cs-type);
  letter-spacing: -0.2px;
  margin: 1.15rem 0 0.45rem;
  border-bottom: 1px solid #333337;
  padding-bottom: 0.4rem;
  font-family: var(--font-header);
}

.panel-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0.25rem 0;
  color: var(--text-primary);
  line-height: 1.65;
}

.panel-list-item strong {
  color: var(--cs-variable);
  font-weight: 600;
}

.panel-bullet {
  color: var(--cs-keyword);
  font-size: 1.1rem;
  line-height: 1.4;
  flex-shrink: 0;
}

.panel-paragraph {
  color: var(--text-primary);
  line-height: 1.7;
  margin: 0.35rem 0;
}

.panel-paragraph strong {
  color: var(--cs-variable);
  font-weight: 600;
}

/* Responsive Rules */
@media (max-width: 992px) {
  .details-layout-grid {
    grid-template-columns: 1fr;
  }

  .sidebar-manifest-card {
    position: static;
  }

  .details-title-card {
    padding: 1.5rem 1.25rem;
  }

  .details-main-title {
    font-size: 2.15rem;
  }
}

@media (max-width: 600px) {
  .details-cta-row {
    flex-direction: column;
    width: 100%;
  }

  .details-cta-row a,
  .details-cta-row button {
    width: 100%;
    justify-content: center;
  }

  .details-panel-card {
    padding: 1.35rem 1.15rem;
    border-radius: 8px;
  }
}



