/*
Theme Name: Semita Nexis
Theme URI: https://semitanexis.com/
Author: Semita Technologies
Author URI: https://semita.tech/
Description: High-performance, enterprise-grade WordPress theme for Semita Nexis — Data Center Infrastructure. Features custom post types for products, solutions, resources, and an engineering-led B2B design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: Proprietary
License URI: https://semitanexis.com/
Text Domain: smnxtheme
Tags: data-center, infrastructure, enterprise, b2b, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   CSS VARIABLES & DESIGN SYSTEM
   ========================================================================== */
:root {
  /* Brand Palette from official brand guidelines */
  --sn-brand-blue: #002060;
  --sn-navy: #0B1F3A;
  --sn-navy-dark: #061224;
  --sn-navy-deep: #030a14;
  --sn-teal: #00A6A6;
  --sn-teal-light: #20C4C4;
  --sn-teal-glow: rgba(0, 166, 166, 0.18);
  --sn-graphite: #344054;
  --sn-muted: #5F6B7A;
  --sn-line: #D9E0EA;
  --sn-line-light: #EAEFF6;
  --sn-soft-bg: #F5F7FB;
  --sn-soft-card: #FFFFFF;
  --sn-ink: #172033;
  --sn-white: #FFFFFF;

  /* Typography */
  --sn-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --sn-font-display: 'Montserrat', 'Inter', sans-serif;

  /* Elevation */
  --sn-shadow-sm: 0 2px 8px rgba(11, 31, 58, 0.05);
  --sn-shadow-md: 0 8px 24px rgba(11, 31, 58, 0.08);
  --sn-shadow-lg: 0 16px 40px rgba(11, 31, 58, 0.12);
  --sn-shadow-glow: 0 0 25px rgba(0, 166, 166, 0.25);

  /* Transitions */
  --sn-transition-fast: 0.2s ease;
  --sn-transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);

  /* Radius */
  --sn-radius-sm: 6px;
  --sn-radius-md: 10px;
  --sn-radius-lg: 16px;
  --sn-radius-xl: 24px;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  min-width: 0;
}

html {
  font-family: var(--sn-font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--sn-ink);
  background-color: #FFFFFF;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--sn-ink);
  background: #FFFFFF;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
}

.site-wrapper,
#page,
.site-content,
main,
section,
footer,
header {
  max-width: 100%;
  box-sizing: border-box;
}

a {
  color: var(--sn-brand-blue);
  text-decoration: none;
  transition: color var(--sn-transition-fast);
}

a:hover {
  color: var(--sn-teal);
}

img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--sn-navy);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1.25rem;
  color: var(--sn-graphite);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
}
