/* ============================================================
   ZS RECYCLING — Hero Section Styles
   ============================================================ */

/* ---- Main Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

/* Background: swap url() for real robotic arm photo */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(10, 22, 40, 0.96) 0%,
      rgba(10, 22, 40, 0.75) 55%,
      rgba(10, 22, 40, 0.40) 100%
    ),
    /* Replace the url() below with your actual hero image */
    url('https://images.unsplash.com/photo-1518770660439-4636190af475?w=1800&q=80') center/cover no-repeat;
  z-index: 0;
}

/* Subtle blue-teal radial glow */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 80% at 70% 50%,
    rgba(79, 195, 247, 0.07) 0%,
    transparent 70%
  );
}

/* Grid pattern overlay */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(29, 111, 164, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 111, 164, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-copy {
  max-width: 580px;
}

.hero-copy .eyebrow {
  margin-bottom: 1rem;
}

.hero-copy h1 {
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-copy h1 span {
  color: var(--color-accent);
}

.hero-copy .subtitle {
  font-size: 1.1rem;
  color: var(--color-silver-light);
  margin-bottom: 2.25rem;
  max-width: 480px;
}

/* CTA buttons row */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-actions .btn {
  padding: 0.9rem 2rem;
  font-size: 0.875rem;
}

/* Certifications */
.hero-certs {
  margin-bottom: 3rem;
}

/* ---- Stat Cards ---- */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-card {
  background: rgba(17, 31, 54, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
}

.stat-card:hover {
  border-color: rgba(29, 111, 164, 0.5);
  background: rgba(17, 31, 54, 0.9);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.stat-card .stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}

.stat-card .stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.stat-card .stat-value.accent {
  color: var(--color-accent);
}

/* ---- Hero visual (right column) ---- */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.hero-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-photo:hover img {
  transform: scale(1.04);
}

.hero-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(to top, rgba(6, 15, 30, 0.9), transparent);
  font-size: 0.75rem;
  color: var(--color-silver-light);
  font-weight: 500;
}

/* Floating badge on hero visual */
.hero-badge {
  position: absolute;
  top: -1rem;
  right: -1rem;
  background: var(--color-blue);
  color: var(--color-white);
  border-radius: 50%;
  width: 90px;
  height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  box-shadow: 0 8px 32px rgba(29, 111, 164, 0.5);
  z-index: 3;
}

/* ---- Scroll indicator ---- */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeInUp 1.5s ease 1s both;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-blue-light), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.2); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

/* ---- Service Icons Strip (homepage) ---- */
.services-strip {
  padding: 3rem 0;
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.services-strip-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.service-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition);
}

.service-icon-item:hover {
  color: var(--color-accent);
}

.service-icon-item svg {
  color: var(--color-blue-light);
  transition: var(--transition);
}

.service-icon-item:hover svg {
  color: var(--color-accent);
  transform: scale(1.1);
}

/* ---- About preview (homepage) ---- */
.about-preview {
  background: var(--color-bg);
}

.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-preview-text h2 {
  margin-bottom: 1.5rem;
}

.about-preview-text p {
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
}

.about-preview-text .cert-strip {
  margin-top: 2rem;
}

.about-preview-media {
  position: relative;
}

.about-photo-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-card);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photo:first-child {
  margin-top: 2rem;
}
