/* ===================================
   Childress We Can Care - Main Styles
   =================================== */

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

/* ===================================
   CSS Custom Properties (Variables)
   =================================== */
:root {
  /* Color Palette */
  --pacific-blue: #48A6B0;
  --deep-pink: #EB3793;
  --soft-linen: #EDE7D9;
  --rosy-granite: #A49694;
  --dim-grey: #736B60;

  /* Typography */
  --font-heading: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-body: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  /* Layout */
  --max-width: 1200px;
  --section-padding: 5rem 2rem;
  --section-padding-mobile: 4rem 1.5rem;

  /* Spacing - More generous for warmth */
  --spacing-xs: 0.75rem;
  --spacing-sm: 1.25rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  --spacing-2xl: 5rem;
  --spacing-3xl: 6rem;

  /* Border Radius - Softer, rounder feel */
  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;

  /* Shadows - Soft and subtle */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition: all 0.3s ease;
}

/* ===================================
   CSS Reset & Base Styles
   =================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.8;
  color: #000;
  background-color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
  margin-bottom: var(--spacing-md);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--pacific-blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--deep-pink);
}

a:focus-visible {
  outline: 3px solid var(--pacific-blue);
  outline-offset: 3px;
}

/* ===================================
   Skip Link (Accessibility)
   =================================== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--pacific-blue);
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 0.25rem;
  z-index: 9999;
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid #fff;
}

/* ===================================
   Buttons
   =================================== */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: 0.01em;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  text-decoration: none;
  line-height: 1.4;
}

.btn:focus-visible {
  outline: 3px solid var(--pacific-blue);
  outline-offset: 3px;
}

.btn-primary {
  background-color: var(--pacific-blue);
  color: #fff;
}

.btn-primary:hover {
  background-color: #3a8b94;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(72, 166, 176, 0.2);
}

.btn-secondary {
  background-color: var(--deep-pink);
  color: #fff;
}

.btn-secondary:hover {
  background-color: #d62d82;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(235, 55, 147, 0.2);
}

.btn-outline {
  background-color: transparent;
  border: 2.5px solid var(--pacific-blue);
  color: var(--pacific-blue);
}

.btn-outline:hover {
  background-color: var(--pacific-blue);
  color: #fff;
}

.btn-large {
  font-size: 1.125rem;
  padding: 1.125rem 2.5rem;
}

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

.section {
  padding: var(--section-padding-mobile);
}

@media (min-width: 768px) {
  .section {
    padding: var(--section-padding);
  }
}

.section-light {
  background-color: #fff;
}

.section-soft {
  background-color: var(--soft-linen);
}

/* ===================================
   Header
   =================================== */
.site-header {
  background-color: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.site-logo {
  display: flex;
  align-items: center;
}

.site-logo img {
  height: 140px;
  width: auto;
  display: block;
}

@media (min-width: 768px) {
  .site-logo img {
    height: 160px;
  }
}

/* Navigation */
.site-nav {
  display: none;
}

@media (min-width: 768px) {
  .site-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  color: #000;
  text-decoration: none;
  transition: var(--transition);
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--pacific-blue);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--pacific-blue);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.hamburger {
  width: 24px;
  height: 2px;
  background-color: #000;
  position: relative;
  transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: #000;
  transition: var(--transition);
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger {
  background-color: transparent;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #fff;
  z-index: 999;
  padding: 5rem 2rem 2rem;
  overflow-y: auto;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav .nav-links {
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav .nav-links a {
  font-size: 1.5rem;
  padding: 1rem 0;
  display: block;
}

.mobile-nav .btn {
  margin-top: 2rem;
  width: 100%;
}

/* Donate Button in Header */
.header-donate {
  display: none;
}

@media (min-width: 768px) {
  .header-donate {
    display: block;
  }
}

/* ===================================
   Hero Section
   =================================== */
.hero {
  background: var(--deep-pink);
  color: #fff;
  text-align: center;
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    padding: 7rem 2rem;
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  color: #fff;
  margin-bottom: var(--spacing-md);
}

.hero-subhead {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 400;
  margin-bottom: var(--spacing-lg);
  opacity: 0.95;
}

.hero-highlight {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 500;
  margin-bottom: var(--spacing-xl);
  border: 2.5px solid rgba(255, 255, 255, 0.3);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 576px) {
  .hero-cta {
    flex-direction: row;
  }
}

.hero .btn {
  min-width: 200px;
}

.hero .btn-primary {
  background-color: #fff;
  color: var(--pacific-blue);
}

.hero .btn-primary:hover {
  background-color: var(--soft-linen);
  transform: translateY(-2px);
}

/* ===================================
   Content Sections
   =================================== */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-intro {
  max-width: 700px;
  margin: 0 auto var(--spacing-xl);
  text-align: center;
  font-size: 1.125rem;
  color: var(--dim-grey);
}

/* ===================================
   Cards & Grid
   =================================== */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: var(--spacing-xl);
}

@media (min-width: 576px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background-color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 100%;
  height: 160px;
  background-color: var(--soft-linen);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  font-size: 3rem;
  color: var(--pacific-blue);
}

.card h3 {
  margin-bottom: var(--spacing-sm);
}

.card p {
  color: var(--dim-grey);
  margin-bottom: var(--spacing-md);
}

.card .btn {
  width: 100%;
  margin-top: auto;
}

/* ===================================
   Support List
   =================================== */
.support-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: var(--spacing-xl) 0;
}

@media (min-width: 576px) {
  .support-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .support-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.support-item {
  background-color: #fff;
  padding: 2rem;
  border-radius: var(--radius-md);
  border-left: 5px solid var(--pacific-blue);
  box-shadow: var(--shadow-sm);
}

.support-item::before {
  content: '✓';
  display: inline-block;
  width: 24px;
  height: 24px;
  background-color: var(--pacific-blue);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  margin-right: 0.75rem;
  font-weight: bold;
}

/* ===================================
   Steps / How It Works
   =================================== */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: var(--spacing-xl) 0;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--deep-pink);
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

.step h3 {
  margin-bottom: var(--spacing-sm);
}

.step p {
  color: var(--dim-grey);
}

/* ===================================
   Image Placeholder
   =================================== */
.image-placeholder {
  width: 100%;
  height: 300px;
  background: var(--soft-linen);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dim-grey);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  text-align: center;
  padding: 2rem;
  margin-bottom: var(--spacing-lg);
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
  text-align: center;
  padding: 3.5rem 2rem;
  background: var(--deep-pink);
  color: #fff;
  border-radius: var(--radius-xl);
  margin: var(--spacing-2xl) 0;
}

@media (min-width: 768px) {
  .cta-section {
    padding: 5rem 4rem;
  }
}

.cta-section h2 {
  color: #fff;
  margin-bottom: var(--spacing-md);
}

.cta-section p {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn {
  background-color: #fff;
  color: var(--pacific-blue);
}

.cta-section .btn:hover {
  background-color: var(--soft-linen);
  transform: translateY(-2px);
}

/* ===================================
   Contact Form
   =================================== */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  margin-bottom: var(--spacing-xs);
  color: #000;
}

.form-label-required::after {
  content: ' *';
  color: var(--deep-pink);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  border: 2px solid var(--rosy-granite);
  border-radius: var(--radius-md);
  transition: var(--transition);
  background-color: #fff;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--pacific-blue);
  box-shadow: 0 0 0 4px rgba(72, 166, 176, 0.08);
}

.form-textarea {
  resize: vertical;
  min-height: 180px;
  line-height: 1.8;
}

.form-submit {
  width: 100%;
}

/* ===================================
   Contact Info
   =================================== */
.contact-info {
  background-color: var(--soft-linen);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  margin-top: var(--spacing-xl);
}

.contact-info h3 {
  margin-bottom: var(--spacing-md);
}

.contact-info p {
  margin-bottom: var(--spacing-sm);
}

.contact-info a {
  color: var(--pacific-blue);
  font-weight: 500;
}

.contact-info .btn {
  color: #fff;
}

/* ===================================
   FAQ
   =================================== */
.faq {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--rosy-granite);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: var(--spacing-sm);
  color: var(--pacific-blue);
}

.faq-answer {
  color: var(--dim-grey);
}

/* ===================================
   Footer
   =================================== */
.site-footer {
  background-color: var(--dim-grey);
  color: #fff;
  padding: 2rem 1.5rem;
  margin-top: auto;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-section h3 {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-md);
  color: #fff;
}

.footer-section p {
  margin-bottom: var(--spacing-xs);
  font-size: 0.9375rem;
}

.footer-section a {
  color: var(--soft-linen);
  transition: var(--transition);
}

.footer-section a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.8;
}

/* ===================================
   Utility Classes
   =================================== */
.text-center {
  text-align: center;
}

.mt-lg {
  margin-top: var(--spacing-lg);
}

.mb-lg {
  margin-bottom: var(--spacing-lg);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===================================
   3:1 Grid Layout (Asymmetric Balance)
   =================================== */
.grid-3-1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  align-items: start;
}

@media (min-width: 768px) {
  .grid-3-1 {
    grid-template-columns: 3fr 1fr;
    gap: var(--spacing-2xl);
  }
}

.grid-1-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  align-items: start;
}

@media (min-width: 768px) {
  .grid-1-3 {
    grid-template-columns: 1fr 3fr;
    gap: var(--spacing-2xl);
  }
}

/* ===================================
   Print Styles
   =================================== */
@media print {
  .site-header,
  .site-footer,
  .mobile-menu-toggle,
  .btn {
    display: none;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  h1, h2, h3 {
    page-break-after: avoid;
  }
}
