/* ========================
   Global Reset (lightweight)
   ======================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-size: var(--body-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}


/* ========================
   Typography
   ======================== */

h1 {
  font-size: var(--heading-xl);
  line-height: 1.1;
  margin: 0 0 0.5em;
}

h2 {
  font-size: var(--heading-lg);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h3 {
  font-size: var(--heading-md);
  margin: 0 0 0.5em;
}

h4 {
  font-size: var(--heading-sm);
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

.hero-title h1 {
  font-size: var(--heading-xxl);
  line-height: 1.05;
}

.smaller-h2 h2 {
    font-size: var(--heading-md);
    margin: 0 0 0.5em;
}

.larger-h2 h2 {
  font-size: var(--heading-xl);
}
/* ========================å
   Layout
   ======================== */

.crosby-container {
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

section {
  padding-top: var(--section-spacing);
  padding-bottom: var(--section-spacing);
}


/* ========================
   Media
   ======================== */

img {
  max-width: 100%;
  height: auto;
  display: block;
}


/* ========================
   Buttons (very light base)
   ======================== */

button,
.button {
  border: none;
  border-radius: var(--radius-md);
  padding: 0.6em 1.2em;
  cursor: pointer;
}

/* 1. Default red button (no extra class needed) */
.elementor-button {
  background: #c02033;
  color: #fff;
  border: 1px solid #c02033;
  border-radius: 4px;
}

/* 2. Ghost white */
.btn-ghost-white .elementor-button {
  background: transparent !important;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 4px;
}

/* 3. Outlined red */
.btn-outline-red .elementor-button {
  background: transparent !important;
  color: #c02033;
  border: 1px solid #c02033;
  border-radius: 4px;
}

.btn-outline-red .elementor-button svg {
 fill: #c02033
}

/* 4. Navy */
.btn-navy .elementor-button {
  background: #1D2859 !important;
  color: #fff;
  border: 1px solid #1D2859;
  border-radius: 4px;
}

/* Shared transition */
.elementor-button  {
    transition: all 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);

}
a.elementor-button:active, button.wpforms-submit:active  {
  transform: translateY(1px) !important;
  box-shadow: none !important;
  transition: all 0.05s ease !important;
}
/* 1. Default red — darkens + slight lift */
.elementor-button:hover {
  background: #a01b2b;
  border-color: #a01b2b;
  box-shadow: 0 4px 12px rgba(192, 32, 51, 0.3);
  transform: translateY(-1px);
}

/* 2. Ghost white — fills white, text goes dark */
.btn-ghost-white .elementor-button:hover {
  background: #fff !important;
  color: #1D2859;
}
.btn-ghost-white .elementor-button:hover svg {
  fill: #1D2859;
}

/* 3. Outlined red — fills red, text goes white */
.btn-outline-red .elementor-button:hover {
  background: #c02033 !important;
  color: #fff;
  border-color: #c02033;
}
.btn-outline-red .elementor-button:hover svg {
  fill: #fff;
}

/* 4. Navy — lightens + slight lift */
.btn-navy .elementor-button:hover {
  background: #2a3a75 !important;
  border-color: #2a3a75;
  box-shadow: 0 4px 12px rgba(29, 40, 89, 0.3);
}

/* Arrow transition */
.elementor-button svg {
  transition: transform 0.25s ease;
}
.elementor-button:hover svg  {
  transform: translateX(4px);
}
/* ========================
   Helpers
   ======================== */

.remove-margin-bottom p:nth-last-child(1) {
    margin-bottom: 0 !important;
}

.red-text {
  color: #c02033;
}

blockquote {
  padding-left: 30px;
  border-left: solid #B91D2A 4px;
  margin-left: 30px;
  font-style: italic;
}

.elementor-post-navigation .elementor-post-navigation__link a {
  padding-top: 40px;
  padding-bottom: 40px;
}

/* ========================
   Hide Elementor + theme fallback headers — we use our own
   ======================== */
.elementor-location-header,
.site-header,
header.site-header,
#site-header {
  display: none !important;
}

/* ========================
   CUSTOM HEADER
   ======================== */
.crosby-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.crosby-header__inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 14px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.crosby-header__logo {
  flex: 0 0 auto;
  display: block;
  line-height: 0;
  transition: opacity 0.4s ease;
}
.crosby-header__logo:hover {
  opacity: 0.7;
}
.crosby-header__logo img {
  height: 100px;
  width: auto;
  transition: height 0.4s ease;
}
.crosby-header.header-scrolled .crosby-header__logo img {
  height: 50px;
}
.crosby-header__logo .logo-dark { display: none; }
.crosby-header__logo .logo-light { display: block; }

.crosby-header.header-scrolled .logo-dark { display: block; }
.crosby-header.header-scrolled .logo-light { display: none; }

/* Frosted glass on scroll */
.crosby-header.header-scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

/* Desktop nav — pushed right, close to donate */
.crosby-header__nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
  margin-right: 24px;
}

.crosby-header__link {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}
.crosby-header__link svg { transition: transform 0.2s ease; }
.crosby-header__link:hover { color: #c02033; }
.crosby-header__link:hover svg { transform: translateY(2px); }

/* Dark nav on scroll */
.crosby-header.header-scrolled .crosby-header__link {
  color: #1D2859;
}
.crosby-header.header-scrolled .crosby-header__link:hover {
  color: #c02033;
}

/* Donate button */
.crosby-header__donate {
  background: #c02033;
  color: #fff;
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 14px;
  margin-right: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.crosby-header__donate:hover {
  background: #a01b2b;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(192, 32, 51, 0.3);
}

/* Bitcoin button */
.crosby-header__bitcoin {
  background: #D4A017;
  color: #111111;
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.crosby-header__bitcoin:hover {
  background: #b8890f;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 160, 23, 0.3);
}

/* Hamburger — hidden on desktop */
.crosby-header__toggle {
  display: none;
  position: relative;
  width: 28px;
  height: 20px;
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
  padding: 0 !important;
  z-index: 999999;
  -webkit-appearance: none;
  appearance: none;
}
.crosby-header__toggle span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.crosby-header__toggle span:nth-child(1) { top: 0; }
.crosby-header__toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.crosby-header__toggle span:nth-child(3) { bottom: 0; }

/* Dark hamburger on scroll */
.crosby-header.header-scrolled .crosby-header__toggle span {
  background: #1D2859;
}

/* X animation */
.crosby-header__toggle.is-active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  background: #fff;
}
.crosby-header__toggle.is-active span:nth-child(2) {
  opacity: 0;
  transform: translateY(-50%) scaleX(0);
}
.crosby-header__toggle.is-active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
  background: #fff;
}

/* ========================
   MOBILE MENU — Full screen, dark navy
   ======================== */
.crosby-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #1D2859;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 50px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.crosby-mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.crosby-mobile-menu__items {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.crosby-mobile-menu__link {
  color: #fff;
  font-family: "American Captain", sans-serif;
  font-size: 32px;
  font-weight: 400;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s ease;
  letter-spacing: 0.02em;
}
.crosby-mobile-menu__link:hover {
  color: rgba(255, 255, 255, 0.7);
}
.crosby-mobile-menu__link svg {
  color: rgba(255, 255, 255, 0.5);
}

.crosby-mobile-menu__cta {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.crosby-mobile-menu__btn {
  display: block;
  text-align: center;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 6px;
}
.crosby-mobile-menu__btn--red {
  background: #c02033;
  color: #fff;
}
.crosby-mobile-menu__btn--gold {
  background: #D4A017;
  color: #fff;
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 1024px) {
  .crosby-header__nav { display: none; }
  .crosby-header__donate { display: none; }
  .crosby-header__bitcoin { display: none; }
  .crosby-header__toggle { display: block; }

  .crosby-header__logo img {
    height: 45px;
  }
  .crosby-header.header-scrolled .crosby-header__logo img {
    height: 40px;
  }

  .crosby-header__logo img { height: 40px; }
}

@media (max-width: 767px) {
  .crosby-header__inner {
    padding: 12px 20px;
  }
  .crosby-mobile-menu {
    padding: 0 30px;
  }
  .crosby-mobile-menu__link {
    font-size: 24px;
  }
}

body.menu-open {
  overflow: hidden;
}

/* Admin bar offset */
.admin-bar .crosby-header {
  top: 32px;
}
@media (max-width: 782px) {
  .admin-bar .crosby-header {
    top: 46px;
  }
}