/* Senior Scenter — shared site styles */
:root {
  --cream: #fef5ed;
  --cream-dark: #d3e4cd;
  --forest: #5c6b58;
  --forest-dark: #4f5f49;
  --brown: #7d8f78;
  --gold: #ff6b00;
  --gold-dark: #e05f00;
  --ink: #2e2a24;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 20px rgba(46, 42, 36, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Lora', 'Source Sans 3', serif;
  color: var(--forest-dark);
  margin-top: 0;
}

a { color: var(--forest); text-decoration: none; }
a:hover { color: var(--gold-dark); }

img { max-width: 100%; display: block; border-radius: var(--radius); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top banner */
.top-banner {
  background: var(--forest-dark);
  color: var(--cream);
  text-align: center;
  font-size: 0.85rem;
  padding: 6px 12px;
}

/* Header */
header.site-header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  max-width: 1100px;
  margin: 0 auto;
  gap: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.brand:hover { color: inherit; }

.brand img { height: 56px; width: auto; border-radius: 0; }

.brand-text h1 { font-size: 1.3rem; margin: 0; line-height: 1.1; }
.brand-text span {
  font-size: 0.78rem;
  color: var(--brown);
  display: block;
  text-align: center;
  max-width: 185px;
  margin: 2px auto 0;
  line-height: 1.3;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  padding: 6px 4px;
  border-bottom: 2px solid transparent;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--forest-dark);
  border-bottom: 2px solid var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--forest-dark);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); background: var(--gold); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: var(--gold); }

.nav-donate-item { display: none; }

@media (max-width: 860px) {
  .header-inner { flex-direction: row; flex-wrap: nowrap; position: relative; justify-content: space-between; }
  .nav-toggle { display: flex; }
  nav.main-nav {
    display: none;
  }
  nav.main-nav.nav-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
    z-index: 50;
  }
  nav.main-nav ul {
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--cream-dark);
  }
  nav.main-nav li { width: 100%; }
  nav.main-nav a {
    display: block;
    padding: 12px 4px;
    border-bottom: 1px solid var(--cream-dark);
  }
  nav.main-nav a:hover,
  nav.main-nav a.active {
    border-bottom: 1px solid var(--cream-dark);
    background: var(--cream-dark);
  }
  .nav-donate-item { display: list-item; }
  .nav-donate-item a.nav-donate {
    color: var(--gold);
    font-weight: 700;
  }
}

/* Hero */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 90px 24px;
  text-align: center;
}

/* Split hero: text left, photo grid right */
.hero-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 0;
  background: var(--forest-dark);
  color: var(--white);
}
.hero-split-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 60px 48px;
}
.hero-split-heading { padding-top: 30px; }
.hero-split-text h2 { color: var(--white); font-size: 2.2rem; margin-bottom: 10px; }
.hero-split-text p { font-size: 1.1rem; margin-bottom: 0; }
.hero-split-text .btn { align-self: center; }
.hero-split-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
}
@media (max-width: 900px) {
  .hero-split {
    display: block;
    position: relative;
    min-height: 420px;
  }
  .hero-photo-desktop-only { display: none; }
  .hero-photo-mobile {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .hero-split::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(44,32,16,0.45), rgba(44,32,16,0.75));
  }
  .hero-split-text {
    position: relative;
    z-index: 1;
    min-height: 420px;
    padding: 40px 24px 40px;
    justify-content: space-between;
  }
}

.hero-banner {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  line-height: 0;
}
.hero-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(79,95,73,0.1), rgba(79,95,73,0.3));
}

.hero-content { position: relative; max-width: 760px; margin: 0 auto; }
.hero h2 { color: var(--white); font-size: 2.4rem; margin-bottom: 10px; text-shadow: 0 2px 12px rgba(0,0,0,0.55); }
.hero p { font-size: 1.15rem; margin-bottom: 26px; text-shadow: 0 1px 10px rgba(0,0,0,0.55); }

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { background: var(--gold-dark); transform: translateY(-2px); color: var(--ink); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--forest-dark); }

/* Section cards grid (homepage) */
.section-intro {
  text-align: center;
  padding: 60px 24px 10px;
  max-width: 720px;
  margin: 0 auto;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding: 30px 24px 70px;
  max-width: 1150px;
  margin: 0 auto;
}

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

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease;
}
.card:hover { transform: translateY(-4px); }

.card img { border-radius: 0; height: 150px; object-fit: cover; width: 100%; }

.card-body { padding: 18px 18px 22px; display: flex; flex-direction: column; flex: 1; text-align: center; align-items: center; }
.card-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card-body p { font-size: 0.92rem; flex: 1; color: #4a453d; }
.card-body .btn {
  align-self: center;
  margin-top: 12px;
  padding: 9px 20px;
  font-size: 0.85rem;
  background: transparent;
  border: 2px solid var(--forest);
  color: var(--forest);
  box-shadow: none;
}
.card-body .btn:hover {
  background: var(--forest);
  color: var(--white);
  transform: translateY(-2px);
}

/* Generic content section */
.section {
  padding: 60px 24px;
}
.section.alt { background: var(--cream-dark); }

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; }
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  max-width: 1100px;
  margin: 30px auto 0;
}
.gallery img { height: 160px; object-fit: cover; width: 100%; }

.gallery-lg {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 1000px;
  justify-content: center;
}
.gallery-lg img { height: 260px; }

.badge {
  display: inline-block;
  background: var(--forest);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.info-box {
  background: var(--white);
  border-left: 5px solid var(--gold);
  border-radius: 10px;
  padding: 20px 24px;
  box-shadow: var(--shadow);
  margin: 20px 0;
}

.give-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 30px auto 0;
}
@media (max-width: 800px) { .give-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .give-grid { grid-template-columns: 1fr; } }

.give-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  text-align: center;
}
.give-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.give-card a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}
.give-card a:hover { color: var(--gold-dark); }

/* Coming soon banner */
.coming-soon {
  background: var(--gold);
  color: var(--ink);
  text-align: center;
  font-weight: 700;
  padding: 10px;
  font-size: 0.9rem;
}

/* Contact form (static mockup) */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 640px;
  margin: 20px auto 0;
}
.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  border: 1px solid #d8cfbe;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  width: 100%;
}
.contact-form .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .contact-form { grid-template-columns: 1fr; } }

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

/* Footer */
footer.site-footer {
  background: var(--forest-dark);
  color: var(--cream);
  padding: 46px 24px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
}
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; } }

footer h3 { color: var(--white); font-size: 1rem; margin-bottom: 12px; }
footer a { color: #ded8c2; }
footer a:hover { color: var(--gold); }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 6px; }

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: #cfc9b8;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
