@charset "UTF-8";
/* Portfolio page styles */

.portfolio-page .navbar-nav .nav-link.active {
  color: var(--hhod-blue);
}

.portfolio-page .navbar-nav .nav-link.active::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 4px;
  background-color: var(--hhod-blue);
}

.portfolio-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 495px;
  color: #ffffff;
  background: url("../images/project-jetport-installation.webp") center 52% / cover no-repeat;
}

.portfolio-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 29, 61, .82) 0%, rgba(6, 43, 95, .56) 48%, rgba(6, 29, 61, .16) 100%);
}

.portfolio-hero .container {
  position: relative;
  z-index: 1;
}

.portfolio-hero-content {
  max-width: 760px;
  padding: 80px 0;
}

.portfolio-hero h1 {
  font-size: clamp(3.2rem, 7vw, 5.6rem);
  line-height: 1;
  margin-bottom: 1.25rem;
  text-shadow: 0 3px 14px rgba(0, 0, 0, .28);
}

.portfolio-hero .hero-lead {
  max-width: 720px;
  margin-bottom: 0;
  color: #ffffff;
}

.portfolio-intro .section-subtitle {
  max-width: 830px;
}

.portfolio-gallery-section {
  background: var(--hhod-gray);
}

.portfolio-gallery-intro {
  max-width: 820px;
  margin-bottom: 2.75rem;
}

.portfolio-gallery-intro .section-subtitle {
  margin-bottom: 0;
}

.portfolio-group {
  margin-bottom: 3rem;
}

.portfolio-group > h2 {
  position: relative;
  margin-bottom: 1.4rem;
  padding-bottom: .75rem;
  color: var(--hhod-navy);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.portfolio-group > h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 64px;
  height: 4px;
  background: var(--hhod-blue);
}

.portfolio-grid {
  display: grid;
  gap: 22px;
}

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

.portfolio-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  margin: 0;
  border-radius: 10px;
  background: #d4e7ef;
  box-shadow: 0 9px 25px rgba(6, 43, 95, .12);
}

.portfolio-grid-two .portfolio-card {
  min-height: 315px;
}

.portfolio-group-used .portfolio-card {
  height: 280px;
  min-height: 0;
}

.portfolio-group-used .portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.portfolio-card::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(6, 29, 61, .82));
  pointer-events: none;
}

.portfolio-card figcaption {
  position: absolute;
  z-index: 1;
  right: 1.25rem;
  bottom: 1.05rem;
  left: 1.25rem;
  color: #ffffff;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .03em;
}

.portfolio-card:hover img {
  transform: scale(1.035);
}

.portfolio-facebook {
  background: var(--hhod-light-blue);
}

.facebook-feed-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 290px;
  margin-top: 2rem;
  padding: 2rem;
  border: 2px dashed rgba(6, 43, 95, .3);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(6, 43, 95, .08);
}

.facebook-feed-placeholder p {
  margin: 0;
  color: var(--hhod-navy);
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
}

@media (max-width: 991px) {
  .portfolio-hero {
    min-height: 500px;
  }

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

  .portfolio-grid-three .portfolio-card-wide {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  .portfolio-hero {
    min-height: 450px;
    background-position: 58% center;
  }

  .portfolio-hero::before {
    background: rgba(6, 29, 61, .68);
  }

  .portfolio-grid-two,
  .portfolio-grid-three {
    grid-template-columns: 1fr;
  }

  .portfolio-grid-three .portfolio-card-wide {
    grid-column: auto;
  }

  .portfolio-card,
  .portfolio-grid-two .portfolio-card {
    min-height: 330px;
  }

  .portfolio-group-used .portfolio-card {
    height: 330px;
    min-height: 330px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-card img {
    transition: none;
  }
}
