/* LAKSHYA CAR RENTAL & TRAVEL BOOKING DESIGN SYSTEM */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@500;600;700;800;900&display=swap');

:root {
  --color-primary-navy: #12235A;
  --color-primary-navy-dark: #0B1536;
  --color-accent-red: #E63329;
  --color-accent-red-hover: #C82219;
  --color-bg-light: #F8FAFC;
  --color-card-bg: #FFFFFF;
  --color-text-main: #1E293B;
  --color-text-muted: #64748B;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

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

/* Custom Brand Utilities */
.bg-navy {
  background-color: var(--color-primary-navy);
}

.bg-navy-dark {
  background-color: var(--color-primary-navy-dark);
}

.text-navy {
  color: var(--color-primary-navy);
}

.bg-red-accent {
  background-color: var(--color-accent-red);
}

.bg-red-accent:hover {
  background-color: var(--color-accent-red-hover);
}

.text-red-accent {
  color: var(--color-accent-red);
}

.border-red-accent {
  border-color: var(--color-accent-red);
}

/* Glassmorphism & Header */
.header-glass {
  background: rgba(18, 35, 90, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.header-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

/* Custom Card Hover Effects */
.hover-card {
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hover-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -10px rgba(18, 35, 90, 0.12);
}

/* Pulsing Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

@media (max-width: 640px) {
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1.75rem;
  }
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

.whatsapp-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  background-color: #25D366;
  opacity: 0.75;
  animation: pulse-ring 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
  z-index: -1;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* FAQ Accordion Styling */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  transition: max-height 0.5s ease-in-out;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Custom Input Focus */
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-accent-red);
  box-shadow: 0 0 0 3px rgba(230, 51, 41, 0.15);
}

/* Mobile Menu Backdrop */
#mobile-menu-overlay {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

#mobile-menu-content {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#mobile-menu-overlay.open #mobile-menu-content {
  transform: translateX(0);
}
