/* =========================================================
   Base Styles (2025)
   Designed to follow reset.css
   Provides clean typography, layout rhythm, and colors
   ========================================================= */

/* Root variables */
:root {
  --font-main: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; 
  --font-accent: "Raleway", sans-serif;
  --color-bg: #242424;
  --color-text: #ffffff;
  --color-text-langs: #242424;;
  --color-accent: #2563eb;
  --color-muted: #6b7280;
  --container-width: 1200px;
  --border-radius: 0.5rem;
  --transition-fast: 0.2s ease-in-out;
}

html {
  scroll-behavior: smooth;
}


/* Body defaults */
body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  height: auto;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-accent);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
  /* margin-bottom: 0.5em; */
}

h1 { font-size: 2.25rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

/* Paragraphs & text */
p {
  margin-bottom: 1em;
}

small, .small {
  font-size: 0.875rem;
  color: var(--color-muted);
}

/* Links */
a {
  color: var(--color-accent);
  transition: color var(--transition-fast);
}

a:hover, a:focus {
  color: #1d4ed8; /* darker accent */
}

/* Containers */
.container {
  width: min(100% - 2rem, var(--container-width));
  margin-inline: auto;
}

/* Buttons */
/*button,*/ .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6em 1.2em;
  font-weight: 500;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  background-color: var(--color-accent);
  color: white;
  transition: background-color var(--transition-fast);
}

button:hover:not(.services-tabs__button),
.btn:hover:not(.services-tabs__button) {
  background-color: #1d4ed8;
}

/* Utility classes */
.text-center { text-align: center; }
.text-muted { color: var(--color-muted); }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

.flex { display: flex; }
.flex-center { display: flex; justify-content: center; align-items: center; }

/* Footer spacing fix */
footer {
  margin-top: auto;
}
