/* Global Theme Variables - Stouffville Snow Removal Masters */

:root {
  /* Primary Color Palette */
  --color-1: rgba(35, 35, 37, 1);    /* Dark gray/black */
  --color-2: rgba(255, 255, 255, 1); /* White */
  --color-3: rgba(244, 244, 244, 0.91);
  --color-4: rgba(45, 46, 50, 1);

  /* Theme Specific Colors */
  --color-logo-bg: #ffffff;
  --color-nav-bg: #ffffff;
  --color-nav-text: #232325;
  --color-cta-bg: #e4fbff;          /* Light blue background */
  --color-cta-border: #b8b5ff;      /* Light purple border */
  --color-cta-text: #232325;        /* Dark text */
  --color-cta-hover-bg: rgb(120, 104, 230); /* Purple hover */
  --color-cta-hover-text: #ffffff;
  --color-white: #ffffff;

  /* Semantic Color Names (for easier component reuse) */
  --color-primary: rgb(120, 104, 230); /* Purple/blue accent */
  --color-accent: #232325;          /* Dark gray */
  --color-background-dark: #2d2e32; /* Dark gray */
  --color-text-light: #ffffff;      /* White text */

  /* Typography */
  --font-family: 'Mulish', sans-serif;
  --font-size-base: 15px;
  --font-weight-normal: 500;
  --font-weight-bold: 700;
  --section-eyebrow-size: 14px;
  --section-heading-size: 40px;
  --section-heading-size-tablet: 36px;
  --section-heading-size-mobile: 28px;
  --section-body-size: 16px;
  --section-body-line-height: 1.6;
  --hero-heading-size: 56px;
  --hero-heading-size-tablet: 48px;
  --hero-heading-size-mobile: 40px;

  /* Button Styles */
  --btn-border-width: 1px;
  --btn-border-radius: 50px;
  --btn-border-color: var(--color-1);
  --btn-bg-color: rgba(0, 0, 0, 0);
  --btn-text-color: rgb(27, 27, 31);
  --btn-text-font-size: 15px;
  --btn-text-font-weight: 400;
  --btn-hover-bg: rgb(65, 67, 69);
  --btn-hover-border-color: rgb(65, 67, 69);
  --btn-hover-text-color: var(--color-2);

  /* Spacing */
  --spacing-xs: 5px;
  --spacing-sm: 10px;
  --spacing-md: 15px;
  --spacing-lg: 20px;
  --spacing-xl: 30px;
  --spacing-2xl: 40px;

  /* Border Radius */
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 50px;
  --radius-full: 100px;

  /* Breakpoints */
  --breakpoint-mobile: 768px;
  --breakpoint-tablet: 1024px;
  --breakpoint-desktop: 1200px;
}

/* ========================================
   SITE THEMES
   Each theme defines colors AND fonts
   Only these variables change per theme - spacing, shapes, etc. stay component-specific
   ======================================== */

/* Theme: Blue Corporate */
[data-site-theme="blue-corporate"] {
  /* Colors */
  --color-logo-bg: #ecf0f1;
  --color-nav-bg: #2c3e50;
  --color-nav-text: #3498db;
  --color-cta-bg: #3498db;
  --color-cta-text: #ffffff;
  --color-cta-icon: #2c3e50;       /* Dark blue icon on white circle */
  --color-white: #ffffff;
  --color-primary: #2c3e50;        /* Dark blue */
  --color-accent: #3498db;         /* Bright blue */
  --color-background-dark: #34495e;
  --color-text-light: #ffffff;

  /* Typography */
  --font-family: 'Roboto', sans-serif;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
}

/* Theme: Red Modern */
[data-site-theme="red-modern"] {
  /* Colors */
  --color-logo-bg: #fdf5e6;
  --color-nav-bg: #c0392b;
  --color-nav-text: #f39c12;
  --color-cta-bg: #f39c12;
  --color-cta-text: #c0392b;
  --color-cta-icon: #c0392b;       /* Red icon on white circle */
  --color-white: #ffffff;
  --color-primary: #c0392b;        /* Deep red */
  --color-accent: #f39c12;         /* Orange/gold */
  --color-background-dark: #7f2719;
  --color-text-light: #ffffff;

  /* Typography */
  --font-family: 'Open Sans', sans-serif;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
}

/* Theme: Purple Creative */
[data-site-theme="purple-creative"] {
  /* Colors */
  --color-logo-bg: #f5f0fa;
  --color-nav-bg: #8e44ad;
  --color-nav-text: #f1c40f;
  --color-cta-bg: #f1c40f;
  --color-cta-text: #8e44ad;
  --color-cta-icon: #8e44ad;       /* Purple icon on white circle */
  --color-white: #ffffff;
  --color-primary: #8e44ad;        /* Purple */
  --color-accent: #f1c40f;         /* Yellow */
  --color-background-dark: #6c3483;
  --color-text-light: #ffffff;

  /* Typography */
  --font-family: 'Poppins', sans-serif;
  --font-weight-normal: 400;
  --font-weight-bold: 600;
}

/* Theme: Teal Professional */
[data-site-theme="teal-pro"] {
  /* Colors */
  --color-logo-bg: #e0f2f1;
  --color-nav-bg: #00796b;
  --color-nav-text: #ffeb3b;
  --color-cta-bg: #ffeb3b;
  --color-cta-text: #00796b;
  --color-cta-icon: #00796b;       /* Teal icon on white circle */
  --color-white: #ffffff;
  --color-primary: #00796b;        /* Teal */
  --color-accent: #ffeb3b;         /* Yellow */
  --color-background-dark: #004d40;
  --color-text-light: #ffffff;

  /* Typography */
  --font-family: 'Lato', sans-serif;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  color: #242b29;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  line-height: 1.6;
}

main {
  flex: 1 0 auto;
  margin: 0;
  padding: 0;
}

footer {
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

/* Utility Classes */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-2xl);
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border: var(--btn-border-width) solid var(--btn-border-color);
  border-radius: var(--btn-border-radius);
  background: var(--btn-bg-color);
  color: var(--btn-text-color);
  font-size: var(--btn-text-font-size);
  font-weight: var(--btn-text-font-weight);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--btn-hover-bg);
  border-color: var(--btn-hover-border-color);
  color: var(--btn-hover-text-color);
}
