/* Tailwind configuration and base styles */
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
  }
  body {
    background-color: #E7E3DA; /* cream */
    color: #2F2F2F; /* charcoal */
    font-family: 'Everett', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Everett', system-ui, -apple-system, sans-serif;
    font-weight: 700;
    color: #2F2F2F;
  }
}

@layer utilities {
  .text-olive { color: #596F59; }
  .bg-olive { background-color: #596F59; }
  .text-cream { color: #E7E3DA; }
  .bg-cream { background-color: #E7E3DA; }
  .text-charcoal { color: #2F2F2F; }
  .bg-charcoal { background-color: #2F2F2F; }
  .text-gold { color: #C6A969; }
  .bg-gold { background-color: #C6A969; }
  
  .shadow-soft {
    box-shadow: 0 4px 20px -2px rgba(47, 47, 47, 0.08);
  }
  .shadow-soft-lg {
    box-shadow: 0 10px 30px -3px rgba(47, 47, 47, 0.12);
  }
}

/* Custom transitions and animations */
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.animate-bounce-slow {
  animation: bounce 4s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(-5%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
  pointer-events: none;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Staggered Delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }
