/* Basic reset */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

:root{
  --bg: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;

  --header-bg: #eaf3fb;
  --header-border: #d7e6f5;

  --hero-bg: #71a4ce;
  --hero-text: #ffffff;

  --card-bg: #ffffff;
  --card-border: #e5e7eb;

  --cta-bg: #ffffff;
  --cta-shadow: 0 8px 20px rgba(0,0,0,0.08);

  --accent: #2aa3ff;
  --paypal: #ffb000;

  --link: #0ea5e9;
}

body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.4;
}

.wrap{
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

/* Header */
.site-header{
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
}

.brand{
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 260px;
}

.brand-logo{
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: #fff;
  padding: 4px;
}

.brand-title{
  font-weight: 800;
  font-size: 22px;
}

.brand-subtitle{
  font-size: 13px;
  color: var(--muted);
}

/* Desktop nav */
.nav{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.nav-link{
  font-size: 14px;
  padding: 10px 10px;
  border-radius: 8px;
  color: #1f4b6e;
}

.nav-link:hover{
  background: rgba(42,163,255,0.10);
}

.nav-link.is-active{
  background: rgba(42,163,255,0.16);
  font-weight: 700;
}

/* Mobile */
.nav-toggle{
  display: none;
  font-size: 22px;
  background: transparent;
  border: 1px solid var(--header-border);
  border-radius: 10px;
  padding: 8px 10px;
}

.mobile-menu{
  padding: 0 0 18px 0;
}

.mobile-menu a{
  display: block;
  padding: 12px 0;
  border-top: 1px solid var(--header-border);
  color: #1f4b6e;
}

/* Hero */
.hero{
  background: var(--hero-bg);
  color: var(--hero-text);
  padding: 60px 0 50px;
}

.hero-inner{
  text-align: center;
}

.hero-title{
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 52px);
  letter-spacing: 0.2px;
}

.hero-subtitle{
  margin: 0 auto 28px;
  max-width: 720px;
  font-size: clamp(14px, 2.2vw, 18px);
  opacity: 0.95;
}

/* CTA cards */
.cta-row{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0 24px;
}

.cta-card{
  background: var(--cta-bg);
  color: #111827;
  border-radius: 10px;
  box-shadow: var(--cta-shadow);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 92px;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.cta-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.12);
}

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

.cta-label{
  font-size: 13px;
  font-weight: 700;
}

/* Social buttons in hero */
.social-row{
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.social-btn{
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
}

.social-btn.paypal{
  background: rgba(255,176,0,0.95);
  border-color: rgba(255,176,0,0.95);
  color: #1f2937;
}

/* Sections */
.section{
  padding: 44px 0;
}

.section-title{
  text-align: center;
  margin: 0 0 26px;
  font-size: 26px;
}

/* =========================
   Memorial (FIXED: no cropping)
   ========================= */
.memorial-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch; /* makes both columns same height as the tallest item */
}

.memorial-photo{
  margin: 0;
}

.memorial-photo img{
  width: 100%;
  height: auto;                /* key: keep full photo */
  display: block;
  border-radius: 8px;
  border: 1px solid var(--card-border);
}

/* Memorial card (text box) */
.memorial-card{
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 18px 18px;
  height: 100%;                /* fill grid cell height */
  display: flex;
}

/* Make the text fill the card height */
.memorial-text{
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Text styling */
.memorial-text p{
  margin: 0 0 12px;
  color: #374151;
  font-size: 15px;
  line-height: 1.55;
}

.memorial-text p:last-child{
  margin-bottom: 0;
  margin-top: auto;            /* pushes “Sue Tate, Founder” to bottom */
}

.memorial-text strong{
  color: #111827;
}

.memorial-text em{
  color: #111827;
  font-style: italic;
}

/* Slightly increase spacing on big screens so the text block looks balanced */
@media (min-width: 1100px){
  .memorial-text p{
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 14px;
  }
}

/* =========================
   News cards
   ========================= */
.cards{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card{
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.card:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
}

.card-link{
  display: block;
}

.card-img{
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #f3f4f6;
}

.card-body{
  padding: 14px 14px 16px;
}

.card-title{
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  line-height: 1.3;
}

/* =========================
   Donate
   ========================= */
.donate{
  padding-bottom: 60px;
}

.donate-box{
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.donate-amounts{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 10px auto 16px;
}

.amount-btn{
  border: 1px solid #e5e7eb;
  background: #f3f4f6;
  border-radius: 8px;
  padding: 12px 10px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}

.amount-btn:hover{
  transform: translateY(-1px);
  background: #eef2f7;
}

.amount-btn.is-selected{
  background: #22c55e;
  border-color: #22c55e;
  color: #ffffff;
}

.donate-row{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0;
}

.donate-label{
  font-size: 14px;
  color: #374151;
}

.donate-select,
.donate-input{
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 9px 10px;
  font-size: 14px;
}

.donate-input{
  width: 140px;
}

.donate-cta{
  display: inline-block;
  margin-top: 10px;
  background: #f59e0b; /* similar to screenshot button */
  color: #ffffff;
  font-weight: 900;
  border-radius: 8px;
  padding: 12px 18px;
}

.donate-cta:hover{
  filter: brightness(0.97);
}

.donate-hint{
  margin: 12px auto 0;
  max-width: 640px;
  font-size: 12px;
  color: var(--muted);
}

/* =========================
   Footer
   ========================= */
.site-footer{
  border-top: 1px solid var(--card-border);
  background: #f9fafb;
  padding: 18px 0;
}

.footer-inner{
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Utilities */
.muted{
  color: var(--muted);
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 980px){
  .cta-row{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .memorial-grid{
    grid-template-columns: 1fr; /* stack */
  }

  .cards{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .donate-amounts{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px){
  /* swap desktop nav -> mobile */
  .nav{
    display: none;
  }
  .nav-toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-inner{
    align-items: flex-start;
  }

  .brand{
    min-width: 0;
  }

  .brand-logo{
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 520px){
  .cta-row{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

/* =========================
   FAQ Accordion
   ========================= */
.faq {
  padding: 60px 0;
  background: #fff;
}

.faq-head {
  text-align: center;
  margin-bottom: 28px;
}

.faq-title {
  margin: 0 0 10px;
  font-size: 34px;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: #222;
}

.faq-subtitle {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #666;
}

.faq-subtitle a {
  color: var(--link);
  text-decoration: underline;
}

.faq-panel {
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid #efefef;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.faq-item + .faq-item {
  border-top: 1px solid #f0f0f0;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: #fafafa;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.faq-q:hover {
  background: #f7f7f7;
}

.faq-icon {
  width: 18px;
  min-width: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 22px;
  line-height: 1;
  transform: translateY(-1px);
}

.faq-qtext {
  font-size: 20px;
  font-weight: 600;
  color: #666;
}

.faq-a {
  padding: 16px 18px 18px 50px; /* indent aligns with question text after icon */
  background: #fff;
  color: #555;
  font-size: 15px;
  line-height: 1.65;
}

.faq-a p {
  margin: 0 0 12px;
}

.faq-a p:last-child {
  margin-bottom: 0;
}

.faq-a a {
  color: var(--link);
  text-decoration: underline;
}

/* keep focus visible */
.faq-q:focus-visible {
  outline: 3px solid rgba(14,165,233,0.35);
  outline-offset: -3px;
}

.about {
  padding: 60px 0;
  background: #fff;
}

.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 48px;
}

.about-block:last-child {
  margin-bottom: 0;
}

.about h2 {
  margin: 0 0 14px;
  font-size: 26px;
  font-weight: 800;
  color: #111827;
}

.about p {
  margin: 0 0 14px;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.7;
}

.about a {
  color: var(--link, #0ea5e9);
  text-decoration: underline;
}

/* Images */
.about-figure {
  margin: 0;
}

.about-figure img {
  width: 100%;
  height: auto;     /* never crop people/animals */
  display: block;
  border-radius: 6px;
}

.about-caption {
  margin-top: 10px;
  text-align: center;
  color: #6b7280;
  font-size: 12px;
}

/* Button */
.about-cta {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 4px;
  border: 2px solid var(--link, #0ea5e9);
  color: var(--link, #0ea5e9);
  background: transparent;
  font-weight: 700;
}

.about-cta:hover {
  background: rgba(14,165,233,0.08);
}

/* Responsive: stack columns */
@media (max-width: 900px) {
  .about-block {
    grid-template-columns: 1fr;
  }
}


/* =========================
   Services (6 image tiles)
   ========================= */
.services{
  padding: 60px 0;
  background: #fff;
}

.services-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* tile */
.service{
  background: #f3f3f3;
  border: 1px solid #eeeeee;
  border-radius: 2px;              /* fairly square like Wayback */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

/* image */
.service-figure{
  margin: 0;
}

.service-figure img{
  width: 100%;
  height: auto;                    /* no cropping */
  display: block;
}

/* content */
.service-body{
  padding: 20px 22px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-title{
  margin: 10px 0 12px;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: #222;
}

.service-body p{
  margin: 0 0 12px;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.7;
}

.service-body p:last-child{
  margin-bottom: 0;
}

/* buttons pinned to bottom */
.service-actions{
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.service-btn{
  display: inline-block;
  padding: 10px 16px;
  border: 2px solid var(--link, #0ea5e9);
  color: var(--link, #0ea5e9);
  background: transparent;
  border-radius: 3px;
  font-weight: 700;
}

.service-btn:hover{
  background: rgba(14,165,233,0.08);
}

/* responsive */
@media (max-width: 980px){
  .services-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px){
  .services-grid{
    grid-template-columns: 1fr;
  }
}
/* =========================
   Contact
   ========================= */
.contact{
  padding: 60px 0 70px;
  background: #fff;
}

.contact-title{
  text-align: center;
  margin: 0 0 18px;
  font-size: 30px;
  font-weight: 800;
  color: #111827;
}

.contact-alert{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff3e0;
  border: 1px solid #ffe0b2;
  border-radius: 4px;
  padding: 12px 14px;
  color: #8a6a3a;
  margin: 0 auto 26px;
}

.contact-alert svg{
  flex: 0 0 auto;
  margin-top: 2px;
}

.contact-grid-top{
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 44px;
}

.contact-grid-mid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 44px;
}

.contact-grid-bottom{
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.contact-subtitle{
  text-align: center;
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 500;
  color: #333;
}

/* Box style */
.contact-box{
  background: #fff;
  border: 3px solid #444;
  border-radius: 2px;
  padding: 26px 18px 22px;
  position: relative;
  min-height: 150px;
}

.contact-box-icon{
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.contact-box h3{
  margin: 0 0 10px;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  color: #222;
}

.contact-big-number{
  text-align: center;
  font-size: 34px !important;
  font-weight: 900;
  letter-spacing: 0.4px;
  color: #222;
  margin: 0;
  line-height: 1.1;
  margin-top: 6px;
}


/* Text block (Telephone paragraph area) */
.contact-text{
  text-align: center;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.75;
}

.contact-text a{
  color: var(--link, #0ea5e9);
  text-decoration: underline;
}

/* Facebook / Email boxes text */
.contact-box p{
  margin: 0 0 12px;
  text-align: center;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.7;
}

.contact-box .contact-link{
  display: block;
  text-align: center;
  color: var(--link, #0ea5e9);
  text-decoration: underline;
  font-size: 14px;
}

/* Mail bullets */
.mail-title{
  text-align: center;
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 500;
  color: #333;
}

.mail-subtitle{
  text-align: center;
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 700;
  color: #333;
}

.mail-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.mail-list li{
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.6;
}

.mail-bullet{
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.address-lines{
  text-align: center;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 980px){
  .contact-grid-top{
    grid-template-columns: 1fr;
  }
  .contact-grid-bottom{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px){
  .contact-grid-mid{
    grid-template-columns: 1fr;
  }
}
