/* ==========================================================================
   Syslog Watcher PPC Landing Page
   Brand tokens + supplements for Bootstrap 5.3.3
   Mirrors assets/style/style.scss from the main ezfive.com site.
   ========================================================================== */

:root {
  --bs-body-font-family: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --bs-body-font-weight: 400;
  --bs-primary: #00aba9;
  --bs-secondary: #005060;
  --bs-primary-rgb: 0, 171, 169;
  --bs-secondary-rgb: 0, 80, 96;
  --bs-link-color: #005060;
  --bs-link-hover-color: #00aba9;
}

/* Bootstrap recalculates from the legacy maps too; redirect those */
.text-primary { color: #00aba9 !important; }
.text-secondary { color: #005060 !important; }
.bg-primary { background-color: #00aba9 !important; }
.bg-primary-subtle { background-color: rgba(0, 171, 169, 0.10) !important; }
.border-primary { border-color: #00aba9 !important; }
.border-secondary { border-color: #005060 !important; }

.btn-primary {
  --bs-btn-bg: #00aba9;
  --bs-btn-border-color: #00aba9;
  --bs-btn-hover-bg: #008a89;
  --bs-btn-hover-border-color: #008a89;
  --bs-btn-active-bg: #00706f;
  --bs-btn-active-border-color: #00706f;
}
.text-bg-primary {
  background-color: #00aba9 !important;
  color: #fff !important;
}

/* ---------- Top corporate navbar (matches site #topMenu) ---------- */
#topMenu {
  border-bottom: 2px solid #ddd;
  padding-block: 0.5rem;
}
#topMenu .navbar-brand {
  font-family: "Baumans", system-ui;
  font-weight: 400;
  font-size: 1.4rem;
}

/* ---------- Sticky product navbar (matches site #mainMenu) ---------- */
#mainMenu {
  background: #eeeeee;
  border-bottom: 1px solid #cccccc;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.20),
              0 6px 20px 0 rgba(0, 0, 0, 0.19);
  margin-bottom: 0;
  padding-bottom: 0;
}

/* ---------- Hero (matches site #mainBlock) ---------- */
#mainBlock {
  background: #b9d8e0 url("https://ezfive.com/img/bg/enterprise-data-center.jpg") no-repeat top;
  background-size: cover;
  border-top: 2px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.20),
              0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
/* Soft white scrim so text stays readable over the background image */
#mainBlock {
  position: relative;
}
#mainBlock::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.78) 55%, rgba(255,255,255,0.40) 100%);
  pointer-events: none;
}
#mainBlock > .container { position: relative; z-index: 1; }

/* ---------- Feature card "cardLogo" pattern (from the main site) ---------- */
.cardLogo {
  background-color: white;
  margin-top: -30px;
  height: 70px;
  width: 70px;
  border-radius: 50%;
}
.card.border-primary {
  border-width: 1px;
}

/* ---------- Icon list (from the main site) ---------- */
.icon-list {
  padding-left: 0;
  list-style: none;
  margin: 0;
}
.icon-list li {
  margin-bottom: 0.4rem;
  padding-left: 0.25rem;
}
.icon-list li::before {
  width: 1.5rem;
  height: 1.5rem;
  padding-right: 0.3rem;
  content: "➤";
  color: #00aba9;
}

/* ---------- Blockquote-custom (from the main site) ---------- */
.blockquote-custom {
  position: relative;
  font-size: 1rem;
  font-style: italic;
  color: #333;
}
.blockquote-custom-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -22px;
  left: 22px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* ---------- Accordion overrides (from the main site) ---------- */
.accordion {
  --bs-accordion-active-bg: #ddd;
  --bs-accordion-active-color: #005060;
  --bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem #ccc;
}

/* ---------- Customer logo strip ---------- */
.customer-logo {
  max-width: 160px;
  max-height: 44px;
  width: auto;
  height: auto;
  display: inline-block;
  vertical-align: middle;
  opacity: 0.5;
  transition: opacity 0.2s ease-in-out;
}
.customer-logo:hover {
  opacity: 1;
}

/* ---------- Final CTA block (LP-only; matches brand palette) ---------- */
.cta-block {
  background:
    radial-gradient(circle at 20% 0%,  rgba(0, 171, 169, 0.35), transparent 45%),
    radial-gradient(circle at 80% 100%, rgba(0, 171, 169, 0.20), transparent 50%),
    linear-gradient(160deg, #005060 0%, #003540 100%);
}
.cta-block .btn-outline-light:hover {
  color: #005060;
}

/* ---------- Hero product screenshot ---------- */
.hero-screenshot {
  width: 100%;
  max-width: 540px;
  height: auto;
  margin-inline: auto;
  display: block;
  background: #fff;
  border: 1px solid var(--bs-primary);
  border-radius: 4px;
}

/* ---------- Smooth scroll for in-page anchors (respect reduced motion) ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Offset for the sticky #mainMenu when anchoring to in-page sections */
:target { scroll-margin-top: 80px; }
