/* ========================================
   VEHICLES STATIC PAGE - GRID LAYOUT
   ======================================== */

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* Remove tap highlights */
button,
a,
.vehicle__book__btn,
.close-modal,
.feature__tag {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* ========================================
   MAIN SECTION
   ======================================== */

.vehicles__static__section {
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

/* Animated background pattern */
.vehicles__static__section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  animation: backgroundFloat 15s ease-in-out infinite;
  pointer-events: none;
}

@keyframes backgroundFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.vehicles__static__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* ========================================
   HEADER SECTION
   ======================================== */

.vehicles__static__header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.experience-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.experience-title span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.experience-title i {
  font-size: 1.2rem;
}

.vehicles__static__title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
  line-height: 1.2;
}

.vehicles__static__subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.1);
}

/* ========================================
   VEHICLE GRID
   ======================================== */

.vehicles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  animation: fadeInUp 1s ease-out 0.3s both;
}

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

/* ========================================
   VEHICLE CARD
   ======================================== */

.vehicle__card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  position: relative;
}

.vehicle__card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

/* Image Wrapper */
.vehicle__image__wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  overflow: hidden;
}

.vehicle__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 15px;
  transition: transform 0.4s ease;
}

.vehicle__card:hover .vehicle__image {
  transform: scale(1.08);
}

/* Vehicle Badge */
.vehicle__badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #fd8f44;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(253, 143, 68, 0.4);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.vehicle__badge.badge__premium {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.vehicle__badge.badge__economy {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  box-shadow: 0 4px 12px rgba(79, 172, 254, 0.4);
}

.vehicle__badge.badge__hybrid {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  box-shadow: 0 4px 12px rgba(67, 233, 123, 0.4);
}

.vehicle__badge.badge__special {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  box-shadow: 0 4px 12px rgba(250, 112, 154, 0.4);
}

/* Vehicle Content */
.vehicle__content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1;
}

.vehicle__name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d3748;
  margin: 0;
  line-height: 1.3;
}

.vehicle__description {
  font-size: 0.95rem;
  color: #718096;
  line-height: 1.6;
  margin: 0;
}

/* Vehicle Specs */
.vehicle__specs {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.spec__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #4a5568;
  font-weight: 600;
}

.spec__item i {
  font-size: 1.3rem;
  color: #fd8f44;
}

/* Feature Tags */
.vehicle__features__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.feature__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 0.35rem 0.7rem;
  border-radius: 50px;
  font-size: .6rem;
  color: #4a5568;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.feature__tag:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-color: #667eea;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.feature__tag i {
  font-size: 0.85rem;
  color: #fd8f44;
  transition: color 0.3s ease;
}

.feature__tag:hover i {
  color: #fff;
}

/* Book Button */
.vehicle__book__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  background: linear-gradient(135deg, #fd8f44 0%, #ff6b6b 100%);
  color: #fff;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: auto;
  box-shadow: 0 6px 20px rgba(253, 143, 68, 0.3);
  outline: none;
}

.vehicle__book__btn:hover {
  background: linear-gradient(135deg, #ff6b6b 0%, #fd8f44 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(253, 143, 68, 0.4);
}

.vehicle__book__btn:active {
  transform: translateY(-1px);
}

.vehicle__book__btn i {
  font-size: 1.3rem;
}

/* ========================================
   BOOKING MODAL WITH FIXED HEADER/FOOTER
   ======================================== */

.booking-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px 0;
  -webkit-overflow-scrolling: touch;
}

.booking-modal.active {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background-color: #fff;
  border-radius: 15px;
  width: 90%;
  max-width: 550px;
  max-height: 90vh;
  position: relative;
  animation: slideDown 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Fixed Modal Header */
.modal-header {
  position: sticky;
  top: 0;
  background: #fff;
  padding: 20px 30px;
  border-bottom: 2px solid #f0f0f0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.close-modal {
  font-size: 28px;
  font-weight: bold;
  color: #999;
  cursor: pointer;
  transition: color 0.3s ease;
  outline: none;
  line-height: 1;
  padding: 0;
  background: none;
  border: none;
}

.close-modal:hover {
  color: #333;
}

/* Scrollable Modal Body */
.modal-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px 30px;
  -webkit-overflow-scrolling: touch;
}

/* Fixed Modal Footer */
.modal-footer {
  position: sticky;
  bottom: 0;
  background: #fff;
  padding: 15px 30px 20px;
  border-top: 2px solid #f0f0f0;
  z-index: 10;
}

/* Form Styles */
#booking-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
  width: 100%;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #fd8f44;
}

.form-group input[readonly] {
  background-color: #f5f5f5;
  cursor: not-allowed;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

/* Validation Warning */
.validation-warning {
  font-size: 0.8rem;
  color: #f44336;
  margin-top: 4px;
  display: none;
  font-weight: 500;
}

.validation-warning.show {
  display: block;
}

.form-group input.error {
  border-color: #f44336;
}

/* WhatsApp Button */
.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  border: none;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  width: 100%;
}

.whatsapp-btn i {
  font-size: 1.5rem;
}

.whatsapp-btn:hover {
  background: #1fb855;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:active {
  transform: translateY(0);
}

/* Toast Notification */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10000;
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s ease;
  color: #fff;
  font-weight: 500;
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast-icon {
  font-size: 1.5rem;
  font-weight: bold;
}

.toast-success { background: #4caf50; }
.toast-error { background: #f44336; }
.toast-warning { background: #ff9800; }
.toast-info { background: #2196f3; }

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1200px) {
  .vehicles__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .vehicles__static__title {
    font-size: 3rem;
  }
}

@media (max-width: 992px) {
  /* Responsive styles for tablets */
}

@media (max-width: 768px) {
  .vehicles__static__section {
    padding: 3rem 0;
  }
  
  .vehicles__static__container {
    padding: 0 1.5rem;
  }
  
  .vehicles__static__title {
    font-size: 2.2rem;
  }
  
  .vehicles__static__subtitle {
    font-size: 1rem;
  }
  
  .vehicles__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .vehicle__image__wrapper {
    height: 220px;
  }
  
  .modal-header {
    padding: 15px 20px;
  }
  
  .modal-title {
    font-size: 1.5rem;
  }
  
  .close-modal {
    font-size: 24px;
  }
  
  .modal-body {
    padding: 15px 20px;
  }
  
  .modal-footer {
    padding: 12px 20px 15px;
  }
  
  .modal-content {
    width: 100%;
    max-width: calc(100% - 30px);
  }
  
  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

@media (max-width: 576px) {
  .vehicles__static__section {
    padding: 2.5rem 0;
  }
  
  .vehicles__static__container {
    padding: 0 1rem;
  }
  
  .vehicles__static__header {
    margin-bottom: 2.5rem;
  }
  
  .experience-title {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
  }
  
  .vehicles__static__title {
    font-size: 1.9rem;
  }
  
  .vehicles__static__subtitle {
    font-size: 0.95rem;
  }
  
  .vehicles__grid {
    gap: 1.2rem;
  }
  
  .vehicle__image__wrapper {
    height: 200px;
  }
  
  .vehicle__content {
    padding: 1.2rem;
  }
  
  .vehicle__name {
    font-size: 1.3rem;
  }
  
  .vehicle__description {
    font-size: 0.9rem;
  }
  
  .vehicle__specs {
    gap: 1rem;
    justify-content: center;
  }
  
  .spec__item {
    font-size: 0.85rem;
  }
  
  .feature__tag {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
  }
  
  .feature__tag i {
    font-size: 0.75rem;
  }
  
  .vehicle__book__btn {
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
  }
  
  .modal-content {
    max-width: calc(100% - 20px);
    padding: 18px 12px;
  }
  
  .modal-title {
    font-size: 1.4rem;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 10px 8px;
    font-size: 0.9rem;
  }
  
  .whatsapp-btn {
    font-size: 1rem;
    padding: 12px 16px;
  }
}

@media (max-width: 400px) {
  .vehicles__static__title {
    font-size: 1.7rem;
  }
  
  .vehicle__card:hover {
    transform: translateY(-8px) scale(1.01);
  }
  
  .form-group input {
    padding: 9px 6px;
    font-size: 0.85rem;
  }
}