/*
Theme Name: Buddy Packaging Pro
Theme URI: https://buddypackaging.co.uk
Author: Buddy Packaging
Author URI: https://buddypackaging.co.uk
Description: Bespoke, ultra-fast, zero-builder WordPress theme engineered for Buddy Packaging UK. Optimized for 100% SEO, Core Web Vitals, and maximum quote conversions.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: buddypackaging
*/

/* CSS Variables & Core System */
:root {
  --primary: #4F016B;
  --primary-light: #6b0b8f;
  --primary-dark: #37004b;
  --accent: #FFDC00;
  --accent-hover: #e6c600;
  --accent-gold: #FFDC00;
  --accent-green: #059669;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #fbf5ff;
  --text-main: #000000;
  --text-muted: #262626;
  --text-light: #525252;
  --border-color: #e5e7eb;
  --border-focus: #4F016B;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(79 1 107 / 0.12), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(79 1 107 / 0.15), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-max: 1240px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::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-main);
  background-color: var(--bg-main);
  color: #000000;
  line-height: 1.65;
  font-weight: 400;
  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: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-light);
}

ul, ol {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.2rem; }

p {
  color: #000000;
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--accent);
  color: #000000 !important;
  box-shadow: 0 4px 14px 0 rgba(255, 220, 0, 0.45);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(255, 220, 0, 0.6);
}

.btn-secondary {
  background-color: var(--primary);
  color: #ffffff !important;
}

.btn-secondary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--border-color);
  background: #ffffff;
  color: #000000 !important;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
  background: var(--bg-subtle);
}

.btn-accent {
  background: var(--accent);
  color: #000000 !important;
  font-weight: 700;
  box-shadow: 0 4px 14px 0 rgba(255, 220, 0, 0.45);
}

.btn-accent:hover {
  background: var(--accent-hover);
  color: #000000 !important;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.125rem;
}

/* Badges & Pills */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
}

.badge-eco {
  background: #ecfdf5;
  color: var(--accent-green);
  border: 1px solid #a7f3d0;
}

.badge-blue {
  background: #fbf5ff;
  color: var(--primary);
  border: 1px solid #e9d5ff;
}

.badge-gold {
  background: #FFDC00;
  color: #000000;
  border: 1px solid #e6c600;
}
