@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;1,400&family=DM+Sans:wght@300;400;500&display=swap');

.bcb-port-wrap { font-family: 'DM Sans', sans-serif; }

/* ── FILTER BAR ── */
.bcb-port-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.bcb-port-filter {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #4A6880;
  background: #fff;
  border: 1.5px solid #D6E4EF;
  border-radius: 3px;
  padding: 9px 18px;
  cursor: pointer;
  transition: all .2s;
}
.bcb-port-filter:hover { border-color: #3A8FCA; color: #3A8FCA; }
.bcb-port-filter--active { background: #0B1F35; color: #fff; border-color: #0B1F35; }

/* ── GRID ── */
.bcb-port-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── ITEM ── */
.bcb-port-item {
  transition: opacity .3s, transform .3s;
}
.bcb-port-item.bcb-port-hidden {
  display: none;
}
.bcb-port-item--featured .bcb-port-image-wrap {
  border: 2px solid #C49A3A;
}
.bcb-port-item-inner {
  border: 1px solid #D6E4EF;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: transform .25s, box-shadow .25s;
}
.bcb-port-item-inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(11,31,53,0.12);
}

/* ── IMAGE ── */
.bcb-port-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #EEF4F8;
}
.bcb-port-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.bcb-port-item-inner:hover .bcb-port-image { transform: scale(1.04); }
.bcb-port-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bcb-port-image-placeholder svg { width: 48px; height: 48px; stroke: #B4C8D8; }

/* ── FEATURED BADGE ── */
.bcb-port-featured-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #C49A3A;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  z-index: 2;
}

/* ── HOVER OVERLAY ── */
.bcb-port-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11,31,53,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
}
.bcb-port-item-inner:hover .bcb-port-overlay { opacity: 1; }
.bcb-port-overlay-content { text-align: center; padding: 20px; }
.bcb-port-overlay-cat {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #3A8FCA;
  display: block;
  margin-bottom: 8px;
}
.bcb-port-overlay-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1.2;
}
.bcb-port-overlay-client {
  font-size: 13px;
  font-weight: 300;
  color: #8BA8C0;
  margin: 0 0 16px;
}
.bcb-port-overlay-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.bcb-port-detail-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: #3A8FCA;
  border: none;
  border-radius: 3px;
  padding: 9px 16px;
  cursor: pointer;
  transition: background .2s;
}
.bcb-port-detail-btn:hover { background: #C49A3A; }
.bcb-port-visit-btn {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 3px;
  padding: 9px 16px;
  text-decoration: none;
  transition: background .2s;
}
.bcb-port-visit-btn:hover { background: rgba(255,255,255,0.2); color: #fff; text-decoration: none; }

/* ── CARD INFO ── */
.bcb-port-card-info { padding: 16px 20px 18px; }
.bcb-port-card-header { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.bcb-port-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #0B1F35;
  margin: 0;
  line-height: 1.2;
}
.bcb-port-card-year { font-size: 12px; font-weight: 300; color: #8BA8C0; flex-shrink: 0; }
.bcb-port-card-client { font-size: 13px; font-weight: 300; color: #4A6880; margin: 0 0 8px; }
.bcb-port-card-cat {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #3A8FCA;
  background: #EEF4F8;
  padding: 3px 8px;
  border-radius: 3px;
}

/* ── EMPTY / NO RESULTS ── */
.bcb-port-empty,
.bcb-port-no-results {
  text-align: center;
  padding: 60px 20px;
  color: #8BA8C0;
  font-size: 14px;
  font-weight: 300;
}

/* ── MODAL ── */
.bcb-port-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11,31,53,0.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.bcb-port-modal {
  background: #fff;
  border-radius: 10px;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.bcb-port-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: rgba(11,31,53,0.1);
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  color: #0B1F35;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.bcb-port-modal-close:hover { background: rgba(11,31,53,0.2); }
.bcb-port-modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.bcb-port-modal-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px 0 0 10px;
}
.bcb-port-modal-info { padding: 40px 36px; display: flex; flex-direction: column; }
.bcb-port-modal-cat {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #3A8FCA;
  margin-bottom: 10px;
  display: block;
}
.bcb-port-modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.875rem;
  font-weight: 600;
  color: #0B1F35;
  margin: 0 0 6px;
  line-height: 1.1;
}
.bcb-port-modal-client { font-size: 14px; font-weight: 300; color: #8BA8C0; margin: 0 0 20px; }
.bcb-port-modal-desc {
  font-size: 14px;
  font-weight: 300;
  color: #4A6880;
  line-height: 1.75;
  flex: 1;
}
.bcb-port-modal-footer { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.bcb-port-modal-link {
  font-size: 13px;
  font-weight: 400;
  color: #3A8FCA;
  text-decoration: none;
}
.bcb-port-modal-link:hover { text-decoration: underline; }
.bcb-port-modal-cta {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: #0B1F35;
  padding: 12px 20px;
  border-radius: 3px;
  text-decoration: none;
  text-align: center;
  transition: background .2s;
}
.bcb-port-modal-cta:hover { background: #3A8FCA; color: #fff; text-decoration: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .bcb-port-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .bcb-port-grid { grid-template-columns: 1fr; }
  .bcb-port-modal-body { grid-template-columns: 1fr; }
  .bcb-port-modal-image-wrap { display: none; }
  .bcb-port-modal-info { padding: 32px 24px; }
}
