/* NOLDY22 REBUILD: GLOBAL STYLES */
/* Establishes the core design system for the entire website. */

:root {
  /* Primary Color Palette */
  --primary-dark: #0A192F;
  --primary-light: #172A45;
  --text-primary: #CCD6F6;
  --text-secondary: #8892B0;
  
  /* Accent & Call-to-Action */
  --accent: #FFD700; /* Gold */
  --cta: #FF6B6B;    /* Coral */

  /* Fonts */
  --font-primary: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --font-secondary: 'Roboto Condensed', sans-serif;

  /* Spacing */
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
}

/* Add this right after the :root { ... } block */

html, body {
  overflow-x: hidden;
}

/* 1. Global Reset & Body Defaults */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--primary-dark);
  color: var(--text-primary);
  font-family: var(--font-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 2. Typography Scale */
h1, h2, h3, h4 {
  font-family: var(--font-secondary);
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); } /* Responsive font size */
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; }
p  { font-size: 1.1rem; color: var(--text-secondary); max-width: 65ch; }

/* 3. Links */
a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

/* 4. Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}