/* DNVR PICKLEBALL BRAND SYSTEM - FINAL SPECS */
/* =========================================== */
/* ⚠️  WARNING: DO NOT MODIFY BRAND COLORS WITHOUT PERMISSION */
/* ⚠️  THESE COLORS ARE LOCKED - SEE DNVR-STYLE-GUIDE.md */

:root {
  /* OFFICIAL BRAND COLORS */
  --pine-green: #07381E;          /* Header/footer ONLY */
  --golden-ochre: #F2A900;        /* ALL buttons, borders, accents */
  --near-white: #F4F1ED;          /* Main background throughout site */
  --pure-white: #FFFFFF;          /* Card backgrounds */
  --charcoal: #333333;            /* Headings */
  --medium-gray: #666666;         /* Body text */

  /* SEMANTIC COLOR ASSIGNMENTS */
  --bg-main: var(--near-white);           /* Site-wide background */
  --bg-card: var(--pure-white);           /* All card backgrounds */
  --bg-header: var(--pine-green);         /* Header/footer only */
  --bg-button: var(--golden-ochre);       /* ALL buttons */
  
  --text-heading: var(--charcoal);        /* All headings */
  --text-body: var(--charcoal);           /* All body text - darker for readability */
  --text-link: var(--pine-green);         /* Content links with underline */
  --text-button: var(--pure-white);       /* Button text */
  --text-inverse: var(--pure-white);      /* Header/footer text */
  
  --border-accent: var(--golden-ochre);   /* Accent borders */
  --border-subtle: #E5E5E5;              /* Subtle borders */

  /* SHADOWS - Subtle depth for white cards on near-white bg */
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-button: 0 2px 4px rgba(242, 169, 0, 0.2);
  --shadow-button-hover: 0 4px 8px rgba(242, 169, 0, 0.3);

  /* TYPOGRAPHY SCALE */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --font-size-xs: 0.75rem;      /* 12px */
  --font-size-sm: 0.875rem;     /* 14px */
  --font-size-base: 1rem;       /* 16px */
  --font-size-lg: 1.125rem;     /* 18px */
  --font-size-xl: 1.25rem;      /* 20px */
  --font-size-2xl: 1.5rem;      /* 24px */
  --font-size-3xl: 1.875rem;    /* 30px */
  --font-size-4xl: 2.25rem;     /* 36px */
  --font-size-hero: 3rem;       /* 48px */

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* SPACING SYSTEM */
  --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 */

  /* BORDER RADIUS */
  --radius-sm: 0.25rem;     /* 4px */
  --radius-md: 0.5rem;      /* 8px */
  --radius-lg: 0.75rem;     /* 12px */
  --radius-xl: 1rem;        /* 16px */
  --radius-button: 0.5rem;  /* 8px - consistent button radius */
  --radius-card: 1rem;      /* 16px - card radius */

  /* LAYOUT */
  --container-max: 1200px;
  --container-padding: var(--space-4);

  /* TRANSITIONS */
  --transition-fast: 0.15s ease-out;
  --transition-smooth: 0.3s ease-out;

  /* Z-INDEX */
  --z-header: 100;
  --z-dropdown: 200;
  --z-modal: 300;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
  color: var(--text-body);
  background-color: var(--bg-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* CONTAINER SYSTEM */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* TYPOGRAPHY SYSTEM */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--text-heading);
  margin-bottom: var(--space-4);
}

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

p {
  margin-bottom: var(--space-4);
  color: var(--text-body);
}

/* CONTENT LINKS - Pine green with underline */
a {
  color: var(--text-link);
  text-decoration: underline;
  transition: opacity var(--transition-fast);
}

a:hover {
  opacity: 0.8;
}

/* UTILITY CLASSES */
.text-heading { color: var(--text-heading); }
.text-body { color: var(--text-body); }
.text-inverse { color: var(--text-inverse); }

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

.font-medium { font-weight: var(--font-weight-medium); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }

/* LAYOUT UTILITIES */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }

.w-full { width: 100%; }
.max-w-full { max-width: 100%; }

/* SPACING UTILITIES */
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

/* SECTION SPACING */
.section { padding: var(--space-16) 0; }
.section-lg { padding: var(--space-24) 0; }
.section-sm { padding: var(--space-12) 0; }