/* ============================================================
   Katie Bell for Regent — Campaign Site Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --red-primary:  #B22222;
  --red-dark:     #7A0000;
  --red-light:    #d44040;
  --white:        #ffffff;
  --charcoal:     #1a1a1a;
  --gray-light:   #f5f5f5;
  --gray-mid:     #e0e0e0;
  --gray-text:    #555555;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  padding-top: 72px;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; }

a { color: var(--red-primary); text-decoration: none; }
a:hover { color: var(--red-dark); }

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar {
  border-bottom: 3px solid var(--red-primary);
}

.navbar-brand {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--charcoal) !important;
}

.navbar-brand span { color: var(--red-primary); }

.navbar .nav-link {
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 1rem !important;
  color: var(--charcoal) !important;
  transition: color 0.2s;
}

.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--red-primary) !important; }

.btn-donate-nav {
  background: var(--red-primary) !important;
  color: var(--white) !important;
  border-radius: 4px;
  padding: 0.4rem 1.2rem !important;
  transition: background 0.2s;
}

.btn-donate-nav:hover { background: var(--red-dark) !important; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-primary-red {
  background: var(--red-primary);
  color: var(--white);
  border: 2px solid var(--red-primary);
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-size: 1rem;
  transition: background 0.2s, border-color 0.2s;
  display: inline-block;
}
.btn-primary-red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
}

.btn-outline-red {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}
.btn-outline-red:hover {
  background: var(--white);
  color: var(--red-primary);
}

/* ── Section Utilities ───────────────────────────────────────── */
.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red-primary);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.section-divider {
  width: 56px;
  height: 4px;
  background: var(--red-primary);
  border-radius: 2px;
  margin-bottom: 2rem;
}
.section-divider.left { margin-left: 0; }

/* ── Hero (Home) ────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
  color: var(--white);
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 45%;
  background: linear-gradient(135deg, transparent 0%, rgba(178,34,34,0.12) 100%);
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero p.lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  max-width: 500px;
  line-height: 1.7;
}

.hero-headshot {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  border-radius: 6px;
  border: 4px solid var(--red-primary);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  display: block;
}

/* ── About / Story ───────────────────────────────────────────── */
.about-section { padding: 80px 0; background: var(--white); }

.about-section p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #333;
}

/* ── Strengths ───────────────────────────────────────────────── */
.strengths-section {
  padding: 80px 0;
  background: var(--gray-light);
}

.strength-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-top: 4px solid var(--red-primary);
  border-radius: 6px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  height: 100%;
  transition: box-shadow 0.25s, transform 0.25s;
}
.strength-card:hover {
  box-shadow: 0 10px 32px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}

.strength-icon {
  font-size: 2.2rem;
  color: var(--red-primary);
  margin-bottom: 0.9rem;
}

.strength-card h5 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--red-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}

.strength-card p {
  font-size: 0.88rem;
  color: var(--gray-text);
  line-height: 1.6;
  margin: 0;
}

/* ── Experience Strip ────────────────────────────────────────── */
.experience-section {
  padding: 60px 0;
  background: var(--white);
}

.exp-item {
  text-align: center;
  padding: 1.5rem;
}

.exp-item i {
  font-size: 2rem;
  color: var(--red-primary);
  margin-bottom: 0.75rem;
}

.exp-item h6 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.exp-item small {
  color: var(--gray-text);
  font-size: 0.82rem;
}

/* ── Page Hero (inner pages) ─────────────────────────────────── */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(178,34,34,0.1);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  position: relative;
}

.page-hero p {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  position: relative;
}

/* ── Policy Cards ────────────────────────────────────────────── */
.policy-section { padding: 80px 0; }

.policy-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-left: 6px solid var(--red-primary);
  border-radius: 4px;
  padding: 2rem 1.75rem;
  height: 100%;
  transition: box-shadow 0.2s;
}
.policy-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
}

.policy-icon {
  font-size: 2.4rem;
  color: var(--red-primary);
  margin-bottom: 1rem;
}

.policy-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--red-primary);
  margin-bottom: 0.75rem;
}

.policy-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.7;
  margin: 0;
}

/* ── Volunteer Form ───────────────────────────────────────────── */
.volunteer-section { padding: 80px 0; background: var(--gray-light); }

.form-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.form-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}

.form-control,
.form-select {
  border: 1.5px solid var(--gray-mid);
  border-radius: 4px;
  font-size: 0.95rem;
  padding: 0.6rem 0.85rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--red-primary);
  box-shadow: 0 0 0 3px rgba(178,34,34,0.15);
  outline: none;
}

.form-check-input:checked {
  background-color: var(--red-primary);
  border-color: var(--red-primary);
}
.form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(178,34,34,0.15);
}

.btn-submit {
  background: var(--red-primary);
  color: var(--white);
  border: none;
  font-weight: 700;
  padding: 0.9rem 2.5rem;
  font-size: 1rem;
  border-radius: 4px;
  width: 100%;
  letter-spacing: 0.04em;
  transition: background 0.2s;
  cursor: pointer;
}
.btn-submit:hover:not(:disabled) { background: var(--red-dark); }
.btn-submit:disabled { opacity: 0.65; cursor: not-allowed; }

#successAlert, #errorAlert { border-radius: 6px; }

/* ── Donate Page ─────────────────────────────────────────────── */
.donate-section { padding: 80px 0; }

.amount-btn {
  display: block;
  width: 100%;
  padding: 1.25rem;
  background: var(--white);
  border: 2px solid var(--gray-mid);
  border-radius: 6px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--charcoal);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.amount-btn:hover,
.amount-btn.selected {
  border-color: var(--red-primary);
  color: var(--red-primary);
  box-shadow: 0 4px 16px rgba(178,34,34,0.15);
}

.custom-amount {
  border: 2px solid var(--gray-mid);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  width: 100%;
  transition: border-color 0.2s;
}
.custom-amount:focus {
  border-color: var(--red-primary);
  box-shadow: 0 0 0 3px rgba(178,34,34,0.15);
  outline: none;
}

.donate-disclaimer {
  font-size: 0.78rem;
  color: var(--gray-text);
  line-height: 1.6;
}

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.65);
  padding: 48px 0 24px;
  font-size: 0.85rem;
}

.site-footer .footer-name {
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.site-footer a {
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.site-footer a:hover { color: var(--white); }

.footer-links li { margin-bottom: 0.4rem; }

.footer-social a {
  font-size: 1.3rem;
  margin-right: 0.75rem;
}

.site-footer .disclaimer {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

/* ── Responsive tweaks ───────────────────────────────────────── */
@media (max-width: 767.98px) {
  .hero { padding: 50px 0; text-align: center; }
  .hero p.lead { max-width: 100%; }
  .hero-headshot { margin: 0 auto 2rem; }
  .hero .d-flex { justify-content: center; }
  .section-divider.left { margin-left: auto; margin-right: auto; }
  .form-card { padding: 1.5rem; }
}
