/* =========================================
   PORTFOLIO GALLERY
========================================= */

.gallery-section {
  padding: 80px 0;
  background: #f8f9fa;
}

/* Heading */
.gallery-heading {
  margin-bottom: 45px;
}

.gallery-heading .section-heading {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.gallery-heading .section-subheading {
  font-size: 15px;
  font-style: italic;
  margin-bottom: 0;
}

/* Gallery Grid */
.gallery-row {
  row-gap: 30px;
}

.gallery-column {
  display: flex;
}

/* Gallery Item */
.gallery-item {
  width: 100%;
  background: #ffffff;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

/* Gallery Image */
.gallery-link {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

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

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

/* Hover Overlay */
.gallery-hover {
  position: absolute;
  inset: 0;
  background: rgba(254, 209, 54, 0.85);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.gallery-link:hover .gallery-hover {
  opacity: 1;
}

.gallery-hover-content {
  color: #ffffff;
}

/* Gallery Caption */
.gallery-caption {
  padding: 20px 15px;
  text-align: center;
}

.gallery-caption-heading {
  font-size: 18px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 5px;
}

.gallery-caption-subheading {
  font-size: 14px;
  font-style: italic;
  color: #888888;
}

/* Responsive */
@media (max-width: 767px) {
  .gallery-section {
    padding: 55px 0;
  }

  .gallery-heading {
    margin-bottom: 30px;
  }

  .gallery-heading .section-heading {
    font-size: 26px;
  }

  .gallery-caption {
    padding: 15px 10px;
  }

  .gallery-caption-heading {
    font-size: 16px;
  }
}

/* =====================================
   SERVICES SECTION
===================================== */

.services-section {
  position: relative;
  width: 100%;
  background-image: url("../assets/images/maritime-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow: hidden;
}

.services-overlay {
  width: 100%;
  min-height: 650px;
  padding: 85px 0 100px;

  /* Background lebih transparan */
  background: rgba(255, 255, 255, 0.12);
}

/* Heading */

.services-heading {
  margin-bottom: 48px;
}

.services-heading h1 {
  color: #063b70;
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 20px;
}

.services-heading h1::after {
  content: "";
  display: block;
  width: 130px;
  height: 5px;
  background: #078de0;
  margin: 22px auto 0;
  border-radius: 5px;
}

.services-heading p {
  color: #244e73;
  font-size: 18px;
  margin-top: 20px;
}

/* Service Items */

.services-list {
  align-items: center;
}

.service-item {
  text-align: center;
  margin-bottom: 30px;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* Service Images */

.service-item img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  object-position: center;
  border-radius: 25px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  transition: all 0.4s ease;
}

.service-item img:hover {
  transform: translateY(-7px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  border-color: #078de0;
}

/* Service Title */

.service-item h2 {
  font-size: 18px;
  font-weight: 700;
  color: #333333;
  margin-top: 0;
  margin-bottom: 5px;
  padding-top: 20px;
  line-height: normal;
  text-align: center;
}

/* =====================================
   RESPONSIVE
===================================== */

@media (max-width: 991px) {
  .service-item img {
    height: 220px;
  }

  .service-item h2 {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .services-overlay {
    padding: 65px 0;
  }

  .services-heading h1 {
    font-size: 34px;
  }

  .service-item {
    margin-bottom: 40px;
  }

  .service-item img {
    height: 250px;
  }

  .service-item h2 {
    font-size: 22px;
  }
}

/* =========================================
   PROJECT GALLERY BOX
========================================= */

.project-gallery-section {
  width: 100%;
  overflow: hidden;
}

/* Gallery Link */
.project-gallery-box {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  text-decoration: none;
}

/* Gallery Image */
.project-gallery-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

/* Hover Caption */
.project-gallery-caption {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(244, 98, 58, 0.9);
  opacity: 0;
  transition: opacity 0.35s ease;
  padding: 20px;
}

/* Hover Effect */
.project-gallery-box:hover .project-gallery-caption {
  opacity: 1;
}

.project-gallery-box:hover img {
  transform: scale(1.08);
}

/* Category */
.project-gallery-category {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 6px;
}

/* Project Name */
.project-gallery-name {
  font-size: 21px;
  font-weight: 700;
  color: #ffffff;
}

/* Responsive */
@media (max-width: 767px) {
  .project-gallery-box {
    aspect-ratio: 4 / 3;
  }

  .project-gallery-name {
    font-size: 17px;
  }

  .project-gallery-category {
    font-size: 11px;
  }
}
/* Gambar PT PPSJ */
#ppsj .ppsj-image {
  width: 65%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Tombol Contact Us */
#ppsj .btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 38px;
  background: #07366f;
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

#ppsj .btn-contact:hover {
  background: #0b559e;
  color: #fff;
  transform: translateY(-3px);
}

/* Tampilan HP */
@media (max-width: 768px) {
  #ppsj .ppsj-image {
    width: 100%;
    height: 180px;
  }
}
#ppsj .text-box {
  background-color: #eaf4fc;
  border: 2px solid #ffffff;
  border-radius: 28px !important;
  padding: 35px !important;
  box-shadow: 0 8px 25px rgba(0, 50, 100, 0.15);
}
/* =====================================
   HEADING PT. PPSJ
===================================== */

#ppsj .section-heading {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 12px;
  text-transform: uppercase;
  text-align: center;
}

/* Responsive HP */
@media (max-width: 767px) {
  #ppsj .section-heading {
    font-size: 26px;
  }
}

/* SUB TITLE */
.portfolio-header .portfolio-title-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 12px;
}

.portfolio-header .portfolio-title-sub span {
  font-family: "Poppins", sans-serif;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 2px 3px 6px rgba(0, 0, 0, 0.3);
}

.portfolio-header .portfolio-title-sub::before,
.portfolio-header .portfolio-title-sub::after {
  content: "";
  width: 65px;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
}

/* MAIN TITLE */
.portfolio-header .portfolio-title-main {
  font-family: "Poppins", sans-serif;
  font-size: 58px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.35);
}

/* DECORATIVE ANCHOR */
.portfolio-header .portfolio-title-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  max-width: 400px;
  margin: 15px auto 0;
}

.portfolio-header .portfolio-title-decoration span {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
}

.portfolio-header .portfolio-title-decoration i {
  font-size: 27px;
  color: #fff;
}

/* TABLET & MOBILE */
@media (max-width: 767px) {
  .portfolio-header .portfolio-title-sub span {
    font-size: 18px;
  }

  .portfolio-header .portfolio-title-sub::before,
  .portfolio-header .portfolio-title-sub::after {
    width: 35px;
  }

  .portfolio-header .portfolio-title-main {
    font-size: 34px;
    letter-spacing: 1px;
  }

  .portfolio-header .portfolio-title-decoration {
    max-width: 250px;
  }

  .portfolio-header .portfolio-title-decoration i {
    font-size: 22px;
  }
}
