:root {
  --color-primary: #0A0A0A;
  --color-secondary: #1A1A1A;
  --color-accent: #D4AF37;
}

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

body { 
  font-family: 'Work Sans', system-ui, sans-serif; 
}

/* Button fixes */
button, .btn, [class*="btn-"], a[href="#order_form"] {
  white-space: nowrap;
  min-width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

form button[type="submit"] {
  white-space: normal;
  width: 100%;
}

/* Animations */
[data-animate] {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateX(0);
}

.rotate-180 { 
  transform: rotate(180deg); 
}

/* Decorative Elements */
.decor-grid-dots {
  background-image: radial-gradient(circle, #D4AF37 1px, transparent 1px);
  background-size: 20px 20px;
}

.decor-grid-lines {
  background-image: linear-gradient(#D4AF37 1px, transparent 1px), 
                    linear-gradient(90deg, #D4AF37 1px, transparent 1px);
  background-size: 20px 20px;
}

.decor-diagonal {
  background-image: repeating-linear-gradient(45deg, 
    transparent, transparent 10px, 
    #D4AF37 10px, #D4AF37 11px);
}

.decor-mesh {
  background: linear-gradient(45deg, rgba(212, 175, 55, 0.1) 25%, transparent 25%), 
              linear-gradient(-45deg, rgba(212, 175, 55, 0.1) 25%, transparent 25%);
  background-size: 30px 30px;
}

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.3), transparent);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.decor-gradient-blur::after {
  content: '';
  position: absolute;
  bottom: 20%;
  right: 10%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2), transparent);
  border-radius: 50%;
  filter: blur(30px);
  pointer-events: none;
}

.decor-corner-tr::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(225deg, #D4AF37, transparent);
  border-radius: 0 0 0 100%;
}

.decor-corner-bl::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, #D4AF37, transparent);
  border-radius: 0 100% 0 0;
}

.decor-glow-element {
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.3);
}

.decor-rings-svg {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg stroke='%23D4AF37' stroke-width='1'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3Ccircle cx='30' cy='30' r='15'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.decor-subtle {
  opacity: 0.05;
}

.decor-moderate {
  opacity: 0.1;
}

.decor-bold {
  opacity: 0.2;
}

/* Form Styles */
.form-input {
  @apply w-full px-4 py-3 border border-gray-300 rounded-full focus:outline-none focus:ring-2 focus:ring-accent/20 focus:border-accent;
}

.form-select {
  @apply w-full px-4 py-3 border border-gray-300 rounded-full focus:outline-none focus:ring-2 focus:ring-accent/20 focus:border-accent bg-white;
}

.form-checkbox {
  @apply w-4 h-4 text-accent focus:ring-accent border-gray-300 rounded;
}

/* Testimonial Slider */
.testimonial-slider {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .testimonial-slide {
    min-width: 50%;
  }
}

@media (min-width: 1024px) {
  .testimonial-slide {
    min-width: 33.333%;
  }
}

/* Rating Stars */
.rating-stars {
  display: inline-flex;
  gap: 2px;
}

.rating-star {
  color: #D4AF37;
  font-size: 1rem;
}

/* Product Badge */
.product-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: linear-gradient(135deg, #D4AF37, #B8941F);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Loading States */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.loading button {
  position: relative;
}

.loading button::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
}