/**
 * PyroTech Hero Section Styles
 * Based on Figma design - Engineering Control. Delivering Confidence.
 */

/* Typography variables */
:root {
  --: "Noto Sans", sans-serif;
  --pyrotech-blue: #2563eb; /* Primary blue - adjust to match design */
  --pyrotech-blue-dark: #1e40af;
}

/* Hero wrapper - full viewport with background */
.pyrotech-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Top gradient overlay */
/* .pyrotech-hero__top-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
  z-index: 2;
  pointer-events: none;
} */

/* Image + gradient overlay (taller layer + parallax via hero-parallax.js) */
.pyrotech-hero__bg {
  position: absolute;
  left: 0;
  right: 0;
  top: -12%;
  height: 124%;
  z-index: 0;
  will-change: transform;
}

.pyrotech-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.pyrotech-hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 25.36%);
  z-index: 1;
}

/* Top bar: assets/css/top-bar.css (global) */

/* Hero content area */
.pyrotech-hero__content {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding: 60px 0px;
  max-width: var(--container-max-width);
  width: 100%;
  margin: auto;
}

.pyrotech-hero__main {
  display: flex;
  gap: 80px;
  flex-direction: column;
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}

/* Enquire Now tab: assets/css/contact-footer.css (global — footer contact on all pages) */

/* Hero text */
.pyrotech-hero__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pyrotech-hero__headline {
  font-size: 38px;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 12px;
}

.pyrotech-hero__headline--light,
.pyrotech-hero__headline--heavy {
  display: block;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
}

.pyrotech-hero__headline--light {
  font-weight: 400;
}

.pyrotech-hero__headline--heavy {
  font-weight: 900;
}

.pyrotech-hero__subtext {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 32px;
  max-width: 480px;
  font-weight: 300;
}

/* Stats section */
.pyrotech-hero__stats {
  display: flex;
  gap: 24px;
  max-width: 35%;
}

.pyrotech-hero__stat {
  flex: 1;
}

.pyrotech-hero__stat-value {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: 32px;
  color: #fff;
  margin: 0;
}

.pyrotech-hero__stat-desc {
  font-family: "Manrope", sans-serif;
  font-weight: 300;
  font-size: 12px;
  color: #fff;
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .pyrotech-hero__main {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .pyrotech-hero__headline {
    font-size: 40px;
  }

  .pyrotech-hero__content {
    padding: 36px 24px 40px;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .pyrotech-hero__content {
    padding: 24px 16px 32px;
  }

  .pyrotech-hero__headline {
    font-size: 28px;
  }

  .pyrotech-hero__subtext {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .pyrotech-hero__stat-value {
    font-size: 26px;
  }

  .pyrotech-hero__stats {
    flex-direction: column;
    gap: 24px;
    max-width: none;
  }
}

/* Front page: landing spans full main column */
.site-main .page-home {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}
