/* ==========================================================================
   UNICON Hospitality - the ONLY three button styles on the site.
   Load this file LAST on every page (after theme.css / mobile.css / page css).

     .btn-primary    gold fill, white text           Book Now, Reserve, Check Availability
     .btn-secondary  transparent, gold border + text View Rooms, Explore Hotel, Get Directions
     .btn-link       gold text + arrow (no box)      Explore Dining, Open in Google Maps

   Add the class next to any existing class; this file wins over older
   per-page button rules (they were written before the three-style rule).
   To change colours, sizes or type for ALL buttons, edit the --btn-* variables in the :root block of style.css.
   ========================================================================== */
/* The repeated class below only raises specificity so older page rules cannot override these. */

/* ---------- shared typography + box (all three) ---------- */
html body .btn-primary.btn-primary.btn-primary,
html body .btn-secondary.btn-secondary.btn-secondary,
html body .btn-link.btn-link.btn-link {
  font-family: var(--btn-font) !important;
  font-size: var(--btn-size) !important;
  font-weight: var(--btn-weight) !important;
  letter-spacing: var(--btn-tracking) !important;
  line-height: 1.25 !important;
  text-transform: none !important;
  text-decoration: none !important;
  text-shadow: none !important;
  cursor: pointer;
  box-shadow: none !important;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, gap .25s ease !important;
}

/* ---------- primary + secondary share the button box ---------- */
html body .btn-primary.btn-primary.btn-primary,
html body .btn-secondary.btn-secondary.btn-secondary {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 26px !important;
  border-width: 1px !important;
  border-style: solid !important;
  border-radius: var(--btn-radius) !important;
  text-align: center;
  white-space: normal;
  transform: none !important;
  overflow: hidden;
}
html body .btn-primary.btn-primary.btn-primary.sm-btn,
html body .btn-secondary.btn-secondary.btn-secondary.sm-btn,
html body .btn-primary.btn-primary.btn-primary.un-book {
  min-height: 40px;
  padding: 9px 20px !important;
}
html body .btn-primary.btn-primary.btn-primary.w-100,
html body .btn-secondary.btn-secondary.btn-secondary.w-100 { width: 100%; }

/* old hover "wipe" layers and span animations are switched off */
.btn-primary::before, .btn-primary::after,
.btn-secondary::before, .btn-secondary::after { display: none !important; content: none !important; }
html body .btn-primary.btn-primary.btn-primary span:not(.uc-spin),
html body .btn-secondary.btn-secondary.btn-secondary span:not(.uc-spin),
html body .btn-link.btn-link.btn-link span:not(.uc-spin) {
  display: inline !important;
  position: static !important;
  color: inherit !important;
  font: inherit !important;
  letter-spacing: inherit !important;
  text-transform: none !important;
  mix-blend-mode: normal !important;
  animation: none !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.btn-primary svg, .btn-secondary svg { flex: none; }

/* ---------- A. Primary: gold, white text; hover slightly darker gold ---------- */
html body .btn-primary.btn-primary.btn-primary {
  background: var(--btn-gold) !important;
  border-color: var(--btn-gold) !important;
  color: var(--btn-text) !important;
}
html body .btn-primary.btn-primary.btn-primary:hover,
html body .btn-primary.btn-primary.btn-primary:focus-visible {
  background: var(--btn-gold-dark) !important;
  border-color: var(--btn-gold-dark) !important;
  color: var(--btn-text) !important;
}

/* ---------- B. Secondary: transparent, gold border + text; hover gold fill, white text ---------- */
html body .btn-secondary.btn-secondary.btn-secondary {
  background: transparent !important;
  border-color: var(--btn-gold) !important;
  color: var(--btn-gold) !important;
}
html body .btn-secondary.btn-secondary.btn-secondary:hover,
html body .btn-secondary.btn-secondary.btn-secondary:focus-visible,
.un-exp__card:hover .btn-secondary.btn-secondary.btn-secondary,
.un-exp__card:focus-visible .btn-secondary.btn-secondary.btn-secondary {
  background: var(--btn-gold) !important;
  border-color: var(--btn-gold) !important;
  color: var(--btn-text) !important;
}
/* gold text on the pale ivory page needs the darker gold to stay readable */
html body .btn-secondary.btn-secondary.btn-secondary:not(:hover):not(:focus-visible) { color: var(--btn-sec-text, var(--btn-gold-dark)) !important; }
/* on dark photos / dark bands the lighter gold reads better */
.um-rewards, .uc-hero, .un-hero, .about-hero, .at-hero, .sa-cta, .sc-cta, .rm-cta, .um-cta, .wd-hero, .ev-hero, .un-m__auth { --btn-sec-text: var(--theme-accent-soft, #D9BE8C); }
[class*="-hero"], [class*="hero__"], [class*="-hero "], .rm-hchip, .gl-hchip { --btn-sec-text: var(--theme-accent-soft, #D9BE8C); }
.un-header--hero:not(.is-solid) { --btn-sec-text: var(--theme-accent-soft, #D9BE8C); }
.un-header--hero.is-solid { --btn-sec-text: var(--btn-gold-dark); }

/* ---------- C. Text link: gold text + arrow; hover the arrow slides right ---------- */
html body .btn-link.btn-link.btn-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 2px 0 !important;
  margin: 0;
  min-height: 0;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--btn-gold-dark) !important;
}
.btn-link::before { display: none !important; content: none !important; }
html body .btn-link.btn-link.btn-link::after {
  content: "\2192" !important;
  display: inline-block !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  background: none !important;
  transform: none;
  transition: transform .25s ease !important;
}
html body .btn-link.btn-link.btn-link:hover,
html body .btn-link.btn-link.btn-link:focus-visible {
  background: none !important;
  color: var(--btn-gold) !important;
  gap: 8px !important;
}
html body .btn-link.btn-link.btn-link:hover::after,
html body .btn-link.btn-link.btn-link:focus-visible::after { transform: translateX(5px); }
/* links on dark photos / overlays use the lighter gold */
.gl-card__overlay .btn-link.btn-link.btn-link,
.gl-lightbox .btn-link.btn-link.btn-link { color: var(--theme-accent-soft, #D9BE8C) !important; }

/* ---------- keyboard focus + disabled ---------- */
.btn-primary:focus-visible, .btn-secondary:focus-visible, .btn-link:focus-visible { outline: 2px solid var(--btn-gold); outline-offset: 3px; }
.btn-primary[disabled], .btn-secondary[disabled], .btn-primary.is-disabled { opacity: .55; cursor: not-allowed; }

/* ---------- mobile / tablet ---------- */
@media (max-width: 575px) {
  html body .btn-primary.btn-primary.btn-primary,
  html body .btn-secondary.btn-secondary.btn-secondary { padding: 11px 20px !important; max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html body .btn-primary.btn-primary.btn-primary,
  html body .btn-secondary.btn-secondary.btn-secondary,
  html body .btn-link.btn-link.btn-link,
  html body .btn-link.btn-link.btn-link::after { transition: none !important; }
}
