/*
Theme Name: ALVA Child
Template: twentytwentyfive
Author: NextHop
Description: Child theme for ALVA Health
Version: 1.5
*/

:root {
  --alva-green:#20C997;
  --alva-coral:#FF6F61;
  --alva-gray:#AEAEAE;
  --alva-black:#000000;
  --alva-white:#FFFFFF;
}

/* === HERO SECTION === */
.hero--alva {
  background: var(--alva-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
}

/* Logo size and spacing */
.hero--alva img {
  width: 140px !important;
  height: auto !important;
  display: block;
  margin: 0 auto 24px auto;
}

/* Slogan (Heading) styling - grey */
.hero--alva h1,
.hero--alva .wp-block-heading,
.template-alva-hero h1,
.template-alva-hero .wp-block-heading {
  color: var(--alva-gray) !important;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 10px;
  text-align: center;
}

/* Contact line (email) */
.hero--alva .contact {
  margin-top: 0.5rem;
  text-align: center;
}
.hero--alva .contact a {
  color: var(--alva-green);
  text-decoration: underline;
}

/* === FOOTER === */
.alva-footer {
  background: #fff;
  padding: 24px 0;
  text-align: center;
}
.alva-footer .wp-block-navigation {
  justify-content: center;
}
.alva-footer a {
  color: #AEAEAE;
}
.alva-footer a:hover {
  color: #000;
}

/* === PAGE TEMPLATE CENTERING FIX === */
.template-alva-hero main > .wp-block-group:first-of-type {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  justify-content: center !important;
  min-height: 100vh;
  text-align: center !important;
  padding: 0 1rem;
}
.template-alva-hero .wp-block-image,
.template-alva-hero .wp-block-heading,
.template-alva-hero p {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}
.template-alva-hero .wp-block-image img {
  width: 140px !important;
  height: auto !important;
  display: block;
  margin: 0 auto 20px !important;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero--alva {
    min-height: 90vh;
    padding: 2rem 1rem;
  }
  .hero--alva img {
    width: 110px !important;
    margin-bottom: 16px;
  }
}