/* =========================================================
   PORTFOLIO CAROUSEL - SAIRI BANGUN MANDIRI
   Tambahkan di PALING BAWAH style.css
   ========================================================= */

.portfolio-showcase {
  position: relative;
  min-width: 0;
  padding: 0 34px;
}

.portfolio-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 2px 12px;
  scroll-snap-type: x mandatory;
}

.portfolio-track::-webkit-scrollbar {
  display: none;
}

.portfolio-item {
  flex: 0 0 calc((100% - 28px) / 3);
  min-width: 0;
  color: #fff;
  scroll-snap-align: start;
  display: block;
}

.portfolio-img {
  height: 185px;
  border-radius: 8px;
  overflow: hidden;
  background: #163d5d;
  margin-bottom: 9px;
  position: relative;
}

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

.portfolio-item:hover .portfolio-img img {
  transform: scale(1.07);
}

.portfolio-item span {
  display: block;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 700;
}

.portfolio-item small {
  font-size: 9px;
  font-weight: 400;
  color: #b9c8d5;
}

.portfolio-arrow {
  position: absolute;
  top: 92px;
  z-index: 5;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  background: rgba(7,28,48,.9);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 29px;
  line-height: 1;
  cursor: pointer;
  transition: .2s ease;
  padding: 0 0 3px;
}

.portfolio-arrow:hover {
  background: #f3b719;
  color: #10243a;
  border-color: #f3b719;
  transform: scale(1.06);
}

.portfolio-prev {
  left: 0;
}

.portfolio-next {
  right: 0;
}

/* FULL GALLERY PAGE */
.gallery-page {
  background: #f6f8fa;
  min-height: 100vh;
}

.gallery-hero {
  background: linear-gradient(120deg, #071c30, #0d3455);
  color: #fff;
  padding: 75px 0 60px;
}

.gallery-hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  margin: 0 0 15px;
}

.gallery-hero p {
  max-width: 650px;
  color: #c9d5df;
  margin: 0;
}

.gallery-toolbar {
  padding: 28px 0 0;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.gallery-filter {
  border: 1px solid #d7dfe7;
  background: #fff;
  color: #10243a;
  border-radius: 999px;
  padding: 9px 16px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
}

.gallery-filter:hover,
.gallery-filter.active {
  background: #f3b719;
  border-color: #f3b719;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 45px 0 80px;
}

.gallery-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(8,41,75,.08);
  border: 1px solid #e6ebf0;
  transition: transform .25s ease, box-shadow .25s ease;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(8,41,75,.14);
}

.gallery-photo {
  height: 260px;
  overflow: hidden;
  cursor: zoom-in;
}

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

.gallery-card:hover .gallery-photo img {
  transform: scale(1.05);
}

.gallery-info {
  padding: 16px 18px 18px;
}

.gallery-info h3 {
  margin: 0 0 3px;
  font-size: 15px;
}

.gallery-info p {
  margin: 0;
  color: #617083;
  font-size: 11px;
}

.gallery-back {
  margin-top: 24px;
}

```css
/* =========================================
   LIGHTBOX FOTO PROYEK - FINAL
========================================= */

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: none;
  align-items: center;
  justify-content: center;

  background: rgba(2, 12, 22, .94);

  padding: 30px;
}

.gallery-lightbox.open {
  display: flex;
}


/* Area foto */

.gallery-lightbox-content {
  position: relative;

  max-width: 90vw;
  max-height: 88vh;

  display: flex;
  align-items: center;
  justify-content: center;
}


/* Foto besar */

.gallery-lightbox-content img {
  display: block;

  max-width: 88vw;
  max-height: 82vh;

  width: auto;
  height: auto;

  object-fit: contain;

  border-radius: 6px;

  box-shadow: 0 20px 60px rgba(0,0,0,.45);

  user-select: none;
}


/* Tombol tutup */

.gallery-lightbox-close {
  position: fixed;

  top: 18px;
  right: 25px;

  z-index: 20;

  width: 42px;
  height: 42px;

  border: 0;
  border-radius: 50%;

  background: rgba(8,41,75,.9);

  color: #fff;

  font-size: 30px;
  line-height: 1;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  transition: .2s ease;
}

.gallery-lightbox-close:hover {
  background: var(--gold);
  color: var(--navy);
}


/* =========================================
   PANAH LIGHTBOX
========================================= */

.gallery-lightbox-prev,
.gallery-lightbox-next {
  position: fixed;

  top: 50%;
  transform: translateY(-50%);

  z-index: 20;

  width: 48px;
  height: 48px;

  border: 0;
  border-radius: 50%;

  background: rgba(8,41,75,.9);

  color: #fff;

  font-size: 38px;
  line-height: 1;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  transition: .2s ease;
}

.gallery-lightbox-prev {
  left: 25px;
}

.gallery-lightbox-next {
  right: 25px;
}

.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
  background: var(--gold);
  color: var(--navy);
}


/* =========================================
   COUNTER
========================================= */

.gallery-lightbox-count {
  position: absolute;

  left: 50%;
  bottom: -32px;

  transform: translateX(-50%);

  padding: 5px 10px;

  background: rgba(8,41,75,.9);

  color: #fff;

  border-radius: 5px;

  font-size: 11px;
  font-weight: 700;

  white-space: nowrap;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 520px) {

  .gallery-lightbox {
    padding: 10px;
  }

  .gallery-lightbox-content {
    max-width: 94vw;
    max-height: 82vh;
  }

  .gallery-lightbox-content img {
    max-width: 88vw;
    max-height: 75vh;
  }


  /* Tombol tutup */

  .gallery-lightbox-close {
    top: 12px;
    right: 12px;

    width: 38px;
    height: 38px;

    font-size: 27px;
  }


  /* Panah */

  .gallery-lightbox-prev,
  .gallery-lightbox-next {
    width: 38px;
    height: 38px;

    font-size: 30px;
  }

  .gallery-lightbox-prev {
    left: 8px;
  }

  .gallery-lightbox-next {
    right: 8px;
  }


  /* Counter */

  .gallery-lightbox-count {
    bottom: -29px;

    font-size: 10px;

    padding: 4px 8px;
  }

}
```

.gallery-lightbox-close {
  position: fixed;
  top: 20px;
  right: 28px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 42px;
  cursor: pointer;
  line-height: 1;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .portfolio-item {
    flex-basis: calc((100% - 14px) / 2);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .portfolio-showcase {
    padding: 0 28px;
  }

  .portfolio-item {
    flex-basis: 100%;
  }

  .portfolio-img {
    height: 220px;
  }

  .portfolio-arrow {
    top: 110px;
    width: 34px;
    height: 34px;
  }

  .gallery-hero {
    padding: 55px 0 45px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 30px;
  }

  .gallery-photo {
    height: 240px;
  }

  .gallery-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 5px;
  }

  .gallery-filter {
    white-space: nowrap;
  }
}
```css


  .gallery-lightbox {
    padding: 15px;
  }

  .gallery-lightbox-content img {
    max-width: 92vw;
    max-height: 78vh;
  }

  .gallery-lightbox-close {
    top: 12px;
    right: 12px;

    width: 38px;
    height: 38px;

    font-size: 27px;
  }

  .gallery-lightbox-prev,
  .gallery-lightbox-next {
    width: 38px;
    height: 38px;

    font-size: 30px;
  }

  .gallery-lightbox-prev {
    left: 10px;
  }

  .gallery-lightbox-next {
    right: 10px;
  }

}
```
```css
/* =========================================
   INFORMASI PROYEK
========================================= */

.project-label {
  display: inline-block;

  margin-bottom: 7px;

  padding: 5px 9px;

  background: rgba(243,183,25,.12);
  color: #9a7000;

  border-left: 3px solid var(--gold);
  border-radius: 4px;

  font-size: 9px;
  font-weight: 800;
  letter-spacing: .8px;
}


.gallery-info h3 {
  color: var(--navy);

  font-size: 18px;
  line-height: 1.3;

  margin: 0 0 14px;
}


/* Lokasi + pekerjaan */

.project-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 10px;

  margin-bottom: 14px;
}


.project-meta > div {
  padding: 10px 11px;

  background: #f7f9fb;

  border: 1px solid #e6ebf0;

  border-radius: 6px;
}


.project-meta strong {
  display: block;

  margin-bottom: 3px;

  color: var(--navy);

  font-size: 10px;
  font-weight: 800;
}


.project-meta span {
  display: block;

  color: #617083;

  font-size: 10px;
  line-height: 1.45;
}


/* Deskripsi */

.gallery-info > p {
  margin: 0;

  color: #617083;

  font-size: 11px;

  line-height: 1.7;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 520px) {

  .project-meta {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .project-meta > div {
    padding: 9px 10px;
  }

  .gallery-info h3 {
    font-size: 17px;
  }

}
```
/* =========================================
   LOKASI PROYEK - PENEKANAN
========================================= */

.project-meta > div:first-child {
  background: rgba(243,183,25,.07);
  border-color: rgba(243,183,25,.30);
}

.project-meta > div:first-child strong {
  color: var(--navy);
}

.project-meta > div:first-child span {
  color: var(--ink);
  font-weight: 600;
}
.portfolio-copy .btn-outline.light {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.45);
}

.portfolio-copy .btn-outline.light:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
