/* ===== Project Detail Page ===== */

.breadcrumb {
  padding: 100px 0 0;
  font-size: 14px;
}
.breadcrumb .wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}
.breadcrumb a {
  color: var(--muted);
  transition: color var(--t);
}
.breadcrumb a:hover { color: var(--cta); }
.breadcrumb svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.breadcrumb span { color: var(--fg); }

/* Top section: gallery + info */
.proj-detail { padding: 32px 0 80px; }
.proj-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

/* Gallery */
.proj-gallery { position: relative; }
.proj-main-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #f5f4f0;
  aspect-ratio: 16/9;
  margin-bottom: 12px;
}
.proj-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}
.proj-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.thumb {
  flex-shrink: 0;
  width: 80px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: #f5f4f0;
  padding: 0;
  transition: border-color var(--t), opacity var(--t);
  opacity: 0.6;
}
.thumb:hover { opacity: 1; }
.thumb.active {
  border-color: var(--cta);
  opacity: 1;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Info panel */
.proj-info {
  position: sticky;
  top: 100px;
  align-self: start;
}
.proj-info h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}
.proj-price {
  font-size: 28px;
  color: var(--cta);
  margin-bottom: 20px;
}
.proj-price strong {
  font-weight: 800;
  font-size: 32px;
}
.proj-desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* Specs grid */
.proj-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.spec-item {
  background: #f5f4f0;
  border-radius: var(--r);
  padding: 16px;
  text-align: center;
}
.spec-label {
  font-family: 'PT Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.spec-value {
  font-size: 18px;
  font-weight: 700;
}

.btn-full {
  width: 100%;
  justify-content: center;
  margin-bottom: 12px;
}

/* Details section */
.proj-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.detail-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
}
.detail-block h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}
.detail-full-img {
  width: 100%;
  height: auto;
  border-radius: var(--r);
  display: block;
}

/* Rooms table */
.rooms-table {
  width: 100%;
  border-collapse: collapse;
}
.rooms-table th {
  font-family: 'PT Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  padding: 12px 0;
  border-bottom: 2px solid var(--line);
  font-weight: 400;
}
.rooms-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.rooms-table td:last-child {
  text-align: right;
  font-family: 'PT Mono', monospace;
  font-weight: 600;
}
.rooms-table .total-row td {
  font-weight: 700;
  font-size: 16px;
  border-bottom: none;
  border-top: 2px solid var(--fg);
  padding-top: 16px;
}

/* Facades */
.facades-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.facades-grid img {
  width: 100%;
  border-radius: var(--r);
  display: block;
}

/* Bottom CTA */
.proj-cta {
  text-align: center;
  padding: 64px 0;
  margin-top: 64px;
  border-top: 1px solid var(--line);
}
.proj-cta h2 {
  font-size: 32px;
  margin-bottom: 12px;
}
.proj-cta p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 28px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .proj-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .proj-info {
    position: static;
  }
  .proj-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .breadcrumb { padding-top: 80px; }
  .proj-info h1 { font-size: 26px; }
  .proj-price { font-size: 22px; }
  .proj-price strong { font-size: 26px; }
  .proj-specs-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .spec-item { padding: 12px; }
  .detail-block { padding: 20px; }
  .facades-grid { grid-template-columns: 1fr; }
  .proj-cta h2 { font-size: 24px; }
  .thumb { width: 64px; height: 44px; }
}
