/* =============================================================================
   Resurrection Lutheran Church - Base Theme Variables
   ============================================================================= */

:root {
  /* ===== Luther Sky - Default Scheme ===== */

  /* Accessible text pairs */

  --color-text: #1a2a3a;                    /* Dark text */
  --color-text-background: #ffffff;         /* White page background */
  --color-text-inverse: #1a2a3a;            /* Dark text on light surfaces */
  --color-text-inverse-background: #b1e8ff; /* Light sky blue for nav */
  --color-heading: #1a2a3a;  /* Luther Sky default - dark blue-black */


  /* Interactive */
  --color-interactive: #1a4a72;
  --color-interactive-hover: #2e6da4;
  --color-interactive-active: #d1b740;

  /* Decorative */
  --color-border: #b8d4e8;
  --color-surface: #f5f9fc;
  --color-accent: #e5b736;
  --color-accent-hover: #dcb24a;




  /* Typography */
  --font-heading: 'Georgia', 'Times New Roman', serif;
  --font-body: 'Helvetica Neue', Arial, sans-serif;
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.1rem;
  --font-size-xl: 1.3rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --line-height-base: 1.6;
  --line-height-heading: 1.2;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Layout */
  --max-width: 1200px;
  --content-width: 780px;
  --sidebar-width: 300px;
  --border-radius: 4px;
}

/* =============================================================================
   Scheme 2 - Lutheran Red
   ============================================================================= */

body.theme-red {
  --color-text: #2c2c2c;
  --color-text-background: #faf8f5;
  --color-text-inverse: #ffffff;
  --color-text-inverse-background: #4a1010;
  --color-heading: #4a1010;  /* Dark burgundy */

  --color-interactive: #6b1a1a;
  --color-interactive-hover: #8f2e2e;
  --color-interactive-active: #c9a84c;

  --color-border: #ddd8d0;
  --color-surface: #ffffff;
  --color-accent: #c9a84c;
  --color-accent-hover: #a08030;
}

/* =============================================================================
   Scheme 3 - Parchment
   ============================================================================= */

body.theme-parchment {
  --color-text: #2c1a0a;
  --color-text-background: #f5f0e8;
  --color-text-inverse: #ffffff;
  --color-text-inverse-background: #3a2510;
  --color-heading: #2c1a0a;  /* Dark warm brown */

  --color-interactive: #5a3010;
  --color-interactive-hover: #7a4520;
  --color-interactive-active: #c9a84c;

  --color-border: #d8c8a8;
  --color-surface: #faf7f0;
  --color-accent: #c9a84c;
  --color-accent-hover: #a08030;
}

/* =============================================================================
   Global Base Styles
   ============================================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  background-color: var(--color-text-background);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  margin: 0;
  padding-top: 2rem;
  border:thin solid var(--color-text-inverse-background)
}


/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--line-height-heading);
  margin-top: 0;
  margin-bottom: var(--space-md);
  color: var(--color-heading);
}

h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }

p {
  margin-top: 0;
  margin-bottom: var(--space-md);
}

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

a:hover {
  color: var(--color-interactive-hover);
}

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

/* Layout Container */
.layout-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0;
  border:thin solid var(--color-text-inverse-background);
}

/* page title */
h1 .page-title {
  font-size: var(--font-size-3xl);
  margin: var(--space-lg);
}
