/* 
  Servigo.space - Car Rental Demos Shared Stylesheet
  Colors: Navy (#081226, #0d1b3a, #13254d), Orange (#f97316, #fb923c, #ea580c)
  Fonts: Inter (default Latin), Cairo / Tajawal (Arabic RTL)
*/

:root {
  --servigo-navy-950: #081226;
  --servigo-navy-900: #0d1b3a;
  --servigo-navy-800: #13254d;
  --servigo-orange-500: #f97316;
  --servigo-orange-600: #ea580c;
  --servigo-orange-400: #fb923c;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* RTL Support */
[dir="rtl"] {
  font-family: 'Tajawal', 'Cairo', 'Inter', sans-serif;
  text-align: right;
}

[dir="rtl"] .font-display {
  font-family: 'Cairo', 'Tajawal', sans-serif;
}

/* Reveal-on-scroll animations */
.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Soft Shadows */
.shadow-soft {
  box-shadow: 0 10px 30px -10px rgba(8, 18, 38, 0.08);
}

.shadow-soft-lg {
  box-shadow: 0 20px 40px -15px rgba(8, 18, 38, 0.12);
}

.shadow-orange-glow {
  box-shadow: 0 10px 25px -5px rgba(249, 115, 22, 0.3);
}

.shadow-gold-glow {
  box-shadow: 0 10px 25px -5px rgba(212, 175, 55, 0.25);
}

/* Card hover micro-interaction */
.card-hover {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-hover:hover {
  transform: translateY(-4px);
}

/* Floating WhatsApp button pulse */
@keyframes wa-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.wa-pulse-btn {
  animation: wa-pulse 2.2s infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Form input styling */
.custom-input {
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.custom-input:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

/* Accordion transition */
details summary::-webkit-details-marker {
  display: none;
}
