/*
Theme Name: Edenbrook College Modern
Theme URI: https://edenbrookcollege.ca/
Author: Edenbrook College Engineering
Author URI: https://edenbrookcollege.ca/
Description: Advanced, lightning-fast, high-converting custom theme for Edenbrook College. Engineered with semantic HTML5, Schema.org microdata, modular section commenting, and GPU-accelerated micro-animations.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
Text Domain: edenbrook-theme
*/

/* ======================================================
GLOBAL CSS CUSTOM PROPERTIES (DESIGN TOKENS)
====================================================== */
:root {
  /* Brand Colors — Official Edenbrook Dark Grey-Blue & Maroon Palette */
  --ebc-navy-primary: #1F2733;       /* Dark Grey-Blue (Primary Institutional Dark) */
  --ebc-navy-secondary: #283344;     /* Medium Dark Grey-Blue */
  --ebc-navy-dark: #141A23;          /* Deep Charcoal Grey-Blue (Topbar / Footer / Deepest Dark) */
  --ebc-navy-surface: #2E3A4D;       /* Elevated Surface Slate */

  /* Contrast Accent: Official Edenbrook Maroon (#8B110E from live site & crest) */
  --ebc-maroon-primary: #8B110E;     /* Official Edenbrook Maroon */
  --ebc-maroon-hover: #A81512;       /* Vibrant Crimson Hover */
  --ebc-maroon-glow: rgba(139, 17, 14, 0.35);
  --ebc-maroon-light: #FDF2F2;       /* Soft Maroon Tint */
  --ebc-maroon-bright: #FF6B68;      /* Bright Coral-Maroon for dark bg readability */

  /* Aliasing gold tokens to Maroon for backwards-compatibility */
  --ebc-gold-primary: #8B110E;
  --ebc-gold-hover: #A81512;
  --ebc-gold-glow: rgba(139, 17, 14, 0.35);

  --ebc-emerald-primary: #059669;
  --ebc-emerald-light: #ECFDF5;
  --ebc-blue-primary: #2563EB;
  --ebc-blue-light: #EFF6FF;

  /* Neutral Surface & Background Colors */
  --ebc-bg-light: #F8FAFC;
  --ebc-bg-card: #FFFFFF;
  --ebc-text-main: #111827;
  --ebc-text-muted: #4B5563;
  --ebc-border-light: #E5E7EB;

  /* Typography */
  --ebc-font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ebc-font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Elevation & Shadows */
  --ebc-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --ebc-shadow-md: 0 4px 14px rgba(0, 0, 0, 0.07);
  --ebc-shadow-lg: 0 12px 32px rgba(11, 27, 61, 0.1);
  --ebc-shadow-hover: 0 18px 40px rgba(11, 27, 61, 0.16);

  /* Layout Containers */
  --ebc-max-width: 1240px;
  --ebc-max-width-narrow: 860px;
  --ebc-gutter: 24px;
}

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

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

body {
  font-family: var(--ebc-font-body);
  color: var(--ebc-text-muted);
  background-color: #FFFFFF;
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

ul {
  list-style: none;
}
