/* EZEMN Technologies — logo overrides (do not invert the new brand assets) */
.logo-img,
.brand .logo-img,
.footer-brand .logo-img {
  filter: none !important;
  height: auto;
  max-height: 76px;
  width: auto;
  max-width: 360px;
}

@media (max-width: 768px) {
  .logo-img,
  .brand .logo-img {
    max-height: 58px;
    max-width: 260px;
  }
}

/* Keep the header navy in both themes so the white wordmark always reads */
.navbar { background: rgba(11, 31, 56, 0.82) !important; }
.navbar.scrolled { background: rgba(7, 24, 43, 0.9) !important; }
[data-theme="light"] .navbar .nav-links a,
[data-theme="light"] .navbar .theme-toggle { color: #e8edf4; }
[data-theme="light"] .navbar .nav-links a:hover { color: #e3b23c; }

/* Featured projects — always-visible overlay, clickable cards */
.portfolio-grid.featured {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.portfolio-grid.featured .portfolio-card {
  display: block;
  text-decoration: none;
  cursor: pointer;
}
.portfolio-grid.featured .portfolio-overlay {
  transform: none;
  opacity: 1;
  background: linear-gradient(180deg, rgba(8, 22, 39, 0) 0%, rgba(8, 22, 39, 0.78) 48%, rgba(8, 22, 39, 0.96) 100%);
}
.portfolio-grid.featured .portfolio-card .result {
  background: var(--gold, #E3B23C);
  color: #0E2747;
}
.portfolio-grid.featured .portfolio-overlay .tech {
  color: #E3B23C;
}
@media (max-width: 900px) {
  .portfolio-grid.featured { grid-template-columns: 1fr; }
}
