/* Project Detail Page Styles */

.project-detail {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.project-detail .article-title {
  color: #ffffff;
  margin-bottom: 30px;
  text-align: center;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  font-weight: 600;
}

.project-overview {
  background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
  border: 1px solid #555;
  border-radius: 14px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--jet);
}

.project-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-category {
  background: var(--orange-yellow-crayola);
  color: var(--eerie-black-1);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: fit-content;
}

.project-tech {
  color: #e0e0e0;
  font-size: 14px;
  font-weight: 500;
}

.github-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--jet);
  color: var(--light-color);
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.github-link:hover {
  background: var(--orange-yellow-crayola);
  color: var(--eerie-black-1);
  transform: translateY(-2px);
}

.github-link ion-icon {
  font-size: 18px;
}

.project-description,
.project-features,
.project-technologies,
.project-impact,
.project-learning {
  margin-bottom: 30px;
}

.project-description h3,
.project-features h3,
.project-technologies h3,
.project-impact h3,
.project-learning h3 {
  color: #ffffff;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.project-description p {
  color: #f0f0f0;
  line-height: 1.6;
  font-weight: 400;
}

.project-features ul,
.project-learning ul {
  list-style: none;
  padding: 0;
}

.project-features li,
.project-learning li {
  color: #f0f0f0;
  padding: 8px 0;
  position: relative;
  padding-left: 25px;
  font-weight: 400;
}

.project-features li::before,
.project-learning li::before {
  content: "▸";
  color: var(--orange-yellow-crayola);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-tag {
  background: #3a3a3a;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid #555;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.project-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--jet);
}

.nav-btn {
  background: #3a3a3a;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid #555;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-btn:hover {
  background: var(--orange-yellow-crayola);
  color: var(--eerie-black-1);
  transform: translateY(-2px);
}

.nav-btn.prev {
  padding-left: 16px;
}

.nav-btn.next {
  padding-right: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .project-detail {
    padding: 20px 15px;
  }
  
  .project-overview {
    padding: 20px;
  }
  
  .project-header {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  
  .project-navigation {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }
  
  .nav-btn {
    text-align: center;
  }
  
  .tech-tags {
    gap: 8px;
  }
  
  .tech-tag {
    font-size: 11px;
    padding: 5px 10px;
  }
}

@media (max-width: 480px) {
  .project-detail .article-title {
    font-size: 24px;
  }
  
  .project-overview {
    padding: 15px;
  }
  
  .project-category {
    font-size: 11px;
    padding: 5px 10px;
  }
  
  .project-tech {
    font-size: 13px;
  }
}

/* Additional readability improvements */
.project-overview {
  position: relative;
}

.project-overview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%);
  pointer-events: none;
  border-radius: 14px;
}

.project-description p,
.project-impact p {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.project-features li,
.project-learning li {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.tech-tag {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  font-weight: 600;
}

.nav-btn {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  font-weight: 600;
}
