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

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

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

/* Button styles */
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;
  transition: all 0.2s ease;
}

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

/* CTA Button styling */
.bg-accent {
  background-color: var(--color-accent);
}

.text-accent {
  color: var(--color-accent);
}

.border-accent {
  border-color: var(--color-accent);
}

.hover\:bg-accent\/90:hover {
  background-color: rgb(212 175 55 / 0.9);
}

/* Animations */
[data-animate] {
  opacity: 0;
  transform: translateX(2rem);
  transition: all 0.6s ease-out;
}

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

/* FAQ Accordion */
[data-faq-toggle] {
  cursor: pointer;
}

[data-faq-content] {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

[data-faq-content].active {
  max-height: 200px;
}

/* Mobile menu */
#mobile-menu {
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

#mobile-menu.show {
  transform: translateY(0);
}

/* Star ratings */
.text-yellow-400 {
  color: #facc15;
}

.fill-yellow-400 {
  fill: #facc15;
}

/* Custom utilities */
.rotate-180 {
  transform: rotate(180deg);
}

.transition-all {
  transition: all 0.2s ease;
}

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

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  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: translate(-50%, -50%) rotate(360deg);
  }
}

/* Form styling */
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgb(212 175 55 / 0.1);
}

/* Order form specific */
.order-form {
  background: linear-gradient(135deg, #fffdf5 0%, #fef9e7 100%);
}

.order-form .form-field {
  position: relative;
}

.order-form .form-field.error input {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.order-form .form-field.error .error-message {
  display: block;
  color: #ef4444;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.error-message {
  display: none;
}

/* Success states */
.success {
  background-color: #f0fdf4;
  border-color: #22c55e;
}