:root {
  --color-primary: #1B4332;
  --color-secondary: #2D6A4F;
  --color-accent: #40C057;
}

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

body { 
  font-family: 'Plus Jakarta 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: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

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

/* Decorative elements */
.decor-grid-dots {
  background-image: radial-gradient(circle, rgba(64, 192, 87, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

.decor-grid-lines {
  background-image: 
    linear-gradient(rgba(64, 192, 87, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(64, 192, 87, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}

.decor-diagonal {
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(64, 192, 87, 0.03) 20px,
    rgba(64, 192, 87, 0.03) 40px
  );
}

.decor-mesh::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(64, 192, 87, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(27, 67, 50, 0.1) 0%, transparent 50%);
}

.decor-gradient-blur::before,
.decor-gradient-blur::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.decor-gradient-blur::before {
  width: 300px;
  height: 300px;
  background: rgba(64, 192, 87, 0.15);
  top: 10%;
  right: 10%;
}

.decor-gradient-blur::after {
  width: 200px;
  height: 200px;
  background: rgba(27, 67, 50, 0.1);
  bottom: 20%;
  left: 20%;
}

.decor-corner-tr::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(64, 192, 87, 0.1), transparent);
  border-radius: 0 0 0 100px;
}

.decor-corner-bl::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, rgba(27, 67, 50, 0.1), transparent);
  border-radius: 0 80px 0 0;
}

.decor-glow-element {
  box-shadow: 0 0 40px rgba(64, 192, 87, 0.2);
}

.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%3Ccircle stroke='%2340C057' stroke-opacity='0.05' cx='30' cy='30' r='10'/%3E%3Ccircle stroke='%2340C057' stroke-opacity='0.03' cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/svg%3E");
}

.decor-subtle { opacity: 0.05; }
.decor-moderate { opacity: 0.1; }
.decor-bold { opacity: 0.2; }

/* Form styling */
.form-input {
  @apply w-full px-4 py-3 border border-gray-300 rounded-full focus:ring-2 focus:ring-accent focus:border-accent transition-all;
}

.form-label {
  @apply block text-sm font-medium text-gray-700 mb-1;
}

/* Hero background patterns */
.hero-pattern {
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(64, 192, 87, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(27, 67, 50, 0.05) 0%, transparent 50%);
}

/* Product image effects */
.product-glow {
  filter: drop-shadow(0 20px 40px rgba(64, 192, 87, 0.15));
}

/* Testimonial slider */
.testimonial-slider {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.testimonial-slider::-webkit-scrollbar {
  display: none;
}

.testimonial-slide {
  scroll-snap-align: start;
  flex-shrink: 0;
}

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

.spinner {
  border: 2px solid rgba(64, 192, 87, 0.2);
  border-left: 2px solid #40C057;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}

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

/* Mobile menu animation */
#mobile-menu {
  transition: all 0.3s ease;
}

#mobile-menu.hidden {
  opacity: 0;
  transform: translateY(-10px);
}

#mobile-menu:not(.hidden) {
  opacity: 1;
  transform: translateY(0);
}