:root {
  --color-primary: #0F2027;
  --color-secondary: #1A3A40;
  --color-accent: #00F5A0;
}

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

/* 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 outline-none transition-all;
}

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

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

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

/* Hero section styling */
.hero-pattern {
  background-image: radial-gradient(circle at 25% 25%, rgba(0, 245, 160, 0.1) 0%, transparent 50%),
                    radial-gradient(circle at 75% 75%, rgba(15, 32, 39, 0.1) 0%, transparent 50%);
}

/* Order form styling */
.order-form {
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
}

/* Testimonial cards */
.testimonial-card {
  border-left: 4px solid var(--color-accent);
  padding-left: 1.5rem;
}

/* FAQ cards */
.faq-card {
  background-color: #f9fafb;
  padding: 1.5rem;
  border-radius: 0.75rem;
}

/* Star rating */
.star-rating {
  color: #fbbf24;
}

/* Badge styling */
.badge {
  @apply inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-accent text-white;
}

/* Price styling */
.price-display {
  @apply text-2xl font-bold text-primary;
}

.price-per-day {
  @apply text-sm text-gray-500;
}

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

#mobile-menu.show {
  max-height: 20rem;
}

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

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid var(--color-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}