/* Shefah site styles. Palette: deep green (abundance/growth) + teal (flow/healing). */

:root {
  --deep-green: #1F3D2E;
  --mid-green: #2E5945;
  --teal: #3E7C8C;
  --sand: #F7F4EE;
  --cream: #FFFFFF;
  --text: #2B2B28;
  --muted: #6B6B64;
  --gold: #C9A227;
  --radius: 10px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--sand);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--deep-green);
  line-height: 1.25;
  margin: 0 0 0.5em 0;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.6rem; margin-top: 1.6em; }
h3 { font-size: 1.2rem; color: var(--mid-green); }

p { margin: 0 0 1em 0; }

a { color: var(--teal); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / Nav */
header.site-header {
  background: var(--cream);
  border-bottom: 1px solid #E4E0D6;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 44px;
  width: auto;
  display: block;
}

nav.main-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

nav.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  border-bottom: 2px solid var(--teal);
  color: var(--deep-green);
}

.nav-cta {
  background: var(--mid-green);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 999px;
  border-bottom: none !important;
}

.nav-cta:hover {
  background: var(--deep-green);
  border-bottom: none !important;
}

/* Hero */
.hero {
  padding: 64px 0 40px;
  text-align: center;
}

.hero .eyebrow {
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.hero h1 { margin-bottom: 6px; }

.hero .tagline {
  font-family: Georgia, serif;
  font-style: italic;
  color: var(--muted);
  font-size: 1.2rem;
  margin-bottom: 22px;
}

.wave {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 12px;
}

/* Photo hero: a real river photo behind the homepage hero content */
.hero-photo {
  position: relative;
  padding: 90px 0 0;
  color: #FFFFFF;
  background-image: linear-gradient(rgba(24, 46, 35, 0.4), rgba(24, 46, 35, 0.55)),
    url("https://static.wixstatic.com/media/9b6116_3f277e4286664efe95a39f6c6d55e6e3~mv2_d_2311_1536_s_2.jpg/v1/fill/w_1920,h_1280,al_c,q_90,usm_0.66_1.00_0.01,enc_avif,quality_auto/9b6116_3f277e4286664efe95a39f6c6d55e6e3~mv2_d_2311_1536_s_2.jpg");
  background-size: cover;
  background-position: center;
}

.hero-photo .eyebrow { color: #BFE3DA; }
.hero-photo h1 { color: #FFFFFF; }
.hero-photo .tagline { color: #EAF2ED; }
.hero-photo p { color: #F3F6F2; }

.hero-photo .btn-secondary {
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.hero-photo .btn-secondary:hover {
  background: #FFFFFF;
  color: var(--deep-green);
}

.hero-photo .wave {
  margin-top: 40px;
}

/* Buttons */
.btn-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--mid-green);
  color: #fff;
}

.btn-primary:hover { background: var(--deep-green); }

.btn-secondary {
  background: transparent;
  color: var(--deep-green);
  border: 2px solid var(--mid-green);
}

.btn-secondary:hover { background: var(--mid-green); color: #fff; }

/* Sections */
section {
  padding: 40px 0;
}

section.alt {
  background: var(--cream);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.card {
  background: var(--cream);
  border: 1px solid #E4E0D6;
  border-radius: var(--radius);
  padding: 24px;
}

section.alt .card {
  background: var(--sand);
}

/* Placeholder boxes for embeds/forms not yet wired up */
.placeholder-box {
  border: 2px dashed var(--teal);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  color: var(--muted);
  background: #EEF5F3;
  margin: 20px 0;
}

.placeholder-box strong { color: var(--mid-green); }

/* Forms */
form.simple-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 460px;
}

form.simple-form label {
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--mid-green);
}

form.simple-form input,
form.simple-form select,
form.simple-form textarea {
  padding: 10px 12px;
  border: 1px solid #CFCABB;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}

form.simple-form button {
  align-self: flex-start;
}

/* Transparency box */
.transparency {
  border-top: 1px solid #E4E0D6;
  margin-top: 30px;
  padding-top: 24px;
  font-size: 0.95rem;
  color: var(--muted);
}

/* River divider: thin wave used as a visual seam between sections */
.river-divider {
  width: 100%;
  height: 26px;
  overflow: hidden;
  line-height: 0;
}

.river-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Wave transition into the footer, like a river reaching the sea */
.footer-transition {
  width: 100%;
  height: 60px;
  overflow: hidden;
  line-height: 0;
  background: var(--sand);
}

.footer-transition svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Footer */
footer.site-footer {
  background: var(--deep-green);
  color: #E9EFE9;
  padding: 36px 0 24px;
  margin-top: 0;
}

.footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: 14px;
}

footer.site-footer a { color: #C9DDD1; }

footer.site-footer .footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

footer.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 10px;
}

footer.site-footer p, footer.site-footer li {
  font-size: 0.9rem;
  color: #C9DDD1;
}

footer.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

@media (max-width: 640px) {
  .nav-row { flex-direction: column; align-items: flex-start; }
  .hero { padding: 44px 0 28px; }
  h1 { font-size: 1.9rem; }
}
