/* Tailwind CSS Configuration */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Custom CSS Variables */
:root {
  --brand-50: #ffe5ea;
  --brand-100: #ffccd5;
  --brand-200: #ff99ac;
  --brand-300: #ff667e;
  --brand-400: #ff3351;
  --brand-500: #d4002a;
  --brand-600: #b00023;
  --brand-700: #8c001c;
  --brand-800: #660015;
  --brand-900: #40000e;
  
  --ink-50: #f8f9fb;
  --ink-100: #eef1f5;
  --ink-200: #e1e6ed;
  --ink-300: #c9d0db;
  --ink-400: #9aa3b2;
  --ink-500: #6b7280;
  --ink-600: #4b5563;
  --ink-700: #364152;
  --ink-800: #202939;
  --ink-900: #0f172a;
}

/* Custom Styles */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Custom Shadow Classes */
.shadow-xlsoft {
  box-shadow: 0 30px 60px -20px rgba(212,0,42,.25);
}

.shadow-card {
  box-shadow: 0 16px 32px -16px rgba(2,6,23,.25);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Form Styles */
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(212,0,42,.1);
}

/* Button Hover Effects */
button:hover, .btn:hover {
  transform: translateY(-1px);
  transition: all 0.2s ease;
}

/* Mobile Menu Animation */
#mobileMenu {
  transition: all 0.3s ease;
}

/* Form Validation Styles */
input:invalid:not(:placeholder-shown) {
  border-color: #ef4444;
}

input:valid:not(:placeholder-shown) {
  border-color: #10b981;
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Service Card Icons */
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 24px;
  transition: all 0.3s ease;
}

.service-icon.multiple-offers {
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  color: white;
}

.service-icon.operation-tracking {
  background: linear-gradient(135deg, #4ecdc4, #6dd5d0);
  color: white;
}

.service-icon.finance-contract {
  background: linear-gradient(135deg, #45b7d1, #6bc5d8);
  color: white;
}

.service-icon.compliance-security {
  background: linear-gradient(135deg, #96ceb4, #a8d5c1);
  color: white;
}

.service-card {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(2,6,23,.3);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-500), var(--brand-300));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::before {
  opacity: 1;
}

/* Icon Animations */
@keyframes iconPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.service-icon:hover {
  animation: iconPulse 0.6s ease-in-out;
}

/* Exact Design Match Vehicle Cards */
.vehicle-card {
  position: relative;
  border-radius: 20px;
  overflow: visible;
  transition: all 0.4s ease;
  cursor: pointer;
  height: 450px;
  width: 100%;
  box-shadow: 0 8px 25px rgba(0,0,0,.15);
}

.vehicle-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -20px rgba(0,0,0,.3);
}

.vehicle-card-header {
  position: relative;
  height: 225px;
  padding: 25px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: 20px 20px 0 0;
}

.vehicle-card-header.economy {
  background: var(--brand-500);
}

.vehicle-card-header.comfort {
  background: var(--brand-600);
}

.vehicle-card-header.suv {
  background: var(--brand-400);
}

.vehicle-card-header.commercial {
  background: var(--brand-700);
}

.vehicle-card-brand {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.vehicle-card-model {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.vehicle-card-specs {
  font-size: 12px;
  line-height: 1.4;
}

.vehicle-card-image {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,.4));
  transition: all 0.3s ease;
  z-index: 3;
}

.vehicle-card:hover .vehicle-card-image {
  transform: translate(-50%, -50%) scale(1.05);
}

.vehicle-card-footer {
  background: #f8f9fa;
  padding: 25px;
  height: 225px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
  border-radius: 0 0 20px 20px;
}

.vehicle-card-details {
  font-size: 13px;
  color: #6c757d;
  line-height: 1.4;
  margin-bottom: 15px;
}

.vehicle-card-button {
  background: var(--brand-500);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-end;
  width: auto;
}

.vehicle-card-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 0, 42, .4);
}

.vehicle-card-button.comfort {
  background: var(--brand-600);
}

.vehicle-card-button.suv {
  background: var(--brand-400);
}

.vehicle-card-button.commercial {
  background: var(--brand-700);
}

/* Print Styles */
@media print {
  .no-print {
    display: none !important;
  }
}
