:root {
  --color-primary: #4A4039;
  --color-secondary: #9A8B7A;
  --color-accent: #D4A574;
  --color-bg-light: #FFFCF7;
  --color-bg-alt: #FBF7F0;
}

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

::selection {
  background-color: #D4A574;
  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 #D4A574;
  outline-offset: 2px;
}

.btn-hover-lift {
  transition: transform 0.2s ease, box-shadow 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;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.text-gradient {
  background: linear-gradient(135deg, #4A4039, #D4A574);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

#site-header {
  will-change: transform;
}

@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;
  }
}