/* MAV Rentals Custom Styles - Branding 2026 */

:root {
  /* MAV Rentals Brand Colors */
  --primary-color: #1e40af;        /* Deep Blue - Professional Trust */
  --secondary-color: #06b6d4;      /* Vibrant Cyan - Modern Energy */
  --accent-color: #0ea5e9;         /* Sky Blue - Friendly Accent */
  --success-color: #10b981;        /* Green - Success States */
  --danger-color: #ef4444;         /* Red - Warnings */
  --warning-color: #f59e0b;        /* Amber - Alerts */
  
  /* Gradient Colors */
  --gradient-start: #1e40af;
  --gradient-end: #06b6d4;
  
  /* Text Colors */
  --text-dark: #0f172a;            /* Slate 900 */
  --text-medium: #334155;          /* Slate 700 */
  --text-light: #64748b;           /* Slate 500 */
  --text-lighter: #94a3b8;         /* Slate 400 */
  
  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;         /* Slate 50 */
  --bg-tertiary: #f1f5f9;          /* Slate 100 */
  
  /* Border Colors */
  --border-light: #e2e8f0;         /* Slate 200 */
  --border-medium: #cbd5e1;        /* Slate 300 */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

/* Hero Gradient - MAV Rentals Brand */
.hero-gradient {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  position: relative;
  overflow: hidden;
}

.hero-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.9) 0%, rgba(6, 182, 212, 0.9) 100%);
  z-index: 0;
}

.hero-gradient > * {
  position: relative;
  z-index: 1;
}

/* Navigation Links */
.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background-color: #e5e7eb;
  color: #374151;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Line Clamp */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Card Hover Effect */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Input Focus */
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease-out;
}

/* Loading Spinner */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.spinner {
  animation: spin 1s linear infinite;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-gradient h2 {
    font-size: 2rem;
  }
  
  .hero-gradient p {
    font-size: 1rem;
  }
}

/* Category Icons */
.category-sedan::before {
  content: '🚗';
  margin-right: 0.5rem;
}

.category-suv::before {
  content: '🚙';
  margin-right: 0.5rem;
}

.category-truck::before {
  content: '🛻';
  margin-right: 0.5rem;
}

.category-van::before {
  content: '🚐';
  margin-right: 0.5rem;
}

.category-luxury::before {
  content: '🏎️';
  margin-right: 0.5rem;
}

/* Price Badge Animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.price-badge {
  animation: pulse 2s ease-in-out infinite;
}

/* Instant Book Badge */
.instant-book-badge {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.3);
}

/* Card Shadow Depth */
.shadow-card {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.shadow-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Section Spacing */
section {
  scroll-margin-top: 4rem;
}

/* Footer Links */
footer a {
  transition: all 0.3s ease;
}

footer a:hover {
  transform: scale(1.1);
}

/* Grid Responsive */
@media (min-width: 640px) {
  .grid-responsive {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid-responsive {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Notification Badge */
.notification-dot {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 10px;
  height: 10px;
  background-color: var(--danger-color);
  border-radius: 50%;
  border: 2px solid white;
}

/* Tooltip */
.tooltip {
  position: relative;
}

.tooltip:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 1rem;
  background-color: #1f2937;
  color: white;
  font-size: 0.875rem;
  border-radius: 0.375rem;
  white-space: nowrap;
  margin-bottom: 0.5rem;
  z-index: 1000;
}
