/* ===================================================
   SK BUILDERS - Project Detail Page Styles
   =================================================== */

/* ── PROJECT HERO ── */
.project-hero {
  height: 480px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0 5% 60px;
  overflow: hidden;
}

.project-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--dark-2);
  transition: transform 6s ease;
}

.project-hero:hover .project-hero-bg {
  transform: scale(1.04);
}

.project-hero-bg-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(201, 168, 76, 0.2);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--font-condensed);
}

.project-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.92) 0%,
    rgba(10, 10, 10, 0.55) 55%,
    rgba(10, 10, 10, 0.15) 100%
  );
  z-index: 1;
}

.project-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
}

.project-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid #0ea5e9;
  border-radius: 2px;
  font-family: var(--font-condensed);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 14px;
}

.project-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
}

.project-hero-meta {
  display: flex;
  gap: 30px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.project-hero-meta-item {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-hero-meta-item span {
  color: #38bdf8;
}


/* ── PROJECT INFO GRID ── */
.project-info-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 60px;
  align-items: start;
}

.project-concept h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.project-concept p {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.85;
  margin-bottom: 16px;
}


/* ── PROJECT STATS SIDEBAR ── */
.project-stats-card {
  background: #0f1f3d;
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 31, 61, 0.12);
}

.project-stats-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(14, 165, 233, 0.25);
  background: rgba(14, 165, 233, 0.08);
}

.project-stats-header h3 {
  font-family: var(--font-condensed);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #38bdf8;
}

.project-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.project-stat-row:last-child {
  border-bottom: none;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-body);
}

.stat-value {
  font-family: var(--font-condensed);
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
  text-align: right;
}


/* ── CLIENT REVIEW / TESTIMONIAL ── */
.client-review-card {
  background: #ffffff;
  border: 1px solid #b7dcf5;
  border-radius: 8px;
  padding: 38px;
  position: relative;
  margin-top: 40px;
  box-shadow: 0 12px 35px rgba(15, 42, 77, 0.08);
}

.review-quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  color: #0ea5e9;
  line-height: 0.6;
  opacity: 0.32;
  margin-bottom: 18px;
  display: block;
}

.review-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #1e293b;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 28px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #eaf7ff;
  border: 1px solid #9fd7fb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  font-weight: 800;
  color: #0284c7;
  flex-shrink: 0;
}

.review-name {
  font-family: var(--font-condensed);
  font-size: 0.9rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.review-role {
  font-size: 0.82rem;
  color: #334155;
  margin-top: 4px;
}

.review-stars {
  margin-left: auto;
  color: #0284c7;
  font-size: 1.05rem;
  letter-spacing: 2px;
}


/* ── PROJECT GALLERY ── */
.project-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 50px;
}

.gallery-img {
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  background: #f1f5f9;
  border: 1px solid #dbeafe;
}

.gallery-img.gallery-wide {
  grid-column: span 2;
  aspect-ratio: 16 / 7;
}

.gallery-img:not(.gallery-wide) {
  aspect-ratio: 4 / 3;
}

.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.gallery-img:hover img {
  transform: scale(1.04);
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(2, 132, 199, 0.45);
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  gap: 10px;
  padding: 20px;
  text-align: center;
  min-height: 220px;
}

.gallery-placeholder svg {
  width: 32px;
  height: 32px;
  opacity: 0.5;
}


/* ── GALLERY CAPTION ── */
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 18px;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85), transparent);
  font-family: var(--font-condensed);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-img:hover .gallery-caption {
  opacity: 1;
}


/* ── NEXT PROJECT ── */
.next-project-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 36px;
  background: #0f1f3d;
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: 8px;
  text-decoration: none;
  transition: all var(--transition);
  margin-top: 60px;
  box-shadow: 0 12px 30px rgba(15, 31, 61, 0.12);
}

.next-project-link:hover {
  border-color: #0ea5e9;
  background: #14284d;
}

.next-label {
  font-family: var(--font-condensed);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 6px;
}

.next-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #ffffff;
}

.next-arrow {
  font-size: 1.8rem;
  color: #38bdf8;
}


/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .project-info-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .project-hero {
    height: 360px;
    padding: 0 24px 45px;
  }

  .project-hero-meta {
    gap: 16px;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-img.gallery-wide {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }

  .client-review-card {
    padding: 26px 20px;
  }

  .review-text {
    font-size: 1rem;
    line-height: 1.75;
  }

  .review-author {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .review-stars {
    width: 100%;
    margin-left: 62px;
    margin-top: 4px;
  }

  .next-project-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 26px 22px;
  }
}