/* ==========================================================================
   HayNet Marketing Site — Custom Styles
   Reproduces the Argon Design System theme on top of Bootstrap 5 CDN.
   All values sourced from the original src/assets/sass/custom/_variables.scss
   ========================================================================== */

/* ---------- BS4 Container Width Compatibility ----------
   Bootstrap 4 had no xxl breakpoint — its largest .container was 1140px (at xl ≥1200px).
   BS5 adds xxl (≥1400px) with 1320px max-width, making everything wider on large screens.
   Cap it to match the original BS4/Argon layout.                                         */
@media (min-width: 1400px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1140px;
  }
}

/* BS4 used 30px gutters everywhere; BS5 defaults to 24px.
   Override on both .container and .row so padding/margins match BS4.  */
.container, .container-fluid {
  --bs-gutter-x: 30px;
}
.row {
  --bs-gutter-x: 30px;
}
/* Restore BS5 .g-0 behavior broken by the row override above */
.row.g-0 {
  --bs-gutter-x: 0;
}

/* ---------- Brand Colors (CSS Custom Properties) ---------- */
:root {
  --hn-default: #172b4d;
  --hn-primary: #5e72e4;
  --hn-success: #16B787;
  --hn-info: #16B7B7;
  --hn-warning: #F2994A;
  --hn-danger: #EB5757;
  --hn-gold: #ffd89b;
  --hn-dark-blue: #1f3a68;
  --hn-gray-100: #f6f9fc;
  --hn-gray-200: #e9ecef;
  --hn-gray-600: #8898aa;
  --hn-gray-700: #525f7f;
  --hn-gray-800: #32325d;
  --hn-about: #1f3a68;

  /* Feature card accent colors */
  --scheduling-color: #5e72e4;
  --record-keeping-color: #3E90EF;
  --billing-color: #16B7B7;
  --equine-management-color: #16B787;
  --user-management-color: #A845F0;
  --upcoming-color: #FFC107;
  --secondary-color: #768494;

  /* Override Bootstrap 5 CSS custom properties to match Argon palette */
  --bs-primary: #5e72e4;
  --bs-success: #16B787;
  --bs-info: #16B7B7;
  --bs-warning: #F2994A;
  --bs-danger: #EB5757;
  --bs-body-color: #525f7f;
  --bs-body-bg: #f8f9fe;
  --bs-link-color: #5e72e4;
  --bs-link-hover-color: #233dd2;
  --bs-border-radius: 0.375rem;
}


/* ==========================================================================
   ARGON REBOOT — Base Overrides
   ========================================================================== */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--hn-gray-700);
  background-color: #f8f9fe;
}

main {
  overflow: hidden;
}

/* Argon paragraph: weight 300, line-height 1.7 */
p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
}

/* Argon heading defaults: weight 600, color #32325d */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-weight: 600;
  line-height: 1.5;
  color: var(--hn-gray-800);
}

/* Argon heading sizes (smaller than BS5 defaults) */
h1, .h1 { font-size: 1.625rem; }
h2, .h2 { font-size: 1.25rem; }
h3, .h3 { font-size: 1.0625rem; }
h4, .h4 { font-size: 0.9375rem; }
h5, .h5 { font-size: 0.8125rem; }
h6, .h6 { font-size: 0.625rem; }

/* Argon links */
a {
  color: var(--hn-primary);
  text-decoration: none;
}
a:hover {
  color: #233dd2;
  text-decoration: none;
}

/* Argon hr */
hr {
  border-color: rgba(0, 0, 0, 0.1);
}

/* Argon lead */
.lead {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.7;
  margin-top: 1.5rem;
}


/* ==========================================================================
   ARGON DISPLAY HEADINGS
   ========================================================================== */

.display-1 { font-size: 3.3rem; font-weight: 600; line-height: 1.5; }
.display-2 { font-size: 2.75rem; font-weight: 600; line-height: 1.5; }
.display-3 { font-size: 2.1875rem; font-weight: 600; line-height: 1.5; }
.display-4 { font-size: 1.6275rem; font-weight: 600; line-height: 1.5; }

.display-1 span, .display-2 span, .display-3 span, .display-4 span {
  display: block;
  font-weight: 300;
}

@media (max-width: 768px) {
  .display-2 { font-size: 2rem; }
  .display-3 { font-size: 1.75rem; }
}


/* ==========================================================================
   ARGON FONT WEIGHT & TEXT UTILITIES
   ========================================================================== */

/* Argon bold = 600 (not BS5's 700) */
.fw-bold, .font-weight-bold, b, strong { font-weight: 600 !important; }
.fw-normal, .font-weight-normal { font-weight: 400 !important; }
.fw-light, .font-weight-light { font-weight: 300 !important; }
.fw-semibold { font-weight: 600 !important; }

.font-weight-300 { font-weight: 300 !important; }
.font-weight-400 { font-weight: 400 !important; }
.font-weight-500 { font-weight: 500 !important; }
.font-weight-600 { font-weight: 600 !important; }
.font-weight-700 { font-weight: 700 !important; }
.font-weight-800 { font-weight: 800 !important; }
.font-weight-900 { font-weight: 900 !important; }

.text-underline { text-decoration: underline; }
.text-through { text-decoration: line-through; color: var(--hn-gray-600); }

.text-xs { font-size: .75rem !important; }
.text-sm { font-size: .875rem !important; }
.text-lg { font-size: 1.25rem !important; }
.text-xl { font-size: 1.5rem !important; }

.ls-1 { letter-spacing: .0625rem; }
.ls-15 { letter-spacing: .09375rem; }
.ls-2 { letter-spacing: 0.125rem; }

.lh-100 { line-height: 1; }
.lh-110 { line-height: 1.1; }
.lh-120 { line-height: 1.2; }
.lh-130 { line-height: 1.3; }
.lh-140 { line-height: 1.4; }
.lh-150 { line-height: 1.5; }
.lh-160 { line-height: 1.6; }
.lh-170 { line-height: 1.7; }
.lh-180 { line-height: 1.8; }

.opacity-9 { opacity: 0.9; }

.heading-title {
  letter-spacing: 0.025em;
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--hn-about);
}


/* ==========================================================================
   ARGON COLOR OVERRIDES
   ========================================================================== */

/* Theme colors — override BS5 defaults */
.text-primary { color: var(--hn-primary) !important; }
.text-success { color: var(--hn-success) !important; }
.text-info { color: var(--hn-info) !important; }
.text-warning { color: var(--hn-warning) !important; }
.text-danger { color: var(--hn-danger) !important; }
.text-default { color: var(--hn-default) !important; }
.text-muted { color: var(--hn-gray-600) !important; }

/* Background overrides */
.bg-gradient-success {
  background: linear-gradient(87deg, #16B787 0, #16A4B7 100%) !important;
}
.bg-gradient-primary {
  background: linear-gradient(87deg, var(--hn-primary) 0, #825ee4 100%) !important;
}
.bg-default {
  background-color: var(--hn-default) !important;
}
.bg-success {
  background-color: var(--hn-success) !important;
}

/* Fill utilities */
.fill-default { fill: var(--hn-default); }
.fill-primary { fill: var(--hn-primary); }
.fill-success { fill: var(--hn-success); }


/* ==========================================================================
   ARGON CARDS
   ========================================================================== */

/* Argon cards: shadow by default, no border, white bg */
.card {
  margin-bottom: 30px;
  box-shadow: 0 0 2rem 0 rgba(136, 152, 170, 0.15);
  border: 0;
  background-color: #fff;
}

.card.shadow {
  border: 0 !important;
}

.shadow {
  box-shadow: 0 0 2rem 0 rgba(136, 152, 170, 0.15) !important;
}

.shadow-sm {
  box-shadow: 0 0 .5rem rgba(136, 152, 170, 0.075) !important;
}

.shadow-lg {
  box-shadow: 0 0 3rem rgba(136, 152, 170, 0.175) !important;
}


/* ==========================================================================
   ARGON CARD PRICING
   ========================================================================== */

.card-pricing {
  border: none !important;
}
.card-pricing .card-header {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: none;
}
.card-pricing .list-unstyled li {
  padding: .5rem 0;
  color: var(--hn-gray-600);
}


/* ==========================================================================
   ARGON BUTTONS
   ========================================================================== */

.btn {
  position: relative;
  text-transform: none;
  transition: all 0.15s ease;
  letter-spacing: 0.025em;
  font-size: 0.875rem;
  will-change: transform;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
}

.btn:hover {
  box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.btn-primary {
  background-color: var(--hn-primary) !important;
  border-color: var(--hn-primary) !important;
  color: #fff;
}
.btn-primary:hover {
  background-color: #4a5ed4 !important;
  border-color: #4a5ed4 !important;
  color: #fff;
}

.btn-success {
  background-color: var(--hn-success) !important;
  border-color: var(--hn-success) !important;
}

.btn-lg {
  font-size: 0.875rem;
  padding: 0.875rem 1rem;
}


/* ==========================================================================
   ARGON BADGES
   ========================================================================== */

.badge.bg-success {
  background-color: var(--hn-success) !important;
}


/* ==========================================================================
   ARGON SEPARATOR (SVG Wave Dividers)
   ========================================================================== */

.separator {
  position: absolute;
  top: auto;
  left: 0;
  right: 0;
  width: 100%;
  height: 150px;
  transform: translateZ(0);
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.separator svg {
  position: absolute;
  pointer-events: none;
}

.separator-top {
  top: 0;
  bottom: auto;
}
.separator-top svg {
  top: 0;
}

.separator-bottom {
  top: auto;
  bottom: 0;
}
.separator-bottom svg {
  bottom: 0;
}

.separator-skew {
  height: 60px;
}

@media (min-width: 1200px) {
  .separator-skew { height: 70px; }
}

.zindex-100 {
  z-index: 100 !important;
}


/* ==========================================================================
   ARGON NAVBAR
   ========================================================================== */

.navbar-custom {
  transition: background-color 0.3s ease;
  background-color: transparent !important;
  padding: 0.75rem 1rem;
}

.navbar-custom.scrolled {
  background-color: var(--hn-success) !important;
}

.navbar-custom .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 400;
  font-size: 1rem;
  padding: 4px 16px !important;
  text-transform: normal;
  letter-spacing: 0;
}

.navbar-custom .nav-link:hover {
  color: #fff !important;
}

@media (min-width: 992px) {
  .navbar-custom .nav-link {
    border-radius: 0.375rem;
  }
}

/* Mobile collapse styling */
@media (max-width: 991.98px) {
  .navbar-custom .navbar-collapse.collapsing,
  .navbar-custom .navbar-collapse.show {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .navbar-custom .navbar-collapse .nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
    padding: 4px 0;
  }
}


/* ==========================================================================
   HERO / BRAND SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

.parallax {
  background: linear-gradient(to top, #1f3a68ba, #5FA4B2ba, #16B787cc), url('../img/rubik_background.jpg');
  min-height: 500px;
  height: 100vh;
  width: 100%;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

@supports (-webkit-touch-callout: none) {
  .parallax { background-attachment: scroll; }
  .marketing_parallax { background-attachment: scroll; }
  .ride_parallax { background-attachment: scroll; }
}

.brand-header {
  height: 100vh;
  width: 100%;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.header-logo-icon {
  width: 70%;
  max-width: 500px;
  min-width: 250px;
  height: auto;
}


/* ==========================================================================
   MARKETING PARALLAX (3-column section)
   ========================================================================== */

.marketing_parallax {
  background: linear-gradient(to top, #1f3a68cc, #1f3a68e6), url('../img/reining_horse.jpeg');
  width: 100%;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
}


/* ==========================================================================
   RIDE MORE PARALLAX
   ========================================================================== */

.ride_parallax {
  background: linear-gradient(to top, #1f3a68f2, #1f3a68e6, #1f3a68e6, #16B787e6), url('../img/remy_pin_oak_23_2.jpg');
  min-height: 600px;
  width: 100%;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
}

.ride_background {
  height: 400px;
  width: 100%;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}


/* ==========================================================================
   ARGON FEATURE CARDS
   ========================================================================== */

.feature-card {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.feature-card-upcoming {
  background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
  border-color: #ffeaa7;
}

.feature-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.feature-list li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  color: var(--hn-gray-700);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
}

.feature-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--hn-success);
  font-weight: bold;
  font-size: 16px;
}

.feature-card-upcoming .feature-list li::before {
  content: "\23F1";
}


/* ==========================================================================
   ARGON ICONS
   ========================================================================== */

.icon {
  width: 3rem;
  height: 3rem;
}

.icon i, .icon svg {
  font-size: 2.25rem;
}

.icon-xl { width: 5rem; height: 5rem; }
.icon-lg { width: 4rem; height: 4rem; }

.icon-sm {
  width: 2rem;
  height: 2rem;
}
.icon-sm i, .icon-sm svg {
  font-size: 1.25rem;
}

.icon-xs {
  width: 1.25rem;
  height: 1.25rem;
}

.icon-shape {
  padding: 12px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.icon-shape i, .icon-shape svg {
  font-size: 1.25rem;
}

.icon-shape.icon-sm i, .icon-shape.icon-sm svg {
  font-size: 0.875rem;
}


/* ==========================================================================
   ARGON ABOUT SECTION
   ========================================================================== */

.text-about {
  font-size: 18px;
  font-weight: 500;
  color: var(--hn-about);
  line-height: 1.5;
  margin-bottom: 0;
  padding: 0 15px;
}

h2.title {
  color: var(--hn-about);
}

.avatar-icon {
  width: 100%;
  max-height: 200px;
  height: auto;
  max-width: 200px;
}

/* Argon header-body */
.header-body {
  position: relative;
}


/* ==========================================================================
   ARGON FOOTER
   ========================================================================== */

.nav-footer .nav-link {
  font-size: 0.875rem;
  color: var(--hn-gray-700);
  padding: 0.25rem 0 0.25rem 0.75rem;
}

.nav-footer .nav-link:hover {
  color: var(--hn-primary);
}

.nav-footer .nav-item:last-child .nav-link {
  padding-right: 0;
}

footer .copyright {
  font-size: 0.875rem;
}

footer a {
  color: var(--hn-gray-600);
}
footer a:hover {
  color: var(--hn-primary);
}


/* ==========================================================================
   ARGON SPACING UTILITIES
   ========================================================================== */

/* Argon spacer scale: 6=4.5rem 7=6rem 8=8rem 9=10rem */
.py-6 { padding-top: 4.5rem !important; padding-bottom: 4.5rem !important; }
.py-7 { padding-top: 6rem !important; padding-bottom: 6rem !important; }
.py-8 { padding-top: 8rem !important; padding-bottom: 8rem !important; }
.py-9 { padding-top: 10rem !important; padding-bottom: 10rem !important; }

.pt-6 { padding-top: 4.5rem !important; }
.pt-7 { padding-top: 6rem !important; }
.pt-8 { padding-top: 8rem !important; }
.pt-9 { padding-top: 10rem !important; }

.pb-6 { padding-bottom: 4.5rem !important; }
.pb-7 { padding-bottom: 6rem !important; }
.pb-8 { padding-bottom: 8rem !important; }
.pb-9 { padding-bottom: 10rem !important; }

.px-6 { padding-left: 4.5rem !important; padding-right: 4.5rem !important; }
.px-7 { padding-left: 6rem !important; padding-right: 6rem !important; }

.mt-6 { margin-top: 4.5rem !important; }
.mt-7 { margin-top: 6rem !important; }
.mb-6 { margin-bottom: 4.5rem !important; }
.mb-7 { margin-bottom: 6rem !important; }

/* Negative margins */
.mt--3 { margin-top: -1rem !important; }
.mt--4 { margin-top: -1.5rem !important; }
.mt--5 { margin-top: -3rem !important; }
.mt--6 { margin-top: -4.5rem !important; }
.mt--7 { margin-top: -6rem !important; }
.mt--8 { margin-top: -8rem !important; }
.mt--9 { margin-top: -10rem !important; }

/* Responsive spacing */
@media (min-width: 992px) {
  .py-lg-8 { padding-top: 8rem !important; padding-bottom: 8rem !important; }
  .pt-lg-9 { padding-top: 10rem !important; }
  .px-lg-7 { padding-left: 6rem !important; padding-right: 6rem !important; }
}


/* ==========================================================================
   MISC UTILITIES
   ========================================================================== */

.img-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
