/* ==========================================================================
   HDCC — Simple, High-Converting Donation Page
   ========================================================================== */

:root {
  /* Brand Colors + Shades */
  --red: #de321f;
  --red-dark: #b82818;
  --red-light: #e85a4a;
  --red-pale: #fdf2f1;

  --blue: #282f7e;
  --blue-dark: #1a1f54;
  --blue-light: #3d47a8;
  --blue-pale: #eef0f8;

  --white: #ffffff;
  --cream: #faf9f7;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Typography */
  --font-display: 'Montserrat', -apple-system, sans-serif;
  --font-body: 'Source Sans 3', -apple-system, sans-serif;
}

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

html {
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--blue-dark);
}

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

a {
  color: inherit;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background 0.3s, padding 0.3s;
}

.site-header.scrolled {
  background: rgba(40, 47, 126, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.75rem 0;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.site-logo img {
  height: 44px;
  width: auto;
}

.site-logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

@media (max-width: 600px) {
  .site-logo-text {
    display: none;
  }
}

.header-actions .btn-primary {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(222, 50, 31, 0.4);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 3rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(40, 47, 126, 0.94) 0%,
    rgba(26, 31, 84, 0.92) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  text-align: center;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero-accent {
  color: var(--red-light);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

/* --------------------------------------------------------------------------
   Donate Box
   -------------------------------------------------------------------------- */
.donate-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.donate-amounts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}


.donate-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  padding: 1rem 1.25rem;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--red);
  transition: all 0.2s;
}

.donate-btn:hover {
  background: var(--white);
  color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(222, 50, 31, 0.35);
}

.donate-other {
  display: inline-block;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.donate-other:hover {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   ActBlue Express
   -------------------------------------------------------------------------- */
.actblue-express {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.25rem;
  line-height: 1.5;
  text-wrap: balance;
}

/* --------------------------------------------------------------------------
   Disclosure Section
   -------------------------------------------------------------------------- */
.disclosure-section {
  background: var(--gray-900);
  padding: 2rem 1.5rem;
  display: flex;
  justify-content: center;
}

.disclosure-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 0.75rem;
  max-width: 600px;
  text-align: center;
}

.disclosure-box p {
  font-size: 0.75rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.6;
  margin: 0;
  text-wrap: balance;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 2rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.footer-logo img {
  height: 36px;
  width: auto;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  max-width: 200px;
  line-height: 1.3;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  text-decoration: none;
  transition: background 0.2s;
}

.footer-social a:hover {
  background: var(--red);
}

/* --------------------------------------------------------------------------
   Utility
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--blue);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 9999;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
