/*
Theme Name: Josh N Junk Divi Child
Theme URI: https://joshnjunk.com/
Description: Divi child theme for Josh N Junk with lead-generation styling, custom post types, and Divi-friendly customization.
Author: OpenAI
Template: Divi
Version: 4.0.0
Text Domain: jnj-divi
*/

:root {
  --jnj-green: #2f9e44;
  --jnj-dark: #0f1720;
  --jnj-accent: #b7f36b;
  --jnj-light: #f5f8f3;
  --jnj-text: #203027;
  --jnj-radius: 18px;
  --jnj-shadow: 0 18px 40px rgba(15, 23, 32, 0.08);
}

body {
  color: var(--jnj-text);
}

.jnj-badge,
.et_pb_text .jnj-badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(183, 243, 107, 0.28);
  color: var(--jnj-dark);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.jnj-section-card,
.et_pb_module.jnj-section-card {
  background: #fff;
  border-radius: var(--jnj-radius);
  box-shadow: var(--jnj-shadow);
  overflow: hidden;
}

.jnj-dark-section {
  background: linear-gradient(135deg, #102018 0%, #13261d 100%);
  color: #fff;
}

.jnj-dark-section h1,
.jnj-dark-section h2,
.jnj-dark-section h3,
.jnj-dark-section h4,
.jnj-dark-section p,
.jnj-dark-section li {
  color: #fff !important;
}

.jnj-hero-phone a,
.jnj-cta-phone a {
  font-weight: 800;
}

.jnj-review-strip {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  padding: 18px 22px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--jnj-shadow);
}

.jnj-stars {
  font-size: 22px;
  letter-spacing: 2px;
}

.jnj-icon-box .et_pb_main_blurb_image {
  background: rgba(183, 243, 107, 0.26);
  border-radius: 999px;
  padding: 16px;
  display: inline-flex;
}

.jnj-process-step,
.jnj-project-card,
.jnj-testimonial-card,
.jnj-faq-wrap,
.jnj-service-card {
  background: #fff;
  border-radius: var(--jnj-radius);
  box-shadow: var(--jnj-shadow);
  padding: 28px;
  height: 100%;
}

.jnj-process-number {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--jnj-green);
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}

.jnj-project-card img,
.jnj-before-after img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.jnj-check-list,
.jnj-area-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.jnj-check-list li,
.jnj-area-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

.jnj-check-list li::before,
.jnj-area-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--jnj-green);
  font-weight: 800;
}

.jnj-quote-anchor {
  position: relative;
  top: -100px;
  display: block;
  visibility: hidden;
}

.jnj-footer-note {
  opacity: .85;
}

.single-jnj_project .et_post_meta_wrapper img,
.single-jnj_service .et_post_meta_wrapper img,
.single-jnj_testimonial .et_post_meta_wrapper img {
  border-radius: 18px;
}

@media (max-width: 980px) {
  .jnj-review-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* Divi Theme Builder Header + Footer Pack */

.jnj-topbar {
  background: var(--jnj-dark);
  color: #fff;
  font-size: 14px;
}

.jnj-topbar a {
  color: #fff !important;
  text-decoration: none;
}

.jnj-topbar .et_pb_text_inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.jnj-header-shell {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15,23,32,.06);
  box-shadow: 0 10px 30px rgba(15,23,32,.05);
}

.jnj-header-shell .et_pb_menu {
  background: transparent !important;
}

.jnj-header-phone a {
  color: var(--jnj-dark) !important;
  font-weight: 800;
}

.jnj-header-cta .et_pb_button,
.jnj-footer-cta .et_pb_button,
.jnj-cta-row .et_pb_button {
  background: var(--jnj-green) !important;
  border-color: var(--jnj-green) !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 800;
  padding: 14px 22px !important;
  box-shadow: 0 16px 35px rgba(47,158,68,.2);
}

.jnj-header-cta .et_pb_button:hover,
.jnj-footer-cta .et_pb_button:hover,
.jnj-cta-row .et_pb_button:hover {
  transform: translateY(-1px);
}

.jnj-sticky-header {
  position: sticky;
  top: 0;
  z-index: 999;
}

.jnj-header-menu .et-menu-nav > ul > li > a {
  font-weight: 700;
}

.jnj-header-menu .current-menu-item > a,
.jnj-header-menu .current_page_item > a {
  color: var(--jnj-green) !important;
}

.jnj-footer-main {
  background: linear-gradient(135deg, #0e1713 0%, #18251e 100%);
  color: rgba(255,255,255,.92);
}

.jnj-footer-main h2,
.jnj-footer-main h3,
.jnj-footer-main h4,
.jnj-footer-main p,
.jnj-footer-main li,
.jnj-footer-main a,
.jnj-footer-main .et_pb_text_inner {
  color: rgba(255,255,255,.92) !important;
}

.jnj-footer-main a:hover {
  color: var(--jnj-accent) !important;
}

.jnj-footer-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 22px;
}

.jnj-footer-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}

.jnj-footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.jnj-footer-links li {
  margin-bottom: 10px;
}

.jnj-footer-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.jnj-footer-badges span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(183,243,107,.14);
  border: 1px solid rgba(183,243,107,.15);
  font-size: 13px;
  font-weight: 700;
}

.jnj-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
}

.jnj-footer-bottom .et_pb_text_inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .jnj-topbar .et_pb_text_inner,
  .jnj-footer-bottom .et_pb_text_inner {
    display: block;
  }
}
