/* ===== CSS Variables — Brand Colors ===== */
:root {
  --navy: #1B3A5C;
  --navy-dark: #142D48;
  --orange: #E8762A;
  --orange-dark: #D06620;
  --green: #4C8C3C;
  --green-dark: #3A7030;
  --cream: #FAF8F5;
  --gray-light: #F2F0ED;
  --gray: #888;
  --text: #333;
  --white: #FFFFFF;
  --max-width: 1100px;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ===== Header ===== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid #e0ddd8;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.logo-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  font-style: italic;
}

.logo-tagline {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.main-nav ul {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--orange);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--navy);
  cursor: pointer;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  background: url('/images/new_main_image.PNG') center/cover no-repeat;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Light gradient at the bottom-right for text readability */
  background: linear-gradient(0deg, rgba(27,58,92,0.7) 0%, rgba(27,58,92,0.2) 40%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: right;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 2rem 2rem;
}

.hero-content h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  -webkit-text-stroke: 1.5px rgba(0,0,0,0.6);
  paint-order: stroke fill;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7), 0 0 20px rgba(0,0,0,0.4);
}

.hero-content p {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  -webkit-text-stroke: 0.5px rgba(0,0,0,0.4);
  paint-order: stroke fill;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7), 0 0 20px rgba(0,0,0,0.4);
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
}

.btn-orange:hover {
  background: var(--orange-dark);
}

.btn-orange-outline {
  background: var(--white);
  color: var(--orange);
  border: 2px solid var(--orange);
  padding: 0.6rem 1.6rem;
}

.btn-orange-outline:hover {
  background: var(--orange);
  color: var(--white);
}

/* ===== Donate Banner — "Help turn this into this" ===== */
.donate-banner {
  background: var(--navy);
  padding: 3rem 1.5rem;
  color: var(--white);
}

.donate-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.donate-banner-images {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.donate-banner-room {
  flex: 0 1 320px;
  position: relative;
}

.donate-banner-room img {
  width: 100%;
  border-radius: 4px;
  border: 5px solid var(--white);
}

/* "Help turn" centered just above the bottom text line */
.donate-text-helpturn {
  position: absolute;
  bottom: 42%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  text-shadow:
    -2px -2px 0 #000,
     2px -2px 0 #000,
    -2px  2px 0 #000,
     2px  2px 0 #000,
     0 3px 8px rgba(0,0,0,0.6);
  z-index: 3;
  pointer-events: none;
}

/* "this into this" — bottom row spanning across the gap */
.donate-text-bottom {
  position: absolute;
  bottom: 30%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.5em;
  z-index: 3;
  pointer-events: none;
}

.donate-word {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  text-shadow:
    -2px -2px 0 #000,
     2px -2px 0 #000,
    -2px  2px 0 #000,
     2px  2px 0 #000,
     0 3px 8px rgba(0,0,0,0.6);
}

.donate-word-gold {
  font-size: 2.4rem;
  font-weight: 800;
  font-style: italic;
  color: #D4A017;
}

.donate-banner-arrow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 33%;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.4));
  pointer-events: none;
}

.donate-banner-text p {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 1.5rem;
}

.btn-donate {
  background: var(--orange);
  color: var(--white);
  font-size: 1.25rem;
  padding: 1rem 3rem;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 16px rgba(232,118,42,0.4);
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
}

.btn-donate:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232,118,42,0.5);
}

@media (max-width: 768px) {
  .donate-banner-images {
    gap: 1rem;
  }

  .donate-banner-room {
    flex: 0 1 200px;
  }

  .donate-text-helpturn {
    font-size: 1.3rem;
  }

  .donate-word {
    font-size: 1.2rem;
  }

  .donate-word-gold {
    font-size: 1.5rem;
  }

  .btn-donate {
    font-size: 1.1rem;
    padding: 0.85rem 2.5rem;
  }
}

/* ===== About Us / Who We Serve ===== */
.about-section {
  background: var(--cream);
  padding: 3rem 1.5rem;
}

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

.about-card {
  background: var(--white);
  border: 1px solid #e0ddd8;
  border-radius: 8px;
  padding: 2rem;
}

.about-card h2 {
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  text-align: center;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 0.5rem;
}

.about-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.about-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
}

.about-text h3 {
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.about-text p {
  font-size: 0.95rem;
  color: #555;
}

/* ===== Donate Section ===== */
.donate-section {
  padding: 3rem 1.5rem;
  text-align: center;
  background: var(--white);
}

.donate-section h2 {
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.donate-subtitle {
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.pricing-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pricing-card {
  border: 1px solid #e0ddd8;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.pricing-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.pricing-header {
  padding: 1.5rem 1rem;
  color: var(--white);
  text-align: center;
}

.pricing-green {
  background: var(--green);
}

.pricing-navy {
  background: var(--navy);
}

.pricing-orange {
  background: var(--orange);
}

.price {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
}

.price-label {
  display: block;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.pricing-body {
  padding: 1.25rem 1rem;
  text-align: center;
}

.pricing-body p {
  font-size: 0.95rem;
  color: #555;
}

/* ===== Smaller Donations ===== */
.small-donations {
  padding: 3rem 1.5rem;
  text-align: center;
  background: var(--cream);
}

.small-donations h2 {
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.hygiene-card {
  max-width: 800px;
  margin: 0 auto 1.5rem;
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hygiene-left {
  background: var(--navy);
  color: var(--white);
  padding: 2rem 1.5rem;
  text-align: center;
  flex-shrink: 0;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hygiene-price {
  display: block;
  font-size: 2.4rem;
  font-weight: 700;
}

.hygiene-label {
  display: block;
  font-size: 1rem;
  margin-top: 0.15rem;
}

.hygiene-right {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
}

.hygiene-img {
  width: 180px;
  height: auto;
  border-radius: 6px;
  flex-shrink: 0;
}

.hygiene-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hygiene-right p,
.hygiene-details p {
  font-size: 0.95rem;
  color: #555;
  text-align: left;
}

.tax-note {
  font-size: 0.95rem;
  color: var(--green);
  font-weight: 600;
}

/* ===== Contact Form ===== */
.contact-section {
  background: var(--cream);
  padding: 3rem 1.5rem;
  text-align: center;
}

.contact-section h2 {
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.contact-subtitle {
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid #e0ddd8;
  border-radius: 8px;
  padding: 2rem;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.form-group .required {
  color: var(--orange);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #d0cdc8;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
}

.form-group textarea {
  resize: vertical;
}

.contact-submit {
  width: 100%;
  border: none;
  font-size: 1rem;
}

.contact-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.95rem;
  text-align: center;
}

.contact-success {
  background: #e8f5e9;
  color: var(--green-dark);
  border: 1px solid var(--green);
}

.contact-error {
  background: #fdecea;
  color: #b71c1c;
  border: 1px solid #e57373;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ===== Social Links ===== */
.social-section {
  background: var(--cream);
  padding: 2rem 1.5rem;
  text-align: center;
}

.social-inner h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--white);
  transition: transform 0.2s, box-shadow 0.2s;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.social-facebook {
  background: #1877F2;
}

.social-instagram {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* ===== Footer ===== */
.site-footer {
  /* Wood-tone gradient to approximate the mockup's wood texture bar */
  background: linear-gradient(
    180deg,
    #8B6914 0%,
    #A07828 20%,
    #B8923C 40%,
    #A07828 60%,
    #8B6914 80%,
    #6B4F0E 100%
  );
  color: var(--white);
  padding: 1.5rem 1.5rem;
  text-align: center;
}

.site-footer a {
  color: var(--white) !important;
  text-decoration: underline !important;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-inner p {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  /* Mobile nav */
  .main-nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid #e0ddd8;
    padding: 1rem 1.5rem;
    gap: 1rem;
  }

  .main-nav ul.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  /* Hero */
  .hero-content h1 {
    font-size: 1.6rem;
    -webkit-text-stroke: 1.5px rgba(0,0,0,0.6);
    paint-order: stroke fill;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7), 0 0 20px rgba(0,0,0,0.4);
  }

  .hero-content p {
    font-weight: 700;
    -webkit-text-stroke: 0.5px rgba(0,0,0,0.4);
    paint-order: stroke fill;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7), 0 0 20px rgba(0,0,0,0.4);
  }

  .hero {
    min-height: 320px;
  }

  .hero-content {
    text-align: right;
    position: relative;
  }

  .hero-content .btn {
    font-size: 0.75rem;
    padding: 0.5rem 1.2rem;
    position: absolute;
    bottom: 0;
    right: 0;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(27,58,92,0.75) 0%, rgba(27,58,92,0.3) 50%, transparent 70%);
  }

  /* About grid */
  .about-grid {
    grid-template-columns: 1fr;
  }

  /* Pricing grid */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  /* Hygiene card */
  .hygiene-card {
    flex-direction: column;
  }

  .hygiene-left {
    width: 100%;
    min-width: auto;
  }

  .hygiene-right {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .hygiene-img {
    width: 140px;
  }

  .hygiene-details {
    align-items: center;
  }

  .hygiene-right p,
  .hygiene-details p {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 2.5rem 1rem;
    padding-bottom: 3rem;
  }

  .hero-content h1 {
    font-size: 1.3rem;
  }

  .hero-content p {
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
  }

  .logo-name {
    font-size: 1rem;
  }

  .logo-tagline {
    font-size: 0.6rem;
  }
}

/* ===== Founder Page — Hero Banner ===== */
.founder-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('/images/founder-hero.jpg') center/cover no-repeat;
  color: var(--white);
  text-align: center;
}

.founder-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(27,58,92,0.75) 0%, rgba(27,58,92,0.4) 50%, rgba(27,58,92,0.3) 100%);
}

.founder-hero-content {
  position: relative;
  z-index: 1;
  padding: 3rem 1.5rem;
}

.founder-hero-content h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.founder-hero-content p {
  font-size: 1.1rem;
  opacity: 0.85;
}

/* ===== Founder Page — Content ===== */
.founder-section {
  background: var(--cream);
  padding: 3rem 1.5rem 4rem;
}

.founder-container {
  max-width: 740px;
  margin: 0 auto;
}

.founder-card {
  background: var(--white);
  border: 1px solid #e0ddd8;
  border-radius: 8px;
  padding: 2.5rem 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.founder-card-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--green), var(--navy));
  margin: -2.5rem -3rem 2rem;
}

.founder-intro {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
}

.founder-icon {
  flex-shrink: 0;
}

.founder-name-block h2 {
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
}

.founder-role {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.1rem;
}

.founder-org {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.1rem;
}

.founder-location {
  font-size: 0.9rem;
  color: var(--gray);
}

.founder-divider {
  border: none;
  border-top: 2px solid var(--orange);
  margin: 1.5rem 0 2rem;
}

.founder-letter p {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.founder-letter p:last-child {
  margin-bottom: 0;
}

.founder-closing {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e0ddd8;
}

.founder-closing-text {
  margin-bottom: 0.5rem;
  font-style: italic;
  color: #555;
}

.founder-signature {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.1rem;
}

.founder-signature-title {
  font-size: 0.9rem;
  color: var(--orange);
  font-weight: 600;
}

.founder-back {
  text-align: center;
  margin-top: 2.5rem;
}

@media (max-width: 768px) {
  .founder-hero-content h1 {
    font-size: 1.6rem;
  }

  .founder-card {
    padding: 1.5rem 1.25rem;
  }

  .founder-card-accent {
    margin: -1.5rem -1.25rem 1.5rem;
  }

  .founder-intro {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .founder-letter p {
    font-size: 0.95rem;
  }
}
