/*
Theme Name: NJProtection Security
Author: ChatGPT
Description: A clean one-page WordPress theme for NJProtection & Security Services, built around a professional freelance security services brand vision.
Version: 1.0.6
License: GPL v2 or later
Text Domain: njprotection
*/

:root {
  --nj-red: #a00006;
  --nj-red-dark: #710005;
  --nj-black: #101014;
  --nj-charcoal: #24242a;
  --nj-grey: #f4f4f6;
  --nj-mid-grey: #6d6d75;
  --nj-white: #ffffff;
  --nj-border: rgba(16, 16, 20, 0.12);
  --nj-shadow: 0 18px 45px rgba(16, 16, 20, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--nj-black);
  background: var(--nj-white);
  line-height: 1.6;
}

a { color: var(--nj-red); text-decoration: none; }
a:hover { color: var(--nj-red-dark); }
img { max-width: 100%; height: auto; }

.nj-container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.nj-topbar {
  background: var(--nj-black);
  color: var(--nj-white);
  font-size: 14px;
}
.nj-topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
  flex-wrap: wrap;
}
.nj-topbar strong { color: #fff; }

.nj-header {
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--nj-border);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
}
.nj-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}
.nj-logo img {
  display: block;
  width: 360px;
  max-width: 52vw;
}
.nj-nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nj-nav a {
  color: var(--nj-charcoal);
  font-weight: 700;
  font-size: 15px;
}
.nj-nav a:hover { color: var(--nj-red); }

.nj-button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 800;
  background: var(--nj-red);
  color: var(--nj-white) !important;
  border: 2px solid var(--nj-red);
  box-shadow: 0 8px 22px rgba(160, 0, 6, 0.22);
}
.nj-button:hover,
.wp-block-button__link:hover {
  background: var(--nj-red-dark);
  border-color: var(--nj-red-dark);
  color: var(--nj-white) !important;
}
.nj-button--ghost {
  background: transparent;
  color: var(--nj-red) !important;
  box-shadow: none;
}
.nj-button--ghost:hover {
  background: var(--nj-red);
  color: var(--nj-white) !important;
}

.nj-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(16,16,20,0.96), rgba(36,36,42,0.88)),
    radial-gradient(circle at 85% 20%, rgba(160,0,6,0.35), transparent 32%);
  color: var(--nj-white);
}
.nj-hero::after {
  content: '';
  position: absolute;
  inset: auto -60px -100px auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(160,0,6,0.2);
  border: 38px solid rgba(255,255,255,0.06);
}
.nj-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(290px, 0.9fr);
  gap: 44px;
  align-items: center;
  padding: 76px 0 84px;
}
.nj-kicker {
  color: #ffced1;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 14px;
}
.nj-hero h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}
.nj-hero p {
  font-size: 19px;
  color: rgba(255,255,255,0.86);
  max-width: 680px;
}
.nj-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.nj-hero-card {
  background: var(--nj-white);
  color: var(--nj-black);
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--nj-shadow);
}
.nj-hero-card h2 {
  margin: 0 0 12px;
  font-size: 28px;
}
.nj-checklist {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}
.nj-checklist li {
  position: relative;
  padding-left: 34px;
  margin: 12px 0;
  font-weight: 700;
}
.nj-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--nj-red);
  font-weight: 900;
}

.nj-section { padding: 76px 0; }
.nj-section--grey { background: var(--nj-grey); }
.nj-section__title {
  max-width: 760px;
  margin-bottom: 34px;
}
.nj-section__title h2 {
  margin: 0 0 12px;
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.nj-section__title p {
  color: var(--nj-mid-grey);
  font-size: 18px;
  margin: 0;
}

.nj-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.nj-card {
  background: var(--nj-white);
  border: 1px solid var(--nj-border);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 10px 30px rgba(16,16,20,0.06);
}
.nj-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: var(--nj-white);
  background: linear-gradient(135deg, var(--nj-red), var(--nj-red-dark));
  font-weight: 900;
  font-size: 22px;
  margin-bottom: 16px;
}
.nj-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}
.nj-card p {
  margin: 0;
  color: var(--nj-mid-grey);
}

.nj-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
}
.nj-panel {
  background: var(--nj-black);
  color: var(--nj-white);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--nj-shadow);
}
.nj-panel h2 {
  margin: 0 0 14px;
  font-size: 34px;
}
.nj-panel p { color: rgba(255,255,255,0.78); }
.nj-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.16);
}
.nj-stat strong {
  color: #fff;
  font-size: 36px;
  line-height: 1;
}

.nj-cta {
  background: linear-gradient(135deg, var(--nj-red), var(--nj-red-dark));
  color: var(--nj-white);
  border-radius: 32px;
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--nj-shadow);
}
.nj-cta h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.04em;
}
.nj-cta p {
  margin: 0;
  color: rgba(255,255,255,0.88);
  max-width: 720px;
}
.nj-cta .nj-button {
  background: var(--nj-white);
  color: var(--nj-red) !important;
  border-color: var(--nj-white);
  box-shadow: none;
  flex: 0 0 auto;
}

.nj-footer {
  background: var(--nj-black);
  color: rgba(255,255,255,0.76);
  padding: 38px 0;
}
.nj-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}
.nj-footer strong { color: var(--nj-white); }

.nj-footer-credit {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 13px;
  color: rgba(255,255,255,0.56);
  text-align: center;
}
.nj-footer-credit a {
  color: rgba(255,255,255,0.86);
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,0.34);
}
.nj-footer-credit a:hover {
  color: #ffced1;
  border-bottom-color: #ffced1;
}

.nj-page-content {
  padding: 58px 0;
  max-width: 900px;
  margin: 0 auto;
}
.nj-page-content h1, .nj-page-content h2, .nj-page-content h3 {
  line-height: 1.1;
}

@media (max-width: 900px) {
  .nj-header__inner,
  .nj-topbar__inner,
  .nj-cta,
  .nj-footer__inner { align-items: flex-start; }
  .nj-nav { display: none; }
  .nj-hero__inner,
  .nj-split { grid-template-columns: 1fr; }
  .nj-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nj-container { width: min(100% - 28px, 1120px); }
  .nj-logo img { max-width: 78vw; }
  .nj-hero__inner { padding: 52px 0 60px; }
  .nj-grid { grid-template-columns: 1fr; }
  .nj-cta { padding: 30px; flex-direction: column; }
}

.nj-email-wrap { display: inline-flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.nj-email-label { color: rgba(255,255,255,0.76); }
.nj-email-link { color: var(--nj-white); font-weight: 800; border-bottom: 1px solid rgba(255,255,255,0.45); }
.nj-email-link:hover { color: #ffced1; border-bottom-color: #ffced1; }
.nj-email-noscript { color: var(--nj-white); font-weight: 800; }
