/*
Theme Name: Valleyside Hospice
Theme URI: https://valleysidehospice.com
Author: Valleyside Hospice
Author URI: https://valleysidehospice.com
Description: Custom theme for Valleyside Hospice - Serving Phoenix, Glendale & Scottsdale AZ
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: valleyside
Tags: one-page, hospice, healthcare, responsive
*/

/* ==============================
   CSS RESET & BASE
   ============================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --teal:        #6b4f7c;   /* dusty plum – primary */
  --teal-dark:   #4a3358;   /* deep aubergine – dark variant */
  --teal-light:  #f0eaf5;   /* soft lavender blush – light bg tint */
  --gold:        #b5717a;   /* muted rose – accent */
  --gold-light:  #f7edf0;   /* pale blush – accent light bg */
  --text:        #2c2830;   /* near-black with purple undertone */
  --text-light:  #5e5468;   /* dusty mauve-grey body text */
  --white:       #ffffff;
  --bg-light:    #faf8fc;   /* whisper lavender page bg */
  --border:      #ddd4e6;   /* soft violet border */
  --radius:      10px;
  --shadow:      0 4px 20px rgba(75,51,100,0.09);
  --font-body:   'Lato', sans-serif;
  --font-head:   'Playfair Display', serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--teal-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.25;
  color: var(--text);
}

/* ==============================
   LAYOUT UTILITIES
   ============================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

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

/* ==============================
   HEADER
   ============================== */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--teal-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(107,79,124,0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-header__logo {
  height: 48px;
  width: auto;
}

.site-header__name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--teal-dark);
  font-weight: 700;
  line-height: 1.2;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-header__nav a {
  padding: 8px 14px;
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.site-header__nav a:hover {
  color: var(--teal);
  background: var(--teal-light);
}

.site-header__phone {
  background: var(--teal);
  color: var(--white) !important;
  padding: 10px 18px !important;
  border-radius: 30px !important;
  font-weight: 700 !important;
  white-space: nowrap;
}

.site-header__phone:hover {
  background: var(--teal-dark) !important;
  color: var(--white) !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transition: 0.3s;
}

/* ==============================
   FOOTER
   ============================== */
.site-footer {
  background: var(--teal-dark);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 0;
}

.site-footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-col h4 {
  font-family: var(--font-head);
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.footer-col p,
.footer-col address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-col a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); }

.footer-col ul {
  list-style: none;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ==============================
   HERO SECTION
   ============================== */
.hero {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 60%, #7d5e8e 100%);
  color: var(--white);
  padding: 110px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==============================
   BUTTONS
   ============================== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

.btn--primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn--primary:hover {
  background: #b07d30;
  color: var(--white);
  border-color: #b07d30;
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}

.btn--outline:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}

.btn--teal {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.btn--teal:hover {
  background: var(--teal-dark);
  color: var(--white);
}

/* ==============================
   SECTION HEADINGS
   ============================== */
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--teal-dark);
  margin-bottom: 16px;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--gold);
  margin-top: 12px;
  border-radius: 2px;
}

.section-title--center {
  text-align: center;
}

.section-title--center::after {
  margin-left: auto;
  margin-right: auto;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 680px;
}

.section-intro--center {
  text-align: center;
  margin: 0 auto 48px;
}

/* ==============================
   MISSION SECTION
   ============================== */
.mission__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}

.mission__content p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.mission__quote {
  font-style: italic;
  color: var(--teal);
  font-size: 1.1rem;
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  margin-top: 24px;
}

.mission__image {
  text-align: center;
}

.mission__image img {
  max-width: 150px;
  opacity: 0.85;
}

/* ==============================
   TEAM SECTION
   ============================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(107,79,124,0.14);
}

.team-card__icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.team-card h3 {
  font-size: 1.1rem;
  color: var(--teal-dark);
  margin-bottom: 10px;
}

.team-card p {
  font-size: 0.92rem;
  color: var(--text-light);
}

/* ==============================
   SIGNS/WHEN TO CONSIDER SECTION
   ============================== */
.signs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.sign-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border-left: 4px solid var(--teal);
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s;
}

.sign-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.sign-card__emoji {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.sign-card h3 {
  font-size: 1rem;
  color: var(--teal-dark);
  margin-bottom: 8px;
}

.sign-card p {
  font-size: 0.92rem;
  color: var(--text-light);
}

/* ==============================
   CONTACT SECTION
   ============================== */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.2rem;
  color: var(--teal-dark);
  margin-bottom: 20px;
}

.contact-info__item {
  margin-bottom: 20px;
}

.contact-info__label {
  font-weight: 700;
  color: var(--text);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contact-info__value {
  color: var(--text-light);
}

.contact-info__value a {
  color: var(--teal);
  font-weight: 600;
  font-size: 1.1rem;
}

.contact-form-wrap h3 {
  font-size: 1.2rem;
  color: var(--teal-dark);
  margin-bottom: 20px;
}

/* ==============================
   CONTACT FORM 7 STYLING
   ============================== */
.wpcf7 {
  font-family: var(--font-body);
}

.wpcf7 .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 16px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(107,79,124,0.14);
}

.wpcf7 textarea {
  min-height: 130px;
  resize: vertical;
}

.wpcf7 input[type="submit"],
.wpcf7 .wpcf7-submit {
  background: var(--teal);
  color: var(--white);
  border: none;
  padding: 14px 32px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 .wpcf7-submit:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
}

.wpcf7 .wpcf7-not-valid-tip {
  color: #c0392b;
  font-size: 0.82rem;
  margin-top: 4px;
  display: block;
}

.wpcf7 .wpcf7-response-output {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  border: none !important;
}

.wpcf7 .wpcf7-mail-sent-ok {
  background: var(--teal-light);
  color: var(--teal-dark);
}

.wpcf7 .wpcf7-validation-errors,
.wpcf7 .wpcf7-mail-sent-ng {
  background: #fdecea;
  color: #c0392b;
}

/* ==============================
   WORDPRESS CORE CONTENT STYLES
   ============================== */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  font-family: var(--font-head);
  color: var(--teal-dark);
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.entry-content p { margin-bottom: 1em; }
.entry-content ul, .entry-content ol { margin-left: 1.5em; margin-bottom: 1em; }

.wp-block-image { margin: 2em 0; }
.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; margin: 0 2em 1em 0; }
.alignright { float: right; margin: 0 0 1em 2em; }

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 900px) {
  .site-footer .container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .site-header__nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--teal-light);
    padding: 16px 24px 20px;
    gap: 4px;
  }

  .site-header__nav.is-open { display: flex; }

  .site-header__nav a { width: 100%; }

  .nav-toggle { display: flex; }

  .mission__inner,
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .mission__image { order: -1; }
  .mission__image img { margin: 0 auto; }

  .site-footer .container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section { padding: 56px 0; }
}
	
.grecaptcha-badge { visibility: hidden; 
}

@media (max-width: 480px) {
  .hero { padding: 80px 0 60px; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .signs-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}