.project-detail { padding-top: 100px; min-height: 100vh; }

.project-hero {
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  color: var(--white);
  padding: 4rem 0;
}

.project-hero-content {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}

.project-info h1 { font-size: 3rem; margin-bottom: 1rem; color: var(--white); }
.project-subtitle { font-size: 1.2rem; color: var(--primary-color); margin-bottom: 1rem; font-weight: 600; }
.project-description { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 2rem; line-height: 1.8; }

.project-meta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1rem; margin-bottom: 2rem;
}
.meta-item { text-align: center; padding: 1rem; background: rgba(255,255,255,0.1); border-radius: var(--border-radius); }
.meta-label { display: block; font-size: 0.9rem; color: rgba(255,255,255,0.7); margin-bottom: 0.5rem; }
.meta-value { font-size: 1.1rem; font-weight: 600; color: var(--white); }

.project-actions { display: flex; gap: 1rem; }

.project-screenshots { position: relative; }
.screenshot-slider { position: relative; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-heavy); }
.screenshot-slider img { width: 100%; height: 400px; object-fit: cover; display: none; }
.screenshot-slider img.active { display: block; }

.slider-controls {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px;
}
.slider-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: var(--transition); }
.slider-dot.active { background: var(--primary-color); }

.project-details { padding: 5rem 0; }
.details-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; }
.detail-section { margin-bottom: 3rem; }

.detail-section h2 {
  font-size: 2rem; margin-bottom: 1rem; color: var(--text-dark); position: relative;
}
.detail-section h2::after {
  content: ''; position: absolute; bottom: -10px; left: 0; width: 50px; height: 3px; background: var(--primary-color); border-radius: 2px;
}

.feature-list { list-style: none; margin: 2rem 0; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; padding: 1rem;
  background: var(--light-color); border-radius: var(--border-radius); transition: var(--transition);
}
.feature-list li:hover { background: #e2e8f0; transform: translateX(10px); }
.feature-number {
  background: var(--primary-color); color: var(--white); width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 600; flex-shrink: 0;
}
.feature-content h4 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--text-dark); }
.feature-content p { color: var(--text-light); margin: 0; }

.project-sidebar { position: sticky; top: 120px; }
.sidebar-section {
  background: var(--white); padding: 2rem; border-radius: 12px; box-shadow: var(--shadow-light); margin-bottom: 2rem;
}
.sidebar-section h3 { font-size: 1.3rem; margin-bottom: 1rem; color: var(--text-dark); }
.tech-stack { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tech-tag { background: var(--primary-color); color: var(--white); padding: 6px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 500; }

.project-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat-box { text-align: center; padding: 1rem; background: var(--light-color); border-radius: var(--border-radius); }
.stat-box .number { display: block; font-size: 1.5rem; font-weight: 700; color: var(--primary-color); margin-bottom: 0.25rem; }
.stat-box .label { font-size: 0.85rem; color: var(--text-light); }

.related-projects { padding: 3rem 0; background: var(--light-color); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.related-card {
  background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-light); transition: var(--transition);
}
.related-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-heavy); }
.related-card img { width: 100%; height: 200px; object-fit: cover; }
.related-card-content { padding: 1.5rem; }

.app-download { background: var(--gradient-primary); padding: 3rem 0; text-align: center; color: var(--white); }
.download-content h2 { font-size: 2.5rem; margin-bottom: 1rem; color: var(--white); }
.download-content p { font-size: 1.2rem; margin-bottom: 2rem; color: rgba(255,255,255,0.9); }
.download-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.download-btn {
  display: flex; align-items: center; gap: 1rem; background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.3); padding: 12px 24px; border-radius: var(--border-radius);
  color: var(--white); text-decoration: none; transition: var(--transition);
}
.download-btn:hover { background: rgba(255,255,255,0.3); border-color: rgba(255,255,255,0.5); }
.download-btn i { font-size: 1.5rem; }
.btn-text { display: flex; flex-direction: column; align-items: flex-start; }
.btn-text .small { font-size: 0.8rem; opacity: 0.8; }
.btn-text .large { font-size: 1.1rem; font-weight: 600; }

@media (max-width: 768px) {
  .project-hero-content { grid-template-columns: 1fr; text-align: center; }
  .project-info h1 { font-size: 2rem; }
  .details-grid { grid-template-columns: 1fr; }
  .project-sidebar { position: static; }
  .project-meta { grid-template-columns: repeat(2, 1fr); }
  .project-actions { flex-direction: column; }
}
