/* ============================================================
   CINDY 4 MI — Campaign Website Stylesheet
   ============================================================ */

/* Variables */
:root {
  --primary: hsl(174, 100%, 29%);       /* teal */
  --primary-dark: hsl(174, 100%, 22%);
  --secondary: hsl(0, 72%, 51%);        /* red */
  --secondary-dark: hsl(0, 72%, 42%);
  --accent: hsl(174, 100%, 29%);
  --bg: #ffffff;
  --fg: #262626;
  --muted: #f5f5f5;
  --muted-fg: #666666;
  --border: #e0e0e0;
  --white: #ffffff;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --radius: 0.5rem;
  --shadow: 0 20px 60px rgba(0,0,0,0.15);
  --container: 1200px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--fg); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); }

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, background 0.2s;
  text-align: center;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
}
.btn:hover { opacity: 0.88; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-secondary { background: var(--secondary); color: var(--white); }
.btn-accent { background: var(--secondary); color: var(--white); }
.btn-large { font-size: 1.1rem; padding: 1rem 2rem; }
.btn-block { width: 100%; padding: 1rem; font-size: 1.1rem; }

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 0.5rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.announcement-bar a { color: inherit; }
.announcement-bar a:hover { text-decoration: underline; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  box-shadow: 0 1px 8px rgba(0,0,0,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo { height: 48px; width: auto; max-width: 200px; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(0,0,0,0.7);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }
.nav-donate { font-size: 0.85rem; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 0.5rem 1.5rem 1rem;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(0,0,0,0.75);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.mobile-link:last-of-type { border-bottom: none; }
.mobile-donate { margin-top: 0.75rem; width: 100%; text-align: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(150, 150, 150, 0.55);
}
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.hero-text h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.highlight-block {
  background: var(--primary);
  color: var(--white);
  padding: 0.1em 0.3em;
  display: inline-block;
}
.hero-text p {
  color: rgba(255,255,255,0.88);
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-form {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 1rem;
  padding: 2rem;
}
.hero-form h2 {
  font-size: 1.5rem;
  color: var(--white);
  text-align: center;
  margin-bottom: 0.25rem;
}
.form-subtitle {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; margin-bottom: 1rem; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.form-group input {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: var(--radius);
  padding: 0.6rem 0.8rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input::placeholder { color: rgba(255,255,255,0.4); }
.form-group input:focus { border-color: rgba(255,255,255,0.6); }
.req { color: rgba(255,255,255,0.5); font-size: 0.75rem; font-weight: 400; }

/* Volunteer form (dark bg) */
.volunteer-form .form-group label { color: var(--white); }
.volunteer-form .form-group input {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: var(--white);
}
.volunteer-form .form-group input:focus { border-color: rgba(255,255,255,0.5); }

/* Success messages */
.success-msg {
  text-align: center;
  padding: 3rem 1rem;
}
.success-msg svg {
  width: 64px; height: 64px;
  stroke: var(--secondary);
  margin: 0 auto 1rem;
}
.success-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
}
.success-sub { color: rgba(255,255,255,0.7); margin-top: 0.5rem; }
.success-light svg { stroke: var(--primary); }
.success-title.dark { color: var(--fg); }

/* Checkbox group */
.checkbox-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
}
.checkbox-item input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--secondary);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { padding: 5rem 0; background: var(--bg); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-img {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.about-text p {
  color: var(--muted-fg);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.text-primary { color: var(--primary); }

/* ============================================================
   PRIORITIES
   ============================================================ */
.priorities { padding: 5rem 0; background: var(--primary); }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header.light h2,
.section-header.light p { color: var(--white); }
.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.25;
}
.section-sub {
  color: rgba(255,255,255,0.65);
  max-width: 500px;
  margin: 1rem auto 0;
  font-size: 1rem;
}
.priorities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.priority-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  padding: 2rem;
  transition: background 0.3s;
}
.priority-card:hover { background: rgba(255,255,255,0.12); }
.priority-icon {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.12);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.priority-icon svg {
  width: 28px; height: 28px;
  stroke: var(--secondary);
}
.priority-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.priority-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}

/* ============================================================
   DONATE
   ============================================================ */
.donate-section { padding: 5rem 0; background: var(--muted); }
.donate-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.donate-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.3;
  margin-bottom: 1.25rem;
}
.donate-text p {
  color: var(--muted-fg);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}
.donate-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--fg);
}
.donate-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  max-width: 380px;
}
.donate-btn {
  display: block;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  padding: 1rem;
  border-radius: var(--radius);
  transition: opacity 0.2s;
}
.donate-btn:hover { opacity: 0.85; }
.donate-img {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.donate-img img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   VOLUNTEER
   ============================================================ */
.volunteer { padding: 5rem 0; background: var(--primary); }
.volunteer .section-header { margin-bottom: 2.5rem; }
.volunteer .section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}
.volunteer .section-header p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}
.text-accent { color: var(--secondary); }
.volunteer-form {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  padding: 2.5rem;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding: 5rem 0; background: var(--muted); }
.contact-inner { text-align: center; max-width: 600px; margin: 0 auto; }
.contact-inner h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--fg);
}
.contact-inner > p {
  color: var(--muted-fg);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}
.contact-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
}
.contact-form input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  background: var(--white);
}
.contact-form input:focus { border-color: var(--primary); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--primary); color: var(--white); padding: 3rem 0; }
.footer-inner { text-align: center; }
.footer-inner h3 {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 0.25rem;
  letter-spacing: 0.05em;
}
.footer-subtitle {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  margin-bottom: 1.75rem;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.footer-links a {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--secondary); }
.footer-donate { color: var(--secondary) !important; font-weight: 700; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.25rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.8;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.animate-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.7s ease forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .priorities-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-donate { display: none; }
  .hamburger { display: flex; }
  .logo { height: 36px; max-width: 160px; }

  .hero-content { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 2.6rem; }

  .about-inner { grid-template-columns: 1fr; }
  .about-img { max-height: 320px; }

  .priorities-grid { grid-template-columns: 1fr; }

  .donate-inner { grid-template-columns: 1fr; }
  .donate-img { max-height: 320px; }
  .donate-amounts { grid-template-columns: repeat(3, 1fr); max-width: 100%; }

  .form-row { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }

  .contact-form { flex-direction: column; }
  .contact-form input { width: 100%; }
  .contact-form .btn { width: 100%; }
}

@media (max-width: 480px) {
  .hero-text h1 { font-size: 2.1rem; }
  .donate-amounts { grid-template-columns: repeat(2, 1fr); }
  .footer-links { gap: 1rem; }
}
