/* Custom CSS for RideXpress */

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') center/cover;
  opacity: 0.3;
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

/* Bike Cards */
.bike-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  border-radius: 15px;
  overflow: hidden;
  height: 100%;
}

.bike-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.bike-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

.bike-card .card-body {
  padding: 1.5rem;
}

.bike-specs {
  font-size: 0.9rem;
  color: #6c757d;
}

.bike-specs i {
  width: 20px;
  color: #ff6b35;
}

/* Search and Filter */
.search-filter-section {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 2rem;
  margin: 2rem 0;
}

/* Modal Customization */
.modal-content {
  border-radius: 15px;
  border: none;
}

.modal-header {
  border-bottom: 1px solid #e9ecef;
  background: #f8f9fa;
  border-radius: 15px 15px 0 0;
}

/* Admin Panel */
.admin-card {
  border: 1px solid #dee2e6;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.admin-card .btn-group {
  gap: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .bike-card .card-img-top {
    height: 150px;
  }
  
  .search-filter-section {
    padding: 1rem;
  }
}

/* Custom Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bike-card {
  animation: fadeInUp 0.6s ease-out;
}

/* Loading Spinner */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Custom Button Styles */
.btn-custom {
  border-radius: 25px;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Price Badge */
.price-badge {
  background: linear-gradient(45deg, #ff6b35, #f7931e);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: bold;
  font-size: 1.1rem;
}

/* Status Indicators */
.status-available {
  color: #28a745;
  font-weight: bold;
}

.status-booked {
  color: #dc3545;
  font-weight: bold;
}

.status-maintenance {
  color: #ffc107;
  font-weight: bold;
}

/* Form Styling */
.form-control:focus {
  border-color: #ff6b35;
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

/* Navigation Enhancement */
.navbar-brand {
  font-size: 1.5rem;
  font-weight: bold;
}

.navbar-nav .nav-link {
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #ff6b35 !important;
}

/* Footer */
.footer {
  background: #343a40;
  color: white;
  padding: 3rem 0;
  margin-top: 4rem;
}

.footer h5 {
  color: #ff6b35;
  margin-bottom: 1rem;
}

.footer a {
  color: #adb5bd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #ff6b35;
}

/* Utility Classes */
.text-gradient {
  background: linear-gradient(45deg, #ff6b35, #f7931e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shadow-custom {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.border-radius-custom {
  border-radius: 15px;
}

/* Booking Bill Styles */
.bill-container {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.bill-header {
  text-align: center;
  border-bottom: 2px solid #ff6b35;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.bill-logo {
  font-size: 2rem;
  font-weight: bold;
  color: #ff6b35;
  margin-bottom: 0.5rem;
}

.bill-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem;
}

.bill-subtitle {
  color: #666;
  font-size: 0.9rem;
}

.bill-section {
  margin-bottom: 1.5rem;
}

.bill-section h6 {
  color: #ff6b35;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.bill-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.bill-row .label {
  font-weight: 500;
  color: #555;
}

.bill-row .value {
  font-weight: 600;
  color: #333;
}

.bill-total {
  border-top: 2px solid #ff6b35;
  padding-top: 1rem;
  margin-top: 1rem;
  font-size: 1.2rem;
  font-weight: bold;
}

.bill-footer {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
  color: #666;
  font-size: 0.9rem;
}

.bill-print {
  display: none;
}

@media print {
  .bill-print {
    display: block;
  }
  
  .modal-footer {
    display: none;
  }
  
  .modal-header {
    display: none;
  }
}
