/**
 * TripMura Design System — Base CSS & Reset
 */

/* Box sizing rules & smooth scrolling */
*, *::before, *::after {
  box-sizing: border-box !important;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
  background-color: #fafbfc;
  background-image: var(--gradient-sky-glow);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: var(--font-body);
  line-height: var(--line-height-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 800;
  line-height: var(--line-height-tight);
  letter-spacing: var(--tracking-tight);
}

p {
  color: var(--text-secondary);
  line-height: var(--line-height-normal);
}

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

img, svg, picture, video {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* Container */
.container,
.results-page-main {
  width: 100% !important;
  max-width: 1360px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  box-sizing: border-box !important;
}

/* Accessibility: Focus visible */
:focus-visible {
  outline: 2px solid var(--primary-azure);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

/* Utility: Gradient Text */
.text-gradient {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 12px rgba(255, 255, 255, 0.9));
  display: inline-block;
}

/* Prevent layout shifts */
.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;
}
