/* Go Goa Taxi - Mobile First & Responsive Device Optimized Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --color-primary: #0B132B;
  --color-primary-light: #1C2541;
  --color-accent: #F59E0B;
  --color-accent-dark: #D97706;
  --color-accent-orange: #EA580C;
  --color-emerald: #10B981;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1E293B;
  background-color: #F8FAFC;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
}

/* Prevent unwanted iOS auto-zoom on inputs */
@media (max-width: 640px) {
  input, select, textarea {
    font-size: 16px !important;
  }
}

/* Glassmorphism utility */
.glass-panel {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-panel-dark {
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Glow effects */
.glow-gold {
  box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.35);
}

.glow-emerald {
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.35);
}

/* Interactive Card hover lift (only on devices with hover) */
@media (hover: hover) and (pointer: fine) {
  .hover-lift {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  }
}

/* Touch active feedback for mobile buttons */
button:active, a.active-touch:active {
  transform: scale(0.98);
}

/* Smooth Momentum Scrolling for Responsive Tables */
.overflow-x-auto {
  -webkit-overflow-scrolling: touch;
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Fixed Bottom Mobile Action Bar & Safe Area */
@media (max-width: 767px) {
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .mobile-bottom-bar {
    padding-bottom: calc(0.6rem + env(safe-area-inset-bottom, 0px)) !important;
  }
}



/* Subtle Pulse for WhatsApp */
@keyframes pulse-subtle {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
}

.pulse-wa {
  animation: pulse-subtle 2.5s infinite;
}

/* Mobile Drawer Animation */
#mobile-menu {
  transition: opacity 0.25s ease-in-out;
}
#mobile-menu > div {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Print voucher styles */
@media print {
  body * {
    visibility: hidden;
  }
  #booking-voucher, #booking-voucher * {
    visibility: visible;
  }
  #booking-voucher {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 1.5rem;
    border: none;
    box-shadow: none;
  }
  .no-print {
    display: none !important;
  }
}
