/* ══════════════════════════════════════════
   PROJECT DETAIL PAGE — Shared Styles
   Used by all project detail pages across all sectors
   ══════════════════════════════════════════ */

.proj-hero { padding: 50px 0 0; background: var(--bfg-white); }
.proj-hero__container { max-width: none; padding-left: 50px; padding-right: 50px; }
.proj-hero__breadcrumb { font-size: 13px; color: var(--bfg-text-muted); margin-bottom: 20px; }
.proj-hero__breadcrumb a { color: var(--bfg-primary); text-decoration: none; }
.proj-hero__breadcrumb span { margin: 0 8px; }
@media(max-width: 767px){ .proj-hero__container { padding-left: 20px; padding-right: 20px; } }

.proj-body { padding: 30px 0 70px; background: var(--bfg-white); }
.proj-body__container { max-width: none; padding-left: 50px; padding-right: 50px; display: flex; gap: 50px; align-items: flex-start; }
@media(max-width: 991px){ .proj-body__container { flex-direction: column; gap: 30px; } }
@media(max-width: 767px){ .proj-body__container { padding-left: 20px; padding-right: 20px; } }

.proj-images { flex: 0 0 58%; position: sticky; top: 100px; }
@media(max-width: 991px){ .proj-images { flex: none; position: static; width: 100%; } }
.proj-images__main { border-radius: 10px; overflow: hidden; margin-bottom: 14px; background: var(--bfg-bg-light); aspect-ratio: 16/10; cursor: pointer; position: relative; }
.proj-images__main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.proj-images__main::after { content: '\f065'; font-family: FontAwesome; position: absolute; bottom: 12px; right: 14px; color: #fff; font-size: 16px; background: rgba(0,0,0,0.4); width: 36px; height: 36px; border-radius: 6px; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.proj-images__main:hover::after { opacity: 1; }
.proj-images__gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 8px; }
.proj-images__thumb { aspect-ratio: 4/3; border-radius: 6px; overflow: hidden; cursor: pointer; opacity: 0.5; transition: all 0.2s ease; border: 2px solid transparent; }
.proj-images__thumb:hover, .proj-images__thumb.active { opacity: 1; border-color: var(--bfg-primary); }
.proj-images__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Project Lightbox */
.proj-lightbox { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.92); z-index: 10000; align-items: center; justify-content: center; }
.proj-lightbox.active { display: flex; }
.proj-lightbox__img { max-width: 90vw; max-height: 85vh; border-radius: 6px; object-fit: contain; transition: opacity 0.3s; }
.proj-lightbox__close { position: absolute; top: 16px; right: 20px; background: none; border: none; color: #fff; font-size: 28px; cursor: pointer; z-index: 10; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; opacity: 0.7; transition: opacity 0.2s; }
.proj-lightbox__close:hover { opacity: 1; }
.proj-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.12); border: none; color: #fff; font-size: 22px; padding: 16px 14px; cursor: pointer; border-radius: 6px; min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; opacity: 0.7; transition: all 0.2s; }
.proj-lightbox__nav:hover { background: rgba(255,255,255,0.25); opacity: 1; }
.proj-lightbox__prev { left: 16px; }
.proj-lightbox__next { right: 16px; }
.proj-lightbox__counter { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.5); font-size: 13px; font-weight: 600; letter-spacing: 0.05em; }

.proj-info { flex: 1; }
.proj-info__sector { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--bfg-primary); margin-bottom: 10px; display: block; }
.proj-info__title { font-size: 32px; font-weight: 700; color: var(--bfg-text); margin: 0 0 28px; letter-spacing: -0.02em; line-height: 1.15; }
@media(max-width: 767px){ .proj-info__title { font-size: 24px; } }

.proj-info__details { margin-bottom: 30px; }
.proj-info__detail { display: flex; padding: 12px 0; border-bottom: 1px solid var(--bfg-border); }
.proj-info__detail:first-child { border-top: 1px solid var(--bfg-border); }
.proj-info__detail-label { flex: 0 0 160px; font-size: 13px; font-weight: 600; color: var(--bfg-text-muted); }
.proj-info__detail-value { flex: 1; font-size: 15px; color: var(--bfg-text); }

.proj-info__logos { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.proj-info__logo { padding: 20px 30px; background: var(--bfg-bg-light); border-radius: 8px; display: flex; align-items: center; justify-content: center; width: 200px; height: 90px; }
.proj-info__logo img { max-height: 54px; max-width: 160px; width: auto; height: auto; display: block; object-fit: contain; opacity: 0.75; filter: grayscale(20%); transition: all 0.3s ease; }
.proj-info__logo:hover img { opacity: 1; filter: grayscale(0%); }

.proj-info__desc { font-size: 15px; color: var(--bfg-text-light); line-height: 1.7; margin-bottom: 20px; }

.proj-info__actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.proj-info__actions .btn { padding: 12px 24px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; border-radius: 6px; }
.proj-info__actions .btn i { margin-left: 6px; }
.btn-dark { background: #112337; color: #fff; border: none; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: background 0.2s ease; }
.btn-dark:hover { background: #1a3350; color: #fff; }

/* Prev / Next Project Navigation — above hero image */
.proj-nav--top { margin-bottom: 14px; }
.proj-nav__container { display: flex; justify-content: space-between; align-items: center; min-height: 48px; }
.proj-nav__link { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 8px 16px; text-decoration: none; transition: all 0.2s ease; flex: 1; }
.proj-nav__link:hover { text-decoration: none; }
.proj-nav__link:hover .proj-nav__title { color: var(--bfg-primary); }
.proj-nav__prev { text-align: right; border-right: 1px solid var(--bfg-border); }
.proj-nav__next { text-align: left; }
.proj-nav__dir { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--bfg-primary); }
.proj-nav__dir i { font-size: 9px; }
.proj-nav__title { font-size: 13px; font-weight: 600; color: var(--bfg-text-light); line-height: 1.3; transition: color 0.2s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 280px; }
.proj-nav__spacer { flex: 1; }
@media(max-width: 480px){
	.proj-nav__title { font-size: 11px; }
	.proj-nav__link { padding: 6px 10px; }
}
