/*
Theme Name: Bluella Enterprise
Theme URI: https://bluella.in/
Author: Bluella
Author URI: https://bluella.in/
Description: High-performance, modern enterprise WordPress theme for Bluella with sticky primary navigation, Double Menu Header, customer story, case study, insight, and portfolio integration.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bluella-theme
Tags: full-width-template, custom-menu, custom-header, theme-options, translation-ready, featured-images, flexible-header, sticky-post
*/

/* ==========================================================================
   Bluella Enterprise Design Tokens (CSS Variables)
   ========================================================================== */
:root {
  /* Bluella Brand Palette */
  --bluella-color-primary: #e61b33;        /* Bluella Signature Red */
  --bluella-color-primary-hover: #c71429;  /* Deep Crimson */
  --bluella-color-primary-light: #ff455b;  /* Bright Red Accent */
  --bluella-color-secondary: #f37023;      /* Bluella Orange Chevron */
  --bluella-color-accent: #ffb81c;         /* Golden Yellow Chevron */
  
  /* Monochromes & Neutrals */
  --bluella-color-black: #000000;
  --bluella-color-dark: #111111;
  --bluella-color-surface: #1a1a1a;
  --bluella-color-surface-light: #242424;
  --bluella-color-border-dark: #2f2f2f;
  --bluella-color-gray-900: #181818;
  --bluella-color-gray-800: #2c2c2c;
  --bluella-color-gray-700: #494949;
  --bluella-color-gray-500: #757575;
  --bluella-color-gray-300: #d1d1d1;
  --bluella-color-gray-100: #f4f4f4;
  --bluella-color-gray-50: #fafafa;
  --bluella-color-white: #ffffff;
  
  /* Text Colors */
  --bluella-text-primary: #111111;
  --bluella-text-secondary: #595959;
  --bluella-text-inverse: #ffffff;
  --bluella-text-muted: #8c8c8c;
  
  /* Typography */
  --bluella-font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --bluella-font-heading: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --bluella-font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  
  /* Layout Dimensions */
  --bluella-container-width: 1360px;
  --bluella-container-fluid: 94%;
  --bluella-header-height: 76px;
  --bluella-double-header-height: 58px;
  
  /* Transitions */
  --bluella-transition-fast: 0.15s ease-in-out;
  --bluella-transition-normal: 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  --bluella-transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Elevation Shadows */
  --bluella-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --bluella-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
  --bluella-shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.18);
  --bluella-shadow-purple: 0 8px 30px rgba(95, 36, 159, 0.28);
}

/* ==========================================================================
   CSS Reset & Base Rules
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--bluella-font-family);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--bluella-text-primary);
  background-color: var(--bluella-color-white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--bluella-transition-fast), background-color var(--bluella-transition-fast);
}

a:hover, a:focus {
  color: var(--bluella-color-primary);
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 1rem;
  font-family: var(--bluella-font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--bluella-text-primary);
}

p {
  margin: 0 0 1.25rem;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Screen reader text for accessibility */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}
