/*
Theme Name: Little Smiles Pediatric Dentistry
Theme URI: https://littlesmiles.com
Author: Little Smiles
Author URI: https://littlesmiles.com
Description: A fun, colorful, and modern pediatric dental clinic theme with Pixar-style visuals, smooth animations, and child-friendly design.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: little-smiles
Tags: pediatric, dental, medical, colorful, responsive, custom-menu, custom-logo
*/

/* ===== CSS RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary: #4FC3F7;
  --color-primary-light: #81D4FA;
  --color-primary-dark: #29B6F6;
  --color-primary-foreground: #FFFFFF;
  --color-secondary: #81C784;
  --color-secondary-light: #A5D6A7;
  --color-secondary-dark: #66BB6A;
  --color-accent: #FFD54F;
  --color-accent-light: #FFE082;
  --color-accent-dark: #FFCA28;
  --color-accent-foreground: #37474F;
  --color-coral: #FF8A80;
  --color-coral-light: #FFAB91;
  --color-coral-dark: #FF5252;
  --color-lavender: #B39DDB;
  --color-lavender-light: #D1C4E9;
  --color-lavender-dark: #9575CD;
  --color-background: #FFFFFF;
  --color-foreground: #37474F;
  --color-muted: #F5F9FC;
  --color-muted-foreground: #78909C;
  --color-border: #E3F2FD;
  --color-emergency: #FF5252;
  --color-emergency-dark: #D32F2F;
  --shadow-soft: 0 4px 20px rgba(79, 195, 247, 0.12);
  --shadow-medium: 0 8px 30px rgba(79, 195, 247, 0.18);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 8px 32px rgba(79, 195, 247, 0.15);
  --font-sans: 'Nunito', system-ui, -apple-system, sans-serif;
  --font-display: 'Baloo 2', 'Nunito', system-ui, sans-serif;
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-2xl: 2.5rem;
  --radius-full: 9999px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-foreground);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ===== ANIMATIONS ===== */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}
@keyframes float-slow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}
@keyframes bounce-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(79, 195, 247, 0.25); }
  50% { box-shadow: 0 0 40px rgba(79, 195, 247, 0.4); }
}
@keyframes sparkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}
@keyframes slide-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-float { animation: float 6s ease-in-out infinite; }
.animate-float-slow { animation: float-slow 8s ease-in-out infinite; }
.animate-bounce-soft { animation: bounce-soft 3s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 3s ease-in-out infinite; }
.animate-sparkle { animation: sparkle 2s ease-in-out infinite; }
.animate-slide-up { animation: slide-up 0.6s ease-out forwards; }
.animate-fade-in { animation: fade-in 0.5s ease-out forwards; }

/* ===== GRADIENTS ===== */
.gradient-hero { background: linear-gradient(135deg, #E3F2FD 0%, #FFFFFF 50%, #E8F5E9 100%); }
.gradient-playful { background: linear-gradient(135deg, #E3F2FD 0%, #E8F5E9 50%, #FFF8E1 100%); }
.gradient-primary { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem; font-weight: 600; border-radius: var(--radius-full);
  transition: all 0.3s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white; box-shadow: var(--shadow-medium);
}
.btn-primary:hover { transform: scale(1.05); box-shadow: 0 12px 35px rgba(79, 195, 247, 0.3); }
.btn-secondary { background: white; color: var(--color-primary); border: 2px solid var(--color-primary); }
.btn-secondary:hover { background: rgba(79, 195, 247, 0.1); }
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }

/* ===== CARDS ===== */
.card {
  background: white; border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-card); transition: all 0.3s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card-hover); }

/* ===== EMERGENCY BANNER ===== */
.emergency-banner {
  background: linear-gradient(90deg, var(--color-emergency) 0%, var(--color-emergency-dark) 100%);
  color: white; padding: 0.75rem 0;
}
.emergency-banner .container {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 0.75rem 1.5rem; text-align: center;
}
.emergency-banner a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 1rem; background: white; color: var(--color-emergency);
  font-weight: 700; border-radius: var(--radius-full); transition: transform 0.2s;
}
.emergency-banner a:hover { transform: scale(1.05); }
