/* ==========================================================================
   FE & SONS LAWNS & LANDSCAPING - WHITE ARCHITECTURAL DESIGN SYSTEM
   Clean, Premium, High-Converting Travertine White & Forest Emerald Theme
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* Primary Forest & Emerald Greens (Matching Logo Trees) */
  --primary-950: #042416;
  --primary-900: #0a3a25;
  --primary-800: #104f33;
  --primary-700: #176542;
  --primary-600: #1e7d52;
  --primary-500: #259663;
  --primary-400: #34b37a;
  --primary-300: #6ee7b7;
  --primary-100: #e6f7f0;
  --primary-50: #f0faf5;

  /* Accent Crimson & Terracotta (Matching Logo Red Lettering) */
  --accent-800: #7c1a1c;
  --accent-700: #991b1e;
  --accent-600: #b91c1c;
  --accent-500: #dc2626;
  --accent-400: #ef4444;
  --accent-300: #f87171;
  --accent-100: #fee2e2;
  --accent-50: #fef2f2;
  --accent-gold: #d97706;

  /* Crisp White & Light Stone Backgrounds */
  --bg-main: #ffffff;
  --bg-surface: #f8faf9;
  --bg-surface-2: #f1f5f3;
  --bg-surface-elevated: #ffffff;
  --bg-light: #ffffff;
  --bg-light-surface: #f3f6f4;
  --bg-card: #ffffff;
  --bg-card-hover: #fafcfb;

  /* Text & Typography */
  --text-dark: #0f172a;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --text-white: #ffffff;

  /* Borders & Dividers */
  --border-subtle: #e2e8e4;
  --border-medium: #cbd5e1;
  --border-accent: rgba(185, 28, 28, 0.3);

  /* Glassmorphism & Header */
  --glass-bg: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(226, 232, 228, 0.9);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3.5rem;
  --space-2xl: 5.5rem;

  /* Clean Shadows for White Backgrounds */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 0 25px rgba(37, 150, 99, 0.15);
  --shadow-glow-accent: 0 0 25px rgba(185, 28, 28, 0.15);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: light;
}

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

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

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
h4 { font-size: 1.25rem; font-weight: 600; }

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

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

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

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

/* Container & Layout Grid (Wider Architectural Layout) */
.container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 2rem;
}

.container-narrow {
  max-width: 1100px;
}

.section-padding {
  padding-block: clamp(4rem, 8vw, 6.5rem);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: var(--primary-50);
  border: 1px solid var(--primary-300);
  border-radius: var(--radius-full);
  color: var(--primary-800);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.section-tag.accent {
  background: var(--accent-50);
  border-color: var(--accent-300);
  color: var(--accent-700);
}

.section-title {
  margin-bottom: 1.25rem;
  color: var(--primary-950);
}

.section-title span.highlight {
  color: var(--primary-600);
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition-normal);
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-600) 0%, var(--accent-700) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(185, 28, 28, 0.45);
  background: linear-gradient(135deg, var(--accent-500) 0%, var(--accent-600) 100%);
  color: #ffffff;
}

.btn-green {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(30, 125, 82, 0.3);
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 125, 82, 0.45);
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  color: #ffffff;
}

.btn-outline {
  background: #ffffff;
  color: var(--primary-800);
  border: 1.5px solid var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background: var(--primary-50);
  border-color: var(--primary-600);
  color: var(--primary-700);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-surface-2);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: #e2e8f0;
  color: var(--text-dark);
}

.btn-lg {
  padding: 1.15rem 2.25rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.6rem 1.15rem;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* Badge Styles */
.badge-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-full);
  color: #b45309;
  font-size: 0.85rem;
  font-weight: 700;
}

.stars {
  color: #f59e0b;
  letter-spacing: 2px;
}

/* Scroll reveal utility */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Accessibility */
:focus-visible {
  outline: 2px solid var(--primary-600);
  outline-offset: 3px;
}
