:root {
  --color-primary: #1C1917;
  --color-secondary: #2C2825;
  --color-accent: #D4B896;
}

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

body { 
  font-family: 'Urbanist', 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(2rem);
  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, currentColor 1px, transparent 1px);
  background-size: 24px 24px;
}

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

.decor-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 16px,
    currentColor 16px,
    currentColor 17px
  );
}

.decor-mesh::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, var(--color-accent) 0%, var(--color-primary) 100%);
  opacity: 0.05;
  pointer-events: none;
}

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -25%;
  width: 150%;
  height: 200%;
  background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
  opacity: 0.1;
  filter: blur(60px);
  pointer-events: none;
}

.decor-corner-tr::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 6rem;
  height: 6rem;
  background: linear-gradient(-45deg, var(--color-accent) 0%, transparent 70%);
  opacity: 0.1;
  pointer-events: none;
}

.decor-corner-bl::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 6rem;
  height: 6rem;
  background: linear-gradient(45deg, var(--color-accent) 0%, transparent 70%);
  opacity: 0.1;
  pointer-events: none;
}

.decor-glow-element::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
  opacity: 0.15;
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
}

.decor-rings-svg {
  background-image: url("data:image/svg+xml,%3csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3e%3cg fill='none' fill-rule='evenodd'%3e%3cg fill='%23D4B896' fill-opacity='0.05'%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-xl focus:ring-2 focus:ring-accent focus:border-accent outline-none transition-colors;
}

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

/* Custom checkbox */
.checkbox-custom {
  @apply relative;
}

.checkbox-custom input[type="checkbox"] {
  @apply sr-only;
}

.checkbox-custom input[type="checkbox"] + label::before {
  content: '';
  @apply absolute left-0 top-0 w-5 h-5 border-2 border-gray-300 rounded;
}

.checkbox-custom input[type="checkbox"]:checked + label::before {
  @apply bg-accent border-accent;
}

.checkbox-custom input[type="checkbox"]:checked + label::after {
  content: '✓';
  @apply absolute left-1 top-0 text-white text-xs font-bold;
}

/* Rating stars */
.rating-stars {
  @apply flex items-center gap-1;
}

.rating-star {
  @apply w-4 h-4 text-yellow-400 fill-current;
}

/* Testimonial cards */
.testimonial-card {
  @apply bg-white p-6 rounded-2xl shadow-sm border hover:shadow-md transition-shadow;
}

/* FAQ accordion */
.faq-item {
  @apply border-b border-gray-200 last:border-b-0;
}

.faq-question {
  @apply w-full text-left p-4 font-medium hover:bg-gray-50 transition-colors flex items-center justify-between;
}

.faq-answer {
  @apply px-4 pb-4 text-gray-600 hidden;
}

.faq-answer.show {
  @apply block;
}

/* Loading states */
.loading {
  @apply opacity-50 pointer-events-none;
}

.spinner {
  @apply inline-block w-4 h-4 border-2 border-gray-300 border-t-accent rounded-full animate-spin;
}

/* Responsive utilities */
@media (max-width: 768px) {
  .mobile-stack {
    @apply flex-col;
  }
  
  .mobile-full {
    @apply w-full;
  }
  
  .mobile-center {
    @apply text-center;
  }
}