/* ===========================================================
   BASE.CSS - AWS Developer Course Schedule

   Reset, variáveis CSS, tipografia e estilos globais
   @author Tomas Alric - Cloud Basics
   @version 2.0
   =========================================================== */

/* ===========================================================
   RESET & BASE
   =========================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ===========================================================
   THEME VARIABLES
   =========================================================== */

:root {
  /* Cores principais */
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-light: #5eead4;
  --secondary: #e2e8f0;
  --secondary-light: #cbd5e1;

  /* Cores de fundo DARK MODE */
  --bg: #0a0e1a;
  --bg-card: #1a1f2e;
  --bg-hover: #252b3d;

  /* Bordas e separadores */
  --border: #2d3548;
  --border-strong: #3d4458;

  /* Badges de tipo */
  --badge-teoria: #3b82f6;
  --badge-demo: #f59e0b;
  --badge-lab: #10b981;
  --badge-quiz: #8b5cf6;
  --badge-projeto: #ef4444;

  /* Sistema de feedback */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #06b6d4;

  /* Sombras */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

  /* Espaçamentos */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;

  /* Raios de borda */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Variáveis para Quiz/Lab */
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --card-bg: #1a1f2e;
}

/* ===========================================================
   GLOBAL STYLES & TYPOGRAPHY
   =========================================================== */

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background-color: var(--bg);
  color: var(--secondary);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
}

p {
  max-width: 70ch;
  line-height: 1.7;
}

/* ===========================================================
   UTILITY CLASSES
   =========================================================== */

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
