/*
Theme Name: Betty Queen International School
Theme URI: https://bettyqueenschools.edu.ng
Author: Betty Queen International School
Author URI: https://bettyqueenschools.edu.ng
Description: A premier, high-performance, glassmorphic WordPress theme for Betty Queen International School Kaduna, Nigeria. Built with dual-campus architecture (Offa Road & Kabala), Nursery to Secondary curricula, Leadership/Faculty directory, and dynamic School Life photo gallery.
Version: 1.0.0
Requires at least: 5.9
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: betty-queen
Tags: education, school, two-columns, full-width-template, custom-logo, custom-menu, featured-images, theme-options, translation-ready
*/

/* ==========================================================================
   CSS CUSTOM PROPERTIES / DESIGN SYSTEM TOKENS
   Extracting the school uniform & crest colors: Deep Navy, Imperial Crimson,
   Prestige Gold, and Crisp White with Modern Glassmorphism.
   ========================================================================== */
:root {
  /* Brand Colors */
  --bq-navy-950: #050d1a;
  --bq-navy-900: #0a192f;
  --bq-navy-800: #0f2744;
  --bq-navy-700: #16365c;
  --bq-navy-600: #1e497b;

  --bq-crimson-800: #7a0c16;
  --bq-crimson-700: #9e131f;
  --bq-crimson-600: #ba1826;
  --bq-crimson-500: #d62030;
  --bq-crimson-400: #e83a49;

  --bq-gold-700: #a67c1e;
  --bq-gold-600: #c99726;
  --bq-gold-500: #d4af37;
  --bq-gold-400: #e8c55a;
  --bq-gold-300: #fae498;

  /* Neutral Slate / Backgrounds */
  --bq-white: #ffffff;
  --bq-slate-50: #f8fafc;
  --bq-slate-100: #f1f5f9;
  --bq-slate-200: #e2e8f0;
  --bq-slate-300: #cbd5e1;
  --bq-slate-400: #94a3b8;
  --bq-slate-500: #64748b;
  --bq-slate-600: #475569;
  --bq-slate-700: #334155;
  --bq-slate-800: #1e293b;
  --bq-slate-900: #0f172a;

  /* Glassmorphism System */
  --bq-glass-surface: rgba(255, 255, 255, 0.08);
  --bq-glass-surface-hover: rgba(255, 255, 255, 0.14);
  --bq-glass-border: rgba(255, 255, 255, 0.18);
  --bq-glass-border-hover: rgba(212, 175, 55, 0.45);
  --bq-glass-blur: blur(18px);
  --bq-glass-blur-sm: blur(10px);
  --bq-glass-blur-lg: blur(28px);

  /* Light Glass (for light containers) */
  --bq-glass-light-bg: rgba(255, 255, 255, 0.85);
  --bq-glass-light-border: rgba(255, 255, 255, 0.95);
  --bq-glass-light-shadow: 0 16px 40px -12px rgba(10, 25, 47, 0.08), 0 0 1px 1px rgba(226, 232, 240, 0.8);

  /* Deep Glass (for dark hero & banners) */
  --bq-glass-dark-bg: rgba(10, 25, 47, 0.72);
  --bq-glass-dark-border: rgba(255, 255, 255, 0.12);
  --bq-glass-dark-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.5);

  /* Shadows */
  --bq-shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.06);
  --bq-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --bq-shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.12);
  --bq-shadow-xl: 0 24px 60px rgba(15, 23, 42, 0.16);
  --bq-shadow-glow-crimson: 0 0 32px rgba(186, 24, 38, 0.35);
  --bq-shadow-glow-gold: 0 0 30px rgba(212, 175, 55, 0.35);

  /* Typography */
  --bq-font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --bq-font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Transitions */
  --bq-transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --bq-transition-base: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --bq-transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);

  /* Radii */
  --bq-radius-sm: 8px;
  --bq-radius-md: 14px;
  --bq-radius-lg: 20px;
  --bq-radius-xl: 28px;
  --bq-radius-full: 9999px;
}

/* ==========================================================================
   BASE RESET & TYPOGRAPHY
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--bq-font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--bq-slate-700);
  background-color: var(--bq-slate-50);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--bq-font-heading);
  color: var(--bq-navy-900);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.65rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); }
h4 { font-size: clamp(1.15rem, 1.5vw, 1.35rem); }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; }

p {
  margin-bottom: 1.25rem;
}
p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--bq-navy-700);
  text-decoration: none;
  transition: color var(--bq-transition-fast), border-color var(--bq-transition-fast);
}

a:hover, a:focus {
  color: var(--bq-crimson-600);
}

img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font: inherit;
}

/* Accessibility focus ring */
:focus-visible {
  outline: 3px solid var(--bq-gold-500);
  outline-offset: 3px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: var(--bq-navy-900);
  border-radius: var(--bq-radius-sm);
  box-shadow: var(--bq-shadow-lg);
  clip: auto !important;
  clip-path: none;
  color: var(--bq-white);
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 1rem;
  line-height: normal;
  padding: 1rem 1.5rem;
  text-decoration: none;
  top: 1rem;
  width: auto;
  z-index: 100000;
}

/* Base Container */
.bq-container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.bq-container-fluid {
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.bq-container-narrow {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
