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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: #1f2937;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

section h1 {
  animation: fadeInUp 0.8s ease-out;
}

section h2 {
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

section p {
  animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.group:has(img) img {
  transition: transform 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* Button hover effects */
button, a.inline-block {
  position: relative;
  overflow: hidden;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Card stagger animation */
.grid > div {
  animation: fadeInUp 0.8s ease-out backwards;
}

.grid > div:nth-child(1) {
  animation-delay: 0.3s;
}

.grid > div:nth-child(2) {
  animation-delay: 0.4s;
}

.grid > div:nth-child(3) {
  animation-delay: 0.5s;
}

/* Link hover underline animation */
a {
  position: relative;
}

a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: currentColor;
  transition: width 0.3s ease-out;
}

a:hover::after {
  width: 100%;
}

/* Remove underline for certain links */
button::after,
a[href^="#"]::after,
.hover\:text-amber-900::after {
  display: none;
}

/* Smooth scroll for anchor links */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Mobile menu animations */
#mobile-menu {
  animation: slideDown 0.3s ease-out forwards;
}

#mobile-menu.hidden {
  animation: slideUp 0.3s ease-out forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* Image hover zoom */
.group:hover img {
  transform: scale(1.1);
}

/* Gradient text effect */
.text-transparent {
  background: linear-gradient(135deg, #b45309 0%, #92400e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Smooth transitions */
* {
  transition-property: background-color, border-color, color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

button {
  transition-property: all;
  transition-duration: 200ms;
}

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

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

::-webkit-scrollbar-thumb {
  background: #d97706;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b45309;
}

/* Focus states */
input:focus {
  outline: none;
  ring: 2px solid #b45309;
}

/* Print styles */
@media print {
  body {
    background: white;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

