/*
Theme Name: Fatima Automation
Theme URI: https://fatimaautomation.com/
Author: Omer Jahangir & Team
Author URI: https://fatimaautomation.com/
Description: Bespoke luxury WordPress theme for Fatima Automation, Lahore, Pakistan. Specializing in Electric Fencing, Automatic Gates (Sliding & Swing), and Premium Home Automation (Smart Touch Switch Panels, Motorized Curtains & Blinds, Smart Door Locks). Built for Elementor (Free & Pro compatible) with 2027 design system, inline SVG animations, high-performance SEO schema, and WCAG 2.2 AA accessibility.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
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: fatima-automation
Tags: custom-background, custom-logo, custom-menu, featured-images, full-width-template, theme-options, translation-ready
*/

/* ==========================================================================
   DESIGN TOKENS & CSS CUSTOM PROPERTIES
   ========================================================================== */
:root {
  /* Brand Colors */
  --fatima-navy: #0a1a26;
  --fatima-navy-dark: #050a30;
  --fatima-navy-light: #162a3b;
  --fatima-cream: #faf7f2;
  --fatima-beige: #efeae2;
  --fatima-beige-light: #f7f4ee;
  --fatima-dark: #0c0d10;
  --fatima-red: #FF3131;
  --fatima-red-hover: #e02626;
  --fatima-red-light: rgba(255, 49, 49, 0.08);
  --fatima-green: #25D366;
  --fatima-green-hover: #20ba59;

  /* Neutral Tints & Hairlines */
  --fatima-hairline: rgba(10, 26, 38, 0.12);
  --fatima-hairline-dark: rgba(255, 255, 255, 0.12);
  --fatima-hairline-strong: rgba(10, 26, 38, 0.22);
  --fatima-text-main: #1c2630;
  --fatima-text-muted: #5a6874;
  --fatima-text-light: #e4e9ed;
  --fatima-text-inverse: #ffffff;

  /* Typography Stacks */
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-display: 'Fraunces', Georgia, "Times New Roman", serif;

  /* Grid & Layout Dimensions */
  --container-max: 1240px;
  --container-padding: 24px;
  --section-padding-y: 100px;
  --section-padding-y-sm: 64px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Elementor Global Color Compatibility */
  --e-global-color-primary: var(--fatima-navy);
  --e-global-color-secondary: var(--fatima-text-muted);
  --e-global-color-text: var(--fatima-text-main);
  --e-global-color-accent: var(--fatima-red);
}

/* ==========================================================================
   CSS RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.68;
  color: var(--fatima-text-main);
  background-color: var(--fatima-cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul, ol {
  list-style: none;
}

/* Skip Link for Accessibility */
.fatima-skip-link {
  position: absolute;
  top: -999px;
  left: 20px;
  background: var(--fatima-navy);
  color: #fff;
  padding: 12px 24px;
  font-weight: 600;
  z-index: 999999;
  text-decoration: none;
  border: 2px solid var(--fatima-red);
}
.fatima-skip-link:focus {
  top: 20px;
}

/* Focus States */
:focus-visible {
  outline: 2px solid var(--fatima-red);
  outline-offset: 3px;
}

/* Screen Reader Only Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
