/*
Theme Name: Senior Strong
Theme URI: https://seniorstrongco.com
Description: Custom theme for Senior Strong Care Planning by Kayla Cook
Author: Senior Strong Co
Version: 1.0.0
License: GNU General Public License v2 or later
*/

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sage: #5A7A6A;
  --sage-light: #EDF2EE;
  --sage-mid: #B8CFC0;
  --warm: #C4784A;
  --warm-light: #FAF3ED;
  --text: #2C2A26;
  --muted: #6B6560;
  --border: rgba(90,122,106,0.15);
  --ff: "Playfair Display", Georgia, serif;
}

body {
  background: #FDFAF7;
  color: var(--text);
  font-family: var(--ff);
}

/* ── NAV ── */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  border-bottom: 0.5px solid var(--border);
  background: #FDFAF7;
  flex-wrap: nowrap;
  gap: 20px;
}
.nav-logo-group {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-logo-icon {
  height: 110px;
  width: auto;
  display: block;
}
.nav-logo-text {
  height: 62px;
  width: auto;
  display: block;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
  justify-content: flex-end;
}
.nav-logo { font-size: 20px; font-weight: 500; color: var(--sage); letter-spacing: 0.02em; }
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  font-family: var(--ff);
  font-size: 16px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.nav-links li { list-style: none; }
.nav-links a {
  text-decoration: none;
  color: inherit;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.nav-links a:hover { border-bottom-color: var(--sage); }
.nav-cta {
  font-family: var(--ff);
  font-size: 15px;
  background: var(--warm);
  color: #fff;
  padding: 8px 20px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

/* ── HERO ── */
.hero {
  padding: 80px 40px 70px;
  text-align: center;
  max-width: 100%;
  margin: 0;
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(253,250,247,0.75);
  z-index: 1;
}
.hero-inner { position: relative; z-index: 2; }
.hero-eyebrow {
  font-family: var(--ff);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 20px;
}
.hero h1 { font-size: 60px; font-weight: 400; line-height: 1.18; color: var(--text); margin-bottom: 22px; }
.hero h1 em { color: var(--sage); font-style: italic; }
.hero p {
  font-size: 22px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--warm);
  color: #fff;
  padding: 14px 32px;
  border-radius: 40px;
  font-family: var(--ff);
  font-size: 17px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn-secondary {
  background: transparent;
  color: var(--sage);
  padding: 14px 32px;
  border-radius: 40px;
  font-family: var(--ff);
  font-size: 17px;
  border: 1.5px solid var(--sage);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn-white {
  background: white;
  color: var(--sage);
  padding: 14px 36px;
  border-radius: 40px;
  font-family: var(--ff);
  font-size: 17px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
}

/* ── SECTION LABELS / DIVIDERS ── */
.leaf-divider {
  text-align: center;
  padding: 10px 0;
  color: var(--sage-mid);
  font-size: 25px;
  letter-spacing: 8px;
}
.section-label {
  font-family: var(--ff);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 12px;
}

/* ── HOUSING BLOCK ── */
.housing-block {
  background: white;
  padding: 72px 40px;
  border-bottom: 0.5px solid var(--border);
}
.housing-block-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.housing-block h2 {
  font-size: 38px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 18px;
}
.housing-block p {
  font-family: var(--ff);
  font-size: 19px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 32px;
}

/* ── VIDEO SECTION ── */
.video-section {
  background: #FDFAF7;
  padding: 40px 40px 50px;
}
.video-section-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  margin-bottom: 36px;
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
  border-radius: 12px;
}
.video-eyebrow {
  font-family: var(--ff);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 28px;
  font-weight: 600;
}
.video-body {
  font-family: var(--ff);
  font-size: 17px;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 20px;
}
.video-body.accent { color: var(--sage); font-style: italic; }

/* ── CONSULTATION ── */
.consult {
  padding: 64px 40px;
  position: relative;
  background-size: cover;
  background-position: center;
}
.consult-overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(237,242,238,0.88);
  z-index: 1;
}
.consult-inner {
  max-width: 740px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.consult h2 {
  font-size: 41px;
  font-weight: 400;
  margin-bottom: 16px;
  text-align: center;
  text-transform: capitalize;
}
.consult > .consult-inner > p,
.consult p {
  font-size: 21px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 32px;
}
.cover-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}
.cover-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: white;
  padding: 16px;
  border-radius: 10px;
  border: 0.5px solid var(--border);
}
.cover-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sage);
  margin-top: 6px;
  flex-shrink: 0;
}
.cover-text {
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: 18px;
  color: var(--text);
  line-height: 1.5;
  font-style: italic;
  letter-spacing: 0.01em;
}
.who-box {
  background: white;
  border-radius: 12px;
  border: 0.5px solid var(--border);
  padding: 24px 28px;
  margin-bottom: 28px;
}
.who-box h3 { font-size: 20px; font-weight: 400; color: var(--sage); margin-bottom: 14px; }
.who-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.who-list li {
  font-family: var(--ff);
  font-size: 16px;
  color: var(--muted);
  display: flex;
  gap: 10px;
  line-height: 1.5;
}
.who-list li::before { content: "→"; color: var(--warm); flex-shrink: 0; }

/* ── SERVICES ── */
.services { padding: 72px 40px; background: #FDFAF7; }
.services-inner { max-width: 800px; margin: 0 auto; }
.services h2 { font-size: 41px; font-weight: 400; text-align: center; margin-bottom: 8px; }
.services-sub {
  font-family: var(--ff);
  font-size: 18px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 44px;
}
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.scard {
  background: white;
  border: 0.5px solid var(--border);
  border-radius: 14px;
  padding: 28px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.scard-icon { font-size: 32px; }
.scard h3 { font-size: 23px; font-weight: 400; color: var(--sage); line-height: 1.3; }
.scard p { font-family: var(--ff); font-size: 15px; color: var(--muted); line-height: 1.65; flex: 1; }
.scard-btn {
  font-family: var(--ff);
  font-size: 15px;
  color: var(--warm);
  background: var(--warm-light);
  border: none;
  padding: 9px 18px;
  border-radius: 30px;
  cursor: pointer;
  align-self: center;
  margin-top: 4px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  width: 100%;
}

/* ── ABOUT ── */
.about { background: var(--sage-light); padding: 72px 40px; }
.about-inner {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}
.about-sidebar { display: flex; flex-direction: column; gap: 18px; }
.about-photo {
  width: 200px; height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 4px solid white;
  box-shadow: 0 4px 20px rgba(90,122,106,0.2);
  display: block;
}
.about-credentials { display: flex; flex-direction: column; gap: 8px; }
.cred {
  background: white;
  border-radius: 8px;
  border: 0.5px solid var(--border);
  padding: 10px 14px;
  font-family: var(--ff);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}
.cred strong { display: block; font-size: 15px; color: var(--text); font-weight: 500; }
.about-content h2 { font-size: 39px; font-weight: 400; margin-bottom: 6px; }
.about-content p { font-family: var(--ff); font-size: 17px; color: var(--muted); line-height: 1.8; margin-bottom: 14px; }
.about-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 0.5px solid var(--border);
  border-radius: 20px;
  padding: 5px 12px;
  font-family: var(--ff);
  font-size: 14px;
  color: var(--muted);
  margin: 3px;
}

/* ── CTA BANNER ── */
.cta-banner {
  padding: 64px 40px;
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: center;
}
.cta-overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(90,122,106,0.85);
  z-index: 1;
}
.cta-inner { position: relative; z-index: 2; }
.cta-banner h2 { font-size: 44px; font-weight: 400; color: white; margin-bottom: 12px; }
.cta-banner p {
  font-family: var(--ff);
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 30px;
}

/* ── CONTACT FORM ── */
.contact-section {
  background: #FDFAF7;
  padding: 80px 40px;
  border-top: 0.5px solid rgba(90,122,106,0.15);
}
.contact-inner {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}
.contact-eyebrow {
  font-family: var(--ff);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 12px;
}
.contact-inner h2 {
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 10px;
}
.contact-inner > p {
  font-family: var(--ff);
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 36px;
  line-height: 1.7;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; }
.form-group label {
  font-family: var(--ff);
  font-size: 14px;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 0.5px solid rgba(90,122,106,0.3);
  border-radius: 8px;
  font-size: 16px;
  font-family: var(--ff);
  background: white;
  color: var(--text);
  outline: none;
}
.form-group textarea { resize: vertical; }
.form-submit {
  background: var(--warm);
  color: white;
  padding: 14px 32px;
  border-radius: 40px;
  font-family: var(--ff);
  font-size: 17px;
  border: none;
  cursor: pointer;
  align-self: center;
  width: -webkit-fit-content;
  width: fit-content;
}

/* ── FOOTER ── */
.footer {
  padding: 28px 40px;
  text-align: center;
  font-family: var(--ff);
  font-size: 15px;
  color: var(--muted);
  border-top: 0.5px solid var(--border);
  background: #FDFAF7;
}

/* ── INNER PAGES ── */
.inner-hero {
  background: var(--sage-light);
  padding: 64px 40px 56px;
  border-bottom: 0.5px solid var(--border);
}
.inner-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}
.inner-eyebrow {
  font-family: var(--ff);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 14px;
}
.inner-title {
  font-size: 48px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
}
.inner-content {
  background: #FDFAF7;
  padding: 64px 40px 80px;
}
.inner-content-inner {
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--ff);
  font-size: 18px;
  color: var(--text);
  line-height: 1.8;
}
.inner-content-inner h1,
.inner-content-inner h2,
.inner-content-inner h3 {
  font-weight: 400;
  color: var(--text);
  margin: 36px 0 14px;
  line-height: 1.25;
}
.inner-content-inner h2 { font-size: 34px; }
.inner-content-inner h3 { font-size: 26px; color: var(--sage); }
.inner-content-inner p { margin-bottom: 20px; color: var(--muted); }
.inner-content-inner a { color: var(--warm); text-decoration: underline; }
.inner-content-inner ul,
.inner-content-inner ol {
  padding-left: 24px;
  margin-bottom: 20px;
  color: var(--muted);
}
.inner-content-inner li { margin-bottom: 8px; }
.inner-content-inner img { max-width: 100%; border-radius: 10px; margin: 20px 0; }
.inner-content-inner blockquote {
  border-left: 3px solid var(--sage-mid);
  margin: 28px 0;
  padding: 12px 24px;
  font-style: italic;
  color: var(--muted);
}

/* Post nav (prev/next on single posts) */
.post-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 0.5px solid var(--border);
  font-size: 15px;
}
.post-nav a { color: var(--warm); text-decoration: none; }

/* Post list (index / archive) */
.post-list { display: flex; flex-direction: column; gap: 36px; }
.post-card {
  border-bottom: 0.5px solid var(--border);
  padding-bottom: 36px;
}
.post-card:last-child { border-bottom: none; }
.post-card-meta {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 10px;
}
.post-card-title {
  font-size: 28px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}
.post-card-title a { text-decoration: none; color: inherit; }
.post-card-title a:hover { color: var(--sage); }
.post-card-excerpt { color: var(--muted); font-size: 17px; line-height: 1.7; margin-bottom: 16px; }
.post-card-link { color: var(--warm); font-size: 15px; text-decoration: none; }
.post-card-link:hover { text-decoration: underline; }

/* Pagination */
.pagination { margin-top: 48px; text-align: center; }
.pagination .nav-links { display: inline-flex; gap: 8px; list-style: none; }
.pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  border: 0.5px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover { background: var(--sage); color: white; border-color: var(--sage); }

/* ── BOOKING CONFIRMED ── */
.confirmed-wrap { background: #FDFAF7; padding: 80px 40px 100px; min-height: 70vh; display: flex; align-items: center; justify-content: center; }
.confirmed-inner { max-width: 620px; width: 100%; text-align: center; }
.confirmed-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--sage); color: white; font-size: 28px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.confirmed-inner h1 { font-size: 42px; font-weight: 400; color: var(--text); margin-bottom: 16px; line-height: 1.2; }
.confirmed-inner > p { font-size: 19px; color: var(--muted); line-height: 1.75; margin-bottom: 48px; }
.confirmed-next { background: white; border: 0.5px solid var(--border); border-radius: 4px; padding: 36px 40px; text-align: left; margin-bottom: 40px; }
.confirmed-next h2 { font-size: 22px; font-weight: 500; color: var(--text); margin-bottom: 20px; }
.confirmed-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.confirmed-list li { font-size: 17px; color: var(--muted); line-height: 1.6; padding-left: 24px; position: relative; }
.confirmed-list li::before { content: "—"; position: absolute; left: 0; color: var(--sage); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav { padding: 8px 12px; gap: 8px; }
  .nav-logo-group { gap: 6px; }
  .nav-logo-icon { height: 44px !important; }
  .nav-logo-text { height: 22px !important; }
  .nav-right { gap: 12px; }
  .nav-links { gap: 12px; font-size: 11px; }
  .nav-cta { display: none; }

  .hero { padding: 40px 16px 36px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
  .hero-btns { flex-direction: column; align-items: center; }

  .cover-grid { grid-template-columns: 1fr; }
  .service-cards { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }

  .consult,
  .services,
  .about,
  .cta-banner,
  .video-section,
  .contact-section { padding: 36px 16px; }

  .cta-banner h2 { font-size: 22px; }
  .footer { padding: 16px; font-size: 11px; }

  .housing-block { padding: 48px 20px; }
  .housing-block h2 { font-size: 26px; }

  .inner-hero { padding: 40px 20px 36px; }
  .inner-title { font-size: 30px; }
  .inner-content { padding: 40px 20px 60px; }
  .inner-content-inner h2 { font-size: 26px; }
  .inner-content-inner h3 { font-size: 21px; }
  .post-card-title { font-size: 22px; }
}
