/* © 2026 Packaging and Wrapping Machines LLC. All rights reserved. */
@charset "utf-8";
.gallery-hero {
  background: linear-gradient(rgba(0, 33, 71, 0.85), rgba(0, 33, 71, 0.85)), url('images/warehouse-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 80px 5%;
  text-align: center;
  color: #ffffff;
  border-bottom: 4px solid #00a8ff;
}
.gallery-hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.gallery-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto;
}
.gallery-filters {
  text-align: center;
  padding: 20px 0;
  background: #f8f9fa;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.filter-btn {
  background: #fff;
  border: 2px solid var(--navy);
  color: var(--navy);
  padding: 10px 20px;
  cursor: pointer;
  font-weight: 700;
  border-radius: 4px;
  transition: 0.3s;
  flex-shrink: 0;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--navy);
  color: #fff;
}
.filter-btn[data-filter="red"] {
  border-color: #e31e24;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
  padding: 40px 5%;
  max-width: 1400px;
  margin: 0 auto;
}
.gallery-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.gallery-item:hover {
  transform: translateY(-5px);
}
.case-tag-mini {
  display: inline-block;
  background-color: #e3f2fd;
  color: #007bff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 10px;
  letter-spacing: 0.5px;
  border: 1px solid rgba(0, 123, 255, 0.2);
}
.gallery-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}
.gallery-media.shorts {
  aspect-ratio: 9 / 16;
  max-width: 300px;
  margin: 0 auto;
}
.gallery-media img, .gallery-media iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}
.gallery-info {
  padding: 20px;
  flex-grow: 1;
}
.gallery-info p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #444;
}
.gallery-info a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}
.gallery-info a:hover {
  color: var(--red);
}
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 33, 71, 0.95);
  padding-top: 50px;
}
.lightbox-content {
  margin: auto;
  display: block;
  width: auto;
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border: 3px solid #fff;
}
#lightbox-caption {
  margin: auto;
  display: block;
  width: 80%;
  text-align: center;
  color: #fff;
  padding: 20px 0;
  font-size: 18px;
  font-family: sans-serif;
}
.close-lightbox {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 60px;
  font-weight: bold;
  cursor: pointer;
}
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 40px;
  transition: 0.3s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  z-index: 10000;
  text-decoration: none;
}
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
.prev {
  left: 0;
}
.prev:hover, .next:hover {
  background-color: rgba(0, 168, 255, 0.8);
}
.lightbox-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.featured-item {
  grid-column: span 2;
}
.gallery-media.shorts {
  aspect-ratio: 9 / 16;
  background: #000;
}
.gallery-roi-cta {
  background: #082542;
  color: #fff;
  padding: 60px 20px;
  margin-bottom: 25px;
  border-radius: 12px;
  text-align: center;
}
.roi-container {
  max-width: 900px;
  margin: 0 auto;
}
.roi-icon {
  font-size: 48px;
  color: #00a8ff;
  margin-bottom: 20px;
}
.roi-text h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: #fff !important;
}
.roi-text p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 30px;
}
.roi-action {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.roi-btn-primary {
  background: #00a8ff;
  color: #fff;
  padding: 15px 30px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}
.roi-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 15px 30px;
  border-radius: 6px;
  font-weight: bold;
  border: 1px solid #fff;
  text-decoration: none;
}
.roi-btn-primary:hover {
  background: #0086cc;
  transform: translateY(-3px);
}
.full-width-case-study {
  grid-column: 1 / -1;
  clear: both;
  margin: 20px 0;
  background: #fff;
  border: 1px solid #e1e8ed;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}
.case-study-accent {
  height: 6px;
  background: #00a8ff;
  width: 100%;
}
.case-study-padding {
  padding: 50px;
}
.case-study-header-center {
  text-align: center;
  margin-bottom: 40px;
}
.case-study-badge {
  background: #00a8ff;
  color: #fff;
  padding: 5px 15px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.case-study-main-title {
  color: #082542;
  font-size: 36px;
  margin: 15px 0 5px 0;
  text-transform: uppercase;
  letter-spacing: -1px;
}
.case-study-subtitle {
  font-size: 20px;
  color: #666;
  margin: 0;
}
.case-study-video-wrapper {
  max-width: 1000px;
  margin: 0 auto 50px auto;
}
.case-study-details-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}
.case-study-col-text {
  flex: 1;
  min-width: 320px;
}
.case-study-h4 {
  color: #082542;
  font-size: 22px;
  border-bottom: 2px solid #00a8ff;
  display: inline-block;
  padding-bottom: 5px;
  margin-bottom: 20px;
}
.case-study-description {
  font-size: 19px;
  line-height: 1.7;
  color: #444;
}
.case-study-col-highlights {
  flex: 1;
  min-width: 320px;
  background: #f8f9fa;
  padding: 30px;
  border-radius: 8px;
  border-left: 5px solid #082542;
}
.highlight-list {
  list-style: none;
  padding: 0;
}
.highlight-item {
  margin-bottom: 18px;
  display: flex;
  align-items: flex-start;
  font-size: 18px;
}
.highlight-item i {
  color: #00a8ff;
  margin-right: 12px;
  margin-top: 5px;
}
.case-study-value-strip {
  background: #082542;
  padding: 30px;
  display: flex;
  justify-content: space-around;
  text-align: center;
  flex-wrap: wrap;
  gap: 20px;
}
.value-box {
  flex: 1;
  min-width: 150px;
}
.value-label {
  display: block;
  color: #00a8ff;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  font-weight: bold;
}
.value-stat {
  color: #fff;
  font-size: 18px;
}
.case-study-cta-wrap {
  margin-top: 30px;
}
.case-study-btn {
  display: inline-block;
  padding: 14px 28px;
  background: #082542;
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
  border-radius: 4px;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.3s all ease;
  border: 2px solid #082542;
}
.case-study-btn:hover {
  background: #0086cc;
  border-color: #0086cc;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 134, 204, 0.3);
}
.case-study-btn i {
  margin-left: 10px;
  font-size: 16px;
}
@media (max-width: 900px) {
  .featured-item {
    grid-column: span 1;
  }
}
@media (max-width: 768px) {
  .gallery-filters {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 15px;
    gap: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .gallery-filters::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    padding: 8px 16px;
    font-size: 14px;
  }
  .gallery-hero h1 {
    font-size: 26px !important;
    line-height: 1.2;
    margin-bottom: 12px;
    padding: 0 15px;
  }
  .gallery-hero p {
    font-size: 15px;
    line-height: 1.4;
    padding: 0 20px;
  }
  .gallery-hero {
    padding: 10px 0 20px 0 !important;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-roi-cta {
    margin-left: 25px;
    margin-right: 25px;
  }
  .full-width-case-study {
    margin: 15px 10px;
  }
  .case-study-padding {
    padding: 30px 15px;
  }
  .case-study-main-title {
    font-size: 26px;
  }
}