/*
 * theme.css - Shared global primitives.
 * Palette values live in tokens.css.
 */

/* ===== Base Typography ===== */
body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-body);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
}

/* ===== Small shared primitives ===== */
.divider-custom {
  width: 80px;
  height: 3px;
  background-color: var(--primary);
  margin-bottom: 1.5rem;
}

.divider-light {
  background-color: var(--text-on-green);
}

/* Shared dark strip utility. */
.bg-secondary {
  background-color: var(--secondary) !important;
}
.bg-secondary.text-white { color: var(--text-on-green) !important; }
.bg-secondary.text-white small { color: var(--text-on-green) !important; }
.bg-secondary.text-white a { color: var(--text-on-green) !important; }

/* CTA sections need a stable contrast surface. */
section.bg-secondary.text-white {
  background-color: var(--secondary-strong, #1e2038) !important;
  color: var(--text-on-green) !important;
}
section.bg-secondary.text-white a,
section.bg-secondary.text-white small {
  color: var(--text-on-green) !important;
}

/* Get booked CTA. */
.get-booked-cta {
  --get-booked-bg: var(--secondary-strong, #1f223c);
  --get-booked-title: var(--text-on-green);
  --get-booked-button-bg: var(--primary);
  --get-booked-button-hover: var(--primary-hover);
  background: var(--get-booked-bg) !important;
  color: var(--get-booked-title) !important;
  padding-top: clamp(4.25rem, 7vw, 6.25rem) !important;
  padding-bottom: clamp(4.25rem, 7vw, 6.25rem) !important;
}

.get-booked-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
}

.get-booked-cta__title {
  max-width: 980px;
  margin: 0 !important;
  color: var(--get-booked-title) !important;
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 500 !important;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.get-booked-cta__button.btn {
  min-width: 156px;
  border: 0 !important;
  border-radius: 0.55rem !important;
  background: var(--get-booked-button-bg) !important;
  color: var(--text-on-green) !important;
  box-shadow: none !important;
  font-size: clamp(1.15rem, 1.2vw, 1.35rem);
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none !important;
  transition: background-color 160ms ease, transform 160ms ease;
}

.get-booked-cta__button.btn:hover,
.get-booked-cta__button.btn:focus-visible {
  background: var(--get-booked-button-hover) !important;
  color: var(--text-on-green) !important;
  transform: translateY(-1px);
}

@media (max-width: 575.98px) {
  .get-booked-cta {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }

  .get-booked-cta__button.btn {
    width: min(100%, 240px);
  }
}

/* Footer contrast guard. */
footer.bg-dark,
footer.bg-dark.text-white {
  color: var(--text-on-green) !important;
}
footer.bg-dark a,
footer.bg-dark p,
footer.bg-dark .footer-heading {
  color: var(--text-on-green) !important;
}
