﻿/* ============================================
   PARALLAX HERO (taller, with dark callout card)
   ============================================ */

/* Full-width parallax band under header */
.parallax-hero {
  position: relative;

  background-image:
    linear-gradient(
      to bottom,
      rgba(15, 23, 42, 0.5),
      rgba(15, 23, 42, 0.85)
    ),
    url("../images/onlinerme-parallax-bg.jpg");

  background-size: cover;
  background-position: center;
  background-attachment: fixed;

  /* Make this visually tall */
  min-height: 480px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #f9fafb;
}

.parallax-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4.5rem var(--pad-inline);
}

.parallax-inner h2 {
  margin: 0 0 1rem;
  font-size: 2.4rem;
  letter-spacing: -0.02em;
}

.parallax-sub {
  margin: 0;
  font-size: 1.15rem;
  color: #e5e7eb;
}

/* Mobile adjustments for parallax */
@media (max-width: 899px) {
  .parallax-hero {
    min-height: 380px;
    background-attachment: scroll; /* avoids mobile issues */
  }

  .parallax-inner {
    padding: 3rem var(--pad-inline);
  }

  .parallax-inner h2 {
    font-size: 1.9rem;
  }

  .parallax-sub {
    font-size: 1rem;
  }
}

/* ============================================
   HERO SECTION (Software for septic, permits…)
   ============================================ */

.hero {
  max-width: var(--max-width);
  margin: var(--section-space-tight) auto var(--section-space);
  padding: 0 var(--pad-inline);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.8rem;
  align-items: center;
}

/* Left side: main hero copy on light card */
.hero-copy {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.9rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(209, 213, 219, 0.9);
}

.hero-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero h1 {
  margin: 0 0 1.1rem;
  font-size: 2.4rem;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.hero-lede {
  margin: 0 0 1.6rem;
  color: var(--text-soft);
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.hero-subnote {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Right side: dark callout card */
.hero-side {
  display: flex;
  justify-content: flex-end;
}

.hero-side-card {
  background: #0f172a; /* dark mode card */
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.45rem;
  border: 1px solid rgba(15, 23, 42, 0.75);
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.7);
  max-width: 18.5rem;
  color: #e5e7eb;
}

.hero-side-label {
  margin: 0 0 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9ca3af;
}

/* Included platforms list – NO bullets, keep colored dots */
.hero-product-list {
  list-style: none;          /* removes default bullets */
  margin: 0 0 0.95rem;
  padding: 0;
  font-size: 0.93rem;
}

.hero-product-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
}

.hero-side-footnote {
  margin: 0;
  font-size: 0.8rem;
  color: #cbd5e1;
}

/* Mobile layout for hero */
@media (max-width: 899px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.1rem;
  }

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

  .hero-side {
    justify-content: flex-start;
  }
}
