/*
Theme Name:  CFORRS Child
Theme URI:   https://centerforrecallsafety.com
Author:      Center for Recall Safety
Author URI:  https://centerforrecallsafety.com
Description: Child theme for Center for Recall Safety — applies CFORRS brand styling (colors, fonts, nav, footer) on top of the Consalt parent theme.
Template:    consalt
Version:     1.0.0
License:     Private
Text Domain: cforrs-child
*/

/* ─────────────────────────────────────────────────────────────
   CFORRS BRAND VARIABLES
───────────────────────────────────────────────────────────── */
:root {
  --navy:        #0A1929;
  --navy-mid:    #1D3547;
  --navy-light:  #2A4A63;
  --red:         #E53935;
  --red-light:   #FFEBEE;
  --gold:        #FFD700;
  --orange:      #FF6B35;
  --orange-dark: #E55A25;
  --green:       #2E7D32;
  --green-light: #E8F5E9;
  --white:       #FFFFFF;
  --gray-light:  #F5F7FA;
  --gray-mid:    #E0E6EE;
  --gray-text:   #5A6A7A;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.16);
}

/* ─────────────────────────────────────────────────────────────
   BASE OVERRIDES
───────────────────────────────────────────────────────────── */
body {
  font-family: 'Open Sans', sans-serif;
  color: #1a1a2e;
  background: #ffffff;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--navy);
}

a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dark); }

/* ─────────────────────────────────────────────────────────────
   ALERT BANNER
───────────────────────────────────────────────────────────── */
.cforrs-alert-banner {
  background: var(--red);
  color: white;
  text-align: center;
  padding: 10px 24px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3px;
  position: sticky;
  top: 0;
  z-index: 200;
}
.cforrs-alert-banner a {
  color: var(--gold);
  text-decoration: underline;
}

/* ─────────────────────────────────────────────────────────────
   NAVIGATION OVERRIDE
───────────────────────────────────────────────────────────── */
.cforrs-nav {
  position: sticky;
  top: 44px;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  transition: top 0.15s ease;
}
.cforrs-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1160px;
  margin: 0 auto;
}
.cforrs-nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.cforrs-nav-logo img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}
.cforrs-logo-text .top {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: white;
  letter-spacing: 0.5px;
}
.cforrs-logo-text .sub {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 9px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.cforrs-nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cforrs-nav-menu li a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 13px;
  border-radius: 8px;
  transition: all 0.2s;
  display: block;
}
.cforrs-nav-menu li a:hover {
  color: white;
  background: rgba(255,255,255,0.08);
}
.cforrs-nav-menu li.menu-item-cta a {
  background: var(--orange);
  color: white !important;
  border-radius: 20px;
  padding: 9px 20px;
}
.cforrs-nav-menu li.menu-item-cta a:hover {
  background: var(--orange-dark);
}
/* Mobile nav */
.cforrs-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.cforrs-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─────────────────────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────────────────────── */
.btn, .button,
input[type="submit"],
input[type="button"],
button[type="submit"] {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: none;
  padding: 14px 28px;
  font-size: 15px;
}
.btn-primary, .button-primary {
  background: var(--orange);
  color: white;
}
.btn-primary:hover, .button-primary:hover {
  background: var(--orange-dark);
  color: white;
  transform: translateY(-2px);
}
.btn-navy {
  background: var(--navy);
  color: white;
}
.btn-navy:hover {
  background: var(--navy-mid);
  color: white;
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: white;
}

/* ─────────────────────────────────────────────────────────────
   SECTION UTILITIES
───────────────────────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.section-label.navy   { background: rgba(10,25,41,0.08); color: var(--navy); }
.section-label.orange { background: rgba(255,107,53,0.10); color: var(--orange); }
.section-label.red    { background: var(--red-light); color: var(--red); }
.section-label.green  { background: var(--green-light); color: var(--green); }
.section-label.gold   { background: rgba(255,215,0,0.15); color: #B8860B; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head h2 {
  font-size: 36px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-head p {
  font-size: 17px;
  color: var(--gray-text);
  line-height: 1.7;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─────────────────────────────────────────────────────────────
   FOOTER OVERRIDE
───────────────────────────────────────────────────────────── */
.cforrs-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
  font-family: 'Open Sans', sans-serif;
}
.cforrs-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.cforrs-footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  margin-bottom: 16px;
}
.cforrs-footer-brand .brand-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: white;
  margin-bottom: 4px;
}
.cforrs-footer-brand .brand-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.cforrs-footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  max-width: 280px;
}
.cforrs-footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.cforrs-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cforrs-footer-col ul li {
  margin-bottom: 12px;
}
.cforrs-footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}
.cforrs-footer-col ul li a:hover {
  color: white;
}
.cforrs-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 12px;
}
.cforrs-footer-legal {
  display: flex;
  gap: 20px;
}
.cforrs-footer-legal a {
  color: rgba(255,255,255,0.35);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}
.cforrs-footer-legal a:hover { color: rgba(255,255,255,0.7); }
.cforrs-footer-disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  margin-top: 20px;
  line-height: 1.6;
  padding-bottom: 32px;
}

/* ─────────────────────────────────────────────────────────────
   WORDPRESS CONTENT AREA
───────────────────────────────────────────────────────────── */
.cforrs-page-content {
  padding: 64px 0;
}
.cforrs-page-content h1 { font-size: 40px; margin-bottom: 20px; }
.cforrs-page-content h2 { font-size: 30px; margin-bottom: 16px; }
.cforrs-page-content p  { font-size: 16px; line-height: 1.8; margin-bottom: 20px; color: var(--gray-text); }

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cforrs-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .cforrs-nav-menu { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); padding: 16px 24px; gap: 0; }
  .cforrs-nav-menu.open { display: flex; }
  .cforrs-nav-toggle { display: block; }
  .cforrs-nav { position: relative; }
  .section-head h2 { font-size: 28px; }
  .cforrs-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cforrs-footer-bottom { flex-direction: column; text-align: center; }
}
