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

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

body { 
  font-family: 'Manrope', 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(212, 184, 150, 0.3) 1px, transparent 1px);
  background-size: 20px 20px;
}

.decor-grid-lines {
  background-image: 
    linear-gradient(rgba(212, 184, 150, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 184, 150, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
}

.decor-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(212, 184, 150, 0.1) 10px,
    rgba(212, 184, 150, 0.1) 11px
  );
}

.decor-mesh {
  background: radial-gradient(ellipse at center, rgba(212, 184, 150, 0.15) 0%, transparent 70%);
}

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(212, 184, 150, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  z-index: -1;
}

.decor-gradient-blur::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -30%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(28, 25, 23, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
}

.decor-corner-tr::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(-135deg, rgba(212, 184, 150, 0.2) 0%, transparent 50%);
}

.decor-corner-bl::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, rgba(212, 184, 150, 0.2) 0%, transparent 50%);
}

.decor-glow-element {
  box-shadow: 0 0 100px rgba(212, 184, 150, 0.3);
}

.decor-rings-svg {
  background-image: url("data:image/svg+xml,%3csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cpattern id='rings' x='0' y='0' width='60' height='60' patternUnits='userSpaceOnUse'%3e%3ccircle cx='30' cy='30' r='25' fill='none' stroke='%23D4B896' stroke-width='0.5' opacity='0.1'/%3e%3ccircle cx='30' cy='30' r='15' fill='none' stroke='%23D4B896' stroke-width='0.5' opacity='0.15'/%3e%3c/pattern%3e%3c/defs%3e%3crect width='100%25' height='100%25' fill='url(%23rings)'/%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 focus:border-transparent transition-all;
}

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

/* Product Badge */
.product-badge {
  @apply inline-flex items-center gap-2 px-3 py-1 bg-amber-100 text-amber-800 rounded-full text-sm font-medium;
}

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

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

/* Testimonial Styles */
.testimonial-quote::before {
  content: '"';
  @apply text-6xl text-accent font-bold absolute -top-4 -left-4;
}

.testimonial-quote::after {
  content: '"';
  @apply text-6xl text-accent font-bold absolute -bottom-8 -right-4;
}

/* FAQ Accordion */
.faq-item {
  @apply border-b border-gray-200;
}

.faq-question {
  @apply w-full py-4 px-0 text-left font-medium text-gray-900 hover:text-accent transition-colors focus:outline-none;
}

.faq-answer {
  @apply overflow-hidden transition-all duration-300 ease-in-out;
}

.faq-answer.open {
  @apply pb-4;
}

.faq-answer.closed {
  @apply max-h-0 pb-0;
}

/* Mobile Menu Animation */
#mobile-menu {
  @apply transition-all duration-300 ease-in-out;
}

#mobile-menu.show {
  @apply block;
}

/* Loading State */
.loading {
  @apply relative overflow-hidden;
}

.loading::after {
  content: '';
  @apply absolute inset-0 bg-gradient-to-r from-transparent via-white/20 to-transparent;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}