/* Global base styles + gym theme utilities */

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #111827;
  background-color: #ffffff;
}

/* Base element styles */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 0.5rem;
}

a {
  color: #0d9488;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button, input[type="button"], input[type="submit"] {
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Gym theme colors and utilities */
:root {
    --gym-primary: #1f2937; /* dark gray */
    --gym-secondary: #0d9488; /* teal/green */
    --gym-accent: #0d9488; /* teal/green */
}

.text-gym-primary { 
  color: var(--gym-primary); 
}

.text-gym-secondary { 
  color: var(--gym-secondary); 
}

.text-gym-accent { 
  color: var(--gym-accent); 
}

.bg-gym-secondary { 
  background-color: var(--gym-secondary); 
}

.bg-gym-accent { 
  background-color: var(--gym-accent); 
}

.button-gym { 
  background-color: var(--gym-secondary); 
  color: #fff; 
}

.button-gym:hover { 
  background-color: #0f766e; 
}

.focus-gym { 
  outline: 2px solid var(--gym-secondary); 
  outline-offset: 2px; 
}

.hover-underline:hover { 
  text-decoration: underline; 
}
