/* ============================================================
   hero.css — Hero section
   Jersey Shore Construction Supply Co.
   ============================================================ */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 4rem 2rem;
}

/* Diagonal stripe background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 60px,
    rgba(212, 43, 43, 0.04) 60px,
    rgba(212, 43, 43, 0.04) 62px
  );
}

/* Red diagonal slash */
.hero::after {
  content: '';
  position: absolute;
  right: -5%;
  top: -10%;
  width: 55%;
  height: 130%;
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 60%, #FF4444 100%);
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  animation: heroIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--yellow);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--red);
  display: block;
}

.hero p {
  font-size: 1.125rem;
  line-height: 1.65;
  color: rgba(240, 237, 232, 0.75);
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero mascot image */
.hero-img-wrap {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: clamp(300px, 36vw, 520px);
  animation: heroImgIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.6));
}

@keyframes heroImgIn {
  from { opacity: 0; transform: translateY(-40%) scale(0.85); }
  to   { opacity: 1; transform: translateY(-50%) scale(1); }
}

.hero-img-wrap img {
  width: 100%;
}

/* ── Stats bar ── */
.stats-bar {
  background: var(--red);
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 6vw, 6rem);
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.stat {
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 2px;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-bottom: 2rem;
  }

  .hero::after {
    display: none;
  }

  .hero-img-wrap {
    display: none;
  }

  .hero h1 {
    font-size: 3rem;
  }
}
