/*
Theme Name: Bharat Certificate Child
Theme URI: https://castecertificate.com
Description: Child theme of Twenty Twenty-Five for Bharat Certificate — custom sticky header, dark footer, brand palette. Homepage content/design comes from the Bharat Certificate Automation Engine plugin.
Author: Bharat Certificate
Template: twentytwentyfive
Version: 1.0.1
Text Domain: bharat-certificate-child
*/

/* Sticky white header (Phase 2 spec: 72px desktop, white, bottom border) */
.bca-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #E2E8F0;
  box-shadow: 0 1px 8px rgba(15, 42, 61, 0.05);
}
body.admin-bar .bca-site-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .bca-site-header { top: 46px; }
}
.bca-site-header .wp-block-site-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #0F2A3D;
}
.bca-site-header .wp-block-site-title a {
  color: #0F2A3D;
  text-decoration: none;
}
.bca-site-header .wp-block-navigation a {
  font-size: 15px;
  font-weight: 600;
  color: #2F5866;
}
.bca-site-header .wp-block-navigation a:hover { color: #00AEEE; }
.bca-header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
}
@media (max-width: 640px) {
  .bca-header-inner { min-height: 64px; }
  .bca-site-header .wp-block-site-title { font-size: 19px; }
}

/* Dark navy footer (Phase 2 spec) */
.bca-site-footer {
  background: #0F2A3D;
  color: #CBD5E1;
}
.bca-site-footer a { color: #E2E8F0; text-decoration: none; }
.bca-site-footer a:hover { color: #00AEEE; }
.bca-site-footer .bca-footer-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
}
.bca-site-footer .bca-footer-head {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.bca-site-footer p { font-size: 14px; line-height: 1.65; }
.bca-site-footer .bca-footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  color: #94A3B8;
}

/* Mobile (v1.0.1): header stops sticking so it does not eat phone
   screen space; bar gets slimmer; footer breathes less. */
@media (max-width: 640px) {
  .bca-site-header { position: static; box-shadow: none; }
  .bca-header-inner { min-height: 58px; }
  .bca-site-header .wp-block-navigation a { font-size: 14px; }
  .bca-site-footer p { font-size: 13.5px; }
}
