/*
Theme Name: Blueking Truck & Trailer Repairs
Theme URI: https://bluekingtruckrepair.com
Author: Raiseque
Author URI: https://raiseque.com
Description: Premium Custom WordPress Theme for Blueking Truck and Trailer Repairs Inc. – The leading Truck repair shop in London, Canada. Custom-built by Raiseque for heavy duty fleet maintenance, trailer repairs, and 24/7 mobile roadside assistance.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: bluekingtruckrepairs
Tags: commercial-trucks, heavy-duty-repair, trailer-repair, london-ontario, roadside-assistance, auto-repair, custom-theme
*/

/* ==========================================================================
   CSS VARIABLES & DESIGN SYSTEM
   ========================================================================== */
:root {
  /* Brand Colors */
  --primary-blue: #0F2A4A;
  --primary-blue-dark: #0A1B30;
  --primary-blue-light: #1A3E68;
  --accent-amber: #F4A261;
  --accent-amber-hover: #E76F51;
  --accent-red: #D62828;
  --steel-grey: #2B2D42;
  --steel-light: #8D99AE;
  --bg-light: #F8F9FA;
  --bg-card: #FFFFFF;
  --text-dark: #1D2D44;
  --text-muted: #5C677D;
  --text-light: #FFFFFF;
  
  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Spacing & Layout */
  --container-width: 1240px;
  --header-height: 90px;
  --topbar-height: 42px;
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --box-shadow: 0 10px 30px rgba(15, 42, 74, 0.08);
  --box-shadow-hover: 0 15px 35px rgba(15, 42, 74, 0.15);
}

/* ==========================================================================
   BASE RESET & REBOOT
   ========================================================================== */
*, *::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: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-blue-dark);
  margin-bottom: 0.75rem;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.35rem; }
h5 { font-size: 1.15rem; }
h6 { font-size: 1rem; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.4rem; }
}

p {
  margin-bottom: 1.25rem;
}

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

a:hover {
  color: var(--accent-amber-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* ==========================================================================
   UTILITY CLASSES & BUTTONS
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--border-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: var(--accent-amber);
  color: var(--primary-blue-dark);
}

.btn-primary:hover {
  background-color: var(--accent-amber-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(244, 162, 97, 0.4);
}

.btn-secondary {
  background-color: var(--primary-blue);
  color: var(--text-light);
}

.btn-secondary:hover {
  background-color: var(--primary-blue-dark);
  color: var(--accent-amber);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.btn-outline:hover {
  background-color: var(--primary-blue);
  color: #FFFFFF;
}

.btn-emergency {
  background-color: var(--accent-red);
  color: #FFFFFF;
  animation: pulse-red 2s infinite;
}

.btn-emergency:hover {
  background-color: #b71c1c;
  color: #FFFFFF;
}

@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(214, 40, 40, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(214, 40, 40, 0); }
  100% { box-shadow: 0 0 0 0 rgba(214, 40, 40, 0); }
}

.section-padding {
  padding: 90px 0;
}

@media (max-width: 768px) {
  .section-padding { padding: 50px 0; }
}

.text-center { text-align: center; }
.text-accent { color: var(--accent-amber); }
.text-muted { color: var(--text-muted); }

.section-title {
  margin-bottom: 50px;
}

.section-title .subtitle {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-amber);
  background: rgba(244, 162, 97, 0.12);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 12px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.section-title p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Badge styling */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 30px;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.9rem;
}
.rating-badge .stars { color: #FFD166; }

/* WP Alignment support */
.alignleft { float: left; margin-right: 1.5em; margin-bottom: 1.5em; }
.alignright { float: right; margin-left: 1.5em; margin-bottom: 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; margin-bottom: 1.5em; }
