/* ==========================================================================
   sumaeki.com — Custom Styles (Bootstrap 5)
   Site-specific styles that extend Bootstrap
   ========================================================================== */

/* ---------- Skip Link (Accessibility) ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: #043A5E;
  color: #fff;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
}

/* ---------- Navbar ---------- */
.navbar-brand img {
  height: 36px;
  width: auto;
}
.navbar .bi {
  font-size: 1.1rem;
  vertical-align: -0.125em;
}

/* ---------- Hero / Banner ---------- */
.hero-section {
  background: linear-gradient(135deg, #043A5E 0%, #0679D4 100%);
  color: #fff;
  padding: 3rem 0;
}
.hero-section h1 {
  font-weight: 700;
}

/* ---------- Brand Grid (list-2) ---------- */
.brand-grid .card {
  transition: transform 0.2s, box-shadow 0.2s;
}
.brand-grid .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(6,121,212,0.15);
}

/* ---------- Series List (list-3) ---------- */
.series-list .list-group-item {
  border-left: 3px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.series-list .list-group-item:hover {
  border-left-color: #0679D4;
  background: #E8F2FC;
}

/* ---------- Device Quote (list-4) ---------- */
.device-quote .form-check {
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  margin-bottom: 0.5rem;
  transition: border-color 0.2s, background 0.2s;
}
.device-quote .form-check:hover {
  border-color: #0679D4;
  background: #E8F2FC;
}
.device-quote .form-check-input:checked ~ .form-check-label {
  color: #0679D4;
  font-weight: 500;
}

/* ---------- Steps Indicator ---------- */
.steps {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.step {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: #6c757d;
}
.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #e5e7eb;
  color: #6c757d;
  font-size: 0.75rem;
  font-weight: 600;
}
.step.is-active {
  color: #0679D4;
  font-weight: 600;
}
.step.is-active .num {
  background: #0679D4;
  color: #fff;
}

/* ---------- Sidebar ---------- */
.sidebar .list-group-item.active {
  background-color: #0679D4;
  border-color: #0679D4;
}

/* ---------- Quote Form ---------- */
.quote-form .form-control:focus,
.quote-form .form-select:focus {
  border-color: #0679D4;
  box-shadow: 0 0 0 0.2rem rgba(6,121,212,0.15);
}

/* ---------- Footer ---------- */
.footer-main {
  background: #043A5E;
  color: rgba(255,255,255,0.8);
}
.footer-main a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}
.footer-main a:hover {
  color: #fff;
}
.footer-bottom {
  background: #032d4a;
  color: rgba(255,255,255,0.5);
  font-size: 0.8125rem;
}

/* ---------- Badge for item count ---------- */
.item-count {
  font-size: 0.75rem;
  color: #6c757d;
  font-weight: normal;
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 2rem 0;
  }
  .hero-section h1 {
    font-size: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .steps {
    flex-wrap: wrap;
  }
  .brand-grid .col {
    flex: 0 0 50%;
  }
}
