/*
 * BASE STYLES
 * Reset and foundational styles
 */

/* === RESET === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-bold);
  line-height: 1.1;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

h1 { font-size: clamp(2.2rem, 8vw, 3.5rem); margin-bottom: var(--space-8); }
h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); margin-bottom: var(--space-6); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }

p {
  margin-bottom: var(--space-4);
  opacity: 0.9;
}

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

a:hover {
  opacity: 1;
  color: var(--primary);
}

/* === LISTS === */
ul, ol {
  list-style: none;
}

/* === IMAGES === */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === FORMS === */
input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  -webkit-tap-highlight-color: transparent;
}

input, textarea, select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--color-text);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: rgba(253, 203, 88, 0.05);
  box-shadow: 0 0 20px rgba(253, 203, 88, 0.15);
}

label {
  display: block;
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  color: var(--primary);
}

/* === UTILITY CLASSES === */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }

