@import url("/css/bootstrap-grid.min.css");
@import url("/css/bootstrap-utilities.min.css");
@import url("/css/navigation.css");
@import url("/css/buttons.css");

:root {
  /* ===== CORE BRAND COLORS ===== */
  --navy-blue: #002B5C;
  --patriot-red: #C8102E;
  --off-white: #F7F7F7;
  --charcoal-gray: #333333;
  --gold: #C9A64D;

  /* ===== SCENARIO COLORS ===== */
  --steel-gray: #4A4A4A;          /* Power Grid scenarios */
  --crimson-red: #A63829;         /* Severe Weather alerts */
  --forest-green: #6B7A4E;        /* Supply Chain content */
  --slate-blue: #8798A3;          /* Urban scenarios */
  --deep-teal: #2C5F61;           /* Water-related content */
  --bronze: #8B6F47;              /* Economic preparedness */

  /* ===== SUPPORTING NEUTRALS ===== */
  --warm-beige: #D6C6A8;          /* Card backgrounds */
  --wolf-gray: #6C6C6C;           /* Secondary text */
  --midnight: #1A1A1A;            /* Dark backgrounds */
  --military-green: #4A5D23;      /* Success states */
  --amber: #D4A574;               /* Warning states */
  --dusty-blue: #5C7A89;          /* Info content */

  /* ===== READY GUY PERSONAL BRAND ===== */
  --burnt-orange: #CC6600;        /* Ready Guy highlights */
  --canyon-brown: #8B4513;        /* Rustic elements */
  --sage-green: #87A96B;          /* Practical content */

  /* ===== FUNCTIONAL COLORS ===== */
  --success: var(--military-green);
  --warning: var(--amber);
  --danger: var(--crimson-red);
  --info: var(--dusty-blue);

  /* ===== BACKGROUND VARIANTS ===== */
  --bg-primary: var(--navy-blue);
  --bg-secondary: var(--warm-beige);
  --bg-dark: var(--midnight);
  --bg-light: var(--off-white);

  /* ===== TEXT VARIANTS ===== */
  --text-primary: var(--charcoal-gray);
  --text-secondary: var(--wolf-gray);
  --text-light: var(--off-white);
  --text-accent: var(--patriot-red);

  /* ===== HOVER STATES (10% darker) ===== */
  --navy-blue-hover: #001f42;
  --patriot-red-hover: #a00d26;
  --steel-gray-hover: #3a3a3a;
  --crimson-red-hover: #8b2e20;
  --forest-green-hover: #5a6842;
  --slate-blue-hover: #6b7a8a;

  /* ===== SHADOWS & BORDERS ===== */
  --shadow-light: 0 2px 4px rgba(0, 43, 92, 0.1);
  --shadow-medium: 0 4px 8px rgba(0, 43, 92, 0.15);
  --shadow-heavy: 0 8px 16px rgba(0, 43, 92, 0.2);
  --border-color: var(--wolf-gray);
  --border-light: var(--warm-beige);

  /* ===== TYPOGRAPHY SCALE ===== */
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.125rem;   /* 18px */
  --font-size-xl: 1.25rem;    /* 20px */
  --font-size-2xl: 1.5rem;    /* 24px */
  --font-size-3xl: 1.875rem;  /* 30px */
  --font-size-4xl: 2.25rem;   /* 36px */

  /* ===== SPACING SCALE ===== */
  --space-xs: 0.25rem;    /* 4px */
  --space-sm: 0.5rem;     /* 8px */
  --space-md: 1rem;       /* 16px */
  --space-lg: 1.5rem;     /* 24px */
  --space-xl: 2rem;       /* 32px */
  --space-2xl: 3rem;      /* 48px */
  --space-3xl: 4rem;      /* 64px */

  /* ===== BORDER RADIUS ===== */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 50%;

  /* ===== TRANSITIONS ===== */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Remove conflicting container - let flexboxgrid handle it */
/* .container is defined in flexboxgrid.min.css */

body {
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.6;
    color: var(--steel-gray);
    background-color: var(--warm-beige);
}

ul, ol {
    list-style: inside;
    margin-left: 1rem;
    li {
        margin-bottom: 0.25rem;
    }
}
ol {
    list-style-type: number;
}
p, ul, ol {
    margin-bottom: 1rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    margin-bottom: 1rem;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--steel-gray) 0%, #333 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-section > a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo > img {
    max-width: 100%;
}

.logo-text h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
}

.logo-text .tagline {
    font-size: 0.9rem;
    opacity: 0.9;
    font-style: italic;
}

.img-fluid {
    max-width: 100%;
}

.article-img {
    margin: auto;
}

/* Rotating Banner */
.rotating-banner {
    background: #A63829;
    color: white;
    text-align: center;
    padding: 1rem;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(74,74,74,0.8), rgba(74,74,74,0.8)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23D6C6A8" width="1200" height="600"/><path fill="%236B7A4E" opacity="0.3" d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z"/></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content {
    max-width: 810px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero .hero-img {
    height: 175px;
    width: 175px;
    margin: auto;
    display: block;
}

.hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-style: italic;
}

/* ===========================================
   VALUE PROPOSITION SECTION (Flexbox Grid)
   ========================================== */
.value-prop {
    background: #FEFEFE;
    text-align: center;
    margin-bottom: 5rem;
    padding: 3rem 0;
    border-radius: 5px;
}

.value-prop h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.8rem;
    color: #4A4A4A;
    margin-bottom: 1.5rem;
}

.value-prop .subtitle {
    font-size: 1.3rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Value points - work with flexbox grid cols */
.value-point {
    text-align: center;
    padding: 2rem 1rem;
    margin-bottom: 2rem;
}

.value-point .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.value-point h3 {
    font-family: 'Oswald', sans-serif;
    color: #4A4A4A;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.value-point p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}


/* Scenario background styles */
.power-grid-bg {
    background: linear-gradient(45deg, #4A4A4A, #333), url('/img/power-grid.png');
    background-size: cover;
    background-blend-mode: overlay;
}

.severe-weather-bg {
    background: linear-gradient(45deg, #A63829, #8b2e20), url('/img/severe-weather.png');
    background-size: cover;
    background-blend-mode: overlay;
}

.urban-disaster-bg {
    background: linear-gradient(45deg, #8798A3, #6b7a8a), url('/img/urban-disaster.png');
    background-size: cover;
    background-blend-mode: overlay;
}

/* ===========================================
   OTHER SECTIONS
   ========================================== */

/* Main Content (for articles) */
.main-content {
    max-width: 1000px;
    padding: 2rem;
    background: white;
    margin-top: -2rem;
    margin-bottom: 2rem;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

/* Mission Section */
.mission-section {
    background: var(--steel-gray);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.mission-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.mission-section p {
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: #333333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    margin-bottom: 0.5rem;
}

/* Side menu (for program pages) */
.side-menu {
    display: none;
}

@media screen and (min-width: 768px) {
    .side-menu {
        display: block;
        position: sticky;
    }
}

.side-menu div + div {
    margin-top: 0.25em;
}

.side-menu div {
    border-radius: 5px;
    transition: all 0.3s ease;
}

.side-menu a {
    display: block;
    text-decoration: none;
    padding: 0.2em 0.5em;
    color: var(--crimson-red);
}

.side-menu div:hover {
    background: var(--crimson-red);
    color: white;
}

.side-menu div:hover a {
    color: white;
}

.side-menu div.active > a {
    color: white;
    border-radius: 5px;
    background: var(--crimson-red);
}

.highlights {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.highlights h4 {
    color: var(--steel-gray);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid var(--patriot-red);
    padding-bottom: 0.25rem;
    display: inline-block;
}

.highlights ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlights li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #555;
    line-height: 1.5;
}

.highlights li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--patriot-red);
    font-weight: bold;
    font-size: 1.1rem;
}


/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}
