/*
Theme Name: WESTCA
Theme URI: https://westcasj.com
Author URI: https://westcasj.com
Author: Filipe Carvalho
Description: WESTCA brand block theme — dark, soft gold, tall bold display type. Personal training gym in Downtown San Jose.
Version: 1.0.2
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: westca
*/

/* ===== WESTCA guideline extras (what theme.json can't express) ===== */

/* Tall display headings */
h1, h2, h3, .wp-block-post-title {
  line-height: 0.98;
}

/* Eyebrow label */
.westca-eyebrow {
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 12px !important;
  font-weight: 700;
  color: var(--wp--preset--color--gold);
  font-family: var(--wp--preset--font-family--inter) !important;
}

/* Gold check list */
.westca-checklist ul { list-style: none; padding-left: 0; }
.westca-checklist li { padding-left: 1.5em; position: relative; margin-bottom: .55em; }
.westca-checklist li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--wp--preset--color--gold);
  font-weight: 800;
}

/* Stars */
.westca-stars { color: var(--wp--preset--color--gold); letter-spacing: 2px; }

/* Card */
.westca-card {
  background: var(--wp--preset--color--surface);
  border: 1px solid rgba(207, 158, 85, 0.18);
  border-radius: 14px;
  overflow: hidden;
}

/* Buttons: gold glow + hover lift */
.wp-block-button__link {
  box-shadow: 0 8px 24px rgba(207, 158, 85, 0.28);
  transition: transform .15s ease, box-shadow .2s ease;
}
.wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(207, 158, 85, 0.42);
  color: #1a1206;
}
.is-style-outline .wp-block-button__link {
  box-shadow: none;
  border-color: rgba(207, 158, 85, 0.4) !important;
}
.is-style-outline .wp-block-button__link:hover {
  border-color: var(--wp--preset--color--gold) !important;
  color: var(--wp--preset--color--gold);
}

/* Header nav (core navigation block) */
.westca-mainnav a {
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--wp--preset--color--muted);
  text-decoration: none;
  transition: color .15s ease;
}
.westca-mainnav a:hover { color: var(--wp--preset--color--gold); }
.westca-mainnav { gap: 26px; }

/* Hamburger + mobile overlay */
.westca-mainnav .wp-block-navigation__responsive-container-open,
.westca-mainnav .wp-block-navigation__responsive-container-close {
  color: var(--wp--preset--color--text);
}
.westca-mainnav .wp-block-navigation__responsive-container.is-menu-open {
  background: var(--wp--preset--color--bg) !important;
  padding: 88px 28px 28px;
}
.westca-mainnav .wp-block-navigation__responsive-container.is-menu-open a {
  font-size: 22px;
  letter-spacing: 1.6px;
  color: var(--wp--preset--color--text);
  padding: 10px 0;
}
.westca-mainnav .wp-block-navigation__responsive-container.is-menu-open a:hover { color: var(--wp--preset--color--gold); }

/* Header responsive tuning */
@media (max-width: 782px) {
  .westca-logo img { width: 106px !important; }
  .westca-header-cta .wp-block-button__link { padding: 10px 16px !important; font-size: 12px !important; }
}

/* Hero lead width */
.westca-lead { max-width: 560px; }

/* Divider line under proof numbers */
.westca-proof b { color: var(--wp--preset--color--text); }

/* Footer links (buttons keep their own colors) */
.westca-footer a:not(.wp-block-button__link) { color: var(--wp--preset--color--muted); text-decoration: none; }
.westca-footer a:not(.wp-block-button__link):hover { color: var(--wp--preset--color--gold); }
.westca-footer .wp-block-button__link { color: #1a1206 !important; }
.westca-footer-label {
  text-transform: uppercase; letter-spacing: 2px; font-size: 12px !important;
  font-weight: 700; color: var(--wp--preset--color--gold);
}

/* Blog cards */
.westca-post-card { background: var(--wp--preset--color--surface); border: 1px solid rgba(255,255,255,.06); border-radius: 14px; overflow: hidden; }
.westca-post-card .wp-block-post-title a { text-decoration: none; }
.westca-post-card .wp-block-post-title a:hover { color: var(--wp--preset--color--gold); }

/* Keep wide images tidy */
img { height: auto; }

/* ===== Bottom navigation (mobile / PWA) ===== */
.westca-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 990;
  display: none;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  background: rgba(10, 10, 11, .96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(207, 158, 85, .18);
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px));
}
.wbn-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: var(--wp--preset--color--muted-2);
  text-decoration: none;
  font-size: 10.5px; font-weight: 600; letter-spacing: .4px;
  padding: 4px 2px;
}
.wbn-item svg { width: 22px; height: 22px; fill: currentColor; }
.wbn-item.wbn-active { color: var(--wp--preset--color--text); }
.wbn-item:hover { color: var(--wp--preset--color--gold); }

/* Central booking button */
.wbn-primary {
  position: relative;
  margin-top: -26px;
  color: #1a1206 !important;
}
.wbn-primary svg {
  width: 26px; height: 26px;
  background: linear-gradient(135deg, var(--wp--preset--color--gold-light), var(--wp--preset--color--gold));
  border-radius: 50%;
  padding: 14px;
  box-shadow: 0 10px 26px rgba(207, 158, 85, .45);
  box-sizing: content-box;
}
.wbn-primary span {
  color: var(--wp--preset--color--gold-light);
  font-weight: 800;
  margin-top: 2px;
}

@media (max-width: 782px) {
  .westca-bottomnav { display: grid; }
  body { padding-bottom: 86px; }
}
