/* =========================================
   BASE.CSS — Variables, Reset, Typography
   Waggy Bums Dog Groomers
   ========================================= */

/* ---- CSS Custom Properties ---- */
:root {
  /* Brand colours — pulled from the Waggy Bums logo */
  --purple:        #9575CD;
  --purple-light:  #EDE7F6;
  --purple-dark:   #7B5EA7;
  --purple-xlight: #F9F4FF;
  --purple-deep:   #5E35B1;

  /* Accent colours */
  --pink:          #F48FB1;
  --pink-light:    #FCE4EC;
  --pink-xlight:   #FFF0F5;
  --red:           #E8566A;
  --brown:         #8B5E3C;
  --yellow:        #FFD166;

  /* Neutrals */
  --white:         #FFFFFF;
  --bg:            #FDF9FF;
  --bg-alt:        #F9F4FF;
  --text-dark:     #2D2525;
  --text-body:     #4A4060;
  --text-muted:    #9E8FB0;
  --border:        #E0D5F0;

  /* Typography */
  --font-heading:  'Fredoka One', cursive;
  --font-body:     'Poppins', sans-serif;

  /* Spacing (8px base) */
  --sp-xs:   8px;
  --sp-sm:   16px;
  --sp-md:   24px;
  --sp-lg:   32px;
  --sp-xl:   48px;
  --sp-xxl:  80px;

  /* Border radius */
  --r-sm:    8px;
  --r-md:    16px;
  --r-lg:    24px;
  --r-xl:    32px;
  --r-pill:  999px;
  --r-round: 50%;

  /* Shadows */
  --shadow-sm:    0 2px 8px  rgba(149, 117, 205, 0.12);
  --shadow-md:    0 4px 16px rgba(149, 117, 205, 0.18);
  --shadow-lg:    0 8px 32px rgba(149, 117, 205, 0.22);
  --shadow-hover: 0 16px 48px rgba(149, 117, 205, 0.32);

  /* Transitions */
  --t:      all 0.3s ease;
  --t-fast: all 0.15s ease;

  /* Layout */
  --container: 1160px;
  --container-md: 860px;
  --container-sm: 580px;

  /* Nav height */
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

input, select, textarea {
  font-family: var(--font-body);
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p {
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.75;
}

strong { font-weight: 600; }

/* ---- Utility Classes ---- */
.text-center { text-align: center; }
.text-purple { color: var(--purple); }
.text-pink   { color: var(--pink); }
.text-muted  { color: var(--text-muted); }

.mt-sm { margin-top: var(--sp-sm); }
.mt-md { margin-top: var(--sp-md); }
.mt-lg { margin-top: var(--sp-lg); }
.mt-xl { margin-top: var(--sp-xl); }

.mb-sm { margin-bottom: var(--sp-sm); }
.mb-md { margin-bottom: var(--sp-md); }
.mb-lg { margin-bottom: var(--sp-lg); }

.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;
}
