/*
Theme Name: Skyshield Operators
Theme URI: https://skyshieldoperators.com/
Author: Skyshield Operators
Author URI: https://skyshieldoperators.com/
Description: Custom high-performance single-page WordPress theme for Skyshield Operators, the Dutch Drone-Expertisecentrum at Rotterdam The Hague Airport — training, recruiting, and deploying uncrewed systems operators (UAS/UGV/USV/UUV) for Defensie, Politie, Kustwacht, NCTV, and NATO allies. Clean, institutional defense-contractor aesthetic (Inter typography throughout) with full NL/EN bilingual support.
Version: 1.2.2
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: skyshield
Tags: one-page, dark, custom-background, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   SKYSHIELD OPERATORS — CORE DESIGN TOKENS
   Tailwind is loaded via CDN in functions.php for utility classes.
   This stylesheet supplies the design system: color tokens, component
   styles, and anything Tailwind's CDN build can't express.

   v1.2.x design direction: clean, corporate, trustworthy — solid dark
   navy backgrounds (#0F172A), flat slate panels (#1E293B) with 1px
   solid slate borders (#334155), ONE deliberate accent color (forest
   green #2D5A27) reserved for primary actions and active states, and a
   single sans-serif typeface (Inter) throughout — no separate "tactical"
   monospace face. No glow/blur effects, no HUD overlays, no crosshairs,
   no scanlines, no grid overlays, no neon.
   ========================================================================== */

:root {
    /* Backgrounds */
    --ss-bg-primary: #0F172A;
    --ss-bg-secondary: #0B132B;
    --ss-bg-elevated: #16213D;

    /* Surface panels (cards, form, callouts) */
    --ss-surface: #1E293B;
    --ss-surface-alt: #1E2B45;

    /* Accent — forest green, the single deliberate brand/action color */
    --ss-accent: #2D5A27;
    --ss-accent-hover: #1E4620;

    /* Text & borders */
    --ss-text: #E9EDF5;
    --ss-text-muted: #94A3B8;
    --ss-text-faint: #64748B;
    --ss-border: #334155;
    --ss-border-light: #475569;

    --ss-font-body: 'Inter', 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* Elements marked [hidden] must stay hidden even when they also carry a
   Tailwind display utility (.flex, .grid, etc.) — the UA stylesheet's
   [hidden]{display:none} loses to any author-origin class of equal
   specificity, so we restate it here at author-origin with !important.
   This is what the NL/EN language toggle relies on (see footer.php). */
[hidden] {
    display: none !important;
}

body {
    background-color: var(--ss-bg-primary);
    color: var(--ss-text);
    font-family: var(--ss-font-body);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
   Custom scrollbar — flat, minimal
   ========================================================================== */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--ss-bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--ss-border-light);
    border-radius: 0;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--ss-accent);
}

/* ==========================================================================
   Typography helpers
   ========================================================================== */
/* Small uppercase/tracked labels (nav, buttons, eyebrows, badges) — kept as
   a distinct name across the templates for a low-risk change, but now set
   in the same clean sans-serif as the rest of the page. No monospace /
   "terminal" typography anywhere on the site. */
.font-mono-tactical {
    font-family: var(--ss-font-body);
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* The one deliberate brand-color text touch: the "Operators" wordmark and
   the metric-highlight eyebrow. Used sparingly by design — everything else
   stays neutral white/grey (see markup). No text-shadow / glow. */
.text-accent {
    color: var(--ss-accent);
}

/* ==========================================================================
   Cards — flat, solid panels with rounded corners and a subtle border
   ========================================================================== */
.tactical-card {
    position: relative;
    background: var(--ss-surface);
    border: 1px solid var(--ss-border);
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.tactical-card:hover {
    border-color: var(--ss-border-light);
    background: var(--ss-surface-alt);
}
.card-icon-wrap {
    border-radius: 0.375rem;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.tactical-card:hover .card-icon-wrap {
    border-color: var(--ss-border-light);
    color: var(--ss-text);
}

/* ==========================================================================
   Buttons — solid, high-contrast, no glow
   ========================================================================== */
.btn-tactical-primary {
    background: var(--ss-accent);
    color: #FFFFFF;
    border: 1px solid var(--ss-accent);
    border-radius: 0.375rem;
    font-weight: 600;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.btn-tactical-primary:hover {
    background: var(--ss-accent-hover);
    border-color: var(--ss-accent-hover);
}
.btn-tactical-primary:active {
    background: var(--ss-accent-hover);
}

.btn-tactical-outline {
    background: transparent;
    color: var(--ss-text);
    border: 1px solid var(--ss-border-light);
    border-radius: 0.375rem;
    font-weight: 600;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.btn-tactical-outline:hover {
    border-color: var(--ss-text-muted);
    background: rgba(255, 255, 255, 0.04);
}

/* ==========================================================================
   Nav
   ========================================================================== */
#site-header {
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
#site-header.is-scrolled {
    background: rgba(15, 23, 42, 0.96);
    border-bottom-color: var(--ss-border);
}
/* Prevent the nav row from squeezing its children — squeezing is what
   forced "Expertise Center" / "Location & Partners" to wrap onto a
   second line and crowd "Contact" against the language switcher. */
#site-header .flex.items-center.justify-between > * {
    flex-shrink: 0;
}
#primary-navigation ul {
    flex-wrap: nowrap;
}
#primary-navigation li {
    flex-shrink: 0;
}
.nav-link {
    position: relative;
    display: inline-block;
    white-space: nowrap;
    color: var(--ss-text-muted);
    transition: color 0.2s ease;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: var(--ss-text);
    transition: width 0.2s ease;
}
.nav-link:hover {
    color: var(--ss-text);
}
.nav-link:hover::after {
    width: 100%;
}

/* Logo / footer emblem frame — neutral border, subtle hover lift only */
.icon-frame {
    border-radius: 0.375rem;
    transition: border-color 0.2s ease;
}

/* ==========================================================================
   Form elements — clean dark UI, solid focus ring (no blur/glow)
   ========================================================================== */
.tactical-input,
.tactical-select,
.tactical-textarea {
    background: var(--ss-bg-primary);
    border: 1px solid var(--ss-border);
    border-radius: 0.375rem;
    color: var(--ss-text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.tactical-input::placeholder,
.tactical-textarea::placeholder {
    color: var(--ss-text-faint);
}
.tactical-input:focus,
.tactical-select:focus,
.tactical-textarea:focus {
    outline: none;
    border-color: var(--ss-accent);
    box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.35);
}

/* Mode toggle switch */
.mode-toggle-track {
    background: var(--ss-bg-primary);
    border: 1px solid var(--ss-border);
    border-radius: 0.5rem;
}
.mode-toggle-option {
    transition: color 0.2s ease;
    color: var(--ss-text-muted);
    position: relative;
    z-index: 2;
    border-radius: 0.375rem;
}
.mode-toggle-option.is-active {
    color: #FFFFFF;
}
.mode-toggle-thumb {
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 3px;
    width: calc(50% - 3px);
    background: var(--ss-accent);
    border-radius: 0.375rem;
    transition: transform 0.3s ease;
    z-index: 1;
}
.mode-toggle-thumb.is-b {
    transform: translateX(100%);
}

/* Animated fade for form field groups when switching modes */
.form-mode-group {
    transition: opacity 0.2s ease;
}
.form-mode-group[hidden] {
    display: none;
}

/* ==========================================================================
   Metric highlight callout (Uitdaging — "1,200 operators")
   Flat solid panel with a single accent-colored left border. No gradient,
   no blur, no glow — the one intentional "look here" device on the page.
   ========================================================================== */
.metric-highlight {
    position: relative;
    background: var(--ss-surface-alt);
    border: 1px solid var(--ss-border);
    border-left: 4px solid var(--ss-accent);
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.metric-highlight-value {
    font-family: var(--ss-font-body);
    font-weight: 600;
    line-height: 1.1;
}

/* ==========================================================================
   Language switcher — NL | EN pill
   ========================================================================== */
.lang-switch {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--ss-border);
    border-radius: 0.375rem;
    background: var(--ss-bg-primary);
    padding: 3px;
    gap: 2px;
}
.lang-switch-btn {
    font-family: var(--ss-font-body);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ss-text-muted);
    padding: 5px 11px;
    background: transparent;
    border: none;
    border-radius: 0.25rem;
    transition: color 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
}
.lang-switch-btn:hover {
    color: var(--ss-text);
}
.lang-switch-btn.is-active {
    color: #FFFFFF;
    background: var(--ss-accent);
}
.lang-switch-divider {
    width: 1px;
    height: 14px;
    background: var(--ss-border);
}

/* ==========================================================================
   Ecosystem partner badge pills (Section 3 — Samenwerking)
   ========================================================================== */
.partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--ss-font-body);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ss-text-muted);
    border: 1px solid var(--ss-border);
    border-radius: 0.375rem;
    background: var(--ss-surface);
    padding: 8px 14px;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.partner-badge:hover {
    border-color: var(--ss-border-light);
    color: var(--ss-text);
}
.partner-badge .partner-dot {
    width: 6px;
    height: 6px;
    background: var(--ss-accent);
    border-radius: 50%;
}

/* ==========================================================================
   Checkbox chips (Capabilities Needed — multi-select)
   ========================================================================== */
.chip-checkbox {
    position: relative;
}
.chip-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
}
.chip-checkbox label {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--ss-border);
    border-radius: 0.375rem;
    background: var(--ss-bg-primary);
    color: var(--ss-text-muted);
    font-family: var(--ss-font-body);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 11px 14px;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
}
.chip-checkbox .chip-indicator {
    width: 14px;
    height: 14px;
    flex: none;
    border: 1px solid var(--ss-border-light);
    border-radius: 0.25rem;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.chip-checkbox input[type="checkbox"]:checked ~ label {
    border-color: var(--ss-accent);
    color: var(--ss-text);
    background: rgba(45, 90, 39, 0.12);
}
.chip-checkbox input[type="checkbox"]:checked ~ label .chip-indicator {
    background: var(--ss-accent);
    border-color: var(--ss-accent);
}
.chip-checkbox input[type="checkbox"]:focus-visible ~ label {
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.35);
}
.chip-checkbox input[type="checkbox"]:disabled ~ label {
    opacity: 0.35;
    cursor: not-allowed;
}

/* ==========================================================================
   Numbered pillar marker (Section 4 — Capaciteit/Flexibiliteit/Kwaliteit)
   ========================================================================== */
.pillar-index {
    font-family: var(--ss-font-body);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.15em;
    color: var(--ss-text-faint);
}

/* ==========================================================================
   Scroll-reveal — a subtle, single fade/slide-in (kept: understated
   motion reads as polish, not as an arcade effect)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Skip link accessibility */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    z-index: 999;
    background: var(--ss-accent);
    color: #FFFFFF;
    padding: 10px 16px;
    border-radius: 0.25rem;
}
.skip-link:focus {
    left: 10px;
    top: 10px;
}
