/* ========================================
   NON PARTISAN ASSOCIATION - ALBERTA
   Main Stylesheet - Modern & Bold Redesign
   Wilderness Theme with Traditional Serif Typography
   ======================================== */

/* Import Merriweather Font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700;900&family=Merriweather+Sans:wght@400;500;600;700&display=swap');

/* CSS Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* ========================================
     WILDERNESS COLOR PALETTE
     Inspired by Alberta's Natural Landscape
     ======================================== */

  /* Primary Wilderness Colors */
  --deep-forest: #1a3d2e;           /* Dark evergreen, primary dark */
  --mountain-stone: #4a5568;        /* Granite gray, secondary dark */
  --prairie-sky: #5a8fb4;           /* Alberta blue sky */
  --river-water: #457b9d;           /* Cool water blue */

  /* Earth Tones */
  --prairie-grass: #8b7355;         /* Dried grassland */
  --clay-soil: #a0826d;             /* Alberta clay */
  --sandstone: #c9b8a0;             /* Rocky terrain */
  --forest-moss: #6b8e6f;           /* Lichen green */

  /* Wildlife Accent Colors */
  --eagle-brown: #6d4e37;           /* Brown feathers */
  --owl-gold: #d4a574;              /* Owl eyes/beak */
  --hummingbird-ruby: #c83e4d;      /* Ruby throat */
  --beaver-amber: #cd853f;          /* Warm brown */

  /* Semantic Color Mappings */
  --primary-color: var(--deep-forest);
  --secondary-color: var(--mountain-stone);
  --accent-color: var(--owl-gold);
  --text-color: #1f2937;            /* Near black for maximum contrast */
  --text-light: var(--mountain-stone);
  --bg-color: #fafbfc;              /* Off-white background */
  --bg-secondary: #f4f6f8;          /* Slightly darker background */
  --border-color: #d1d5db;          /* Light gray border */
  --link-color: var(--river-water);
  --link-hover: var(--prairie-sky);

  /* Typography - Traditional Serif */
  --font-main: 'Merriweather', Georgia, 'Times New Roman', serif;
  --font-heading: 'Merriweather', Georgia, 'Times New Roman', serif;
  --font-display: 'Merriweather', Georgia, serif;     /* For hero text */
  --font-ui: 'Merriweather Sans', -apple-system, sans-serif;  /* For buttons/UI */

  /* ========================================
     SPACING SCALE - 8px Base Unit
     Enhanced for generous breathing room
     ======================================== */
  --space-0: 0;
  --space-1: 0.25rem;      /* 4px */
  --space-2: 0.5rem;       /* 8px */
  --space-3: 0.75rem;      /* 12px */
  --space-4: 1rem;         /* 16px */
  --space-5: 1.25rem;      /* 20px */
  --space-6: 1.5rem;       /* 24px */
  --space-8: 2rem;         /* 32px */
  --space-10: 2.5rem;      /* 40px */
  --space-12: 3rem;        /* 48px */
  --space-16: 4rem;        /* 64px */
  --space-20: 5rem;        /* 80px */
  --space-24: 6rem;        /* 96px */
  --space-32: 8rem;        /* 128px */

  /* Legacy spacing (for compatibility) */
  --spacing-xs: var(--space-2);
  --spacing-sm: var(--space-4);
  --spacing-md: var(--space-6);
  --spacing-lg: var(--space-8);
  --spacing-xl: var(--space-12);

  /* ========================================
     BORDER RADIUS
     ======================================== */
  --radius-none: 0;
  --radius-sm: 0.25rem;    /* 4px */
  --radius-base: 0.5rem;   /* 8px */
  --radius-md: 0.75rem;    /* 12px */
  --radius-lg: 1rem;       /* 16px */
  --radius-xl: 1.5rem;     /* 24px */
  --radius-2xl: 2rem;      /* 32px */
  --radius-full: 9999px;   /* Pill shape */

  /* ========================================
     SHADOWS - Multi-Layered for Depth
     ======================================== */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

  /* Colored Shadows for Brand Elements */
  --shadow-primary: 0 10px 25px -5px rgba(26, 61, 46, 0.3);     /* Deep forest glow */
  --shadow-accent: 0 10px 25px -5px rgba(212, 165, 116, 0.4);   /* Owl gold glow */
  --glow-sm: 0 0 10px rgba(90, 143, 180, 0.3);                  /* Prairie sky glow */
  --glow-md: 0 0 20px rgba(90, 143, 180, 0.4);

  /* ========================================
     TRANSITIONS & ANIMATIONS
     ======================================== */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.35s ease;
  --transition-slower: 0.5s ease;

  /* Easing Functions */
  --ease-linear: linear;
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* ========================================
     TYPE SCALE - 1.250 (Major Third)
     ======================================== */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.563rem;    /* 25px */
  --text-3xl: 1.953rem;    /* 31px */
  --text-4xl: 2.441rem;    /* 39px */
  --text-5xl: 3.052rem;    /* 49px */
  --text-6xl: 3.815rem;    /* 61px */

  /* Font Weights */
  --font-light: 300;
  --font-normal: 400;
  --font-bold: 700;
  --font-black: 900;

  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 1.75;
}

/* Base Typography */
html {
  font-size: 18.4px;
  scroll-behavior: smooth;
  background-color: #f8faf9;
}

body {
  font-family: var(--font-main);
  font-size: var(--text-lg);              /* 18px - generous for readability */
  line-height: var(--leading-relaxed);     /* 1.625 - improved reading comfort */
  color: var(--text-color);
  background-color: #f8faf9;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: var(--font-normal);
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);       /* 1.25 - tight for headings */
  margin-bottom: var(--spacing-md);
  color: var(--primary-color);             /* Deep forest color */
  letter-spacing: -0.025em;                 /* Slight negative tracking for elegance */
}

/* Enhanced Type Scale with Responsive Sizing */
h1 {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-5xl));  /* 39px - 49px */
  font-weight: var(--font-bold);
  margin-bottom: var(--space-8);
}

h2 {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));  /* 31px - 39px */
  margin-bottom: var(--space-6);
}

h3 {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));  /* 25px - 31px */
  margin-bottom: var(--space-5);
}

h4 {
  font-size: var(--text-2xl);             /* 25px */
  margin-bottom: var(--space-4);
}

h5 {
  font-size: var(--text-xl);              /* 20px */
  margin-bottom: var(--space-3);
}

h6 {
  font-size: var(--text-lg);              /* 18px */
  margin-bottom: var(--space-3);
}

p {
  margin-bottom: var(--spacing-sm);
}

a {
  color: var(--link-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

a:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Buttons */
button, .button {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-lg);
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  color: white;
  background-color: var(--primary-color);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

button:hover, .button:hover {
  background-color: var(--link-hover);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  transform: translateY(-1px);
}

button:focus, .button:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

button:active, .button:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* ========================================
   MICRO-INTERACTIONS
   ======================================== */

/* Ripple Effect for Buttons */
.ripple {
  position: relative;
  overflow: hidden;
}

.ripple::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  pointer-events: none;
}

.ripple:active::after {
  width: 300px;
  height: 300px;
}

/* Dynamic Ripple Effect (JavaScript-generated) */
.ripple-effect {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: translate(-50%, -50%) scale(0);
  animation: rippleAnimation 0.6s ease-out;
  pointer-events: none;
  z-index: 10;
}

@keyframes rippleAnimation {
  to {
    transform: translate(-50%, -50%) scale(15);
    opacity: 0;
  }
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out),
              transform 0.6s var(--ease-out);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s var(--ease-out),
              transform 0.7s var(--ease-out);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s var(--ease-out),
              transform 0.7s var(--ease-out);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s var(--ease-out),
              transform 0.5s var(--ease-out);
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children animations */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out),
              transform 0.5s var(--ease-out);
}

.stagger-children.active > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.active > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.active > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.active > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.active > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.active > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.active > *:nth-child(6) { transition-delay: 0.6s; }

/* Enhanced Input Focus States */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--prairie-sky);
  box-shadow: 0 0 0 3px rgba(90, 143, 180, 0.2),
              0 4px 12px rgba(90, 143, 180, 0.15);
  transform: translateY(-1px);
  transition: all var(--transition-normal) var(--ease-out);
}

/* Link Hover Micro-interaction */
a:not(.category-link):not(.enter-button) {
  position: relative;
  transition: color var(--transition-fast);
}

a:not(.category-link):not(.enter-button):hover {
  color: var(--prairie-sky);
}

/* Card Lift Effect */
.card-lift {
  transition: transform var(--transition-normal) var(--ease-out),
              box-shadow var(--transition-normal) var(--ease-out);
}

.card-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2xl);
}

/* ========================================
   LANDING PAGE - ELEGANT WILDERNESS EXPERIENCE
   Clean vertical flow with proper alignment
   ======================================== */

.landing-page {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  position: relative;
  overflow-x: hidden;
  /* Deep wilderness gradient */
  background: linear-gradient(165deg,
    #0a1612 0%,
    #0f1f18 15%,
    #1a3d2e 40%,
    #2d5238 65%,
    #3d6b4f 80%,
    #457b9d 95%
  );
  color: white;
}

/* Noise texture overlay */
.landing-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 1;
}

/* Wilderness Scene - Atmospheric Layers */
.wilderness-scene {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.layer {
  position: absolute;
  inset: 0;
}

.layer-mountains {
  background: radial-gradient(ellipse at 50% 100%,
    rgba(15, 31, 24, 0.6) 0%,
    transparent 60%
  );
  animation: parallax-slow 40s ease-in-out infinite;
}

.layer-forest {
  background:
    radial-gradient(ellipse at 20% 70%, rgba(45, 82, 56, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 60%, rgba(107, 142, 111, 0.15) 0%, transparent 50%);
  animation: parallax-medium 30s ease-in-out infinite;
}

.layer-mist {
  background:
    radial-gradient(circle at 15% 40%, rgba(255, 255, 255, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(212, 165, 116, 0.04) 0%, transparent 45%);
  animation: drift-mist 35s ease-in-out infinite alternate;
  filter: blur(50px);
}

.particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.35) 1px, transparent 1px),
    radial-gradient(circle at 85% 45%, rgba(255, 255, 255, 0.25) 1.5px, transparent 1.5px),
    radial-gradient(circle at 45% 65%, rgba(212, 165, 116, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 65% 15%, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
  background-size: 180% 180%, 220% 220%, 160% 160%, 200% 200%;
  animation: float-particles 80s linear infinite;
  opacity: 0.5;
}

@keyframes parallax-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes parallax-medium {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-10px) translateX(-5px); }
}

@keyframes drift-mist {
  from { transform: translateX(-5%); opacity: 0.5; }
  to { transform: translateX(5%); opacity: 0.7; }
}

@keyframes float-particles {
  from { background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%; }
  to { background-position: 100% 100%, 100% 100%, 100% 100%, 100% 100%; }
}

/* ========================================
   UTILITY CONTROLS - Top Bar
   ======================================== */

.utility-controls {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  pointer-events: none;
}

.utility-controls > * {
  pointer-events: auto;
}

/* Language Widget - Left Side */
.language-widget {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.75rem;
  padding: 0.5rem;
  transition: all 0.3s ease;
}

.language-widget:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Style Google Translate widget */
.language-widget .goog-te-gadget-simple {
  background: transparent !important;
  border: none !important;
  padding: 0.25rem 0.5rem !important;
  font-size: 0.8rem !important;
}

.language-widget .goog-te-gadget-simple span {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Accessibility Widget - Right Side */
.accessibility-widget {
  display: flex;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.75rem;
  padding: 0.4rem;
}

.a11y-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.a11y-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
  transform: translateY(-1px);
}

.a11y-btn:focus-visible {
  outline: 2px solid var(--owl-gold);
  outline-offset: 2px;
}

.a11y-btn .size-indicator {
  font-size: 0.65rem;
  margin-left: 1px;
  opacity: 0.8;
}

.a11y-btn svg {
  width: 18px;
  height: 18px;
}

/* ========================================
   LANDING CONTAINER - Flex Column Layout
   ======================================== */

.landing-page main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.landing-container {
  position: relative;
  z-index: 10;
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem 0.5rem;
}

/* Hero Section - Main Content */
.landing-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2vh, 1.25rem);
  text-align: center;
  width: 100%;
  max-width: 800px;
  padding-bottom: 0.5rem;
}

/* Header - Title Section */
.landing-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.4rem, 1vh, 0.75rem);
}

/* Location Badge */
.site-location {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: clamp(1.2rem, 2.2vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--owl-gold);
  padding: 0.7rem 2rem;
  border: 1px solid rgba(212, 165, 116, 0.35);
  border-radius: 2rem;
  background: rgba(212, 165, 116, 0.12);
  backdrop-filter: blur(8px);
  text-shadow: 0 1px 8px rgba(212, 165, 116, 0.3);
}

/* Main Title */
.site-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5.6vw, 3.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: white;
  margin: 0;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.4),
    0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Subtitle */
.site-subtitle {
  font-family: var(--font-main);
  font-size: clamp(0.8rem, 1.6vw, 1rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Owl Stage - Central Image */
.owl-stage {
  position: relative;
  width: clamp(220px, 40vmin, 380px);
  height: clamp(220px, 40vmin, 380px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.owl-glow-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(212, 165, 116, 0.2) 0%,
    rgba(205, 133, 63, 0.12) 35%,
    rgba(107, 142, 111, 0.06) 65%,
    transparent 85%
  );
  animation: pulse-glow 4s ease-in-out infinite;
}

.owl-glow-ring.ring-2 {
  width: 125%;
  height: 125%;
  animation-delay: 2s;
  opacity: 0.5;
}

@keyframes pulse-glow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.4; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.6; }
}

.logo-container {
  position: relative;
  z-index: 2;
  width: 85%;
  height: 85%;
  animation: float-owl 6s ease-in-out infinite;
}

@keyframes float-owl {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.owl-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.1),
    0 20px 50px rgba(0, 0, 0, 0.4),
    0 0 80px rgba(212, 165, 116, 0.35);
  filter: contrast(1.05) brightness(1.02);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.owl-logo:hover {
  transform: scale(1.05);
  border-color: rgba(212, 165, 116, 0.5);
  box-shadow:
    0 0 0 12px rgba(212, 165, 116, 0.15),
    0 25px 60px rgba(0, 0, 0, 0.5),
    0 0 100px rgba(212, 165, 116, 0.5);
}

/* Enter Section - Primary CTA */
.enter-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.enter-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-ui);
  font-size: clamp(0.8rem, 1.3vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--deep-forest);
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  border: none;
  border-radius: 3rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.25),
    0 0 40px rgba(255, 255, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.enter-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transition: left 0.6s ease;
}

.enter-button:hover::before {
  left: 100%;
}

.enter-button:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.3),
    0 0 60px rgba(212, 165, 116, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  color: var(--deep-forest);
  text-decoration: none;
}

.enter-button:active {
  transform: translateY(-2px) scale(1.01);
}

.button-text {
  position: relative;
  z-index: 1;
}

.button-arrow {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.enter-button:hover .button-arrow {
  transform: translateX(4px);
}

/* ========================================
   MISSION CARD - Bottom Section
   ======================================== */

.mission-card {
  width: auto;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.5rem;
  text-align: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.mission-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.mission-text {
  font-family: var(--font-main);
  font-size: clamp(0.4375rem, 0.9vw, 0.5rem);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 0.5rem 0;
}

.mission-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-ui);
  font-size: clamp(0.75rem, 1.2vw, 0.85rem);
  font-weight: 600;
  color: var(--owl-gold);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  transition: all 0.25s ease;
}

.mission-link:hover {
  color: white;
  background: rgba(212, 165, 116, 0.2);
  text-decoration: none;
}

.mission-link svg {
  transition: transform 0.25s ease;
}

.mission-link:hover svg {
  transform: translate(3px, -3px);
}

/* ========================================
   LANDING FOOTER
   ======================================== */

.landing-footer {
  width: 100%;
  text-align: center;
  padding: 0.75rem 1rem;
  margin-top: auto;
  flex-shrink: 0;
}

.landing-footer nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.landing-footer a {
  font-family: var(--font-ui);
  font-size: clamp(0.75rem, 1.3vw, 0.85rem);
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  padding: 0.35rem 0.5rem;
  transition: color 0.2s ease;
}

.landing-footer a:hover {
  color: white;
  text-decoration: none;
}

.footer-divider {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
}

/* ========================================
   REVEAL ANIMATIONS
   ======================================== */

.reveal-item {
  opacity: 0;
  transform: translateY(20px);
  animation: reveal-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.landing-header .reveal-item:nth-child(1) { animation-delay: 0.1s; }
.landing-header .reveal-item:nth-child(2) { animation-delay: 0.25s; }
.landing-header .reveal-item:nth-child(3) { animation-delay: 0.4s; }
.landing-hero > .reveal-item:nth-child(2) { animation-delay: 0.5s; }
.landing-hero > .reveal-item:nth-child(3) { animation-delay: 0.7s; }
.mission-card.reveal-item { animation-delay: 0.9s; }

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   RESPONSIVE - Landing Page
   ======================================== */

/* Tablet */
@media (min-width: 768px) {
  .landing-container {
    padding: 2.5rem 2rem 0.5rem;
  }

  .landing-hero {
    gap: clamp(1rem, 2.5vh, 1.5rem);
  }

  .utility-controls {
    padding: 1.25rem 1.5rem;
  }

  .a11y-btn {
    width: 40px;
    height: 40px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .landing-container {
    padding: 2.5rem 3rem 0.5rem;
  }

  .owl-stage {
    width: clamp(280px, 38vmin, 420px);
    height: clamp(280px, 38vmin, 420px);
  }

  .enter-button {
    padding: 0.85rem 2rem;
  }

  .mission-card {
    padding: 0.5rem;
  }
}

/* Large Desktop */
@media (min-width: 1440px) {
  .landing-hero {
    max-width: 900px;
  }

  .mission-card {
    padding: 0.5rem;
  }
}

/* Short Viewports (Landscape) */
@media (max-height: 650px) {
  .landing-container {
    padding: 1.5rem 1rem 0.25rem;
  }

  .landing-hero {
    gap: 0.5rem;
    padding-bottom: 0.25rem;
  }

  .owl-stage {
    width: clamp(120px, 22vh, 180px);
    height: clamp(120px, 22vh, 180px);
  }

  .mission-card {
    padding: 0.65rem 1rem;
  }

  .mission-text {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }

  .landing-footer {
    padding: 0.75rem 0.5rem;
  }
}

/* Very Short Viewports */
@media (max-height: 500px) {
  .landing-header {
    gap: 0.4rem;
  }

  .site-location {
    padding: 0.6rem 1.2rem;
    font-size: 1.1rem;
  }

  .site-title {
    font-size: 1.2rem;
  }

  .site-subtitle {
    font-size: 0.8rem;
  }

  .owl-stage {
    width: 120px;
    height: 120px;
  }

  .enter-button {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }

  .mission-card {
    display: none;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .landing-page::before,
  .wilderness-scene *,
  .particles,
  .reveal-item,
  .owl-glow-ring,
  .logo-container,
  .enter-button::before {
    animation: none !important;
  }

  .reveal-item {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ========================================
   SITE HEADER
   ======================================== */

.site-header {
  background-image: url('../images/owl.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  color: white;
  padding: 0;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: all var(--transition-normal) var(--ease-out);
  overflow: hidden;
  margin: 0;
}

/* Overlay for text readability */
.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: 0;
}

/* STICKY NAVIGATION - ENHANCED */
.site-header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-4) 0;
  box-shadow: var(--shadow-xl), 0 4px 20px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(12px);
  background: linear-gradient(135deg,
    rgba(26, 61, 46, 0.95) 0%,
    rgba(69, 123, 157, 0.95) 100%);
  animation: slideDown 0.3s var(--ease-out);
}

.site-header.sticky::before {
  background: linear-gradient(to bottom,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.2));
}

.site-header.sticky .site-title a {
  font-size: 1.5rem;
  transition: font-size var(--transition-normal);
}

.site-header.sticky .site-location {
  font-size: 1.7rem;
  opacity: 0.9;
  transition: all var(--transition-normal);
}

.site-header.sticky .main-nav {
  margin-top: var(--space-2);
  gap: var(--space-3);
}

.site-header.hide {
  transform: translateY(-100%);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Ensure header content is properly positioned */
.header-container,
.site-header nav {
  position: relative;
  z-index: 1;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  text-align: center;
  position: relative;
  z-index: 1;
}

.site-header .site-title a {
  color: white;
  font-size: 1.125rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.8);
}

.site-header .site-title a:hover {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
}

.site-header .site-location {
  font-size: 1.25rem;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
  margin-top: var(--space-1);
}

/* Main Navigation */
/* ENHANCED NAVIGATION WITH ANIMATIONS */
.main-nav {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-2);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  transition: all var(--transition-normal);
}

.main-nav li {
  position: relative;
}

.main-nav a {
  position: relative;
  display: inline-block;
  color: rgba(255, 255, 255, 0.95);
  padding: var(--space-1) var(--space-2);
  font-weight: var(--font-semibold);
  font-size: 0.8rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
  transition: all var(--transition-normal) var(--ease-out);
  letter-spacing: 0.02em;
}

/* Animated Underline */
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
  border-radius: var(--radius-full);
  transform: translateX(-50%);
  transition: width var(--transition-normal) var(--ease-out);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  width: 100%;
}

.main-nav a:hover {
  text-decoration: none;
  transform: translateY(-2px);
  color: white;
}

.main-nav a[aria-current="page"] {
  color: white;
}

/* Subtle hover effect */
.main-nav a:hover {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.main-nav a:active {
  transform: translateY(0);
}

/* Topics Introduction (toc.html) */
.topics-intro {
  max-width: 1200px;
  margin: var(--space-8) auto var(--space-4);
  padding: 0 var(--spacing-md) var(--space-6);
  text-align: center;
  position: relative;
  z-index: 1;
}

.topics-intro h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--font-bold);
  color: white;
  margin-bottom: var(--space-3);
  letter-spacing: 0.01em;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.8);
}

.topics-intro p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.95);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* ========================================
   BREADCRUMB NAVIGATION
   ======================================== */

.breadcrumb {
  max-width: 1200px;
  margin: var(--space-4) auto var(--space-2);
  padding: 0 var(--spacing-md);
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  gap: var(--spacing-xs);
  flex-wrap: wrap;
  justify-content: flex-start;
  font-size: 0.95rem;
}

.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: var(--spacing-xs);
  color: var(--mountain-stone);
}

.breadcrumb a {
  color: var(--prairie-sky);
  text-decoration: none;
  font-weight: var(--font-medium);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--deep-forest);
  text-decoration: underline;
}

.breadcrumb li[aria-current="page"] {
  color: var(--text-color);
  font-weight: var(--font-medium);
}

/* Breadcrumb inside page-header (for article pages) */
.page-header .breadcrumb {
  position: absolute;
  top: var(--space-6);
  left: var(--space-6);
  z-index: 4;
  margin-bottom: 0;
  padding: 0;
  max-width: none;
}

.page-header .breadcrumb li:not(:last-child)::after {
  color: rgba(255, 255, 255, 0.85);
}

.page-header .breadcrumb a {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7),
               0 1px 2px rgba(0, 0, 0, 0.9);
}

.page-header .breadcrumb a:hover {
  color: white;
}

.page-header .breadcrumb li[aria-current="page"] {
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7),
               0 1px 2px rgba(0, 0, 0, 0.9);
}

/* ========================================
   PAGE HEADER - ELEGANT WITH BACKGROUND IMAGE
   ======================================== */

.page-header {
  position: relative;
  text-align: center;
  padding: var(--space-16) var(--space-6);
  margin-bottom: var(--space-12);
  background-color: var(--deep-forest);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Elegant gradient overlay for text readability */
.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
}

/* Subtle texture overlay */
.page-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 70%
  );
  z-index: 2;
}

.page-header h2 {
  position: relative;
  z-index: 3;
  color: white;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: var(--font-black);
  text-shadow:
    0 4px 16px rgba(0, 0, 0, 0.7),
    0 2px 8px rgba(0, 0, 0, 0.8),
    0 1px 3px rgba(0, 0, 0, 0.9);
  margin-bottom: var(--space-4);
  margin-top: 0;
  letter-spacing: 0.02em;
  text-transform: none;
}

.page-header p {
  position: relative;
  z-index: 3;
  font-size: clamp(1rem, 2vw, 1.375rem);
  color: rgba(255, 255, 255, 0.95);
  max-width: 700px;
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.8),
    0 1px 4px rgba(0, 0, 0, 0.9);
  line-height: 1.6;
  font-weight: var(--font-normal);
  padding: 0 var(--space-6);
  margin: 0;
}

/* CATEGORY-SPECIFIC THEMES - Background Images */

/* Healthcare - Hummingbird (vibrant, energetic) */
.category-healthcare .page-header {
  background-image: url('../images/hummingbird.jpg');
}

/* Education - Wolf (strong, pack-oriented) */
.category-education .page-header {
  background-image: url('../images/wolf.jpg');
}

/* Affordability - Bison (resilient, grounded) */
.category-affordability .page-header {
  background-image: url('../images/bison.jpg');
}

/* Justice - Golden Eagle (authoritative, clear-sighted) */
.category-justice .page-header {
  background-image: url('../images/golden-eagle.jpg');
}

/* Environment - Turtle (patient, enduring) */
.category-environment .page-header {
  background-image: url('../images/turtle.jpg');
}

/* Economy - Beaver (industrious, builder) */
.category-economy .page-header {
  background-image: url('../images/beaver.jpg');
}

/* Municipalities - Canoe (connection, journey) */
.category-municipalities .page-header {
  background-image: url('../images/canoe.jpg');
}

/* Seniors - Bear (wisdom, strength) */
.category-seniors .page-header {
  background-image: url('../images/bear.jpg');
}

/* Gender - Eagle (soaring, freedom) */
.category-gender .page-header {
  background-image: url('../images/eagle.jpg');
}

/* Disabilities - Heron (graceful, adaptable) */
.category-disabilities .page-header {
  background-image: url('../images/heron.jpg');
}

/* Efficiencies - Bees (organized, productive) */
.category-efficiencies .page-header {
  background-image: url('../images/bees.jpg');
}

/* Agriculture - Caribou (hardy, migrating) */
.category-agriculture .page-header {
  background-image: url('../images/caribou.jpg');
}

/* Transportation - Horses (movement, power) */
.category-transportation .page-header {
  background-image: url('../images/horses.jpg');
}

/* Category-specific header backgrounds */
.category-healthcare .site-header {
  background-image: url('../images/hummingbird.jpg');
  background-position: center 25%;
}

.category-education .site-header {
  background-image: url('../images/wolf.jpg');
  background-position: center 35%;
}

.category-affordability .site-header {
  background-image: url('../images/bison.jpg');
  background-position: center 30%;
}

.category-justice .site-header {
  background-image: url('../images/golden-eagle.jpg');
  background-position: center 50%;
}

.category-environment .site-header {
  background-image: url('../images/turtle.jpg');
  background-position: center 25%;
}

.category-economy .site-header {
  background-image: url('../images/beaver.jpg');
  background-position: center 25%;
}

.category-municipalities .site-header {
  background-image: url('../images/canoe.jpg');
  background-position: center 50%;
}

.category-seniors .site-header {
  background-image: url('../images/bear.jpg');
  background-position: center 50%;
}

.category-gender .site-header {
  background-image: url('../images/eagle.jpg');
  background-position: center 20%;
}

.category-disabilities .site-header {
  background-image: url('../images/heron.jpg');
  background-position: center 0%;
}

.category-efficiencies .site-header {
  background-image: url('../images/bees.jpg');
  background-position: center 50%;
}

.category-agriculture .site-header {
  background-image: url('../images/caribou.jpg');
  background-position: center 50%;
}

.category-transportation .site-header {
  background-image: url('../images/horses.jpg');
  background-position: center 20%;
}

/* ========================================
   CATEGORY GRID (Table of Contents)
   ======================================== */

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-8);
  max-width: 1300px;
  margin: var(--space-16) auto;
  padding: 0 var(--space-6) var(--space-16);
}

/* ENHANCED CATEGORY CARDS - BOLD Design */
.category-card {
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-slow) var(--ease-out);
  box-shadow: var(--shadow-md);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Gradient overlay on hover */
.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
    rgba(90, 143, 180, 0.05) 0%,
    rgba(107, 142, 111, 0.05) 100%
  );
  opacity: 0;
  transition: opacity var(--transition-normal) var(--ease-out);
  pointer-events: none;
  z-index: 1;
}

.category-card:hover::before {
  opacity: 1;
}

.category-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-2xl), var(--shadow-primary);
  border-color: var(--prairie-sky);
}

.category-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  position: relative;
  z-index: 2;
}

.category-link:hover {
  text-decoration: none;
}

/* ENHANCED CATEGORY ICON - Larger & More Prominent */
.category-icon {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  margin-bottom: var(--space-6);
  background: var(--bg-secondary);
}

.category-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slower) var(--ease-out);
  filter: brightness(0.95) contrast(1.1) saturate(1.15);
}

.category-card:hover .category-icon img {
  transform: scale(1.15);
  filter: brightness(1.05) contrast(1.2) saturate(1.3);
}

/* Gradient overlay on image for depth */
.category-icon::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    transparent 100%
  );
  pointer-events: none;
  opacity: 0.7;
  transition: opacity var(--transition-normal);
}

.category-card:hover .category-icon::after {
  opacity: 0.5;
}

/* SVG icons (if still using them for some cards) */
.category-icon svg {
  transition: transform var(--transition-normal);
}

.category-card:hover .category-icon svg {
  transform: scale(1.15) rotate(5deg);
}

/* Category Content */
.category-content {
  padding: 0 var(--space-6) var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.category-title {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-3);
  color: var(--primary-color);
  transition: color var(--transition-normal);
  line-height: var(--leading-tight);
}

.category-card:hover .category-title {
  color: var(--river-water);
}

.category-description {
  font-size: var(--text-base);
  color: var(--text-light);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
  flex: 1;
}

/* "Explore" Link with Arrow Animation */
.category-card .explore-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  color: var(--river-water);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: gap var(--transition-normal);
  margin-top: auto;
}

.category-card:hover .explore-link {
  gap: var(--space-3);
  color: var(--prairie-sky);
}

.explore-link::after {
  content: '→';
  font-size: var(--text-lg);
  transition: transform var(--transition-normal);
}

.category-card:hover .explore-link::after {
  transform: translateX(3px);
}

/* ========================================
   CATEGORY CAROUSEL
   ======================================== */

.carousel-container {
  position: relative;
  max-width: 1400px;
  margin: var(--spacing-xl) auto;
  padding: 0 60px;
}

.category-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  overflow: hidden;
  padding: var(--spacing-md);
}

/* SIMPLE CAROUSEL ARROWS - CLEAN DESIGN */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--deep-forest);
  border: 2px solid rgba(26, 61, 46, 0.2);
  font-size: 1.75rem;
  font-weight: var(--font-bold);
  cursor: pointer;
  transition: all var(--transition-normal) var(--ease-out);
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15),
              0 2px 6px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 1);
  color: var(--prairie-sky);
  border-color: var(--prairie-sky);
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 6px 20px rgba(69, 123, 157, 0.3),
              0 3px 10px rgba(0, 0, 0, 0.15);
}

.carousel-btn:active:not(:disabled) {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.carousel-btn:disabled,
.carousel-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.6);
  color: var(--mountain-stone);
  border-color: rgba(128, 128, 128, 0.2);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.carousel-btn:focus-visible {
  outline: 3px solid var(--prairie-sky);
  outline-offset: 3px;
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}

/* SIMPLE CAROUSEL INDICATORS - CLEAN PROGRESS BARS */
.carousel-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-10);
  padding: var(--space-3);
}

.carousel-indicator {
  position: relative;
  width: 50px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(74, 85, 104, 0.3);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal) var(--ease-out);
  overflow: hidden;
}

.carousel-indicator::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--prairie-sky);
  border-radius: var(--radius-full);
  transition: width var(--transition-normal) var(--ease-out);
}

.carousel-indicator.active {
  background: rgba(90, 143, 180, 0.4);
  transform: scale(1.15);
}

.carousel-indicator.active::before {
  width: 100%;
  box-shadow: 0 0 8px rgba(90, 143, 180, 0.5);
}

.carousel-indicator:hover:not(.active) {
  background: rgba(90, 143, 180, 0.35);
  transform: scale(1.08);
}

.carousel-indicator:hover:not(.active)::before {
  width: 25%;
}

.carousel-indicator:focus-visible {
  outline: 2px solid var(--prairie-sky);
  outline-offset: 3px;
}

/* ========================================
   ARTICLE LAYOUT
   ======================================== */

.article-container {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-lg);
}

article {
  background-color: white;
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--spacing-lg);
}

article header {
  margin-bottom: var(--spacing-lg);
  border-bottom: 2px solid var(--border-color);
  padding-bottom: var(--spacing-md);
}

article h1 {
  margin-bottom: var(--spacing-sm);
}

.article-meta {
  color: var(--text-light);
  font-size: 0.9rem;
}

.article-content {
  margin-bottom: var(--spacing-lg);
}

.article-content p {
  margin-bottom: var(--spacing-md);
}

.article-content ul,
.article-content ol {
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-lg);
}

.article-content li {
  margin-bottom: var(--spacing-xs);
}

.article-content blockquote {
  border-left: 4px solid var(--accent-color);
  padding-left: var(--spacing-md);
  margin: var(--spacing-lg) 0;
  font-style: italic;
  color: var(--text-light);
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
  background-color: var(--primary-color);
  color: white;
  padding: var(--spacing-xl) 0 var(--spacing-md);
  margin-top: var(--spacing-xl);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  text-align: center;
}

.footer-nav {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  flex-wrap: wrap;
}

.footer-nav a {
  color: white;
}

.footer-nav a:hover {
  color: var(--accent-color);
}

.footer-note {
  margin: var(--spacing-md) 0;
  font-weight: 600;
}

.footer-disclaimer {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: var(--spacing-sm) auto 0;
}

/* ========================================
   FORM STYLES
   ======================================== */

.form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--spacing-lg);
}

form {
  background-color: white;
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
  color: var(--secondary-color);
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: var(--spacing-sm);
  font-family: var(--font-main);
  font-size: 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast);
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

small {
  display: block;
  margin-top: var(--spacing-xs);
  font-size: 0.85rem;
  color: var(--text-light);
}

input[type="checkbox"] {
  margin-right: var(--spacing-xs);
}

button[type="submit"] {
  width: 100%;
  margin-top: var(--spacing-md);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

/* ========================================
   COMMENTS SECTION - Removed
   ======================================== */

/* Comments section removed per user request
.comments-section {
  padding: var(--space-12) 0;
  margin-top: var(--space-12);
  border-top: 2px solid var(--sandstone);
  background: rgba(201, 184, 160, 0.1);
  border-radius: 8px;
  padding: var(--space-8);
}

.comments-section h3 {
  color: var(--deep-forest);
  margin-bottom: var(--space-4);
  font-size: var(--text-xl);
  font-weight: 700;
}

.comments-intro {
  margin-bottom: var(--space-8);
  color: var(--mountain-stone);
  font-size: var(--text-sm);
  font-style: italic;
}

#remark42 {
  width: 100% !important;
  max-width: 100%;
  min-height: 400px;
}

.remark42__frame {
  border-radius: 8px;
  border: 1px solid var(--sandstone);
}

.comments-section [role="main"]:focus {
  outline: 2px solid var(--prairie-sky);
  outline-offset: 4px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .comments-section {
    padding: var(--space-6) var(--space-4);
  }

  .comments-intro {
    font-size: var(--text-xs);
  }

  #remark42 {
    min-height: 300px;
  }
}
*/
