/* ============================================================
   KOMTECH WEBSITE — OUR CUSTOMERS PAGE STYLES
   our-customers.css
   ============================================================ */

/* ─── PAGE HERO BANNER ──────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #142c46 0%, #1e88e5 100%);
  padding: 80px;
  display: flex;
  align-items: center;
  min-height: 220px;
}

.page-hero-content .section-tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #90caf9;
  font-weight: 600;
  margin-bottom: 12px;
}

.page-hero-content h1 {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
}

.page-hero-content p {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  max-width: 700px;
  line-height: 1.6;
}

/* ─── CUSTOMERS SECTION ─────────────────────────────────────── */
.customers-section {
  background: var(--page-bg);
  padding: 80px;
}

.customers-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  max-width: 1300px;
  margin: 0 auto;
}

.customer-card {
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  aspect-ratio: 1.4 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 12px;
}

.customer-card:hover {
  border-color: #1e88e5;
  box-shadow: 0 6px 20px rgba(21,101,192,0.15);
  transform: translateY(-3px);
  background: #fff;
}

.customer-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Open slot for a future customer logo */
.customer-card--empty {
  border: 2px dashed #cdd3da;
  background: #f7f9fb;
  cursor: default;
}

.customer-card--empty:hover {
  border-color: #1e88e5;
  box-shadow: none;
  transform: none;
}

.customer-empty {
  font-size: 30px;
  font-weight: 300;
  color: #b5bcc4;
}

/* ─── LIGHTBOX POPUP ────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 40px;
  animation: lightboxFadeIn 0.25s ease;
}

.lightbox.open { display: flex; }

@keyframes lightboxFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lightbox-content {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  max-width: 600px;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: lightboxZoomIn 0.3s ease;
}

.lightbox-img {
  max-width: 100%;
  max-height: 60vh;
  object-fit: contain;
  display: block;
}

@keyframes lightboxZoomIn {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.lightbox-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 280px;
}

.lightbox-icon {
  font-size: 80px;
  color: #ccc;
}

.lightbox-label {
  font-size: 19px;
  font-weight: 700;
  color: #333;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .customers-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 640px) {
  .page-hero { padding: 50px 22px; min-height: auto; }
  .page-hero-content h1 { font-size: 30px; }

  .customers-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .customers-section { padding: 40px 20px; }
}
