/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Lexend", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --heading-font: "Lexend", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --nav-font: "Lexend", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff;
  /* Background color for the entire website, including individual sections */
  --default-color: #444444;
  /* Default color used for the majority of the text content across the entire website */
  --heading-color: #273d4e;
  /* Color for headings, subheadings and title throughout the website */
  --accent-color: #3b82f6;
  /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff;
  /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff;
  /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #e5eaee;
  /* The default color of the main navmenu links */
  --nav-hover-color: #3b82f6;
  /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff;
  /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff;
  /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #444444;
  /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #3b82f6;
  /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f1f4fa;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #000910;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #28323a;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/* ============================================
   CloudPrime Premium Overrides - Brand Variables
   (Merged from custom.css)
   ============================================ */
:root {
  /* Primary Serverless Colors (Brand Blue) - Google Blue Standard */
  --sn-primary: #1a73e8;
  --sn-primary-dark: #1557b0;
  --sn-primary-light: #4285f4;

  /* Base Theme Variables */
  --nav-color: #111827;
  --nav-hover-color: var(--sn-primary);
  --accent-color: var(--sn-primary);

  /* Gradients */
  --sn-gradient-primary: linear-gradient(135deg, #4285f4 0%, #1557b0 100%);
  --sn-gradient-hero: linear-gradient(135deg, #1557b0 0%, #1a73e8 50%, #4285f4 100%);

  /* Typography System - Lexend Font */
  --font-primary: 'Lexend', system-ui, -apple-system, sans-serif;
  --font-heading: 'Lexend', system-ui, -apple-system, sans-serif;

  /* Base Font Sizes */
  --h1-size: 3rem;
  /* 48px */
  --h2-size: 2.25rem;
  /* 36px */
  --h3-size: 1.875rem;
  /* 30px */
  --h4-size: 1.5rem;
  /* 24px */
  --body-size: 1rem;
  /* 16px */
  --small-size: 0.875rem;
  /* 14px */

  /* Text Colors - Standardized Grays */
  --text-primary: #202124;
  --text-secondary: #5f6368;
  --text-tertiary: #80868b;

  /* Icon Sizes - Standardized */
  --icon-sm: 18px;
  --icon-md: 24px;
  --icon-lg: 32px;
  --icon-xl: 48px;

  /* Section Spacing - Single source of truth */
  --section-padding: 80px;
  --section-padding-sm: 60px;
  --section-padding-xs: 40px;

  /* Glassmorphism System */
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-blur: blur(12px);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

  /* Surface Elevation Levels */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.25);
}