/* ============================================================
   MOBILE LAYOUT OVERRIDES
   Healing Chiropractic Hands – mobile.css
   
   Mobile homepage shows:
   - Clinic name (top left) + dropdown button (top right)
   - Logo centered below header
   - Calendar/Book Now centered
   - Address (bottom left) + Map Round button + Contact button
   ============================================================ */

@media (max-width: 768px) {

  /* ---- Header: name left, button right, no logo in header ---- */
  #site-header {
    padding: 10px 14px;
    gap: 8px;
  }

  /* Hide the logo in the header on mobile (shown below instead) */
  #site-header .site-logo {
    display: none;
  }

  .site-title-area {
    text-align: left;
    padding: 0;
  }
  .site-title-area .clinic-name {
    font-size: 1rem;
    line-height: 1.3;
  }
  .site-title-area .clinic-subtitle {
    display: none;  /* hide subtitle on mobile */
  }

  /* ---- Mobile logo block below header ---- */
  .mobile-logo-block {
    display: flex;
    justify-content: center;
    padding: 20px 0 10px;
  }
  .mobile-logo-block img {
    height: 120px;
    width: auto;
    object-fit: contain;
  }

  /* ---- Feature section: show only Book Now on mobile ---- */
  .feature-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 0 auto;
    gap: 20px;
  }

  /* Hide My Thoughts and Healing Lasers cards on mobile */
  .feature-card.card-thoughts,
  .feature-card.card-lasers {
    display: none;
  }

  /* Keep only Book Now visible on mobile */
  .feature-card.card-book {
    display: flex;
  }

  /* ---- Mobile footer ---- */
  #site-footer {
    padding: 20px 16px;
  }

  .footer-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-address-wrap {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    flex: 1 1 55%;
  }

  /* Use the round map icon on mobile */
  .footer-map-btn .map-desktop { display: none; }
  .footer-map-btn .map-mobile  { display: block; }

  .footer-map-btn img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
  }

  .footer-address {
    font-size: 0.82rem;
  }

  .footer-social-wrap {
    flex: 0 1 auto;
    justify-content: flex-end;
    gap: 10px;
    align-self: center;
  }

  .footer-social-btn img,
  #contact-btn img {
    width: 48px;
    height: 48px;
  }

  /* Hide YouTube and Facebook on mobile footer — keep only map + contact */
  .footer-social-btn.social-youtube,
  .footer-social-btn.social-facebook {
    display: none;
  }
}

/* Desktop: hide mobile-only elements */
@media (min-width: 769px) {
  .mobile-logo-block {
    display: none;
  }
  .footer-map-btn .map-mobile { display: none; }
  .footer-map-btn .map-desktop { display: block; }
}
