/* 
=============================
  BASE STYLES & CSS VARIABLES
  JustinSpace v1.0
=============================
*/

:root {
  --primary-color: #00a9cc;
  --primary-dark: #008ba3;
  --background: #f5f7fa;
  --light-gray: #e1e8ed;
  --medium-gray: #8899a6;
  --accent-magenta: #ff006e;
  --text-dark: #1a1a1a;
  --text-medium: #4a5568;
  --card-bg: white;
  --text-color: var(--text-dark);
  --border-color: var(--light-gray);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: url('../images/spaceBackground.jpg') no-repeat center center fixed;
  background-size: cover;
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Widget Base Styles */
.widget {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.widget:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.widget-title {
  color: var(--primary-color);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Link Styles */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* Button Styles */
button {
  cursor: pointer;
  font-family: inherit;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
}

/* Image Styles */
img {
  max-width: 100%;
  height: auto;
}
