.project-detail {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.project-detail img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.project-detail ul {
  list-style: none;
  padding: 0;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;
}

.project-detail ul li {
  margin-bottom: 0.4rem;
}

.project-detail .description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #444;
}

.project-detail-page {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1rem 2rem;
  background-color: #fff;
}

.project-detail-page h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #222;
}

.project-hero img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.project-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-info ul li {
  font-size: 1rem;
  margin-bottom: 0.8rem;
  color: #333;
}

.not-found {
  text-align: center;
  margin-top: 4rem;
}

.not-found h2 {
  color: #b00;
  margin-bottom: 1rem;
}

.back-link {
  display: inline-block;
  margin-top: 1rem;
  color: #000;
  text-decoration: underline;
  font-weight: 500;
}

.back-link:hover {
  color: red;
}

/* Left Vertical Menu (same style as info page) */
.project-menu-vertical {
  background-color: #fff;
  color: #000;
  width: 120px;
  padding: 1rem 1rem 2rem;
  height: auto;
  position: sticky;
  top: 0;
  flex-shrink: 0;
}

.project-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 5rem;
}

.project-menu-list li {
  margin-bottom: 1.2rem;
}

.project-menu-link {
  color: #000;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: block;
  transition: color 0.2s ease;
  line-height: 0.5;
}

.project-menu-link:hover,
.project-menu-link.active {
  color: red;
}

.project-detail-layout {
  display: block;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
  box-sizing: border-box;
}

.slideshow-container {
  position: relative;
  max-width: 100%;
  margin-bottom: 2rem;
}

.slide {
  display: none;
  width: 100%;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 45%;
  width: auto;
  padding: 1rem;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  border: none;
  background-color: rgba(0,0,0,0.5);
  border-radius: 50%;
  user-select: none;
  transform: translateY(-50%);
  z-index: 10;
}

.prev:hover,
.next:hover {
  background-color: rgba(0,0,0,0.8);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.project-description {
  max-width: 700px;
  margin-top: 2rem;
  line-height: 1.7;
  font-size: 1rem;
  color: black;
  white-space: pre-wrap;
}
