/* ============================================================
   File: /assets/includes/header_main.css
   Purpose: Main hero banner styles
   Version: 2026-04-15
   ============================================================ */

.header-main {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 420px;
  padding: 7rem 1rem 3rem;
  color: #ffffff;
  background-color: #0f1a24;
  background-image: url('/assets/includes/header_main.png');
  background-repeat: no-repeat;
  background-position: center 100%;
  background-size: cover;
  font-family: var(--font-primary);
}

.header-main__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(8, 18, 28, 0.82) 0%,
      rgba(8, 18, 28, 0.68) 24%,
      rgba(8, 18, 28, 0.42) 48%,
      rgba(8, 18, 28, 0.18) 72%,
      rgba(8, 18, 28, 0.08) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.10) 0%,
      rgba(0, 0, 0, 0.18) 100%
    );
}

.header-main__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.header-main__svg-wrap {
  width: 100%;
  max-width: 680px;
}

.header-main__svg {
  display: block;
  width: 100%;
  height: auto;
}

.header-main__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
  margin-left: 126px;
}

.header-main__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.header-main__btn:hover,
.header-main__btn:focus {
  transform: translateY(-1px);
}

.header-main__btn--primary {
  background: var(--primary-green, #00A651);
  border-color: var(--primary-green, #00A651);
  color: #ffffff;
}

.header-main__btn--primary:hover,
.header-main__btn--primary:focus {
  background: var(--primary-green-shade, #007f3e);
  border-color: var(--primary-green-shade, #007f3e);
}

.header-main__btn--secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.header-main__btn--secondary:hover,
.header-main__btn--secondary:focus {
  background: rgba(255, 255, 255, 0.14);
}

@media (min-width: 768px) {
  .header-main {
    min-height: 520px;
    padding: 8rem 1.5rem 4rem;
  }

  .header-main__svg-wrap {
    max-width: 760px;
  }
}

@media (min-width: 992px) {
  .header-main {
    background-attachment: fixed;
    padding: 9rem 2rem 4.5rem;
  }
}

@media (max-width: 767px) {
  .header-main {
    min-height: 380px;
    padding: 6.25rem 1rem 2.5rem;
    background-position: center 100%;
  }

  .header-main__svg-wrap {
    max-width: 100%;
  }

  .header-main__actions {
    margin-top: 0.9rem;
    margin-left: 0;
    padding-left: 1.55rem;
  }

  .header-main__btn {
    min-height: 44px;
    padding: 0.76rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-main__btn {
    transition: none !important;
  }
}