/*
Theme Name:  My Client Theme
Theme URI:   https://example.com
Author:      Zumesco Tech
Author URI:  https://zumescotech.com
Description: Child theme of Zumesco Tech Theme. Brand-specific overrides for [Client Name].
Version:     1.0.0
Template:    zumesco-tech-theme
Requires at least: 6.4
Requires PHP: 8.1
License:     GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-client-theme
*/

/*
 * Brand colour overrides.
 * These CSS custom properties cascade over the parent theme's tokens.
 */
:root {
  --zu-purple:       #0ea5e9; /* swap to client brand colour */
  --zu-purple-hover: #0284c7;
  --zu-purple-light: #e0f2fe;
  --zu-purple-mid:   #38bdf8;
}

/* ── Mobile nav fix — full overlay, no scroll ── */
@media (max-width: 860px) {
  .primary-navigation.is-open {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: fixed;
    inset: 0;
    top: var(--zu-header-h, 68px);
    background: #ffffff;
    z-index: 800;
    padding: 2rem 1.5rem;
    overflow: hidden; /* NO scroll — all items must fit */
    gap: 0.5rem;
    height: calc(100dvh - var(--zu-header-h, 68px));
  }

  .primary-navigation.is-open ul.nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .primary-navigation.is-open a {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 0.875rem 1rem;
    color: #1e293b;
    border-radius: 8px;
    transition: background 0.18s, color 0.18s;
  }

  .primary-navigation.is-open a:hover {
    background: #ede9fe;
    color: #7c3aed;
  }

  /* CTA button inside open mobile nav */
  .primary-navigation.is-open ~ .nav-cta-wrap,
  body.nav-open .nav-cta-wrap {
    display: none; /* Hide desktop CTA when mobile menu is open */
  }
}

/* Mobile-only CTA inside nav overlay */
.mobile-nav-cta { display: none; }

@media (max-width: 860px) {
  .primary-navigation.is-open .mobile-nav-cta { display: block; width: 100%; }
}

/* ── Lucide icon helpers ── */
.star-icon { color: #f59e0b; fill: #f59e0b; }

/* ── Generic Lucide icon baseline ── */
.lucide-icon {
  display: inline-block;
  vertical-align: middle;
  stroke-width: 1.8;
}

/* ── Block-editable content wrappers ── */
.page-content-blocks {
  /* Uses existing section + container spacing; this just ensures consistency
     when editors add free-form blocks. */
}

.page-content-blocks > .container {
  max-width: 720px;
}

.page-content-blocks > .container > * + * {
  margin-top: 1.25rem;
}

.page-content-blocks h2,
.page-content-blocks h3,
.page-content-blocks h4 {
  font-family: 'Instrument Serif', Georgia, serif;
  color: var(--zu-text-label, #1e293b);
  letter-spacing: -0.015em;
}

.page-content-blocks h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.page-content-blocks h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.35rem;
}

.page-content-blocks p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--zu-text-muted, #64748b);
}

.page-content-blocks ul,
.page-content-blocks ol {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}

.page-content-blocks li {
  margin-bottom: 0.25rem;
}

.page-content-blocks .wp-block-button__link {
  /* Align core button block with existing zu-btn styling */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
  font-weight: 700;
  border: none;
  background: var(--zu-purple, #0ea5e9);
  color: #fff;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.page-content-blocks .wp-block-button__link:hover {
  background: var(--zu-purple-hover, #0284c7);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.25);
}
