/* ===================================
   CSS Reset & Box Sizing
   =================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===================================
   CSS Custom Properties
   =================================== */
:root {
  /* Colors */
  --color-primary: #2C5F2D;        /* Forest Green - ecology/transitions */
  --color-secondary: #4A90A4;      /* Ocean Blue - maritime region */
  --color-accent: #E8A834;         /* Warm Gold - call-to-action */
  --color-bg: #FFFFFF;             /* White background */
  --color-bg-alt: #F9FAFB;         /* Light gray background */
  --color-text-primary: #333333;   /* Dark Gray text */
  --color-text-secondary: #666666; /* Medium Gray text */
  --color-border: #E0E0E0;         /* Light Gray borders */

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  /* Layout */
  --container-max-width: 1200px;
  --spacing-unit: 1rem;
  --spacing-small: 0.5rem;
  --spacing-medium: 1.5rem;
  --spacing-large: 2rem;
  --spacing-xlarge: 3rem;
  --spacing-xxlarge: 4rem;

  /* Border radius */
  --radius-small: 4px;
  --radius-medium: 8px;

  /* Shadows */
  --shadow-light: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-heavy: 0 10px 20px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ===================================
   Base Typography
   =================================== */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

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

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

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

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

strong {
  font-weight: 700;
}

/* ===================================
   Container
   =================================== */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-medium);
  width: 100%;
}

/* ===================================
   Utility Classes
   =================================== */
.text-center {
  text-align: center;
}

.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;
}

/* ===================================
   Responsive Typography
   =================================== */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .container {
    padding: 0 var(--spacing-unit);
  }
}

/* ===================================
   Print Styles
   =================================== */
@media print {
  body {
    background-color: white;
    color: black;
  }

  a {
    text-decoration: underline;
  }

  .site-logo {
    max-width: 150px;
  }
}
