/* Base Styles */
:root {
  --forest-50: #f2f7f0;
  --forest-100: #e3ecd9;
  --forest-200: #c7dab3;
  --forest-300: #a3c085;
  --forest-400: #7da356;
  --forest-500: #5c8434;
  --forest-600: #456828;
  --forest-700: #375221;
  --forest-800: #2d421c;
  --forest-900: #263718;
  --cream-50: #faf9f6;
  --cream-100: #f5f3ed;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Navigation */
.nav-fixed {
  background: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(199, 218, 179, 0.3);
  transition: all duration-500;
}

.nav-fixed.scrolled {
  background: rgba(250, 249, 246, 0.98);
  box-shadow: 0 4px 20px rgba(45, 66, 28, 0.08);
}

.nav-logo-text {
  transition: color 0.3s ease;
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--forest-600);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Mobile Menu */
.mobile-nav-link {
  transition: all 0.3s ease;
}

/* Scroll Reveal Animations */
.scroll-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), 
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
  }
  
  .scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero */
.hero-gradient {
  background: linear-gradient(135deg, #2d421c 0%, #375221 40%, #456828 70%, #5c8434 100%);
}

/* Button Animations */
a, button {
  -webkit-tap-highlight-color: transparent;
}

/* Form Styles */
input:focus,
select:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(92, 132, 52, 0.15);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--cream-50);
}

::-webkit-scrollbar-thumb {
  background: var(--forest-300);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--forest-400);
}

/* Selection */
::selection {
  background: var(--forest-200);
  color: var(--forest-900);
}

/* Image hover effects */
.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

/* Print styles */
@media print {
  .nav-fixed,
  .animate-bounce {
    display: none;
  }
  
  body {
    color: #000;
    background: #fff;
  }
}
