/* Global Styles */
/* Modern Utility Classes */
.transition-all { transition: all 0.3s ease; }
.transition-transform { transition: transform 0.5s ease; }
.hover-shadow:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12) !important;
}
.rounded-4 { border-radius: 1rem !important; }
.fw-600 { font-weight: 600; }

.vehicle-card:hover .transition-transform {
  transform: scale(1.08);
}

:root {
  --primary: #f97316;
  --primary-dark: #ea580c;
  --primary-light: #fdba74;
  --secondary: #3b82f6;
  --secondary-dark: #2563eb;
  --dark: #1e293b;
  --light: #f8fafc;
  --gray: #64748b;

  /* Modern Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 15px rgba(249, 115, 22, 0.3);

  /* Radii */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
}

body {
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  /* Prefer Poppins if loaded, else fallback */
  color: var(--dark);
  line-height: 1.7;
  background-color: #fcfcfc;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #0f172a;
}

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

.text-blue {
  color: var(--secondary);
}

/* Glassmorphism */
.glass-effect {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Page Title Standardization */
.page-title {
  font-weight: 700;
  text-transform: capitalize;
  margin-bottom: 0.5rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem auto;
  padding-bottom: 15px;
  color: #ffffff;
  text-align: center;
  -webkit-text-transform: capitalize;
  -moz-text-transform: capitalize;
  -ms-text-transform: capitalize;
}

.page-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
}

/* Navbar Modernization */
.navbar {
  background: #ffffff !important;
  box-shadow: var(--shadow-sm) !important;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  transition: all 0.3s ease;
  z-index: 1030;
}

/* Enhanced Sticky Navbar - adds shadow on scroll */
.navbar.sticky-top {
  position: sticky;
  top: 0;
}

.navbar.scrolled {
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1) !important;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}

.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.nav-link {
  font-weight: 500;
  color: #475569 !important;
  margin: 0 2px;
  font-size: 0.95rem;
  border-radius: 6px;
  padding: 6px 14px !important;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
  background: rgba(249, 115, 22, 0.1);
}

/* Modern Breadcrumb Styling */
.breadcrumb {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  margin-bottom: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.breadcrumb-item {
  font-size: 0.95rem;
  font-weight: 500;
}

.breadcrumb-item+.breadcrumb-item::before {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  padding: 0 0.5rem;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.breadcrumb-item a:hover {
  color: var(--primary);
  transform: translateX(2px);
}

.breadcrumb-item a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.breadcrumb-item a:hover::after {
  width: 100%;
}

.breadcrumb-item.active {
  color: #ffffff;
  font-weight: 600;
}

/* Responsive breadcrumb */
@media (max-width: 768px) {
  .breadcrumb {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .breadcrumb-item+.breadcrumb-item::before {
    padding: 0 0.3rem;
  }
}

/* Buttons */
.btn {
  border-radius: 50px;
  padding: 10px 24px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary,
.btn-orange {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  box-shadow: 0 4px 6px rgba(249, 115, 22, 0.25);
}

.btn-primary:hover,
.btn-orange:hover,
.btn-primary:focus,
.btn-orange:focus {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(249, 115, 22, 0.3);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  border-color: var(--primary);
}

/* Filter buttons */
.btn-filter {
  border-radius: 50px;
  margin: 0.25rem;
  padding: 0.6rem 1.5rem;
  background-color: white;
  border: 1px solid #e2e8f0;
  color: var(--gray);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.btn-filter:hover {
  background-color: #f8fafc;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--primary);
}

.btn-filter.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 80px 0;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  filter: brightness(0.5);
  /* Slightly darker for better text contrast */
  transition: transform 10s ease;
  /* Subtle zoom effect */
}

.hero-section:hover .hero-bg {
  transform: scale(1.05);
}

.booking-form-container {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.8s ease-out;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Vehicle Cards */
.vehicle-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #f1f5f9;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.vehicle-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.vehicle-image {
  height: 220px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.vehicle-card:hover .vehicle-image {
  transform: scale(1.05);
}

.vehicle-info {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--gray);
  font-size: 0.95rem;
  background: #f8fafc;
  padding: 10px;
  border-radius: var(--radius-md);
}

.vehicle-info i {
  color: var(--primary);
}

/* Review Carousel */
.review-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 25px;
  box-shadow: var(--shadow-md);
  margin: 15px;
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.review-stars {
  color: #fbbf24;
  letter-spacing: 2px;
}

/* Floating Buttons */
.floating-buttons {
  z-index: 1000;
}

.whatsapp-button,
.phone-button,
.car-button {
  position: fixed;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  cursor: pointer;
  text-decoration: none;
}

.whatsapp-button:hover,
.phone-button:hover,
.car-button:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.whatsapp-button i,
.phone-button i,
.car-button i {
  font-size: 28px;
  color: white;
}

.whatsapp-button {
  background: linear-gradient(135deg, #25D366, #128C7E);
  right: 20px;
  bottom: 100px;
}

.phone-button {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  right: 20px;
  bottom: 30px;
}

.car-button {
  background: linear-gradient(135deg, #f97316, #ea580c);
  right: 20px;
  bottom: 170px;
}

/* Booking Steps */
.step-circle {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.step-line {
  height: 3px;
  background-color: #e2e8f0;
  margin: 0 -5px;
  z-index: 1;
}

.bg-primary.step-circle {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  box-shadow: var(--shadow-glow);
}

.route-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.1);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Footer enhancements */
footer {
  background: linear-gradient(to bottom, #1e293b, #0f172a) !important;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* Custom Gradients and Utilities */
.bg-orange-gradient {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.shadow-xl {
  box-shadow: var(--shadow-xl) !important;
}

.card {
  border: none;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
}

.card-header {
  background: white;
  border-bottom: 1px solid #f1f5f9;
  padding: 1.5rem;
  font-weight: 700;
}

.bg-primary .card-header,
.bg-success .card-header,
.bg-warning .card-header {
  background: transparent;
  color: inherit;
}

/* Fix for specific card headers that were white text on color bg */
.card-header.bg-primary {
  background: var(--primary) !important;
  color: white !important;
}

.card-header.bg-success {
  background: #10b981 !important;
  color: white !important;
}

.card-header.bg-warning {
  background: #f59e0b !important;
  color: white !important;
}


/* Form Controls */
.form-control,
.form-select {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.input-group-text {
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  background-color: #f8fafc;
  border-color: #e2e8f0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-section {
    padding: 60px 0;
  }

  .booking-form-container {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 500px;
  }

  .whatsapp-button,
  .phone-button,
  .car-button {
    width: 50px;
    height: 50px;
  }

  .whatsapp-button {
    bottom: 80px;
  }

  .phone-button {
    bottom: 20px;
  }

  .car-button {
    bottom: 140px;
  }

  .booking-form-container {
    margin-top: -20px !important;
    padding: 20px !important;
  }

  h1 {
    font-size: 2rem;
  }
}

/* Animations */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(249, 115, 22, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
  }
}

/* Preserved Utilities */
.seo-hidden {
  display: none;
}

.video-overlay {
  position: relative;
}

.video-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
}

.hover-white:hover {
  color: #fff !important;
}

@media print {
  .no-print {
    display: none !important;
  }

  .booking-confirmation {
    padding: 0;
    margin: 0;
  }

  body {
    background-color: white;
  }
}