/* Container and Header */
.project-detail-container {
  background-color: #ffffff;
  margin-top: -50px;
  padding: 0 150px;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.project-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 0.25rem;
}

.project-subtitle {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Layout */
.project-body {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

/* Vertical Navigation */
.vertical-nav {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ccc;
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
}

.nav-item .icon {
  font-size: 28px;
  margin-bottom: 0.3rem;
}

.nav-item .label {
  font-weight: bold;
  font-size: 0.9rem;
  writing-mode: horizontal-tb;
  transform: none;
}

.nav-item.active {
  color: #000;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.2));
}

/* Tab Sections */
.project-sections {
  flex: 1;
}
.project-sections li,
.project-sections p {
  font-family: 'Open Sans', sans-serif;
  font-style: normal;
}

.tab-section {
  display: none;
}

.tab-section.active {
  display: block;
  max-width: 700px;
}

/* Blockquote Styling */
.project-description,
.project-what,
.tab-section blockquote {
  font-style: italic;
  margin-bottom: 2rem;
  border-left: 4px solid #ddd;
  padding-left: 1rem;
  color: #333;
}

/* Gallery */
.project-gallery img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.carousel-wrapper {
  position: relative;
  max-width: 600px;
  margin: 2rem auto;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carousel-container {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  border-radius: 8px;
}

/* Navigation buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #333;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.carousel-btn:hover {
  background: #fff;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

/* Media query for mobile view */
@media (max-width: 768px) {
  .project-detail-container {
    padding: 0 25px;
  }
  .project-body {
    gap: 0;
  }
  .project-body {
    display: inline-block;
  }
  .tab-section blockquote {
    margin: 0;
    border-top: 4px solid #ddd;
    border-left: none;
    padding: 0;
  }
  .vertical-nav {
    padding: 0 0 20px;
    flex-direction: row;
  }
}
