/* ============================================================
   variables.css — Design tokens & global reset
   Jersey Shore Construction Supply Co.
   ============================================================ */

:root {
  /* Colors */
  --red:         #D42B2B;
  --red-dark:    #A01E1E;
  --red-bright:  #FF3333;
  --black:       #0A0A0A;
  --charcoal:    #1A1A1A;
  --steel:       #2C2C2C;
  --silver:      #8A8A8A;
  --light:       #F0EDE8;
  --white:       #FFFFFF;
  --blue-accent: #1B4F8C;
  --yellow:      #F5C400;

  /* Typography */
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;

  /* Spacing */
  --section-padding: 6rem 2rem;
  --inner-max:       1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--light);
  overflow-x: hidden;
}

/* ── Noise texture overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.35;
}

/* ── Shared layout helpers ── */
.section-inner {
  max-width: var(--inner-max);
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--red);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.section-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--silver);
  max-width: 560px;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}
