/* Northwest Vocal Music - Base Styles */
/* Variables, Reset, Typography */

/* ============================================================================
   CSS VARIABLES
   ============================================================================ */

:root {
  /* Color Palette */
  --nw-blue: #294089;
  --nw-white: #ffffff;
  --nw-silver: #d8d8d6;
  --nw-gray: #8a8b8e;
  --nw-black: #000000;
  --nw-blue-dark: #1a2b5c;
  --nw-blue-light: #3d5eb3;

  /* Typography */
  --font-heading: "Kanit", sans-serif;
  --font-body: "Open Sans", sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* ============================================================================
   RESET & BASE STYLES
   ============================================================================ */

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--nw-black);
  background-color: var(--nw-white);
}

/* ============================================================================
   TYPOGRAPHY
   ============================================================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

a {
  color: var(--nw-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover,
a:focus {
  color: var(--nw-blue-dark);
  text-decoration: underline;
}

/* ============================================================================
   LAYOUT CONTAINERS
   ============================================================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

main {
  min-height: calc(100vh - 400px);
  padding: 2rem 0;
}

/* ============================================================================
   HIGH CONTRAST MODE SUPPORT
   ============================================================================ */

@media (prefers-contrast: high) {
  :root {
    --nw-blue: #1a1a1a;
    --nw-white: #ffffff;
    --nw-silver: #cccccc;
    --nw-gray: #666666;
    --nw-black: #000000;
  }

  .btn-primary {
    background: #000000;
    color: #ffffff;
    border: 2px solid #000000;
  }

  .btn-secondary {
    background: #ffffff;
    color: #000000;
    border: 2px solid #000000;
  }
}

/* ============================================================================
   REDUCED MOTION SUPPORT
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .carousel-slide {
    transition: none !important;
  }
}
