/* Fleet Hero Container */
.fleet-hero-banner {
  position: relative;
  width: 100%;
  min-height: 420px;
  
  /* Centering the Content */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  
  /* Background Image + Blue Gradient Overlay */
  background: linear-gradient(135deg, rgba(32, 160, 215, 0.82) 0%, rgba(25, 110, 150, 0.78) 100%), 
              url('/images/Innova Crysta2.jpeg') center/cover no-repeat;
              
  color: #ffffff;
  padding: 60px 20px;
  box-sizing: border-box;
}

/* Inner Box */
.fleet-banner-content {
  max-width: 650px;
  width: 100%;
  margin: 0 auto;
}

/* Subtitle (CARS & BUSES) */
.fleet-subtitle {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
  opacity: 0.9;
}

/* Title (Our Fleet) */
.fleet-title {
  font-size: 3rem;
  font-weight: 700;
  font-family: 'Georgia', serif;
  margin: 0 0 14px 0;
  line-height: 1.1;
}

/* Description Text */
.fleet-description {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 0 28px 0;
  opacity: 0.95;
}

/* Buttons Container */
.fleet-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Base Button Style */
.fleet-buttons .btn {
  padding: 10px 28px;
  border-radius: 25px; /* Pill shape */
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

/* Orange Filled Button */
.btn-fleet-orange {
  background: #ff9800;
  color: #ffffff;
  border: 1px solid #ff9800;
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

.btn-fleet-orange:hover {
  background: #e68800;
  border-color: #e68800;
  transform: translateY(-2px);
}

/* Transparent Glass/Outline Button */
.btn-fleet-outline {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
}

.btn-fleet-outline:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: #ffffff;
  transform: translateY(-2px);
}




/* Container */
.fleet-browse-section {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
  font-family: Arial, sans-serif;
  text-align: center;
}

/* Header Text */
.fleet-browse-header .subtitle {
  font-size: 0.8rem;
  font-weight: 700;
  color: #25a5d8;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.fleet-browse-header .title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a3c40;
  font-family: 'Georgia', serif;
  margin: 0 0 10px 0;
}

.fleet-browse-header .description {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0 0 30px 0;
}

/* Filter Buttons Styling */
.filter-pills-container {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: #25a5d8;
  color: #ffffff;
  border-color: #25a5d8;
}

/* 3-Column Grid */
.fleet-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}

/* Vehicle Card Style */
.vehicle-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 240px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.vehicle-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

/* Card Content Overlay (Dark Gradient at bottom) */
.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 16px 14px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
  color: #ffffff;
  text-align: left;
}

.card-overlay h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 4px 0;
}

.card-overlay .specs {
  font-size: 0.78rem;
  color: #cbd5e1;
  margin: 0 0 10px 0;
}

/* Small Tag Pills on Card */
.card-overlay .tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.card-overlay .tags span {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
}

/* Orange Bottom Button */
.fleet-bottom-btn {
  margin-top: 20px;
}

.btn-orange-pill {
  background: linear-gradient(135deg, #ff9800 0%, #ff8000 100%);
  color: #ffffff;
  padding: 12px 36px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 6px 18px rgba(255, 128, 0, 0.35);
  transition: all 0.2s ease;
}

.btn-orange-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 128, 0, 0.45);
}






/* Card Par Cursor Pointer */
.vehicle-card {
  cursor: pointer;
}

/* Lightbox Dark Backdrop */
.lightbox-modal {
  display: none; 
  position: fixed;
  z-index: 999999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
}

/* Main Container - Desktop & Screen Fit */
.lightbox-card-container {
  width: 90vw;
  max-width: 650px;
  height: 96vh !important; /* max-height ki jagah fixed height */
  max-height: 96vh !important;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: zoomAnimation 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Original Card Structure Maintain Rahega */
.lightbox-card-container .vehicle-card {
  width: 100%;
  height: 95vh !important; /* height force kiya hai */
  max-height: 95vh !important;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 255, 255, 0.15);
  overflow-y: auto;
  cursor: default !important;
  display: flex !important;
  flex-direction: column !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Zoomed Big Image (Top Side) */
.lightbox-card-container .vehicle-card img {
  width: 100%;
  height: 65vh !important; /* Forcefully 65vh height */
  min-height: 65vh !important;
  max-height: 65vh !important;
  object-fit: cover !important;
  flex-shrink: 0 !important; /* Image ko squeeze/pichakne se rokta hai */
  border-radius: 20px 20px 0 0;
}

/* Card Content / Details Area */
.lightbox-card-container .vehicle-card > *:not(img) {
  padding: 22px 28px;
  font-size: 1.15rem; /* Text size thoda bada dikhega popup me */
}

/* Zoom Animation Effect */
@keyframes zoomAnimation {
  from { 
    transform: scale(0.75); 
    opacity: 0; 
  }
  to { 
    transform: scale(1); 
    opacity: 1; 
  }
}

/* Close Button (X) */
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #ffffff;
  font-size: 50px;
  font-weight: 300;
  cursor: pointer;
  z-index: 1000000;
  line-height: 1;
  transition: all 0.2s ease;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.lightbox-close:hover {
  transform: scale(1.2) rotate(90deg);
  color: #ff4d4d;
}

/* Big Next & Prev Floating Buttons */
.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  padding: 16px 26px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
  z-index: 1000000;
  user-select: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.lightbox-btn:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
}

.prev-btn { left: 40px; }
.next-btn { right: 40px; }

/* Clean Scrollbar inside Card */
.lightbox-card-container .vehicle-card::-webkit-scrollbar {
  width: 6px;
}
.lightbox-card-container .vehicle-card::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.25);
  border-radius: 10px;
}

/* Mobile Screen Responsive Adjustments */
@media (max-width: 768px) {
  .lightbox-card-container {
    width: 92vw;
    max-height: 85vh;
  }

  .lightbox-card-container .vehicle-card img {
    max-height: 38vh;
  }

  .lightbox-btn {
    padding: 12px 18px;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.65);
  }
  
  .prev-btn { left: 10px; }
  .next-btn { right: 10px; }
  
  .lightbox-close {
    top: 15px;
    right: 20px;
    font-size: 42px;
  }
}



/* Mobile Screen Responsive Adjustments */
@media (max-width: 768px) {
  
  /* --- Add this new rule for the cards --- */
  .fleet-cards-grid {
    display: flex;
    flex-direction: column;
    /* OR you can use: grid-template-columns: 1fr; */
    gap: 20px;
  }
  /* --------------------------------------- */

  /* Your existing mobile lightbox CSS below */
  .lightbox-card-container {
    width: 92vw;
    max-height: 85vh;
  }

  .lightbox-card-container .vehicle-card img {
    max-height: 38vh;
  }

  .lightbox-btn {
    padding: 12px 18px;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.65);
  }
  
  .prev-btn { left: 10px; }
  .next-btn { right: 10px; }
  
  .lightbox-close {
    top: 15px;
    right: 20px;
    font-size: 42px;
  }
}