@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  :root {
    --primary-green: #2B7A4B; /* Fresh Green */
    --primary-green-hover: #1f5c37;
    --light-green: #E8F5E9;
    --bg-color: #FAFAFA;
    --text-main: #333333;
    --text-muted: #666666;
    --accent: #F4A261; /* Warm orange accent */
  }

  html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-color);
  }

  h1, h2, h3, h4, h5, h6, .font-display {
    font-family: 'Nunito', sans-serif;
  }

  body {
    overflow-x: hidden;
  }
}

@layer components {
  .btn-primary {
    @apply inline-flex items-center justify-center px-8 py-3 bg-[#2B7A4B] text-white font-display font-semibold rounded-full shadow-md transition-all duration-300 hover:bg-[#1f5c37] hover:shadow-lg hover:-translate-y-1;
  }
  
  .btn-outline {
    @apply inline-flex items-center justify-center px-8 py-3 border-2 border-[#2B7A4B] text-[#2B7A4B] font-display font-semibold rounded-full transition-all duration-300 hover:bg-[#2B7A4B] hover:text-white;
  }

  .glass-card {
    @apply bg-white/80 backdrop-blur-md border border-white shadow-xl rounded-2xl;
  }
}

@layer utilities {
  .text-green { color: var(--primary-green); }
  .bg-green { background-color: var(--primary-green); }
  .text-accent { color: var(--accent); }
  .bg-accent { background-color: var(--accent); }
  .bg-light-green { background-color: var(--light-green); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
::-webkit-scrollbar-thumb {
  background: #2B7A4B; 
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #1f5c37; 
}
