/*
Theme Name: PestStop Maroc
Theme URI: https://peststop.ma
Author: PestStop
Author URI: https://peststop.ma
Description: Thème officiel de PestStop Maroc – Expert en lutte anti-nuisibles professionnelle pour particuliers et entreprises au Maroc.
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: peststop
Tags: pest-control, green, business, french
*/

/* Base resets & custom properties */
:root {
  --background: #ffffff;
  --foreground: #1a1a2e;
  --green-primary: #16a34a;
  --green-dark: #14532d;
  --green-light: #dcfce7;
  --orange-accent: #ea580c;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

svg { display: block; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: var(--green-primary); border-radius: 3px; }

/* Keyframe animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4); }
  50%       { box-shadow: 0 0 0 12px rgba(22, 163, 74, 0); }
}

.animate-float       { animation: float 3s ease-in-out infinite; }
.animate-pulse-green { animation: pulse-green 2s infinite; }

/* AnimateOnScroll states */
.aos-hidden-up    { opacity: 0; transform: translateY(40px); }
.aos-hidden-left  { opacity: 0; transform: translateX(-40px); }
.aos-hidden-right { opacity: 0; transform: translateX(40px); }
.aos-hidden-fade  { opacity: 0; }
.aos-visible      { opacity: 1 !important; transform: translate(0) !important; transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
