/* Global Theme Variables - Cambridge Lawn Care */

:root {
  /* Primary Color Palette */
  --color-1: rgba(26, 27, 31, 1);
  --color-2: rgba(255, 255, 255, 1);
  --color-3: rgba(244, 244, 244, 0.91);
  --color-4: rgba(45, 46, 50, 1);

  /* Theme Specific Colors */
  --color-logo-bg: #e8e8e8;
  --color-nav-bg: #1a3d2c;
  --color-nav-text: #f0d1a8;
  --color-cta-bg: #f0d1a8;
  --color-cta-text: #0b3d2c;
  --color-cta-icon: #0b3d2c;           /* Icon color for white circle (needs contrast) */
  --color-white: #ffffff;

  /* Semantic Color Names (for easier component reuse) */
  --color-primary: #1a3d2c;        /* Dark green */
  --color-accent: #f0d1a8;         /* Beige/yellow */
  --color-background-dark: #2d2e32; /* Dark gray */
  --color-text-light: #ffffff;     /* White text */

  /* Typography */
  --font-family: Montserrat, "Montserrat Fallback", sans-serif;
  --font-size-base: 15px;
  --font-weight-normal: 500;
  --font-weight-bold: 700;

  /* 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;
}

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

/* 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);
}
