/*
Theme Name: Guardian Wheel
Theme URI: https://guardianwheel.erebs.in
Author: GuardianWheel Team
Author URI: https://guardianwheel.erebs.in
Description: Official WordPress theme for Guardian Wheel - Smart School Transport & Fleet Safety Ecosystem. Built with Kidzu-inspired playful yet trustworthy organic pastel design.
Version: 1.0.0
Tested up to: 7.1
Requires PHP: 7.4
License: Proprietary
Text Domain: guardian-wheel
*/

/* Core Theme Design Tokens & Global Reset */
:root {
  /* Brand Primary Colors */
  --gw-blue-primary: #147BE5;
  --gw-blue-hover: #0D6EFD;
  --gw-blue-dark: #0B56A4;
  --gw-yellow-accent: #FFB800;
  --gw-yellow-hover: #FFA200;
  --gw-green-meadow: #70BE20;
  --gw-green-dark: #28A745;
  --gw-navy-deep: #0F1D30;
  --gw-navy-card: #182A42;
  --gw-navy-light: #203552;
  --gw-terracotta: #F58220;
  --gw-purple-accent: #8E44AD;

  /* Pastel Background Tints (Kidzu Organic Theme) */
  --gw-pastel-blue: #F0F7FF;
  --gw-pastel-blue-card: #EAF6FF;
  --gw-pastel-yellow: #FFF9E8;
  --gw-pastel-green: #F2FBEF;
  --gw-pastel-green-card: #EAF9F1;
  --gw-pastel-pink: #FFF0EE;
  --gw-pastel-lavender: #F5EEFF;
  --gw-pastel-rose: #FDEEE9;
  --gw-pastel-cream: #FFF6E5;
  --gw-canvas-white: #FFFFFF;
  --gw-body-slate: #4A5D75;
  --gw-body-muted: #6C7D93;
  --gw-border-soft: rgba(15, 29, 48, 0.08);

  /* Typography */
  --gw-font-heading: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --gw-font-body: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout & Radii */
  --gw-radius-pill: 9999px;
  --gw-radius-card: 28px;
  --gw-radius-card-lg: 36px;
  --gw-radius-input: 16px;
  --gw-container-max: 1240px;

  /* Shadows */
  --gw-shadow-soft: 0 10px 30px rgba(15, 29, 48, 0.05);
  --gw-shadow-hover: 0 18px 45px rgba(20, 123, 229, 0.12);
  --gw-shadow-card: 0 12px 35px rgba(15, 29, 48, 0.07);
  --gw-shadow-floating: 0 20px 40px rgba(15, 29, 48, 0.1);
  --gw-shadow-glow: 0 0 25px rgba(255, 184, 0, 0.35);
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--gw-font-body);
  color: var(--gw-body-slate);
  background-color: #FAFCFF;
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Container */
.gw-container {
  width: 100%;
  max-width: var(--gw-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--gw-font-heading);
  color: var(--gw-navy-deep);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(2.4rem, 4.2vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.75rem); font-weight: 800; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); font-weight: 700; }
h4 { font-size: clamp(1.1rem, 1.5vw, 1.35rem); font-weight: 700; }

/* Eyebrow Pills */
.gw-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--gw-radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
  width: fit-content;
}

.gw-eyebrow-blue {
  background-color: #EAF4FE;
  color: var(--gw-blue-primary);
  border: 1px solid rgba(20, 123, 229, 0.18);
}

.gw-eyebrow-yellow {
  background-color: #FFF6DD;
  color: #B27500;
  border: 1px solid rgba(255, 184, 0, 0.25);
}

.gw-eyebrow-green {
  background-color: #EEFAE6;
  color: #4C8912;
  border: 1px solid rgba(112, 190, 32, 0.25);
}

.gw-eyebrow-orange {
  background-color: #FFF0E5;
  color: #C35600;
  border: 1px solid rgba(245, 130, 32, 0.25);
}

/* Buttons */
.gw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--gw-radius-pill);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}

.gw-btn-primary {
  background: linear-gradient(135deg, var(--gw-blue-primary), var(--gw-blue-hover));
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(20, 123, 229, 0.35);
}

.gw-btn-primary:hover {
  background: linear-gradient(135deg, var(--gw-blue-hover), var(--gw-blue-dark));
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(20, 123, 229, 0.45);
  color: #ffffff;
}

.gw-btn-orange {
  background: linear-gradient(135deg, #FFA200, var(--gw-yellow-accent));
  color: var(--gw-navy-deep);
  box-shadow: 0 8px 22px rgba(255, 162, 0, 0.35);
}

.gw-btn-orange:hover {
  background: linear-gradient(135deg, #FF9100, #FFA200);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(255, 162, 0, 0.45);
}

.gw-btn-vibrant-orange {
  background: linear-gradient(135deg, #F58220, #FF6F00);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(245, 130, 32, 0.35);
}

.gw-btn-vibrant-orange:hover {
  background: linear-gradient(135deg, #E06F10, #F58220);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(245, 130, 32, 0.5);
  color: #ffffff;
}

.gw-btn-outline {
  background: #ffffff;
  color: var(--gw-navy-deep);
  border: 2px solid rgba(15, 29, 48, 0.12);
}

.gw-btn-outline:hover {
  border-color: var(--gw-blue-primary);
  color: var(--gw-blue-primary);
  transform: translateY(-3px);
  background: #F4F9FF;
}

.gw-btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.gw-btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

/* Organic Cards */
.gw-organic-card {
  border-radius: var(--gw-radius-card);
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(15, 29, 48, 0.06);
  background-color: #ffffff;
  box-shadow: var(--gw-shadow-soft);
  position: relative;
  overflow: hidden;
}

.gw-organic-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--gw-shadow-hover);
  border-color: rgba(20, 123, 229, 0.2);
}

/* Wavy Dividers */
.gw-wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.gw-wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

@media (min-width: 768px) {
  .gw-wave-divider svg {
    height: 90px;
  }
}

/* Floating Animations */
@keyframes gwFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1.5deg); }
}

@keyframes gwFloatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-16px); }
}

@keyframes gwPulseSoft {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
}

.gw-floating {
  animation: gwFloat 5s ease-in-out infinite;
}

.gw-floating-slow {
  animation: gwFloatSlow 7s ease-in-out infinite;
}
