/* File: assets/css/global.css */
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;900&display=swap");

:root {
  /* Color Palette */
  --primary-color: #20c997;
  --primary-600: #15b88a;
  --secondary-color: #ffc107;
  --accent-color: #ff8a65;
  --bg-color: #fff8e1;
  --surface-color: #fff;
  --font-color: #5d4037;
  --muted-color: #8d6e63;
  --border-color: #d7ccc8;
  --light-bg: #fff;

  /* Typography */
  --font-family: "Nunito", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Layout & Spacing */
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 10px 20px rgba(0, 0, 0, 0.08), 0 6px 12px rgba(0, 0, 0, 0.08);
  --container-max: 1140px;
  --gap: 16px;
}

/* Base Resets */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: 0.3s;
}

a:hover {
  text-decoration: underline;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--font-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

/* Accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  padding: 8px 12px;
  background: #000;
  color: #fff;
  border-radius: 6px;
  z-index: 10000;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Base Layout Elements */
section {
  padding: 80px 0;
  position: relative;
}

/* Global Container */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 20px;
}
