/* ============================================================
   PROJECT DETAIL PAGE — project.css
   ============================================================ */

/* ===== TWO-COLUMN WRAPPER ===== */
.proj-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 70px 60px 60px;
  display: flex;
  align-items: flex-start;
  gap: 80px;
  animation: fadeIn 0.5s ease both;
}

/* ===== LEFT COLUMN ===== */
.proj-left {
  flex: 0 0 60%;
  max-width: 60%;
}

.proj-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 22px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.proj-description {
  margin-bottom: 32px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.proj-description p {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: #3a3a3a;
  line-height: 1.8;
  margin-bottom: 12px;
}

.proj-description p:last-child { margin-bottom: 0; }

/* ===== RIGHT COLUMN ===== */
.proj-right {
  flex: 0 0 calc(40% - 80px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 10px;
  animation: fadeIn 0.7s ease 0.3s both;
}

.proj-logo {
  max-width: 320px;
  max-height: 220px;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ===== ACCORDION ===== */
.proj-accordion {
  animation: fadeInUp 0.6s ease 0.3s both;
}

.proj-accordion-item {
  border-top: 1px solid #ccc;
}

.proj-accordion-item:last-child {
  border-bottom: 1px solid #ccc;
}

.proj-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  cursor: pointer;
  gap: 16px;
  user-select: none;
}

.proj-accordion-header:hover .proj-accordion-title {
  color: var(--orange);
}

.proj-accordion-title {
  font-family: var(--font-head);
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  transition: color 0.2s;
}

.proj-accordion-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--dark);
  line-height: 1;
  transition: transform 0.3s;
}

.proj-accordion-item.open .proj-accordion-icon {
  transform: rotate(45deg);
}

.proj-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.proj-accordion-item.open .proj-accordion-body {
  max-height: 1000px;
  padding-bottom: 20px;
}

.proj-accordion-location {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 14px;
}

.proj-accordion-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.proj-accordion-list li {
  font-family: var(--font-body);
  font-size: 0.83rem;
  color: #3a3a3a;
  line-height: 1.7;
  padding-left: 16px;
  position: relative;
}

.proj-accordion-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--dark);
  font-size: 0.7rem;
  line-height: 1.9;
}

.proj-accordion-subheading {
  font-family: var(--font-body);
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--dark);
  margin: 14px 0 8px;
}

/* ===== PHOTO STRIP ===== */
.proj-gallery {
  display: grid;
  gap: 0;
}

.proj-gallery.cols-1 { grid-template-columns: 1fr; }
.proj-gallery.cols-2 { grid-template-columns: repeat(2, 1fr); }
.proj-gallery.cols-3 { grid-template-columns: repeat(3, 1fr); }
.proj-gallery.cols-4 { grid-template-columns: repeat(4, 1fr); }

.proj-gallery-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* ===== MULTI-LOGO ===== */
.proj-logos-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
}

/* ===== SIDE IMAGES (right column photos) ===== */
.proj-side-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  margin-bottom: 16px;
  object-fit: cover;
}

.proj-side-img:last-child { margin-bottom: 0; }

/* ===== INLINE BULLET LIST ===== */
.proj-bullets {
  list-style: none;
  padding: 0;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.proj-bullets li {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: #3a3a3a;
  line-height: 1.7;
  padding-left: 18px;
  position: relative;
}

.proj-bullets li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--dark);
  font-size: 0.7rem;
  line-height: 2;
}

/* ===== PREV / NEXT NAV ===== */
.proj-nav-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.proj-nav-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s, gap 0.2s;
  text-decoration: none;
}

.proj-nav-link:hover { color: var(--orange); }
.proj-nav-prev:hover { gap: 10px; }
.proj-nav-next:hover { gap: 10px; }

/* ===== NOT FOUND ===== */
.proj-notfound {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
  padding: 60px 24px;
}

.proj-notfound h2 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--dark);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .proj-wrap {
    flex-direction: column-reverse;
    padding: 40px 28px 48px;
    gap: 32px;
  }

  .proj-left, .proj-right {
    flex: unset;
    max-width: 100%;
    width: 100%;
  }

  .proj-right { justify-content: flex-start; }

  .proj-nav-wrap { padding: 24px 28px; }

  .proj-gallery.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .proj-gallery.cols-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .proj-gallery.cols-4,
  .proj-gallery.cols-3,
  .proj-gallery.cols-2 { grid-template-columns: 1fr; }
}
