:root {
  --color-primary: #3D3937;
  --color-secondary: #7A7570;
  --color-accent: #B8956B;
  --color-bg-light: #FAFAF9;
  --color-bg-alt: #F5F4F2;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

::selection {
  background-color: #B8956B;
  color: white;
}

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

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

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

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

*:focus-visible {
  outline: 2px solid #B8956B;
  outline-offset: 2px;
}

.btn-hover-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-hover-lift:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.text-gradient {
  background: linear-gradient(135deg, #3D3937, #B8956B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blob-gradient {
  background: radial-gradient(circle, #B8956B20 0%, transparent 70%);
  filter: blur(60px);
}

input:focus, textarea:focus, select:focus {
  border-color: #B8956B;
  box-shadow: 0 0 0 3px #B8956B20;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .animate-on-scroll,
  .animate-fade-in,
  .animate-fade-in-up,
  .btn-hover-lift,
  .card-hover {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}