/* ============================================================
   MCNEISH SOLUTION LLC — PROJECTS GALLERY SPECIFIC STYLES
   ============================================================ */

/* ─── GALLERY SUITE SYSTEM ────────────────────────────────── */
.gallery-hero-section {
  background: var(--void);
  padding-top: var(--space-80);
}

.gallery-suite-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  min-height: calc(100vh - 200px);
  border-bottom: var(--border-steel);
}

.gallery-main-viewer {
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border-right: var(--border-steel);
}

.gallery-main-viewer .transformation-slider {
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
}

.gallery-metadata-panel {
  background: var(--steel);
  padding: var(--space-64) var(--space-48);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tech-spec-grid {
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-bottom: var(--space-32);
}

.tech-spec-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-16) 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.8125rem;
  color: var(--ash-light);
}

.tech-spec-row span:first-child {
  font-size: 0.6875rem;
  color: var(--copper);
  letter-spacing: 0.1em;
}

/* Value Added Counter Box */
.value-added-counter-container {
  background: var(--void);
  border: var(--border-steel);
  padding: var(--space-24);
  text-align: center;
  position: relative;
}

.value-added-counter-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--copper);
}

.value-added-counter__number {
  font-family: var(--font-head);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--ivory);
  margin-bottom: var(--space-4);
}

/* ─── SECTOR DIAL PROJECT FILTER ──────────────────────────── */
.gallery-filter-bar {
  background: var(--void);
  padding: var(--space-24) 0;
  border-bottom: var(--border-steel);
}

.filter-container-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dial-selector-wrapper {
  position: relative;
  width: 90px;
  height: 90px;
  cursor: grab;
}

.dial-selector-wrapper:active {
  cursor: grabbing;
}

.filter-dial-svg {
  width: 100%;
  height: 100%;
  transform-origin: center;
}

.dial-sectors {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Invisible text-sector nodes representing angles (rotated JS labels) */
.dial-label {
  position: absolute;
  top: 50%;
  left: 50%;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.15em;
  color: var(--ash);
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  padding: 0;
  pointer-events: auto;
  cursor: pointer;
  transition: color 0.3s;
}

.dial-label:hover,
.dial-label.active {
  color: var(--copper-lit);
}

/* Orient nodes around circular dial */
.dial-label--all  { transform: translate(-50%, -46px); }
.dial-label--rest  { transform: translate(24px, -50%); }
.dial-label--reno  { transform: translate(-50%, 28px); }
.dial-label--comm  { transform: translate(-42px, -50%); }

.filter-status-text {
  font-size: 0.75rem;
}

/* ─── 35mm MOVIE FILMSTRIP NAVIGATOR ──────────────────────── */
.filmstrip-nav-section {
  background: var(--void);
  padding-bottom: var(--space-64);
}

.filmstrip-nav-wrapper {
  background: var(--charcoal);
  border-top: var(--border-steel);
  border-bottom: var(--border-steel);
}

.film-edge {
  height: 20px;
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.film-sprockets {
  display: flex;
  gap: 12px;
  padding: 0 8px;
}

.sprocket-hole {
  width: 10px;
  height: 10px;
  background: var(--void);
  border: 1.5px solid rgba(184, 115, 51, 0.4);
  border-radius: 1px;
  flex-shrink: 0;
}

.film-frames-strip-container {
  overflow-x: auto;
  scrollbar-width: none;
  padding: var(--space-20) var(--space-40);
  background: #0D0F12;
}

.film-frames-strip-container::-webkit-scrollbar {
  display: none;
}

.film-strip-nav {
  display: flex;
  gap: var(--space-32);
  width: max-content;
}

.film-nav-frame {
  width: 160px;
  height: 100px;
  background: var(--steel);
  border: 2px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  filter: grayscale(80%) brightness(0.6);
  transition: filter 0.4s, border-color 0.4s, transform 0.4s;
}

.film-nav-img-wrapper {
  width: 100%;
  height: 100%;
}

.film-nav-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame-index-tag {
  position: absolute;
  bottom: 4px;
  left: 6px;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  color: var(--copper);
  background: rgba(10,11,13,0.85);
  padding: 1px 4px;
  border-radius: 1px;
}

/* Active film frame gets the project-gate focus frame */
.film-nav-frame:hover,
.film-nav-frame.active {
  filter: grayscale(0%) brightness(0.9);
  border-color: var(--copper-lit);
  transform: scale(1.02);
  box-shadow: 0 0 15px rgba(232, 148, 58, 0.25);
}

.film-nav-frame.filtered-out {
  display: none;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .gallery-suite-layout {
    grid-template-columns: 1fr;
  }
  
  .gallery-main-viewer {
    border-right: none;
    border-bottom: var(--border-steel);
    aspect-ratio: 16 / 10;
  }

  .gallery-metadata-panel {
    padding: var(--space-48) var(--space-24);
  }
}

@media (max-width: 768px) {
  .filter-container-layout {
    flex-direction: column;
    gap: var(--space-20);
    text-align: center;
  }

  .film-frames-strip-container {
    padding: var(--space-16) var(--space-20);
  }
}
