/* PROJECTS PAGE */

.page-hero {
  position: relative;
  padding: 5rem 2.5rem 4rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(185,239,37,0.15);
}

.ph-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.ph-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1rem;
}

.ph-content p {
  font-size: 1.1rem;
  color: rgba(245,245,245,0.6);
  margin-top: 1rem;
  max-width: 500px;
}

/* PROJECT SECTIONS */
.project-section {
  padding: 5rem 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
}

.project-section.alt-bg {
  background: var(--dark2);
}

.ps-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.ps-header {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.ps-logo-wrap {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  background: var(--dark3);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  border: 1px solid rgba(255,255,255,0.08);
}

.ps-logo-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.ps-num {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.4rem;
}

.ps-title {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.ps-tags {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.tag-chip {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(249,81,162,0.4);
  color: var(--pink);
  clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
}

/* PROJECT BODY */
.ps-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.ps-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.ps-block {}

.block-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  display: block;
}

.ps-block p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(245,245,245,0.7);
}

/* CAROUSEL */
.ps-carousel-area {
  position: relative;
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  border: 1px solid rgba(255,255,255,0.08);
  background: var(--dark3);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  min-width: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.placeholder-slide {
  min-height: 320px;
}

.placeholder-img {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  border: 2px dashed rgba(185,239,37,0.25);
  color: rgba(245,245,245,0.3);
  text-align: center;
  padding: 2rem;
  transition: border-color 0.3s ease;
}

.placeholder-img:hover {
  border-color: rgba(249,81,162,0.4);
}

.placeholder-img span {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(245,245,245,0.5);
  letter-spacing: 0.05em;
}

.placeholder-img small {
  font-size: 0.72rem;
  color: rgba(245,245,245,0.25);
  font-family: monospace;
  max-width: 280px;
  line-height: 1.4;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(17,17,17,0.8);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.15);
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.carousel-btn:hover {
  background: var(--pink);
  border-color: var(--pink);
}

.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  clip-path: none;
}

.carousel-dots .dot.active {
  background: var(--pink);
  transform: scale(1.3);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .ps-body { grid-template-columns: 1fr; }
  .ps-header { flex-direction: column; gap: 1.5rem; }
  .ps-logo-wrap { width: 80px; height: 80px; }
  .project-section { padding: 3rem 1.5rem; }
  .page-hero { padding: 4rem 1.5rem 3rem; }
}
