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

body {
  font-family: 'Inter', sans-serif;
}

.font-serif {
  font-family: 'Playfair Display', serif;
}

html {
  scroll-behavior: smooth;
}

.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link.active {
  font-weight: 500;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-in {
  animation: fadeIn 1s ease forwards;
}

section {
  animation: fadeIn 0.8s ease;
}

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

::-webkit-scrollbar-track {
  background: #f1f0ec;
}

::-webkit-scrollbar-thumb {
  background: #8a9a7c;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #6b7d5e;
}

/* Form focus styles */
input:focus, textarea:focus, select:focus {
  outline: none;
  ring: 2px solid #4a6741;
}

/* Smooth transitions for images */
img {
  transition: transform 0.6s ease, filter 0.6s ease;
}

img:hover {
  filter: brightness(0.95);
}

/* Added .bg-cream utility */
.bg-cream {
  background-color: #f5f0e8;
}