﻿/*
Theme Name: NovaQTech Books Publications V6
Theme URI: https://novaqtechgroup.com/
Author: Amir Abbas Mousapour
Description: A focused NovaQTech WordPress theme for ISO consulting, auditing, technical review, AI transformation, publications, and professional insights.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 7.0
Text Domain: novaqtech-books-publications
*/

:root {
  --bg: #000912;
  --panel: #02192a;
  --panel-soft: #08243a;
  --band: #183047;
  --text: #ffffff;
  --muted: #dce8f4;
  --gold: #f4cf18;
  --gold-dark: #d7b62b;
  --purple: #4b4168;
  --line: rgba(255,255,255,.22);
  --max: 1720px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.standard-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 42px 96px;
}

.page-shell {
  background: rgba(2,25,42,.82);
  border: 1px solid rgba(255,255,255,.16);
  padding: 48px;
}

.page-title {
  color: var(--gold);
  font-size: clamp(38px, 4vw, 74px);
  line-height: 1;
  margin-bottom: 18px;
}

.page-intro {
  color: var(--muted);
  font-size: 22px;
  line-height: 1.4;
  margin: 0 0 38px;
}

.article-list {
  display: grid;
  gap: 24px;
}

.article-list-item {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.16);
  padding: 30px;
}

.article-list-item h2 {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: clamp(28px, 2.4vw, 42px);
  line-height: 1.15;
}

.article-list-item h2 a {
  text-decoration: none;
}

.article-list-item p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.article-content {
  max-width: 1180px;
}

.article-title {
  color: var(--gold);
  font-size: clamp(38px, 4vw, 72px);
  line-height: 1.05;
  margin: 0 0 34px;
  text-transform: none;
}

.article-content p {
  color: #fff;
  font-size: clamp(20px, 1.35vw, 24px);
  line-height: 1.65;
  margin: 0 0 28px;
}

.article-content .eyebrow {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: .16em;
  margin-bottom: 18px;
}

.novaq-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.sales-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 34px;
}

.sales-steps span,
.product-benefits li {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-weight: 800;
}

.sales-steps span {
  padding: 16px;
  text-align: center;
}

.novaq-product-card {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.16);
  padding: 28px;
}

.book-cover-link {
  display: block;
  text-decoration: none;
}

.book-cover {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 28px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(252,175,24,.95), rgba(252,175,24,.72) 28%, rgba(6,23,37,.96) 28%, rgba(6,23,37,.96)),
    radial-gradient(circle at 72% 20%, rgba(255,255,255,.18), transparent 32%);
  border: 1px solid rgba(252,175,24,.55);
  box-shadow: 18px 18px 0 rgba(0,0,0,.22);
}

.book-cover strong {
  color: #fff;
  font-size: 34px;
  line-height: 1.05;
  text-transform: uppercase;
}

.book-cover em,
.book-cover-label {
  color: var(--gold);
  font-style: normal;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-cover {
  min-height: 520px;
}

.novaq-product-card h2 {
  color: var(--gold);
  font-size: 28px;
  line-height: 1.15;
  margin: 22px 0 12px;
}

.novaq-product-card h2 a {
  text-decoration: none;
}

.novaq-product-price {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 18px;
}

.novaq-product-card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.product-benefits {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.product-benefits li {
  padding: 12px 14px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 22px;
}

.product-actions .gold-button,
.product-actions-large .gold-button {
  padding: 15px 26px;
  background: var(--gold);
  color: #050505;
  border: 2px solid var(--gold);
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
}

.product-actions-large {
  margin-top: 30px;
}

.text-link {
  color: #fff;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.purchase-note {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
  margin-top: 18px;
}

.novaq-product-card .gold-button {
  display: inline-flex;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(220px, 420px) 1fr;
  gap: 46px;
  align-items: start;
}

.product-media {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.16);
  padding: 22px;
}

.product-summary .cart {
  margin-top: 30px;
}

.product-summary .quantity {
  margin: 0 0 18px;
}

.product-summary .single_add_to_cart_button,
.woocommerce-button,
.wc-block-components-button {
  background: var(--gold-dark) !important;
  color: #050505 !important;
  border: 0 !important;
  font-weight: 900 !important;
}

.trust-list {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
  margin: 24px 0 0;
  padding-left: 22px;
}

.product-details {
  margin-top: 48px;
  border-top: 1px solid rgba(255,255,255,.16);
  padding-top: 34px;
}

.product-details h2 {
  color: var(--gold);
  font-size: 32px;
  margin: 0 0 18px;
}

.credibility-strip {
  background: linear-gradient(135deg, #061725, #0a2a45);
  border-bottom: 1px solid rgba(255,255,255,.16);
}

.credibility-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 42px;
  display: grid;
  grid-template-columns: 320px 1.2fr .8fr;
  gap: 44px;
  align-items: center;
}

.founder-photo {
  margin: 0;
}

.founder-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 2px solid rgba(244,207,24,.55);
  box-shadow: 18px 18px 0 rgba(0,0,0,.18);
}

.credibility-inner h2 {
  color: var(--gold);
  font-size: clamp(38px, 4vw, 72px);
  line-height: 1;
  margin: 0 0 22px;
  text-transform: uppercase;
}

.credibility-inner p {
  color: #fff;
  font-size: 23px;
  line-height: 1.4;
  margin: 0;
  font-weight: 700;
}

.credibility-points {
  display: grid;
  gap: 16px;
}

.credibility-points span {
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,9,18,.42);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  padding: 20px 22px;
}

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(0,9,18,.96); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
.header-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(260px, 320px) minmax(0, 1fr) minmax(190px, 240px); gap: 28px; align-items: center; padding: 28px 34px; }
.brand { text-decoration: none; line-height: 1; color: #fff; font-weight: 900; font-size: clamp(34px, 3.4vw, 62px); letter-spacing: 0; }
.brand span { color: var(--gold); }
.brand small { display: block; color: #e7c065; letter-spacing: .42em; font-size: 18px; margin-left: 96px; margin-top: 10px; }
.nav { display: flex; align-items: center; justify-content: center; gap: 0; background: var(--purple); padding: 0 24px; min-height: 82px; }
.nav a { text-decoration: none; color: #d4d000; font-size: clamp(17px, 1.18vw, 24px); padding: 24px 20px; white-space: nowrap; }
.nav a:hover { color: #fff; }
.header-cta { border: 2px solid var(--gold); color: var(--gold); text-decoration: none; min-height: 78px; display: flex; align-items: center; justify-content: center; text-align: center; font-weight: 800; font-size: 20px; padding: 14px; white-space: normal; overflow-wrap: anywhere; }
.mobile-menu { display: none; }

section { scroll-margin-top: 150px; }
.hero { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.04fr .96fr; min-height: 720px; border-bottom: 1px solid var(--line); }
.hero-copy { padding: 132px 42px 80px 74px; display: flex; flex-direction: column; justify-content: center; }
.kicker { color: var(--gold); font-weight: 900; letter-spacing: .22em; font-size: 20px; margin: 0 0 28px; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(56px, 6.3vw, 116px); line-height: .96; letter-spacing: 0; text-transform: uppercase; font-weight: 900; }
h1 .gold { color: var(--gold); display: block; }
.hero-copy p { max-width: 740px; margin: 38px 0 50px; font-size: clamp(21px, 1.55vw, 30px); line-height: 1.34; font-weight: 700; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 82px; padding: 0 46px; background: var(--gold-dark); color: #050505; text-decoration: none; font-size: 22px; font-weight: 900; text-transform: uppercase; border: 0; cursor: pointer; }
.btn.secondary { background: transparent; color: var(--gold); border: 2px solid var(--gold); }
.hero-media { min-height: 720px; background: #061521; display: flex; align-items: center; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

.section-pad { max-width: var(--max); margin: 0 auto; padding: 112px 42px; }
.section-title { margin: 0 0 70px; text-align: center; font-size: clamp(46px, 5vw, 94px); line-height: .98; text-transform: uppercase; font-weight: 900; }
.section-title.left { text-align: left; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; }
.card { background: var(--panel); border-left: 5px solid #fff; padding: 48px 44px; min-height: 330px; display: flex; flex-direction: column; justify-content: space-between; }
.card:before { content: none; }
.card h3 { margin: 0 0 26px; color: var(--gold); font-size: 33px; line-height: 1.08; text-transform: uppercase; }
.card p { margin: 0; color: #fff; font-size: 24px; line-height: 1.32; }
.card a { margin-top: 32px; color: var(--gold); font-size: 22px; }

.services-detail { background: #041321; }
.detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.detail-card { background: var(--panel-soft); border: 1px solid rgba(255,255,255,.16); padding: 30px; min-height: 310px; }
.detail-card h3 { color: var(--gold); margin: 0 0 18px; font-size: 25px; line-height: 1.15; text-transform: uppercase; }
.detail-card ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 18px; line-height: 1.55; }

.industries { background: var(--band); }
.industry-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.industry { border: 1px solid rgba(255,255,255,.2); background: rgba(0,9,18,.35); padding: 24px; color: #fff; font-size: 22px; font-weight: 800; }

.programs { background: var(--panel); }
.program-list { display: grid; gap: 1px; border-top: 1px solid rgba(255,255,255,.16); }
.program-item { padding: 56px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.program-item h3 { color: var(--gold); font-size: 38px; margin: 0 0 24px; text-transform: uppercase; }
.program-item p { font-size: 24px; line-height: 1.35; max-width: 1140px; margin: 0 0 28px; font-weight: 700; }

.books-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.book-card { background: #061725; border: 1px solid rgba(255,255,255,.18); padding: 30px; min-height: 270px; display: flex; flex-direction: column; justify-content: space-between; }
.book-card h3 { margin: 0 0 16px; color: var(--gold); font-size: 25px; }
.book-card p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.45; }
.book-card a { margin-top: 26px; color: var(--gold); font-weight: 800; }

.insights { background: #000912; }
.insight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; }
.post-card { background: var(--panel); border: 1px solid rgba(255,255,255,.12); min-height: 640px; display: flex; flex-direction: column; text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.post-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.post-image { height: 298px; background: #03111d; overflow: hidden; }
.post-image img { width: 100%; height: 100%; object-fit: cover; }
.post-content { padding: 34px 38px 40px; display: flex; flex-direction: column; flex: 1; }
.meta { color: #fff; font-size: 18px; font-weight: 800; margin-bottom: 22px; }
.post-card h3 { font-size: 35px; line-height: 1.18; margin: 0 0 26px; }
.post-card p { font-size: 22px; line-height: 1.35; color: #fff; margin: 0; }
.read-more { margin-top: auto; color: var(--gold); font-weight: 900; padding-top: 30px; }
.section-action { margin-top: 42px; text-align: center; }

.contact { background: #082f59; }
.contact-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; padding: 112px 42px; align-items: start; }
.contact h2 { font-size: clamp(56px, 5.7vw, 105px); line-height: .95; margin: 0 0 42px; text-transform: uppercase; }
.contact p { max-width: 780px; font-size: 27px; line-height: 1.35; font-weight: 700; }
.contact-box { background: #000912; padding: 44px; border: 1px solid rgba(255,255,255,.14); }
.contact-box label { display: block; margin: 0 0 10px; font-weight: 800; font-size: 20px; }
.contact-box input, .contact-box textarea { width: 100%; background: #000912; color: #fff; border: 1px solid rgba(255,255,255,.28); min-height: 66px; margin-bottom: 22px; padding: 16px; font-size: 18px; }
.contact-box textarea { min-height: 150px; resize: vertical; }
.contact-box .btn { width: 100%; }
.direct-email { color: var(--gold); font-size: 24px; font-weight: 900; display: inline-block; margin-top: 22px; }

.site-footer { background: #000912; border-top: 1px solid rgba(255,255,255,.12); }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 80px 42px; display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 60px; }
.footer-inner h3 { margin: 0 0 24px; font-size: 28px; text-transform: uppercase; }
.footer-inner p { margin: 0; font-size: 22px; line-height: 1.35; font-weight: 700; white-space: pre-line; }
.footer-brand { font-size: clamp(64px, 7vw, 132px); font-weight: 900; margin-top: 54px; }
.footer-bottom { max-width: var(--max); margin: 0 auto; padding: 0 42px 70px; display: flex; justify-content: space-between; gap: 30px; font-size: 20px; font-weight: 700; }
.socials { display: flex; gap: 18px; flex-wrap: wrap; }
.socials a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #0b72bd; text-decoration: none; font-weight: 900; }
.socials a[aria-label="Email"] { width: auto; border-radius: 999px; padding: 0 16px; }

.site-notice {
  max-width: var(--max);
  margin: 18px auto 0;
  padding: 16px 42px;
  font-size: 18px;
  font-weight: 800;
}

.site-notice.success { background: rgba(39, 174, 96, .22); border: 1px solid rgba(39, 174, 96, .65); }
.site-notice.error { background: rgba(231, 76, 60, .22); border: 1px solid rgba(231, 76, 60, .65); }

@media (max-width: 1180px) {
  .header-inner { grid-template-columns: 1fr auto; gap: 18px; }
  .nav { grid-column: 1 / -1; order: 3; overflow-x: auto; justify-content: flex-start; }
  .header-cta { min-height: 70px; }
  .hero { grid-template-columns: 1fr; }
  .hero-media { min-height: 420px; }
  .service-grid, .detail-grid, .insight-grid, .credibility-inner { grid-template-columns: 1fr 1fr; }
  .founder-photo { max-width: 320px; }
  .books-grid, .industry-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid, .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .admin-bar .site-header { top: 0; }
  body { overflow-x: hidden; }
  .site-header,
  .header-inner,
  .nav,
  .hero,
  .credibility-inner,
  .standard-page,
  .page-shell,
  .contact-grid,
  .footer-inner,
  .footer-bottom { max-width: 100%; }
  .header-inner { padding: 24px 18px; grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .brand { font-size: 40px; max-width: 100%; overflow-wrap: anywhere; }
  .brand small { margin-left: 74px; font-size: 13px; }
  .nav { min-height: auto; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow-x: hidden; }
  .nav a { padding: 16px 10px; font-size: 17px; white-space: normal; text-align: center; }
  .header-cta { font-size: 20px; }
  .hero-copy, .credibility-inner, .section-pad, .contact-grid, .footer-inner, .footer-bottom, .standard-page { padding-left: 18px; padding-right: 18px; }
  .page-shell { padding: 28px 20px; }
  .hero-copy { padding-top: 72px; }
  h1 { font-size: 56px; }
  .service-grid, .detail-grid, .insight-grid, .books-grid, .industry-grid, .novaq-product-grid, .product-layout, .credibility-inner, .sales-steps { grid-template-columns: minmax(0, 1fr); }
  .card, .detail-card, .book-card { padding: 28px; }
  .footer-bottom { flex-direction: column; }
}

.section-heading {
  margin-bottom: 56px;
}

.section-heading .eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 18px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(44px, 5vw, 88px);
  line-height: 0.98;
  text-transform: uppercase;
  font-weight: 900;
}

.book-card {
  min-height: 430px;
}

.book-series {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.book-card .book-number {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.book-card .book-question,
.book-card .book-focus {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-top: 0.9rem;
}

.book-card .book-focus strong {
  color: #fff;
}

@media (max-width: 700px) {
  body,
  .site-header,
  .site-footer,
  .hero,
  .credibility-inner,
  .hero-copy,
  .hero-media,
  .section-pad,
  .standard-page,
  .page-shell,
  .footer-inner,
  .footer-bottom {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .hero-copy,
  .credibility-inner,
  .section-pad,
  .standard-page,
  .footer-inner,
  .footer-bottom {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .hero-copy *,
  .credibility-inner *,
  .page-shell *,
  .footer-inner * {
    max-width: 100% !important;
    overflow-wrap: anywhere;
  }

  .hero-copy .btn {
    width: auto;
    min-width: 0;
    padding-left: 22px;
    padding-right: 22px;
  }

  .footer-brand {
    font-size: 48px;
  }
}
