/* ============================================================
   Luxshine Hair — Base: reset, typography, layout, components
   ============================================================ */

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

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

/* Smooth wheel scrolling (js/vendor/lenis.min.js, started in js/main.js). The rules Lenis 1.3 ships in
   lenis.css: the page keeps its natural height, and iframes stay out of the way while the page glides. */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

body {
  font-family: var(--font-body);
  font-size: var(--body-size);
  line-height: var(--body-lh);
  font-weight: 400;
  color: var(--text-primary);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
html { overflow-x: clip; }

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

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select, button { font-family: inherit; font-size: inherit; }

/* ---------- Headings (Bergola) ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.1;
}
h1 { font-size: var(--h1-size); line-height: var(--h1-lh); }
h2 { font-size: var(--h2-size); line-height: var(--h2-lh); }
h3 { font-size: var(--h3-size); line-height: var(--h3-lh); }
h4 { font-size: var(--h4-size); line-height: var(--h4-lh); }
h5 { font-size: var(--h5-size); line-height: var(--h5-lh); }
h6 { font-size: var(--h6-size); line-height: var(--h6-lh); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.section { position: relative; }

/* ---------- Eyebrow / section subtitle ("WHERE QUALITY MEETS SHINE") ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--body-size);
  line-height: var(--body-lh);
  font-weight: 400;
  letter-spacing: var(--subtitle-ls);
  text-transform: uppercase;
  color: var(--color-primary);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--body-size);
  line-height: 1;
  padding: var(--space-4) var(--space-8);
  border-radius: 0;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
/* Trailing arrow glyph for CTA buttons (masked SVG, follows currentColor) */
.btn__arrow {
  width: 16px; height: 16px; flex: none; background: currentColor;
  -webkit-mask: url("../assets/icons/arrow-right.svg") no-repeat center / contain;
          mask: url("../assets/icons/arrow-right.svg") no-repeat center / contain;
}
.btn--primary {
  background: var(--color-primary);
  color: var(--color-black);
}
.btn--primary:hover { background: var(--primary-400); }
.btn--dark {
  background: var(--color-black);
  color: var(--color-white);
}
.btn--dark:hover { background: var(--color-primary); color: var(--color-black); }
.btn--outline {
  background: transparent;
  color: var(--color-black);
  border: 1px solid var(--color-black);
}
.btn--outline:hover { background: var(--color-black); color: var(--color-white); }
.btn--outline-gold {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}
.btn--outline-gold:hover { background: var(--color-primary); color: var(--color-black); }
.btn--outline-light {
  background: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-white);
}
.btn--outline-light:hover { background: var(--color-white); color: var(--color-black); }

/* ---------- Accessibility ---------- */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
