/*
Theme Name: Quantum Protection Services
Theme URI: https://quantumprotection.com
Author: Quantum Protection
Author URI: https://quantumprotection.com
Description: Professional security services WordPress theme with dark tactical aesthetic.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: quantum-protection
Tags: dark, security, professional, one-page
*/

/* ============================================
   QUANTUM PROTECTION - GLOBAL STYLES
   ============================================ */

:root {
  --color-primary: #adc7ff;
  --color-secondary: #4ce346;
  --color-background: #131313;
  --color-surface: #131313;
  --color-surface-container: #201f1f;
  --color-surface-container-low: #1c1b1b;
  --color-surface-container-lowest: #0e0e0e;
  --color-surface-container-high: #2a2a2a;
  --color-surface-container-highest: #353534;
  --color-surface-bright: #393939;
  --color-on-background: #e5e2e1;
  --color-on-surface: #e5e2e1;
  --color-on-surface-variant: #c1c6d7;
  --color-on-primary: #002e68;
  --color-on-primary-container: #00285b;
  --color-on-secondary: #003a03;
  --color-on-secondary-container: #003f03;
  --color-outline-variant: #414754;
  --color-primary-container: #4a8eff;
  --color-tertiary: #c8c6c5;
  --color-tertiary-container: #929090;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-background);
  color: var(--color-on-background);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Selection */
::selection {
  background: var(--color-secondary);
  color: var(--color-on-secondary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-on-background);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}


/* Utility Classes */
.glass-panel {
  background: rgba(19, 19, 19, 0.6);
  backdrop-filter: blur(20px);
}

.hud-scanline {
  background: linear-gradient(to bottom, transparent 50%, rgba(76, 227, 70, 0.05) 50%);
  background-size: 100% 4px;
}

.command-gradient {
  background: linear-gradient(135deg, #adc7ff 0%, #4a8eff 100%);
}

.glass-nav {
  background: rgba(19, 19, 19, 0.6);
  backdrop-filter: blur(20px);
}

/* Material Symbols */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

/* Container */
.qp-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .qp-container {
    padding: 0 1.5rem;
  }
}

/* =============================================
   QPS SINGLE POST — single-post.css
   ============================================= */

/* ---------- Reset & Base ---------- */
.qps-single {
    background: #0d0d0d;
    color: #c8cdd4;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    min-height: 100vh;
}

/* ---------- Hero ---------- */
.single-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.single-hero__image {
    position: absolute;
    inset: 0;
}

.single-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.single-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.15) 0%,
        rgba(0,0,0,0.5)  40%,
        rgba(13,13,13,0.97) 100%
    );
}

.single-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px 48px;
}

.single-hero__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.single-hero__cat {
    background: #1a6fc4;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.2s;
}
.single-hero__cat:hover { background: #1558a0; }

.single-hero__divider {
    color: #444;
    font-size: 12px;
}

.single-hero__date,
.single-hero__read {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #8a9bb0;
    font-weight: 500;
}

.single-hero__date .material-icons,
.single-hero__read .material-icons {
    font-size: 15px;
    color: #1a6fc4;
}

.single-hero__title {
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin: 0;
    text-transform: uppercase;
}

/* ---------- Wrap & Layout ---------- */
.single-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}

.single-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}

/* ---------- Article Body ---------- */
.single-article__body {
    color: #c0c8d4;
    font-size: 17px;
    line-height: 1.85;
}

.single-article__body h2 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 48px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1a6fc4;
}

.single-article__body h3 {
    font-size: 17px;
    font-weight: 700;
    color: #e0e6ee;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 32px 0 12px;
}

.single-article__body p {
    margin-bottom: 20px;
    color: #b0bac8;
}

.single-article__body ul,
.single-article__body ol {
    margin: 0 0 24px 0;
    padding-left: 0;
    list-style: none;
}

.single-article__body ul li {
    position: relative;
    padding: 8px 0 8px 28px;
    color: #b0bac8;
    border-bottom: 1px solid #1a1f28;
    font-size: 15.5px;
}

.single-article__body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #1a6fc4;
    clip-path: polygon(0 50%, 40% 0, 100% 50%, 40% 100%);
}

.single-article__body ol {
    counter-reset: qps-counter;
}

.single-article__body ol li {
    position: relative;
    padding: 10px 0 10px 44px;
    color: #b0bac8;
    border-bottom: 1px solid #1a1f28;
    font-size: 15.5px;
    counter-increment: qps-counter;
}

.single-article__body ol li::before {
    content: counter(qps-counter, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    font-weight: 800;
    color: #1a6fc4;
    letter-spacing: 0.5px;
    width: 32px;
    text-align: left;
}

.single-article__body strong {
    color: #e0e6ee;
    font-weight: 700;
}

.single-article__body img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 24px 0;
    border: 1px solid #1e2530;
}

.single-article__body a {
    color: #4a9eff;
    text-decoration: none;
    border-bottom: 1px solid rgba(74, 158, 255, 0.3);
    transition: border-color 0.2s;
}
.single-article__body a:hover {
    border-color: #4a9eff;
}

/* ---------- Tags ---------- */
.single-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 40px 0;
    padding-top: 24px;
    border-top: 1px solid #1e2530;
}

.single-tags__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #5a6a7e;
}

.single-tags__item {
    background: #12161e;
    color: #8a9bb0;
    border: 1px solid #1e2530;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.2s;
}
.single-tags__item:hover {
    background: #1a6fc4;
    color: #fff;
    border-color: #1a6fc4;
}

/* ---------- Author Box ---------- */
.single-author {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #12161e;
    border: 1px solid #1e2530;
    border-left: 3px solid #1a6fc4;
    padding: 24px;
    margin: 40px 0;
    border-radius: 3px;
}

.single-author__avatar img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid #1a6fc4;
}

.single-author__label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1a6fc4;
    margin-bottom: 4px;
}

.single-author__name {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.single-author__bio {
    font-size: 14px;
    color: #7a8a9e;
    margin: 0;
    line-height: 1.6;
}

/* ---------- Post Navigation ---------- */
.single-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #1e2530;
}

.single-nav__item {
    background: #12161e;
    border: 1px solid #1e2530;
    padding: 20px;
    text-decoration: none;
    border-radius: 3px;
    transition: border-color 0.2s, background 0.2s;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.single-nav__item:hover {
    border-color: #1a6fc4;
    background: #14192400;
}

.single-nav__item--next {
    text-align: right;
    align-items: flex-end;
}

.single-nav__item--empty {
    opacity: 0;
    pointer-events: none;
}

.single-nav__dir {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1a6fc4;
}

.single-nav__item--next .single-nav__dir {
    justify-content: flex-end;
}

.single-nav__dir .material-icons {
    font-size: 15px;
}

.single-nav__post-title {
    font-size: 14px;
    font-weight: 600;
    color: #c8cdd4;
    line-height: 1.4;
}

/* ---------- Sidebar ---------- */
.single-sidebar {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #1a6fc4;
    text-decoration: none;
    padding-bottom: 16px;
    border-bottom: 1px solid #1e2530;
    transition: color 0.2s;
}
.sidebar-back:hover { color: #4a9eff; }
.sidebar-back .material-icons { font-size: 16px; }

.sidebar-widget {
    background: #12161e;
    border: 1px solid #1e2530;
    padding: 24px;
    border-radius: 3px;
}

.sidebar-widget--dark {
    background: #0a0e14;
}

.sidebar-widget__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.sidebar-widget__line {
    display: block;
    width: 3px;
    height: 20px;
    background: #1a6fc4;
    flex-shrink: 0;
}

.sidebar-widget__title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
}

.sidebar-widget__text {
    font-size: 14px;
    color: #7a8a9e;
    line-height: 1.7;
    margin: 0 0 16px;
}

.sidebar-widget__cta {
    display: block;
    background: #1a6fc4;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.2s;
}
.sidebar-widget__cta:hover { background: #1558a0; }

/* Related Posts */
.sidebar-related {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-related__item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.sidebar-related__thumb {
    flex-shrink: 0;
    width: 70px;
    height: 52px;
    overflow: hidden;
    border-radius: 2px;
    border: 1px solid #1e2530;
}

.sidebar-related__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sidebar-related__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-related__title {
    font-size: 13px;
    font-weight: 600;
    color: #c8cdd4;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.2s;
}
.sidebar-related__title:hover { color: #1a6fc4; }

.sidebar-related__date {
    font-size: 11px;
    color: #5a6a7e;
}

/* Services List */
.sidebar-services {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sidebar-services li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #8a9bb0;
    padding: 10px 0;
    border-bottom: 1px solid #1a1f28;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-services li .material-icons {
    font-size: 16px;
    color: #1a6fc4;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .single-layout {
        grid-template-columns: 1fr;
    }

    .single-sidebar {
        position: static;
    }

    .single-hero {
        min-height: 320px;
    }

    .single-hero__title {
        font-size: 28px;
    }

    .single-nav {
        grid-template-columns: 1fr;
    }

    .single-nav__item--next {
        text-align: left;
        align-items: flex-start;
    }

    .single-nav__item--next .single-nav__dir {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .single-wrap {
        padding: 32px 16px 60px;
    }

    .single-hero__content {
        padding: 0 16px 32px;
    }

    .single-article__body {
        font-size: 16px;
    }
}

