/*
  VENDOR INTEGRATION LAYER
  ========================
  Loaded AFTER main.css and AFTER each vendor's own stylesheet. This file
  does not introduce any new color, spacing, or typography values — it only
  re-points vendor components at the existing design tokens defined in
  main.css (--ink, --paper, --amber, --teal, --slate, --coral, --font-*,
  --space-*, --radius) so Bootstrap/AOS/Swiper/GLightbox blend in rather
  than importing their own visual language. The design system itself is
  untouched, per instruction.
*/

/* --- Bootstrap: strip its default blue/shadow/rounded look, defer to ours --- */
.btn-primary {
  background-color: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: #b17c27; /* darkened --amber, same hue */
  border-color: #b17c27;
  color: var(--ink);
}
.btn-outline-secondary {
  color: var(--ink);
  border-color: var(--slate);
  border-radius: var(--radius);
}
.card {
  border-radius: var(--radius);
  border: 1px solid var(--slate-soft);
  box-shadow: none; /* main.css's own "no drop shadows" principle */
}
.form-control, .form-select {
  border-radius: var(--radius);
  border-color: var(--slate-soft);
  font-family: var(--font-body);
}
.form-control:focus, .form-select:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 0.2rem var(--amber-soft);
}
.badge {
  border-radius: var(--radius);
  font-weight: 600;
  font-family: var(--font-body);
}
.navbar, .navbar-nav .nav-link {
  font-family: var(--font-body);
}
.table {
  font-family: var(--font-body);
}

/* --- AOS: keep motion subtle, respect the existing prefers-reduced-motion rule in main.css --- */
[data-aos] {
  transition-duration: 500ms !important;
}

/* --- Swiper: neutral pagination/arrows in ink/slate rather than Swiper's default blue --- */
.swiper-button-next, .swiper-button-prev {
  color: var(--ink);
}
.swiper-pagination-bullet-active {
  background: var(--amber);
}

/* --- GLightbox: keep its overlay from clashing with the paper background --- */
.glightbox-clean .gclose, .glightbox-clean .gnext, .glightbox-clean .gprev {
  background-color: rgba(27, 36, 48, 0.75); /* var(--ink) at reduced opacity */
}
