/* =============================================
   PORTFOLIO DETAIL SCREEN — DELTA STYLES
   (shared hero / column / thumbnail / CTA
   styles come from service-detail.css)
   ============================================= */

/* =============================================
   PROJECT META CARD (Client / Location / Date)
   ============================================= */
.portfolio-details-meta-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background-color: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 24px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.meta-item > i {
  font-size: 15px;
  color: var(--primary-green);
  background-color: #e2f0e7;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.meta-item-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}

.meta-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.meta-value {
  font-size: 11px;
  font-weight: 700;
  color: var(--dark-charcoal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* =============================================
   DESCRIPTION SECTION SUB-HEADING
   ============================================= */
.detail-section-sub {
  font-size: 16px;
  font-weight: 800;
  color: var(--dark-charcoal);
  margin-bottom: 10px;
}

/* =============================================
   EMPTY STATE
   ============================================= */
.empty-services-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 12px;
  color: var(--text-muted);
}

.empty-services-state i {
  font-size: 40px;
  color: var(--primary-green);
  opacity: 0.4;
}

.empty-services-state p {
  font-size: 14px;
}

/* =============================================
   DESKTOP OVERRIDES
   ============================================= */
@media (min-width: 768px) {
  /* Override wrapper to match portfolio page flow */
  .portfolio-detail-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 20px;
    box-sizing: border-box;
  }

  .portfolio-details-meta-box {
    gap: 20px;
    padding: 20px;
    margin-bottom: 28px;
  }

  .meta-item > i {
    width: 38px;
    height: 38px;
    font-size: 17px;
  }

  .meta-value {
    font-size: 13px;
  }

  .detail-section-sub {
    font-size: 18px;
  }
}

/* =============================================
   MOBILE STICKY BAR — PORTFOLIO BOTTOM PADDING
   ============================================= */
@media (max-width: 767px) {
  .portfolio-details-meta-box {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .meta-item {
    align-items: flex-start;
  }

  .meta-value {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  /* push content above the sticky bar */
  .portfolio-detail-wrapper .detail-columns-wrapper {
    padding-bottom: 80px;
  }
}

/* Gallery Navigation Buttons Overlay */
.web-gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #1a202c;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  outline: none;
}

.web-gallery-nav-btn:hover {
  background-color: var(--primary-green);
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(11, 128, 67, 0.35);
  border-color: var(--primary-green);
}

.web-gallery-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.web-gallery-nav-btn.prev {
  left: 20px;
}

.web-gallery-nav-btn.next {
  right: 20px;
}

/* Mobile adjustments */
.web-gallery-nav-btn.mobile {
  width: 36px;
  height: 36px;
  font-size: 14px;
}

.web-gallery-nav-btn.mobile.prev {
  left: 12px;
}

.web-gallery-nav-btn.mobile.next {
  right: 12px;
}
