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

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: #1a1a1a;
  background: #ffffff;
}

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 fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

#hero {
  animation: fadeInUp 0.8s ease-out;
}

#hero h1 {
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

#hero p {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

#hero .flex {
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-image-container {
  animation: fadeInScale 0.8s ease-out 0.4s both;
}

/* Product cards */
.product-card {
  animation: fadeInUp 0.6s ease-out;
}

.product-card:nth-child(2) {
  animation-delay: 0.1s;
}

.product-card:nth-child(3) {
  animation-delay: 0.2s;
}

/* Smooth transitions */
a {
  transition: all 0.3s ease;
}

button {
  transition: all 0.3s ease;
}

/* Custom underline animation */
.underline-animation {
  position: relative;
  display: inline-block;
}

.underline-animation::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #b45309;
  transition: width 0.3s ease;
}

.underline-animation:hover::after {
  width: 100%;
}

/* Section reveal animations */
@keyframes sectionReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  animation: sectionReveal 0.6s ease-out forwards;
}

section:nth-of-type(1) { animation-delay: 0s; }
section:nth-of-type(2) { animation-delay: 0.1s; }
section:nth-of-type(3) { animation-delay: 0.2s; }
section:nth-of-type(4) { animation-delay: 0.3s; }
section:nth-of-type(5) { animation-delay: 0.4s; }
section:nth-of-type(6) { animation-delay: 0.5s; }
section:nth-of-type(7) { animation-delay: 0.6s; }
section:nth-of-type(8) { animation-delay: 0.7s; }

/* Details/FAQ animations */
details {
  transition: all 0.3s ease;
}

details[open] {
  background: #fef3c7 !important;
}

details summary {
  outline: none;
}

/* Hover effects */
.product-card:hover {
  transform: translateY(-4px);
}

/* Button animations */
button, a[class*="bg-amber"], a[class*="border"] {
  position: relative;
  overflow: hidden;
}

button:active, a[class*="bg-amber"]:active {
  transform: scale(0.98);
}

/* Responsive refinements */
@media (max-width: 768px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.875rem;
  }
}

/* Loading state */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Image fallback styling */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Form styling */
input, textarea {
  font-family: 'DM Sans', sans-serif;
  transition: all 0.3s ease;
}

input:focus, textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.1);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: #92400e;
}

