/*
Theme Name: ShebaCare
Description: Custom WordPress theme converted from the ShebaCare static website.
Version: 1.0.0
Text Domain: shebacare
*/

/* Navigation uses explicit theme selectors so it is not affected by plugin CSS. */
.shebacare-brand {
  color: var(--foreground);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.shebacare-brand-logo {
  display: inline-flex;
  align-items: center;
}
.shebacare-brand-logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
}
.shebacare-brand-logo .custom-logo {
  max-height: 44px;
  width: auto;
  height: auto;
}
.shebacare-desktop-nav,
.shebacare-desktop-actions {
  display: none;
}
.shebacare-menu-toggle {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--background);
  color: var(--foreground);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}
.shebacare-menu-toggle:hover,
.shebacare-menu-toggle[aria-expanded="true"] {
  background: var(--primary);
  color: var(--primary-foreground);
  transform: translateY(-1px);
}
.shebacare-mobile-panel {
  display: block;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  border-top: 0 solid var(--border);
  background: var(--background);
  transition:
    max-height 0.32s ease,
    opacity 0.2s ease,
    border-color 0.2s ease;
}
.shebacare-mobile-panel.is-open {
  max-height: 620px;
  opacity: 1;
  border-top-width: 1px;
}
.shebacare-mobile-panel > .shebacare-mobile-links,
.shebacare-mobile-panel > a {
  margin-left: 20px;
  margin-right: 20px;
}
.shebacare-mobile-links {
  display: grid;
  gap: 4px;
  padding: 16px 0 10px;
}
.shebacare-mobile-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  color: var(--foreground);
  font-size: 15px;
  font-weight: 600;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.shebacare-mobile-links a:hover,
.shebacare-mobile-links .current-menu-item a {
  background: var(--secondary);
  color: var(--primary);
}
.shebacare-mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 15px;
  font-weight: 700;
}
.shebacare-mobile-phone {
  display: flex;
  justify-content: center;
  padding: 15px 0 20px;
  color: var(--muted-foreground);
  font-size: 14px;
  font-weight: 600;
}

/* Full-screen mobile navigation, modelled on the supplied clean menu pattern. */
@media (max-width: 899px) {
  .shebacare-mobile-panel {
    position: fixed;
    top: 66px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 49;
    max-height: none;
    min-height: 0;
    transform: translateX(-100%);
    opacity: 1;
    visibility: hidden;
    overflow-y: auto;
    border: 0;
    background: #fff;
    transition:
      transform 0.28s ease,
      visibility 0.28s ease;
  }
  .shebacare-mobile-panel.is-open {
    max-height: none;
    transform: translateX(0);
    visibility: visible;
    border: 0;
  }
  .shebacare-mobile-content {
    padding: 15px 22px 34px;
  }
  .shebacare-mobile-panel > .shebacare-mobile-links,
  .shebacare-mobile-panel > a {
    margin-left: 0;
    margin-right: 0;
  }
  .shebacare-mobile-links {
    gap: 0;
    padding: 0;
  }
  .shebacare-mobile-links a {
    min-height: 40px;
    padding: 0;
    border-radius: 0;
    color: #3b3037;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.01em;
  }
  .shebacare-mobile-links a:hover,
  .shebacare-mobile-links .current-menu-item a {
    background: transparent;
    color: #e82e79;
  }
}
@media (min-width: 900px) {
  .shebacare-desktop-nav {
    display: flex;
    align-items: center;
    gap: 2px;
  }
  .shebacare-desktop-nav ul {
    display: flex;
    align-items: center;
    gap: 2px;
  }
  .shebacare-desktop-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--muted-foreground);
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    transition:
      background 0.2s ease,
      color 0.2s ease;
  }
  .shebacare-desktop-nav a:hover,
  .shebacare-desktop-nav .current-menu-item a {
    background: var(--secondary);
    color: var(--foreground);
  }
  .shebacare-desktop-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .shebacare-whatsapp {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    background: #168b48;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition:
      background 0.2s ease,
      transform 0.2s ease;
  }
  .shebacare-whatsapp:hover {
    background: #10753b;
    transform: translateY(-1px);
  }
  .shebacare-menu-toggle,
  .shebacare-mobile-panel {
    display: none !important;
  }
}

/* Light top padding for page hero sections (Tailwind utilities like pt-8/pb-10 were not generated, so this class does it reliably). */
.shebacare-hero-top {
  padding-top: 24px;
}
@media (min-width: 768px) {
  .shebacare-hero-top {
    padding-top: 32px;
  }
}

/* Extra bottom spacing below the "Ready to get started?" CTA on service detail pages. */
.shebacare-cta-gap {
  padding-bottom: 96px;
}
@media (min-width: 768px) {
  .shebacare-cta-gap {
    padding-bottom: 128px;
  }
}
