/* Truck Financing Service Page */
@import url('service-rented-trailer.css');

/* Introduction Block */
.intro-block {
  background: linear-gradient(135deg, #f39a3d 0%, #e87b1e 100%);
  color: #fff;
  padding: 50px 40px;
  border: none;
  box-shadow: 0 20px 40px rgba(243, 154, 61, 0.2);
}

.intro-block h2 {
  color: #fff;
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 24px;
}

.intro-item {
  text-align: center;
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.intro-item:hover {
  transform: translateY(-8px);
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
}

.intro-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #f39a3d 0%, #e87b1e 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(243, 154, 61, 0.3);
  transition: all 0.3s ease;
}

.intro-item:hover .intro-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 24px rgba(243, 154, 61, 0.4);
}

.intro-icon svg {
  width: 32px;
  height: 32px;
  stroke: #fff;
  stroke-width: 2.5;
}

.intro-item h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 16px 0 12px;
  color: #0f2740;
  line-height: 1.3;
}

.intro-item p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}

/* Vehicles Section */
.vehicles-section {
  background: #f8fafc;
  padding: 60px 0;
}

.cargo-section {
  background: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  color: #0f2740;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-header p {
  color: #6b7280;
  font-size: 1.1rem;
  max-width: 720px;
  margin: 0 auto;
}

/* Vehicle Grid */
.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}

/* Vehicle Card */
.vehicle-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(13, 38, 76, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.vehicle-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(13, 38, 76, 0.15);
}

/* Vehicle Image */
.vehicle-image {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8eef5 0%, #d1dce8 100%);
}

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

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

.vehicle-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(90deg, #f39a3d, #e87b1e);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(243, 154, 61, 0.4);
}

.vehicle-badge.electric {
  background: linear-gradient(90deg, #10b981, #059669);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

/* Vehicle Content */
.vehicle-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.vehicle-content h3 {
  color: #0f2740;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
}

/* Vehicle Specs */
.vehicle-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid #e8eef5;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spec-label {
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.spec-value {
  font-size: 0.9rem;
  color: #0f2740;
  font-weight: 700;
}

/* Vehicle Description */
.vehicle-description {
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Vehicle Features */
.vehicle-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.vehicle-features li {
  color: #374151;
  font-size: 0.9rem;
  padding: 6px 0;
  line-height: 1.5;
}

/* Vehicle Pricing */
.vehicle-pricing {
  margin-top: auto;
  padding-top: 20px;
  border-top: 2px solid #e8eef5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.price-tag {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-label {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
}

.price-value {
  font-size: 1.3rem;
  color: #e87b1e;
  font-weight: 800;
}

.vehicle-pricing .cta-button {
  padding: 10px 16px;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Financing Grid */
.financing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.financing-option {
  background: #f8fafc;
  padding: 24px;
  border-radius: 12px;
  border: 2px solid #e8eef5;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.financing-option:hover {
  border-color: #f39a3d;
  transform: translateY(-4px);
}

.financing-option h3 {
  color: #0f2740;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.financing-option p {
  color: #6b7280;
  margin-bottom: 16px;
  line-height: 1.6;
}


/* Responsive Design */
@media (max-width: 1024px) {
  .vehicles-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 1.8rem;
  }

  .intro-block {
    padding: 40px 24px;
  }

  .intro-block h2 {
    font-size: 1.8rem;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .intro-item {
    padding: 28px 20px;
  }

  .vehicles-grid {
    grid-template-columns: 1fr;
  }

  .vehicle-specs {
    grid-template-columns: 1fr;
  }

  .vehicle-pricing {
    flex-direction: column;
    align-items: stretch;
  }

  .vehicle-pricing .cta-button {
    width: 100%;
    justify-content: center;
  }

  .financing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .intro-block {
    padding: 32px 20px;
  }

  .intro-block h2 {
    font-size: 1.6rem;
    margin-bottom: 28px;
  }

  .intro-item {
    padding: 24px 16px;
  }

  .intro-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
  }

  .intro-icon svg {
    width: 28px;
    height: 28px;
  }

  .intro-item h3 {
    font-size: 1.1rem;
  }

  .intro-item p {
    font-size: 0.9rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .vehicle-content h3 {
    font-size: 1.1rem;
  }

  .price-value {
    font-size: 1.1rem;
  }
}

