/* ==========================================================================
   BASE.CSS
   Reset + global defaults (replaces Tailwind's preflight + base body rules).
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--color-brand-light);
  color: var(--color-brand-dark);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

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

a {
  text-decoration: none;
  color: inherit;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, p {
  margin: 0;
  font-weight: 400; /* browsers bold headings by default; Tailwind's preflight
                        reset removed that, so we match it here. Components
                        that need bold/medium text set their own font-weight. */
}

/* --------------------------------------------------------------------------
   Small reusable helpers (shared across several components)
   -------------------------------------------------------------------------- */

.font-serif {
  font-family: var(--font-serif);
}

.font-sans {
  font-family: var(--font-sans);
}

/* Hover "lift" animation used on several CTA buttons */
.btn-hover-scale {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-hover-scale:hover {
  transform: scale(1.02) translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-hover-scale:active {
  transform: scale(0.98);
}

/* Gradient text (unused by default markup, kept available for reuse) */
.text-gradient {
  background: linear-gradient(135deg, var(--color-brand-accent), #C85A3A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
