:root {
  --color-primary: #1E3A5F;
  --color-secondary: #2D5080;
  --color-accent: #00D9FF;
  --color-bg-light: #F0FAFF;
  --color-bg-alt: #E0F5FF;
}

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

body {
  font-family: 'Manrope', system-ui, sans-serif;
  line-height: 1.6;
}

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

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);
}

/* Custom utilities */
.bg-gradient-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.bg-gradient-accent {
  background: linear-gradient(135deg, var(--color-accent) 0%, #0099CC 100%);
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

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

.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-lg focus:ring-2 focus:ring-accent focus:border-accent transition-colors;
}

.form-select {
  @apply w-full px-4 py-3 border border-gray-300 rounded-lg bg-white focus:ring-2 focus:ring-accent focus:border-accent transition-colors;
}

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

/* Card styles */
.card {
  @apply bg-white rounded-xl shadow-md p-6;
}

.card-hover {
  @apply hover:shadow-xl transition-shadow duration-300;
}

/* Badge styles */
.badge {
  @apply inline-flex items-center gap-1 px-3 py-1 text-xs font-medium rounded-full;
}

.badge-primary {
  @apply bg-primary text-white;
}

.badge-accent {
  @apply bg-accent text-white;
}

.badge-success {
  @apply bg-green-100 text-green-800;
}

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

.star-filled {
  @apply text-yellow-400;
}

.star-empty {
  @apply text-gray-300;
}

/* Mobile menu transition */
#mobile-menu {
  transition: all 0.3s ease;
  max-height: 0;
  overflow: hidden;
}

#mobile-menu.show {
  max-height: 400px;
}

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

.spinner {
  @apply animate-spin rounded-full border-2 border-gray-300 border-t-accent;
}

/* Responsive utilities */
@media (max-width: 640px) {
  .text-responsive-lg {
    @apply text-2xl;
  }
  
  .text-responsive-xl {
    @apply text-3xl;
  }
}

@media (min-width: 768px) {
  .text-responsive-lg {
    @apply text-3xl;
  }
  
  .text-responsive-xl {
    @apply text-4xl;
  }
}

@media (min-width: 1024px) {
  .text-responsive-lg {
    @apply text-4xl;
  }
  
  .text-responsive-xl {
    @apply text-5xl;
  }
}