/* Brand Colours */
:root {
  --colour-maroon: rgb(138, 36, 50);
  --colour-maroon-dark: rgb(87, 23, 31);
  --colour-grey-light: rgb(202, 200, 200);
  --colour-grey: rgb(79, 80, 87);
  --colour-grey-dark: rgb(59, 60, 67);
  --colour-black: rgba(18, 18, 18, 1);
  --colour-pink: rgb(231, 31, 88);
  --colour-green: rgb(0, 157, 125);
  --colour-blue: rgb(0, 110, 164);
  --colour-orange: rgb(232, 99, 53);
  --colour-purple: rgb(123, 71, 149);
  --colour-yellow: rgb(249, 194, 10);
  --colour-cream: rgb(254, 246, 243);
  --colour-lavender: rgb(243, 238, 245);
  --colour-blush: rgb(255, 241, 245);
  --colour-beige: rgb(251, 230, 223);
}

/* Override browser default selection and link highlight colors */
::selection {
  background-color: var(--colour-blue);
  color: white;
}

::-moz-selection {
  background-color: var(--colour-blue);
  color: white;
}

/* Override default link active/visited/focus colors */
a:active {
  color: inherit !important;
}

a:focus {
  color: var(--colour-yellow) !important;
}

a:visited {
  color: white !important;
}

/* Override tap highlight color on mobile */
* {
  -webkit-tap-highlight-color: var(--colour-blue);
  -webkit-tap-highlight-color: var(--colour-blue);
}

/* Brand Fonts */
@font-face {
  font-family: "Franklin Gothic ATF";
  src: url("https://assets-cdn.sums.su/NH/1web-assets/global-assets/fonts/franklin-gothic-atf-regular.ttf")
    format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Franklin Gothic ATF";
  src: url("https://assets-cdn.sums.su/NH/1web-assets/global-assets/fonts/franklin-gothic-atf-bold.ttf")
    format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Rockwell";
  src: url("https://assets-cdn.sums.su/NH/1web-assets/global-assets/fonts/Rockwell-Regular.ttf")
    format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Rockwell";
  src: url("https://assets-cdn.sums.su/NH/1web-assets/global-assets/fonts/Rockwell-Bold.ttf")
    format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Rockwell";
  src: url("https://assets-cdn.sums.su/NH/1web-assets/global-assets/fonts/Rockwell-Italic.ttf")
    format("truetype");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "Rockwell";
  src: url("https://assets-cdn.sums.su/NH/1web-assets/global-assets/fonts/Rockwell-BoldItalic.ttf")
    format("truetype");
  font-weight: bold;
  font-style: italic;
}

* {
  padding: 0;
  margin: 0;
  /* box-shadow: 0 0 1px rgba(38, 247, 253, 1); */
}

html {
  overflow-x: hidden;
}

html,
html * {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

html::-webkit-scrollbar,
html *::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera*/
}

/* Typography */
body {
  font-family: "Rockwell", serif;
  font-size: 20px;
  line-height: 1;
  color: var(--colour-grey-dark);
  background-color: var(--colour-maroon);
  padding-top: 190px; /* Account for fixed header height */
  overflow-x: hidden;
  max-width: 100vw;
}

/* Responsive body padding adjustments */
@media (max-width: 768px) {
  /* Adjust body padding for mobile header */
  body {
    padding-top: 96px; /* Mobile header height */
  }

  /* Prevent body scroll when mobile menu is open */
  body.mobile-menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: "Franklin Gothic ATF", sans-serif;
  font-weight: bold;
  color: var(--colour-black);
}

h1,
h1 span {
  font-size: 70px;
  margin-bottom: 5px;
}

h2 {
  font-size: 38.4px;
  text-transform: uppercase;
  line-height: 1;
  align-self: center;
  transform: translateY(4px);
}

h3 {
  font-size: 24.6px;
  line-height: 1.25;
}

h4 {
  font-size: 18px;
  line-height: 1.25;
}

h5 {
  font-size: 15px;
  line-height: 1.5;
  text-transform: uppercase;
}

a {
  color: white;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent; /* iOS Safari */
  tap-highlight-color: transparent; /* Other browsers */
}

a:hover {
  color: inherit !important;
}

button {
  -webkit-tap-highlight-color: transparent; /* iOS Safari */
  tap-highlight-color: transparent; /* Other browsers */
}

/* Disables selector ring */
body:not(.user-is-tabbing) *:focus {
  outline: none;
}

body.user-is-tabbing *:focus {
  color: var(--colour-yellow) !important;
  outline: 2px dotted var(--colour-yellow) !important;
}

/* Global Styles */
.container-fluid {
  padding: 0;
}

.section-padding {
  padding: 80px 0;
}

.btn {
  display: inline-flex;
  padding: 16px 24px;
  height: 48px;
  max-height: 48px;
  border: none;
  border-radius: 6px;
  gap: 10px;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}

/* Override Bootstrap's focus styles - but preserve tab navigation outline */
body:not(.user-is-tabbing) .btn:focus,
body:not(.user-is-tabbing) .btn:focus-visible {
  outline: none !important;
  box-shadow: 0 0 2px white !important;
}

/* Override Bootstrap's active styles - but preserve tab navigation outline */
body:not(.user-is-tabbing) .btn:active,
body:not(.user-is-tabbing) .btn.active {
  outline: none !important;
  box-shadow: inherit !important;
  transform: none !important;
}

/* Override Bootstrap's hover interference */
.btn:hover {
  transform: none !important;
}

.btn > * {
  margin: 0;
  align-self: center;
}

.btn i,
.btn .icon {
  opacity: 50%;
}

.btn[aria-disabled="true"],
.btn.disabled {
  cursor: not-allowed;
  background-color: var(--colour-grey-light) !important;
  border-color: var(--colour-grey-light) !important;
  color: var(--colour-grey-dark) !important;
}

.btn[aria-disabled="true"] i,
.btn.disabled i,
.btn[aria-disabled="true"] .icon,
.btn.disabled .icon {
  opacity: 0.5 !important;
}

.btn[aria-disabled="true"]:hover,
.btn.disabled:hover {
  background-color: var(--colour-grey-light) !important;
  border-color: var(--colour-grey-light) !important;
  color: var(--colour-grey-dark) !important;
}

.btn-primary {
  font-family: "Rockwell", serif;
  font-weight: normal;
  background-color: var(--colour-maroon);
  border-color: var(--colour-maroon);
  font-size: 18px;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 1);
}

.btn-primary:hover {
  background-color: var(--colour-maroon-dark) !important;
  border-color: var(--colour-maroon-dark) !important;
}

.btn-primary:active,
.btn-primary.active {
  background: var(--colour-maroon-dark) !important;
  background-color: var(--colour-maroon-dark) !important;
  border-color: var(--colour-maroon-dark) !important;
  color: rgba(255, 255, 255, 1) !important;
}

.btn-primary:focus,
.btn-primary:focus-visible {
  background: var(--colour-maroon-dark) !important;
  background-color: var(--colour-maroon-dark) !important;
  color: rgba(255, 255, 255, 1) !important;
}

.btn-secondary {
  font-family: "Franklin Gothic ATF", sans-serif;
  font-weight: bold;
  background-color: var(--colour-maroon-dark);
  border-color: var(--colour-maroon-dark);
  color: rgba(255, 255, 255, 1);
  transition: color 0.3s ease;
  font-size: 14px;
}

.btn-secondary:hover {
  background-color: var(--colour-maroon-dark) !important;
  border-color: var(--colour-maroon-dark) !important;
  color: rgba(255, 255, 255, 0.6) !important;
}

.btn-secondary:active,
.btn-secondary.active {
  background-color: var(--colour-maroon-dark) !important;
  border-color: var(--colour-maroon-dark) !important;
  background: var(--colour-maroon-dark) !important;
  color: rgba(255, 255, 255, 0.6) !important;
}

.btn-secondary:focus,
.btn-secondary:focus-visible {
  background-color: var(--colour-maroon-dark) !important;
  background: var(--colour-maroon-dark) !important;
  color: rgba(255, 255, 255, 0.6) !important;
}

.btn-dark {
  font-family: "Rockwell", serif;
  font-weight: normal;
  background-color: var(--colour-grey-dark);
  border-color: var(--colour-grey-dark);
  font-size: 18px;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 1);
}

.btn-dark:hover {
  background-color: var(--colour-grey) !important;
  border-color: var(--colour-grey) !important;
}

.btn-dark:active,
.btn-dark.active {
  background: var(--colour-grey) !important;
  background-color: var(--colour-grey) !important;
  border-color: var(--colour-grey) !important;
  color: rgba(255, 255, 255, 1) !important;
}

.btn-dark:focus,
.btn-dark:focus-visible {
  background: var(--colour-grey) !important;
  background-color: var(--colour-grey) !important;
  color: rgba(255, 255, 255, 1) !important;
}

.btn-dark i,
.btn-dark .icon {
  opacity: 100%;
}

.btn-outline {
  border: 1px solid var(--colour-grey-light);
  background: none;
  color: var(--colour-grey-dark);
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-outline:hover {
  background: var(--colour-grey-light) !important;
}

.btn-outline:focus,
.btn-outline:focus-visible {
  color: var(--colour-grey-dark) !important;
}

.btn-ghost {
  background: none;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 12px 16px;
  cursor: pointer;
}

.btn-ghost:hover {
  background: color-mix(
    in srgb,
    var(--colour-maroon) 10%,
    transparent
  ) !important;
  transition: background 0.3s ease;
}

.btn-ghost:hover span {
  text-decoration: underline;
}

.btn-ghost:focus,
.btn-ghost:focus-visible {
  background: color-mix(
    in srgb,
    var(--colour-maroon) 10%,
    transparent
  ) !important;
  transition: background 0.3s ease;
}

.btn-ghost:focus span,
.btn-ghost:focus-visible span {
  text-decoration: underline;
}

.text-primary {
  color: var(--colour-dark-grey) !important;
}

.text-secondary {
  color: white !important;
}

.bg-primary {
  background-color: white !important;
}

.bg-secondary {
  background-color: var(--colour-maroon) !important;
}

/* Utility Classes */
.text-brand-maroon {
  color: var(--colour-maroon);
}
.text-brand-pink {
  color: var(--colour-pink);
}
.text-brand-green {
  color: var(--colour-green);
}
.text-brand-blue {
  color: var(--colour-blue);
}
.text-brand-orange {
  color: var(--colour-orange);
}
.text-brand-purple {
  color: var(--colour-purple);
}
.text-brand-yellow {
  color: var(--colour-yellow);
}

.divider {
  width: 100px;
  height: 0px;
  border: 2px solid var(--colour-maroon);
  margin: 22px 0;
}

/* ===== GLOBAL RESPONSIVE STYLES ===== */

/* Fluid typography scaling for viewport widths below 1440px */
@media (max-width: 1439px) {
  /* Global heading scaling */
  h1,
  h1 span {
    font-size: clamp(40px, 7vw, 70px);
  }

  h2 {
    font-size: clamp(24px, 3.5vw, 38.4px);
  }

  h3 {
    font-size: clamp(16px, 2.2vw, 24.6px);
  }

  h4 {
    font-size: clamp(16px, 1.5vw, 18px);
  }

  /* Body text scaling */
  body {
    font-size: clamp(16px, 1.8vw, 20px);
  }
}

/* Tablet breakpoint for global elements */
@media (max-width: 768px) {
  .btn {
    height: 43px;
    max-height: 43px;
  }
}

/* Mobile breakpoint for global elements */
@media (max-width: 480px) {
  /* Additional mobile styles can be added here */
}
