/* ============================================================
   Ahmedabad Darshan Taxi — Custom CSS
   Tailwind handles utility classes; this adds animations & components
   ============================================================ */

/* Fonts */
* { box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; }
h1,h2,h3,h4,h5,.font-heading { font-family: 'Poppins', sans-serif; }

/* ============================================================
   Animations
   ============================================================ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes moveTaxi {
  0%   { transform: translateX(-120%) scaleX(1); }
  49%  { transform: translateX(120vw) scaleX(1); }
  50%  { transform: translateX(120vw) scaleX(-1); }
  51%  { transform: translateX(120vw) scaleX(-1); }
  100% { transform: translateX(-120%) scaleX(-1); }
}
@keyframes pulseSlow {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50%       { transform: scale(1.08); box-shadow: 0 0 0 12px rgba(34,197,94,0); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.animate-fadeIn  { animation: fadeIn  0.6s ease both; }
.animate-slideUp { animation: slideUp 0.7s ease both; }
.taxi-animate    { animation: moveTaxi 18s linear infinite; font-size: 3.5rem; display: inline-block; }
.animate-pulse-slow { animation: pulseSlow 2.5s ease-in-out infinite; }
.animate-spin    { animation: spin 1s linear infinite; display: inline-block; }

/* Stagger delay helpers */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

/* ============================================================
   Hero Section
   ============================================================ */
.hero-bg {
  background: linear-gradient(135deg, #1A1A1A 0%, #2A2A2A 40%, #1A1A1A 100%);
  position: relative;
  overflow: hidden;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(245,168,0,0.12) 0%, transparent 60%);
}
.hero-taxi-strip {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  pointer-events: none;
  overflow: hidden;
  height: 60px;
  opacity: 0.15;
}

/* ============================================================
   Cards
   ============================================================ */
.service-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.route-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.route-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #F5A800;
  color: #1A1A1A;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 0.75rem;
  transition: background-color 0.2s, transform 0.2s;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background-color: #E09600; transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: #F5A800;
  border: 2px solid #F5A800;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: 0.75rem;
  transition: all 0.2s;
  text-decoration: none;
  cursor: pointer;
}
.btn-outline:hover { background-color: #F5A800; color: #1A1A1A; }

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #22c55e;
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 0.75rem;
  transition: background-color 0.2s;
  text-decoration: none;
}
.btn-wa:hover { background-color: #16a34a; }

/* ============================================================
   FAQ Accordion
   ============================================================ */
.faq-item details summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  font-weight: 600;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  margin-bottom: 0.5rem;
  transition: background 0.2s;
  user-select: none;
}
.faq-item details summary::-webkit-details-marker { display: none; }
.faq-item details summary::after { content: '+'; font-size: 1.25rem; color: #F5A800; flex-shrink: 0; margin-left: 1rem; }
.faq-item details[open] summary { background: #fffbf0; border-color: #F5A800; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.faq-item details[open] summary::after { content: '−'; }
.faq-item details .faq-body {
  padding: 0.875rem 1.25rem 1rem;
  background: #fffbf0;
  border: 1px solid #F5A800;
  border-top: none;
  border-bottom-left-radius: 0.75rem;
  border-bottom-right-radius: 0.75rem;
  color: #555;
  line-height: 1.7;
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
}

/* ============================================================
   Admin Panel
   ============================================================ */
.admin-sidebar {
  background: #1A1A1A;
  min-height: 100vh;
  width: 240px;
  flex-shrink: 0;
}
.admin-sidebar a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1.25rem;
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.15s;
  border-radius: 0.5rem;
  margin: 0.125rem 0.5rem;
}
.admin-sidebar a:hover, .admin-sidebar a.active {
  background: rgba(245,168,0,0.15);
  color: #F5A800;
}

/* Status badges */
.badge-new       { background: #dbeafe; color: #1e40af; }
.badge-contacted { background: #fef9c3; color: #854d0e; }
.badge-confirmed { background: #dcfce7; color: #166534; }
.badge-cancelled { background: #fee2e2; color: #991b1b; }

/* ============================================================
   Mobile bottom bar clearance
   ============================================================ */
@media (max-width: 767px) {
  body { padding-bottom: 60px; }
  .floating-buttons { bottom: 80px !important; }
}

/* ============================================================
   Print
   ============================================================ */
@media print {
  header, footer, .floating-buttons, #mobile-menu, .fixed { display: none !important; }
  body { padding-bottom: 0; }
}
