/*
Theme Name: Heritage Home Care
Theme URI: https://www.heritagehomecareaz.com
Description: Custom theme for Heritage Home Care AZ
Author: On The Map Marketing
Version: 1.1
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Open+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #1B4D7A;
  --primary-dark: #0F3254;
  --secondary: #C5963A;
  --secondary-light: #D4A94E;
  --accent: #2E7D5B;
  --cream: #FAF6F0;
  --warmgray: #F5F0EB;
}

body { font-family: 'Open Sans', sans-serif; color: #374151; }
h1, h2, h3, h4, h5 { font-family: 'Playfair Display', serif; }

.btn-primary { background: var(--primary); color: white; padding: 12px 32px; border-radius: 4px; transition: all 0.3s; display: inline-block; text-decoration: none; }
.btn-primary:hover { background: var(--primary-dark); color: white; }
.btn-secondary { background: var(--secondary); color: white; padding: 12px 32px; border-radius: 4px; transition: all 0.3s; display: inline-block; text-decoration: none; }
.btn-secondary:hover { background: var(--secondary-light); color: white; }

.service-card { transition: transform 0.3s, box-shadow 0.3s; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }

.nav-link:hover { color: var(--secondary); }

/* Blog */
.blog-card { background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.08); transition: transform 0.3s, box-shadow 0.3s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.12); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card .content { padding: 20px; }
.blog-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.blog-card h3 a { color: var(--primary); text-decoration: none; }
.blog-card h3 a:hover { color: var(--secondary); }

.entry-content { max-width: 800px; margin: 0 auto; line-height: 1.8; }
.entry-content h2 { color: var(--primary); margin: 30px 0 15px; font-size: 1.5rem; }
.entry-content h3 { color: var(--primary-dark); margin: 25px 0 12px; font-size: 1.25rem; }
.entry-content p { margin-bottom: 15px; }
.entry-content ul, .entry-content ol { margin: 15px 0; padding-left: 30px; }
.entry-content li { margin-bottom: 8px; }

/* Mobile Menu */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}


/* Interior page banner head-clip fix — top-anchor btm3-bg-img so faces are visible above the H1 (homepage slider handled inline in front-page.php). 2026-05-31 */
img[src*="btm3-bg-img"] { object-position: 50% 0% !important; }



/* Inner-page hero — taller container (py-24 md:py-32 equivalent) so more of the btm3-bg-img background is visible above/below the H1. 2026-05-31 */
section.bg-primary.py-16.relative.overflow-hidden {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}
@media (min-width: 768px) {
  section.bg-primary.py-16.relative.overflow-hidden {
    padding-top: 8rem !important;
    padding-bottom: 8rem !important;
  }
}
/* === Dual CTA Bar === */
.dual-cta-bar {
  background: #1B4D7A;
}
.dual-cta-card {
  display: block;
  padding: 24px 32px;
  color: white;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}
.dual-cta-care {
  background: #1B4D7A;
}
.dual-cta-care:hover {
  background: #0F3254;
  color: white;
}
.dual-cta-careers {
  background: #2E7D5B;
}
.dual-cta-careers:hover {
  background: #236A4A;
  color: white;
}
.dual-cta-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dual-cta-card h3 { font-family: 'Playfair Display', serif; }

/* === Persona Cards (Who Needs Care?) === */
.persona-card {
  display: block;
  background: white;
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.persona-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}
.persona-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* === Testimonial Cards === */
.testimonial-card {
  transition: transform 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* === Accordion (Employee Resources) === */
.accordion-item {
  border-color: #e5e7eb;
}
.accordion-header:focus {
  outline: 2px solid #C5963A;
  outline-offset: -2px;
}
.accordion-body {
  border-top: 1px solid #e5e7eb;
}

/* === Hero Video === */
#hero video {
  object-position: center 30%;
}

/* === Password Form Styling === */
.post-password-form {
  text-align: center;
}
.post-password-form label {
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
  color: #1B4D7A;
}
.post-password-form input[type="password"] {
  width: 100%;
  max-width: 300px;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  margin-bottom: 12px;
  font-size: 16px;
}
.post-password-form input[type="password"]:focus {
  border-color: #C5963A;
  outline: none;
}
.post-password-form input[type="submit"] {
  background: #1B4D7A;
  color: white;
  padding: 12px 32px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}
.post-password-form input[type="submit"]:hover {
  background: #0F3254;
}

