/* RAJ AUTO - Brand Stylesheet
 * Colors: 
 *   Background: Clean White (#FFFFFF / #FAFAFA)
 *   Dark / Text: Obsidian Black (#0F172A / #1E293B)
 *   Primary Accent: Performance Crimson Red (#DC2626 / #B91C1C)
 *   Secondary Accents (from logo): Azure Sky (#0284C7), Golden Amber (#F59E0B)
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --brand-red: #DC2626;
  --brand-red-dark: #B91C1C;
  --brand-red-light: #FEE2E2;
  --brand-black: #0F172A;
  --brand-black-soft: #1E293B;
  --brand-gray-light: #F8FAFC;
  --brand-gray-border: #E2E8F0;
  --brand-blue: #0284C7;
  --brand-amber: #F59E0B;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #FFFFFF;
  color: #0F172A;
  overflow-x: hidden;
}

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

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

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

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

.bg-gradient-raj {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
}

.bg-gradient-accent {
  background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%);
}

.bg-gradient-logo {
  background: linear-gradient(90deg, #0284C7 0%, #F59E0B 50%, #DC2626 100%);
}

/* Vehicle card styling */
.car-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.car-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
}

/* Partner Logo Card (High resolution presentation) */
.partner-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  padding: 12px;
  background: #FFFFFF;
  border-radius: 1rem;
  border: 1px solid #E2E8F0;
  transition: all 0.25s ease;
}

.partner-logo-container img, .partner-logo-container svg {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.partner-logo-container:hover {
  border-color: #DC2626;
  box-shadow: 0 10px 20px -3px rgba(220, 38, 38, 0.1);
  transform: translateY(-3px);
}

.partner-logo-container:hover img, .partner-logo-container:hover svg {
  transform: scale(1.05);
}

/* Futuristic Car Canvas Container */
.futuristic-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

/* WhatsApp Pulse Animation */
@keyframes wa-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

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

/* Modal Backdrop */
.modal-backdrop {
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
}

/* Neon Glow utilities */
.neon-glow-red {
  box-shadow: 0 0 15px rgba(220, 38, 38, 0.35);
}

.neon-glow-blue {
  box-shadow: 0 0 15px rgba(2, 132, 199, 0.35);
}

/* Certificate & Award Cards (Subtle Gold / Red-Orange Premium Border) */
.certificate-card {
  position: relative;
  background: #FFFFFF;
  border-radius: 1.25rem;
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 4px 20px -2px rgba(245, 158, 11, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.certificate-card:hover {
  transform: translateY(-6px);
  border-color: rgba(220, 38, 38, 0.5);
  box-shadow: 0 20px 30px -8px rgba(220, 38, 38, 0.15), 0 8px 12px -4px rgba(245, 158, 11, 0.12);
}

/* Video Player Play Button Pulse */
@keyframes play-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
  }
  70% {
    transform: scale(1.06);
    box-shadow: 0 0 0 20px rgba(220, 38, 38, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
  }
}

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

/* Delivered Ribbon Badge */
.delivered-badge {
  background: linear-gradient(135deg, #DC2626 0%, #EA580C 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}

/* =========================================================
   MOBILE CLEAN & CATCHY RESPONSIVE OPTIMIZATION (< 640px)
   ========================================================= */
@media (max-width: 640px) {
  /* Headline scaling: medium, clean, proportional */
  h1 {
    font-size: 1.75rem !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em !important;
  }

  h2 {
    font-size: 1.35rem !important;
    line-height: 1.3 !important;
  }

  h3 {
    font-size: 1.15rem !important;
    line-height: 1.35 !important;
  }

  /* Body & paragraph text */
  p, .text-base {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
  }

  /* Compact header height on small screens */
  #mainHeader .h-20 {
    height: 4.25rem !important;
  }

  /* Compact Hero spacing */
  section.pt-10.pb-20 {
    padding-top: 1.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  /* Car Card refinements for phone UI */
  .car-card {
    border-radius: 1.25rem !important;
    box-shadow: 0 4px 15px -2px rgba(15, 23, 42, 0.06) !important;
  }

  .car-card .p-6 {
    padding: 1rem !important;
  }

  .car-card h3 {
    font-size: 1.1rem !important;
    margin-bottom: 0.25rem !important;
  }

  .car-card .text-2xl {
    font-size: 1.35rem !important;
  }

  /* Spec grid inside cards */
  .car-specs-grid {
    margin-top: 0.75rem !important;
    margin-bottom: 0.75rem !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    gap: 0.5rem !important;
  }

  .car-specs-grid p.font-bold {
    font-size: 0.8rem !important;
  }

  /* Clean interactive buttons on mobile */
  .car-card button, 
  .car-card a.bg-emerald-600,
  .car-card a.bg-brand-red {
    font-size: 0.75rem !important;
    padding-top: 0.6rem !important;
    padding-bottom: 0.6rem !important;
    border-radius: 0.65rem !important;
  }

  /* Metric cards on mobile */
  .grid-cols-2 .text-4xl,
  .grid-cols-4 .text-3xl {
    font-size: 1.6rem !important;
  }

  /* Quick filter tabs on mobile */
  .car-filter-tab {
    font-size: 0.72rem !important;
    padding: 0.4rem 0.75rem !important;
  }

  /* Photo switcher buttons on mobile */
  .photo-pill-btn {
    padding: 0.2rem 0.5rem !important;
    font-size: 0.68rem !important;
  }
}

