/* ===================================
   SCAMPI - Base Styles & Reset
   Compatible with Kadence Theme
   =================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--scampi-font-sans);
  font-weight: var(--scampi-font-weight-900);
  line-height: 1;
}

h1 {
  font-size: var(--scampi-text-9xl);
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--scampi-text-7xl);
  letter-spacing: -0.02em;
}

h3 {
  font-size: var(--scampi-text-3xl);
  letter-spacing: -0.01em;
}

h4 {
  font-size: var(--scampi-text-2xl);
}

h5 {
  font-size: var(--scampi-text-xl);
}

h6 {
  font-size: var(--scampi-text-lg);
}

p {
  font-family: var(--scampi-font-serif);
  line-height: 1.6;
}

a {
  color: var(--scampi-color-text);
  text-decoration: none;
}

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

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

/* Custom Selection Color */
::selection {
  background: var(--scampi-color-coral);
  color: var(--scampi-color-white);
}

::-moz-selection {
  background: var(--scampi-color-coral);
  color: var(--scampi-color-white);
}

/* Responsive Typography - KADENCE BREAKPOINTS */
@media (max-width: 1024px) {
  /* Tablet */
  h1 {
    font-size: var(--scampi-text-7xl);
  }

  h2 {
    font-size: var(--scampi-text-6xl);
  }

  h3 {
    font-size: var(--scampi-text-2xl);
  }
}

@media (max-width: 767px) {
  /* Mobile */
  h1 {
    font-size: var(--scampi-text-5xl);
  }

  h2 {
    font-size: var(--scampi-text-4xl);
  }

  h3 {
    font-size: var(--scampi-text-xl);
  }

  body {
    font-size: var(--scampi-text-sm);
  }
}
