/*
Theme Name:   Rescue IQ Child
Theme URI:    https://rescue-iq.com
Description:  GeneratePress child theme for Rescue-IQ.com
Author:       Alex Bland / Rescue I.Q. LLC
Template:     generatepress
Version:      1.0.0
License:      GPL-2.0+
*/

/* ============================================================
   GOOGLE FONTS â Inter
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand palette */
  --navy:         #0B2340;
  --brand-blue:   #1B4F8A;
  --mid-blue:     #2E75B6;
  --off-white:    #F9FAFB;
  --light-gray:   #D1D5DB;
  --dark-gray:    #374151;
  --light-text:   #A8C4E0;
  --failsafe-red: #B91C1C; /* RESERVED â Failsafe Mode UI only */
  --success-green:#065F46;

  /* Role colors */
  --role-fm:      #C0392B;
  --role-an:      #F1C40F;
  --role-qm:      #1E8449;
  --role-sen:     #2980B9;
  --role-prov:    #6C3483;

  /* Typography */
  --font:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius:       8px;
}

/* ============================================================
   BASE RESET & GLOBALS
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background: var(--off-white);
  color: var(--dark-gray);
  line-height: 1.65;
  margin: 0;
  padding: 0;
}

/* Remove GeneratePress defaults on homepage template */
.page-template-template-home .site-main {
  padding: 0;
  margin: 0;
}

.page-template-template-home article.page {
  margin: 0;
  padding: 0;
}

.page-template-template-home .entry-content {
  margin: 0;
  padding: 0;
  max-width: none;
}

/* ============================================================
   NAVIGATION OVERRIDES (GeneratePress)
   ============================================================ */
.page-template-template-home .site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.page-template-template-home .site-header .inside-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
}

/* Logo area */
.page-template-template-home .site-branding {
  flex: 0 0 auto;
}

.page-template-template-home .site-title a {
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
  letter-spacing: -0.02em;
  font-family: var(--font);
}

/* Nav background: override GeneratePress base-3 white */
.page-template-template-home .main-navigation,
.page-template-template-home .main-navigation ul ul {
    background-color: transparent !important;
}

/* Nav links */
.page-template-template-home .main-navigation ul li a {
  color: rgba(255,255,255,0.88);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px;
  transition: color 0.15s;
}

.page-template-template-home .main-navigation ul li a:hover {
  color: #fff;
}

/* Waitlist CTA button in nav */
.riq-nav-cta a {
  background: var(--brand-blue) !important;
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: background 0.15s !important;
}

.riq-nav-cta a:hover {
  background: var(--mid-blue) !important;
}

/* Mobile hamburger */
.page-template-template-home .mobile-menu-control-wrapper button {
  color: #fff;
}

.page-template-template-home .slideout-navigation {
  background: var(--navy);
}

.page-template-template-home .slideout-navigation a {
  color: rgba(255,255,255,0.88);
}
