/* =========================================================
   STYLE.CSS — CORE DESIGN TOKENS & GLOBAL FOUNDATION
   Moving Company Website Scaffold
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600&family=Manrope:wght@400;500;600&family=Outfit:wght@400;500;600&display=swap');

:root {
  /* Brand Color Tokens */
  --color-yellow: #fcbd0b;
  --color-orange: #F28C18;
  --color-blue: #007DB5;
  --color-white: #FFFFFF;
  --color-cream: #FFF4D7;
  --color-charcoal: #252B33;

  /* Neutral & Utility Shades */
  --color-bg: #FFFFFF;
  --color-text-main: #252B33;
  --color-text-muted: #5F6B7A;
  --color-border: #E8EDF2;
  --color-border-subtle: #F0F4F8;
  --color-card-bg: #FFFFFF;
  --color-surface-soft: #F8FAFC;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-accent: 'Dancing Script', cursive;

  /* Spacing Scale */
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Layout */
  --container-max-width: 1240px;
  --container-padding: 24px;
  --header-height: 80px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 350ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(37, 43, 51, 0.05);
  --shadow-md: 0 4px 12px rgba(37, 43, 51, 0.07);
  --shadow-lg: 0 10px 28px rgba(37, 43, 51, 0.09);
  --shadow-dropdown: 0 16px 36px rgba(37, 43, 51, 0.12);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
}

/* ---------------------------------------------------------
   CSS Reset & Base Elements
   --------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-main);
  background-color: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img, svg {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ---------------------------------------------------------
   Layout Containers
   --------------------------------------------------------- */
.site-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.site-main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

/* ---------------------------------------------------------
   Screen Reader Accessibility
   --------------------------------------------------------- */
.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;
}

/* ---------------------------------------------------------
   Buttons & CTAs
   --------------------------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 12px 24px;
  background-color: var(--color-blue);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(0, 125, 181, 0.22);
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary:hover {
  background-color: #006b9b;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 125, 181, 0.3);
  color: var(--color-white);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 3px;
}

/* ---------------------------------------------------------
   Prefers Reduced Motion Support
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
