/* ==========================================================================
   The Rebecca Foundation - Cloth Diaper Closet
   Main Stylesheet (recreated static version)
   ========================================================================== */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #c85a7c; text-decoration: none; transition: color .2s ease; }
a:hover { color: #a84464; text-decoration: underline; }
ul { list-style: none; }

/* Skip to content */
.skip-link {
  position: absolute; top: -40px; left: 0;
  background: #c85a7c; color: #fff;
  padding: 8px 16px; z-index: 1000;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* Container */
.container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============ HEADER ============ */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}
.site-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.site-logo .logo-line1 {
  font-family: 'Brush Script MT', 'Pacifico', cursive;
  color: #222D5A;
  font-size: 18px;
  font-style: italic;
}
.site-logo .logo-line2 {
  font-weight: 700;
  color: #222D5A;
  font-size: 15px;
  letter-spacing: .3px;
  text-transform: uppercase;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  display: block;
  padding: 10px 14px;
  color: #222D5A;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .3px;
  border-radius: 4px;
}
.main-nav a:hover {
  background: #f5f5f5;
  text-decoration: none;
  color: #c85a7c;
}
.main-nav a.active {
  color: #c85a7c;
}
.main-nav a.donate-btn {
  background: #c85a7c;
  color: #fff;
}
.main-nav a.donate-btn:hover {
  background: #a84464;
  color: #fff;
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #222D5A;
  padding: 8px;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: #222D5A url('../images/hero/hero-bg.webp') center/cover no-repeat;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(34, 45, 90, 0.72);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 60px 20px;
}
.hero h1 {
  font-size: 42px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  line-height: 1.2;
}
.hero blockquote {
  font-size: 18px;
  font-style: italic;
  margin-bottom: 32px;
  line-height: 1.5;
}
.hero blockquote cite {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.btn {
  display: inline-block;
  padding: 14px 32px;
  background: #fff;
  color: #222D5A;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 3px;
  text-decoration: none;
  transition: all .2s ease;
  border: 2px solid transparent;
}
.btn:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
  text-decoration: none;
}
.btn-primary {
  background: #c85a7c;
  color: #fff;
}
.btn-primary:hover {
  background: #a84464;
  color: #fff;
  border-color: #a84464;
}
.btn-outline {
  background: transparent;
  color: #222D5A;
  border: 2px solid #222D5A;
}
.btn-outline:hover {
  background: #222D5A;
  color: #fff;
}

/* ============ SECTIONS ============ */
.section {
  padding: 70px 0;
}
.section-alt {
  background: #f7f8fa;
}
.section-pink {
  background: #c85a7c;
  color: #fff;
}
.section-pink h2, .section-pink h3 { color: #fff; }

.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: #222D5A;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.section-title p {
  font-size: 16px;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

/* ============ THREE COLUMN GRID ============ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  text-align: center;
  padding: 30px 20px;
}
.feature-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: #c85a7c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
}
.feature-card h3 {
  font-size: 20px;
  color: #222D5A;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.feature-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* ============ TESTIMONIALS ============ */
.testimonial {
  background: #c85a7c;
  color: #fff;
  padding: 36px 28px;
  border-radius: 6px;
  position: relative;
}
.testimonial::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 16px;
  font-size: 80px;
  font-family: Georgia, serif;
  opacity: .25;
  line-height: 1;
}
.testimonial p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
  position: relative;
  z-index: 1;
}
.testimonial .author {
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: .9;
}

/* ============ SPONSORS ============ */
.sponsor-block {
  display: flex;
  align-items: center;
  gap: 40px;
}
.sponsor-block.reverse { flex-direction: row-reverse; }
.sponsor-block > * { flex: 1; }
.sponsor-block img {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
}
.sponsor-block h3 {
  font-size: 28px;
  color: #222D5A;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.sponsor-block p {
  font-size: 15px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.7;
}

/* ============ PAGE HEADER (inner pages) ============ */
.page-header {
  background: #222D5A;
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.page-header h1 {
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.breadcrumb {
  font-size: 13px;
  opacity: .8;
}
.breadcrumb a { color: #fff; text-decoration: underline; }

/* ============ INNER PAGE CONTENT ============ */
.page-content {
  padding: 60px 0;
}
.page-content h2 {
  font-size: 26px;
  color: #222D5A;
  margin: 30px 0 16px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.page-content h2:first-child { margin-top: 0; }
.page-content h3 {
  font-size: 20px;
  color: #c85a7c;
  margin: 24px 0 12px;
}
.page-content p {
  margin-bottom: 16px;
  color: #444;
  line-height: 1.7;
}
.page-content ul, .page-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}
.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }
.page-content li { margin-bottom: 8px; color: #444; }
.page-content blockquote {
  border-left: 4px solid #c85a7c;
  padding: 10px 20px;
  margin: 20px 0;
  font-style: italic;
  color: #555;
  background: #f9f9f9;
}
.page-content img {
  margin: 20px 0;
  border-radius: 6px;
}
.page-content .content-img-right {
  float: right;
  margin: 0 0 20px 30px;
  max-width: 40%;
}

/* ============ CONTACT FORM ============ */
.contact-form {
  background: #f7f8fa;
  padding: 36px;
  border-radius: 8px;
  max-width: 700px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-weight: 600;
  color: #222D5A;
  margin-bottom: 6px;
  font-size: 14px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #c85a7c;
  box-shadow: 0 0 0 3px rgba(200,90,124,.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-message {
  padding: 14px;
  border-radius: 4px;
  margin-bottom: 16px;
  display: none;
}
.form-message.success {
  display: block;
  background: #e6f9e6;
  color: #2a6b2a;
  border: 1px solid #b8e0b8;
}
.form-message.error {
  display: block;
  background: #ffe6e6;
  color: #8b2a2a;
  border: 1px solid #e0b8b8;
}
.form-hint {
  font-size: 12px;
  color: #888;
  margin-top: 10px;
  font-style: italic;
}

/* ============ CHAPTERS / DONATE PAGE ============ */
.chapter-states {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
  justify-content: center;
}
.chapter-states a {
  padding: 6px 14px;
  background: #f0f2f6;
  color: #222D5A;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.chapter-states a:hover {
  background: #c85a7c;
  color: #fff;
}
.chapter-card {
  background: #f7f8fa;
  padding: 22px;
  border-radius: 6px;
  margin-bottom: 16px;
  border-left: 4px solid #c85a7c;
}
.chapter-card h4 {
  font-size: 17px;
  color: #222D5A;
  margin-bottom: 6px;
}
.chapter-card .president {
  font-size: 13px;
  font-weight: 600;
  color: #c85a7c;
  margin-bottom: 8px;
}
.chapter-card p {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
  margin: 0;
}

/* ============ CTA BAND ============ */
.cta-band {
  background: linear-gradient(135deg, #222D5A 0%, #3a4a80 100%);
  color: #fff;
  padding: 50px 0;
  text-align: center;
}
.cta-band h2 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.cta-band p {
  font-size: 16px;
  opacity: .9;
  margin-bottom: 24px;
}
.cta-band .btn {
  background: #c85a7c;
  color: #fff;
  margin: 0 8px;
}
.cta-band .btn:hover {
  background: #fff;
  color: #c85a7c;
  border-color: #fff;
}

/* ============ NEWSLETTER / BE IN THE KNOW ============ */
.newsletter-bar {
  background: #c85a7c;
  color: #fff;
  padding: 40px 0;
  text-align: center;
}
.newsletter-bar h3 {
  font-size: 22px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.newsletter-bar p {
  font-size: 14px;
  opacity: .9;
  margin-bottom: 18px;
}
.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 450px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 3px;
  font-size: 14px;
  font-family: inherit;
}
.newsletter-form button {
  padding: 12px 24px;
  background: #222D5A;
  color: #fff;
  border: none;
  border-radius: 3px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s;
}
.newsletter-form button:hover { background: #1a2344; }

/* ============ FOOTER ============ */
.site-footer {
  background: #222D5A;
  color: #cfd4e6;
  padding: 50px 0 20px;
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col a {
  color: #cfd4e6;
  font-size: 13px;
}
.footer-col a:hover { color: #fff; }

.footer-about p {
  margin-bottom: 14px;
  line-height: 1.6;
}
.social-links {
  display: flex;
  gap: 10px;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  color: #fff;
  transition: background .2s;
}
.social-links a:hover {
  background: #c85a7c;
  text-decoration: none;
}

.badge-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
  align-items: center;
}
.badge-row .badge {
  background: rgba(255,255,255,.08);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .5px;
  white-space: nowrap;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 12px;
  opacity: .7;
}

/* ============ UTILITY ============ */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
