/* css/icon-nav.css — Secondary Service Icon Navigation */

/* Navy strip — slightly lighter than hero to create visual separation */
.icon-nav-section {
  background: #1a4f7d; /* lighter than hero #002e54 */
  padding: 2.5rem 0;  /* taller section */
  overflow: hidden;
}

/* Constrained to same width as nav/hero */
.icon-nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Distribute tiles evenly — navy fills the gaps naturally */
.icon-nav-track {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 6px;
}

/* Each tile is a compact square — equal padding makes width = height */
.icon-nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px; /* equal all sides → square tile */
  background: var(--color-white);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms ease;
  flex-shrink: 0;
}

.icon-nav-item:hover,
.icon-nav-item.active {
  background-color: var(--color-gold);
}

/* Icon at 100px — fills most of the tile, minimal whitespace */
.icon-nav-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .icon-nav-icon { width: 70px; height: 70px; }
  .icon-nav-item { padding: 8px; }
}

@media (max-width: 480px) {
  .icon-nav-icon { width: 56px; height: 56px; }
  .icon-nav-item { padding: 6px; }
}
