/* ==================================================
   JURUPA HILLS POST ACUTE CARE PROJECT
   Community information site — warm & friendly theme
   ================================================== */

:root {
  /* Color — warm, human, healthcare-with-a-welcome */
  --cream:      #FBF3E4;   /* page background, warm sand */
  --panel:      #FFFDF9;   /* card background, soft warm white */
  --ink:        #3A2E27;   /* primary text, warm espresso brown */
  --ink-soft:   #8A7A6C;   /* secondary text, warm taupe */
  --line:       #EFDFC7;   /* soft warm border */
  --coral:      #D9636A;   /* primary accent — warm coral-rose */
  --coral-deep: #BE4B52;   /* hover / pressed */
  --green:      #4F7A5B;   /* secondary accent — sage green, calm/care */
  --green-soft: #E7EEE6;   /* pale green tint for chips/highlights */

  --font-display: "Lora", Georgia, serif;
  --font-body: "Mulish", -apple-system, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--coral-deep); }
a:hover { color: var(--coral); }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--cream);
}

.nav-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
}

.brand::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
  margin-right: 0.55rem;
  vertical-align: middle;
}

nav.site-nav ul {
  display: flex;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

nav.site-nav a {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

nav.site-nav a:hover {
  color: var(--ink);
  background: var(--green-soft);
}

nav.site-nav a[aria-current="page"] {
  color: #FFFFFF;
  background: var(--coral);
}

/* ---------- Home page ---------- */
.hero {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem 4rem;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.55;
  z-index: 0;
}

.hero-blob-coral {
  width: 380px;
  height: 380px;
  background: #F0A6A0;
  top: -90px;
  left: -110px;
}

.hero-blob-green {
  width: 320px;
  height: 320px;
  background: #A9C6AE;
  bottom: -100px;
  right: -90px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  background: var(--panel);
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(58, 46, 39, 0.10);
  padding: 3rem;
  max-width: 640px;
  width: 100%;
}

.hero-kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-soft);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  margin: 0 0 1.4rem;
}

.hero p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin: 0 0 1.1rem;
}

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

/* ---------- Plan / document pages ---------- */
.plan-page {
  flex: 1;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.plan-sheet {
  background: var(--panel);
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(58, 46, 39, 0.08);
  padding: 0.75rem;
}

.plan-sheet img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.plan-download {
  text-align: center;
}

.plan-download a {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--coral-deep);
}

.plan-download a:hover {
  color: var(--coral);
}

/* ---------- Contact page ---------- */
.contact-page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}

.contact-card {
  background: var(--panel);
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(58, 46, 39, 0.10);
  padding: 3rem;
  max-width: 520px;
  width: 100%;
}

.contact-card h2 {
  font-size: 1.5rem;
  margin: 0 0 1.5rem;
}

.contact-row {
  display: flex;
  flex-direction: column;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.contact-row:first-of-type { border-top: none; }

.contact-label {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green);
  margin-bottom: 0.3rem;
}

.contact-value {
  font-size: 1.1rem;
}

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  padding: 1.5rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--ink-soft);
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .hero-inner, .contact-card { padding: 1.85rem; }
  .pdf-page { padding: 0.75rem; }
  .hero-blob { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

a:focus-visible, .pdf-embed:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}
