/*
 * Heart of Hope — Global Layout, Header, Footer, Hero
 * Sanctuary‑Soft, Unclipped, Future‑Proof
 */
 
 
 :root,
body,
body * {
  font-family: 'Poppins', sans-serif !important;
}


/* =========================
   Body baseline
   ========================= */

body {
  background: var(--hoh-lavender-bg);
  margin: 0;
  padding: 0;
}

/* Optional: hide page title on specific page */
.page-id-840 .hoh-title,
.page-id-840 h1.entry-title {
  display: none !important;
}

/* =========================
   Header
   ========================= */

.hoh-header {
  background: #ffffff;
  border-radius: var(--hoh-radius-xl);
  padding: 20px 28px;
  margin: 20px auto;
  max-width: var(--hoh-max-width-main);
  box-shadow: var(--hoh-shadow-soft);
}

.hoh-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.hoh-logo img {
  height: 64px;
  width: auto;
  border-radius: 12px;
}

/* Desktop nav */
.hoh-header-nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
}

.hoh-header-nav a {
  font-family: var(--hoh-font-sans);
  padding: 8px 14px;
  color: var(--hoh-purple);
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease;
}

.hoh-header-nav a:hover {
  background: var(--hoh-purple-soft);
  color: var(--hoh-purple);
}

/* =========================
   GLOBAL HAMBURGER — SANCTUARY-SOFT
   ========================= */

.hoh-hamburger {
  display: none; /* shown at 900px breakpoint */
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 36px;
  height: 36px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hoh-hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--hoh-purple, #4b0082);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hoh-hamburger:hover span {
  background: var(--hoh-purple-dark, #3a0066);
}

/* Open state */
.hoh-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hoh-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hoh-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Body Chat header spacing */
#body-chat-header .hoh-hamburger {
  margin-right: 10px;
}

/* =========================
   Mobile menu slide-down
   ========================= */

/* =========================
   Mobile menu slide-down
   ========================= */

#hoh-mobile-menu {
  position: fixed;        /* overlay the whole page */
  top: 40px;
  left: 0;
  right: 0;
  z-index: 99999;

  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);

  background: var(--hoh-glass-tint);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(10px);

  transition:
    max-height 0.35s ease,
    opacity 0.25s ease,
    transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#hoh-mobile-menu.open {
  max-height: 100vh;      /* full screen */
  opacity: 1;
  transform: translateY(0);
}


/* Body scroll lock helper */
body.menu-open {
  overflow: hidden;
}

/* Body Chat fullscreen mode */
.chat-fullscreen {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 100%;
  border-radius: 0 !important;
  z-index: 9999;
}

/* =========================
   Hero
   ========================= */

.hoh-heart-icon .stroke {
  fill: var(--hoh-heart-red);
}

.hoh-heart-word .s0 {
  fill: var(--hoh-heart-red);
}

.hoh-heart-word .s1 {
  fill: var(--hoh-heart-red-accent);
}

.hoh-heart-icon:hover .stroke,
.hoh-heart-word:hover .s0,
.hoh-heart-word:hover .s1 {
  fill: var(--hoh-purple);
}

.hoh-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  width: 100%;
}

.hoh-heart-icon {
  height: 60px;
}

.hoh-heart-word {
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;
  margin: 0;
}

.hoh-of {
  font-family: var(--hoh-font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: #000000;
  margin: 0 0.25rem;
  line-height: 1;
}

.hoh-hope {
  font-family: var(--hoh-font-serif);
  font-size: 2.6rem;
  font-weight: 540;
  color: var(--hoh-purple);
  line-height: 1;
}

/* Soft entrance animation */
.hoh-heart-icon,
.hoh-heart-word,
.hoh-of,
.hoh-hope {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.8s ease-out forwards;
}

.hoh-heart-word { animation-delay: 0.15s; }
.hoh-of         { animation-delay: 0.30s; }
.hoh-hope       { animation-delay: 0.45s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   Footer
   ========================= */

.hoh-footer {
  background: linear-gradient(180deg, #ffffff 0%, #f9f6ff 100%);
  border-radius: var(--hoh-radius-xl);
  padding: 24px 28px;
  margin: 40px auto 20px auto;
  max-width: var(--hoh-max-width-main);
  box-shadow: var(--hoh-shadow-soft);
  border-top: 1px solid rgba(0,0,0,0.08);
}

.hoh-footer-inner {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 24px;
}

.hoh-footer-left p {
  margin: 0;
  color: var(--hoh-text-main);
  font-size: 15px;
}

.hoh-tagline {
  font-style: italic;
  opacity: 0.8;
}

.hoh-footer-scripture {
  font-style: italic;
  opacity: 0.75;
  margin-top: 6px;
  font-size: 14px;
}

/* Footer nav */
.hoh-footer-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.hoh-footer-nav a {
  font-family: var(--hoh-font-sans);
  padding: 8px 14px;
  color: var(--hoh-purple);
  font-weight: 500;
  font-size: 18px;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease;
}

.hoh-footer-nav a:hover {
  background: var(--hoh-purple-soft);
  color: var(--hoh-purple);
}

/* Back to top */
.hoh-back-to-top {
  text-align: center;
  margin-top: 20px;
}

.hoh-back-to-top a {
  color: var(--hoh-purple);
  font-weight: 600;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.hoh-back-to-top a:hover {
  background: rgba(128, 90, 160, 0.15);
}

/* =========================
   Responsive: header basics
   ========================= */

@media (max-width: 900px) {
  .hoh-header-nav {
    display: none;
  }

  .hoh-hamburger {
    display: flex;
  }

  .hoh-heart-icon {
    height: 40px;
  }
}

/* =========================
   OVERRIDES
   ========================= */

/* Body Chat hamburger must ALWAYS be visible */
#body-chat-hamburger.hoh-hamburger {
  display: flex !important;
}


.hoh-header {
  position: relative;
  overflow: visible;
}

/* =========================
   GLOBAL BUTTON SYSTEM — HOH SANCTUARY SOFT
   ========================= */

.hoh-btn,
button.hoh-btn,
a.hoh-btn,
input[type=submit].hoh-btn,
input[type=button].hoh-btn {
  padding: 0.6rem 1.2rem;
  border-radius: var(--hoh-radius-md);
  background: var(--hoh-purple);
  color: white !important;
  border: none;
  font-family: var(--hoh-font-sans);
  cursor: pointer;
  box-shadow: var(--hoh-shadow-soft);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: background 0.25s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

/* Hover */
.hoh-btn:hover {
  background: var(--hoh-purple-dark);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* Active press */
.hoh-btn:active {
  transform: scale(0.96);
}
