/* ========== PROJECT NAV ========== */
.project-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 6rem;
}

.project-nav-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.project-nav-link:hover {
  color: var(--accent);
}

/* ========== PROJECT HERO ========== */
.project-hero {
  padding: 2rem 0 4rem;
}

.project-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.45rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.project-hero-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.project-hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.75;
  font-weight: 300;
}

.project-meta {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

/* ========== PROJECT SECTIONS ========== */
.project-section {
  padding: 4rem 0;
}

.project-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

.project-content--reversed {
  grid-template-columns: 1fr 1.2fr;
}

.project-content--reversed > :first-child { order: 2; }
.project-content--reversed > :last-child  { order: 1; }

.project-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.project-text h4 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.3;
}

/* ========== IMAGE PLACEHOLDERS & IMAGES ========== */
.work-image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.work-image-placeholder.warm { background: linear-gradient(135deg, #fef0e7 0%, #fde1cb 100%); }
.work-image-placeholder.cool { background: linear-gradient(135deg, #edf2ff 0%, #dbe4ff 100%); }
.work-image-placeholder.fresh { background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%); }

.work-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

/* ========== STATS ========== */
.work-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.work-stat {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.work-stat-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--accent);
}

.work-stat-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ========== SCREENSHOT GALLERY ========== */
.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.screenshot-gallery img,
.screenshot-gallery .work-image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

/* ========== VIDEO EMBED ========== */
.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin-top: 2rem;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius-sm);
}

/* ========== WIP BADGE ========== */
.wip-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  margin-left: 0.75rem;
  vertical-align: middle;
}

/* ========== PROJECT LINK ========== */
.project-link {
  margin-top: 1.25rem;
  display: inline-block;
}

/* ========== PORTRAIT IMAGE DUO ========== */
.project-images-duo {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.project-images-duo .work-image {
  aspect-ratio: 9 / 16;
  flex: 1;
  min-width: 0;
  max-height: 480px;
}

/* ========== NEON THEME OVERRIDES ========== */
[data-theme="neon"] .project-hero-title { font-weight: 600; font-style: normal; }
[data-theme="neon"] .project-text h4 { font-weight: 600; }
[data-theme="neon"] .project-hero-badge { border-radius: 6px; }
[data-theme="neon"] .wip-badge { border-radius: 6px; }
[data-theme="neon"] .project-link { border-radius: 8px; }
[data-theme="neon"] .work-image-placeholder.warm { background: radial-gradient(circle at 30% 40%, #c9f05915 0%, transparent 50%), #18181f; }
[data-theme="neon"] .work-image-placeholder.cool { background: radial-gradient(circle at 30% 40%, #59b8f015 0%, transparent 50%), #18181f; }
[data-theme="neon"] .work-image-placeholder.fresh { background: radial-gradient(circle at 30% 40%, #59f0a015 0%, transparent 50%), #18181f; }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .project-content { grid-template-columns: 1fr; }
  .project-content--reversed { grid-template-columns: 1fr; }
  .project-content--reversed > * { order: unset; }
  .project-meta { flex-wrap: wrap; }
  .project-images-duo { max-width: 500px; }
  .project-images-duo .work-image { max-height: 400px; }
}

@media (max-width: 480px) {
  .project-images-duo { max-width: 100%; }
  .project-images-duo .work-image { max-height: 300px; }
}
/* ========================================================================
   BOLD THEME — project.css additions
   Add this block after the [data-theme="neon"] section in project.css.
   ======================================================================== */

[data-theme="bold"] .project-hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

[data-theme="bold"] .project-text h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-style: normal;
}

[data-theme="bold"] .project-hero-badge {
  border-radius: 0;
  font-family: var(--font-mono);
}

[data-theme="bold"] .wip-badge {
  border-radius: 0;
}

[data-theme="bold"] .project-link {
  border-radius: 0;
}

[data-theme="bold"] .work-image-placeholder.warm {
  background: linear-gradient(135deg, #fef0e7 0%, #fde1cb 100%);
}
[data-theme="bold"] .work-image-placeholder.cool {
  background: linear-gradient(135deg, #edf2ff 0%, #dbe4ff 100%);
}
[data-theme="bold"] .work-image-placeholder.fresh {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}
/* ========== CINEMATIC THEME — PROJECT PAGE OVERRIDES ========== */

[data-theme="cinematic"] .project-hero-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

[data-theme="cinematic"] .project-text h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-style: normal;
}

[data-theme="cinematic"] .project-hero-badge {
  border-radius: 0;
  font-family: var(--font-mono);
}

[data-theme="cinematic"] .wip-badge {
  border-radius: 0;
}

[data-theme="cinematic"] .project-link {
  border-radius: 0;
}

/* Image placeholders */
[data-theme="cinematic"] .work-image-placeholder.warm {
  background: radial-gradient(circle at 30% 40%, rgba(214,0,28,0.1) 0%, transparent 50%), #161616;
}
[data-theme="cinematic"] .work-image-placeholder.cool {
  background: radial-gradient(circle at 30% 40%, rgba(100,120,180,0.1) 0%, transparent 50%), #161616;
}
[data-theme="cinematic"] .work-image-placeholder.fresh {
  background: radial-gradient(circle at 30% 40%, rgba(80,180,120,0.1) 0%, transparent 50%), #161616;
}
/* ══════════════════════════════════════════════════════════
   BRUTALIST TYPOGRAPHIC THEME — project.css overrides
   ══════════════════════════════════════════════════════════ */

[data-theme="brutalist"] .project-hero-title {
  font-family: var(--font-mono);
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

[data-theme="brutalist"] .project-text h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-style: normal;
}

[data-theme="brutalist"] .project-hero-badge {
  border-radius: 0;
  border: 2px solid var(--accent);
  font-family: var(--font-mono);
}

[data-theme="brutalist"] .wip-badge {
  border-radius: 0;
}

[data-theme="brutalist"] .project-link {
  border-radius: 0;
}

[data-theme="brutalist"] .work-image-placeholder {
  border: 1px solid var(--border);
}

[data-theme="brutalist"] .work-image-placeholder.warm { background: #DDD8CE; }
[data-theme="brutalist"] .work-image-placeholder.cool { background: #D0D4DC; }
[data-theme="brutalist"] .work-image-placeholder.fresh { background: #CED8D0; }
/* ═══════════════════════════════════════════════════════
   RETRO THEME — project.css overrides
   ═══════════════════════════════════════════════════════ */

[data-theme="retro"] .project-hero-title {
  font-family: 'Shrikhand', cursive;
  font-style: normal;
  font-weight: 400;
}

[data-theme="retro"] .project-text h4 {
  font-family: 'Shrikhand', cursive;
  font-weight: 400;
  font-style: normal;
}

[data-theme="retro"] .project-hero-badge {
  border-radius: 0;
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: 'IBM Plex Mono', monospace;
}

[data-theme="retro"] .wip-badge {
  border-radius: 0;
  font-family: 'IBM Plex Mono', monospace;
}

[data-theme="retro"] .project-link {
  border-radius: 0;
}

/* Image placeholders — warm cream + teal tints */
[data-theme="retro"] .work-image-placeholder.warm {
  background: linear-gradient(135deg, #F5EED8 0%, #EDE5C8 100%);
}
[data-theme="retro"] .work-image-placeholder.cool {
  background: linear-gradient(135deg, #D4E8E2 0%, #C4DCD6 100%);
}
[data-theme="retro"] .work-image-placeholder.fresh {
  background: linear-gradient(135deg, #E8E4C8 0%, #DCD8B8 100%);
}
