/* base.css */
/* Contains foundational styles for the entire document. */

/* Define CSS variables for consistent colors and fonts */
:root {
  --color-background: #111827;
  --color-background-light: #1F2937;
  --color-background-lighter: #374151;
  --color-text-primary: #F3F4F6;
  --color-text-secondary: #9CA3AF;
  --color-text-placeholder: #6B7280;
  --color-text-white: #FFFFFF;
  --color-accent-primary: #4F46E5;
  --color-accent-primary-hover: #4338CA;
  --color-accent-secondary: #6366F1;
  --color-accent-secondary-hover: #4F46E5;
  --color-accent-link: #818CF8;
  --color-accent-link-hover: #A5B4FC;
  --color-border: #4B5563;
  --color-green: #4ADE80;
  --color-blue: #60A5FA;
  --color-red: #F87171;

  --font-family-main: 'Inter', sans-serif;

  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Basic body and typography setup */
body {
  font-family: var(--font-family-main);
  background-color: var(--color-background);
  color: var(--color-text-primary);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* General styles for links */
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

/* Common styles for section titles */
.section-title {
  font-size: 1.875rem; /* 30px */
  font-weight: 600;
  color: var(--color-text-white);
  margin-bottom: 3rem; /* 48px */
  text-align: center;
}

/* Helper text color classes */
.text-green {
  color: var(--color-green);
}

.text-blue {
  color: var(--color-blue);
}

.text-red {
    color: var(--color-red);
}

.text-white {
  color: var(--color-text-white);
}

/* Media query for responsive title alignment */
@media (min-width: 768px) {
  .section-title.left-aligned {
    text-align: left;
  }
}
