/* Moneyra Investments LLC brand overrides for the Agency template */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../vendor/fonts/montserrat/Montserrat-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../vendor/fonts/montserrat/Montserrat-Bold.woff2") format("woff2");
}

:root {
  --brand-navy: #1b2a41;
  --brand-navy-deep: #0f1c2e;
  --brand-navy-mid: #243b55;
  --brand-accent: #3d5a80;
  --brand-neutral: #e8eef4;
  --brand-muted: #4a5a70;
  --brand-ink: #1a1f2b;
  --brand-white: #ffffff;
  --bs-primary: var(--brand-navy);
  --bs-primary-rgb: 27, 42, 65;
  --bs-link-color: var(--brand-accent);
  --bs-link-hover-color: var(--brand-navy);
}

body {
  color: var(--brand-ink);
  font-family: "Montserrat", "Segoe UI", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.masthead-heading,
.masthead-subheading,
.section-heading,
.btn {
  font-family: "Montserrat", "Segoe UI", sans-serif;
}

.text-primary {
  color: var(--brand-navy) !important;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--brand-navy);
  --bs-btn-border-color: var(--brand-navy);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--brand-navy-mid);
  --bs-btn-hover-border-color: var(--brand-navy-mid);
  --bs-btn-focus-shadow-rgb: 27, 42, 65;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--brand-navy-deep);
  --bs-btn-active-border-color: var(--brand-navy-deep);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--brand-navy);
  --bs-btn-disabled-border-color: var(--brand-navy);
}

#mainNav {
  background-color: transparent;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

#mainNav .navbar-brand {
  color: var(--brand-white);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.15rem;
}

#mainNav .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

#mainNav .navbar-nav .nav-link:hover,
#mainNav .navbar-nav .nav-link.active {
  color: var(--brand-white);
}

#mainNav.navbar-shrink {
  background-color: var(--brand-navy-deep);
}

#mainNav .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--brand-white);
}

header.masthead {
  position: relative;
  background: none;
  background-image: none !important;
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  color: var(--brand-white);
}

header.masthead .masthead-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

header.masthead .masthead-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(15, 28, 46, 0.72) 0%,
      rgba(27, 42, 65, 0.78) 45%,
      rgba(15, 28, 46, 0.88) 100%
    );
}

header.masthead .masthead-content {
  position: relative;
  z-index: 2;
  padding-top: 10rem;
  padding-bottom: 6rem;
}

header.masthead .masthead-heading {
  font-size: clamp(1.75rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin-top: 0;
  margin-bottom: 1rem;
}

header.masthead .masthead-subheading {
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  font-weight: 400;
  font-style: normal;
  margin-bottom: 2rem;
  color: var(--brand-neutral);
}

.section-heading {
  color: var(--brand-navy);
}

#what-we-do .section-heading {
  margin-bottom: 3rem;
}

.section-subheading {
  color: var(--brand-muted) !important;
  font-style: normal;
  text-transform: none;
  font-weight: 400;
}

.about-lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--brand-ink);
}

.about-photo {
  width: 100%;
  height: auto;
  display: block;
}

.service-card {
  padding: 1.75rem 1.25rem;
  background: var(--brand-white);
  border: 1px solid rgba(27, 42, 65, 0.08);
}

.service-card .fa-stack {
  margin-bottom: 0.25rem;
}

.neighborhood-band {
  position: relative;
  height: clamp(12rem, 32vw, 22rem);
  overflow: hidden;
}

.neighborhood-band .neighborhood-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.neighborhood-band .neighborhood-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 28, 46, 0.35),
    rgba(27, 42, 65, 0.2),
    rgba(15, 28, 46, 0.35)
  );
}

section#contact {
  background-color: var(--brand-white);
  background-image: none;
}

section#contact .section-heading {
  color: var(--brand-navy);
}

section#contact .section-subheading {
  color: var(--brand-muted) !important;
}

.contact-block {
  color: var(--brand-ink);
}

.contact-block a:not(.btn) {
  color: var(--brand-accent);
  font-weight: 600;
  text-decoration: none;
}

.contact-block a:not(.btn):hover {
  color: var(--brand-navy);
  text-decoration: underline;
}

.contact-block a.btn-primary {
  color: #fff;
}

.contact-block a.btn-primary:hover,
.contact-block a.btn-primary:focus {
  color: #fff;
  background-color: var(--brand-navy-deep);
  border-color: var(--brand-navy-deep);
}

.footer {
  background-color: var(--brand-neutral);
}

@media (max-width: 991.98px) {
  #mainNav {
    background-color: var(--brand-navy-deep);
  }

  header.masthead .masthead-content {
    padding-top: 8rem;
    padding-bottom: 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
