/* Modern Offers Page Styles */

/* Hero Section */
.offers-hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.offers-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(/%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 0;
}

.min-vh-50 {
  min-height: 50vh;
}

/* Vehicle Cards */
.vehicle-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.vehicle-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Vehicle Image */
.vehicle-image-container {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vehicle-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

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

.vehicle-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.vehicle-image-placeholder i {
  font-size: 4rem;
  color: #6c757d;
}


/* Vehicle Info */
.vehicle-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.model-name-section {
  margin-bottom: 20px;
}

.model-nameplate {
  max-width: 100%;
  height: auto;
  max-height: 50px;
  width: auto;
  object-fit: contain;
}

.model-name {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.2;
}

/* Specifications Grid */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 20px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 12px;
}

.spec-item {
  text-align: center;
}

.spec-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #dc3545;
  margin-bottom: 5px;
}

.spec-label {
  font-size: 0.875rem;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Pricing Section */
.pricing-section {
  margin-bottom: 20px;
  padding: 15px;
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  border-radius: 12px;
  color: white;
}

.price-main {
  text-align: center;
  margin-bottom: 10px;
}

.price-label {
  display: block;
  font-size: 0.875rem;
  opacity: 0.9;
  margin-bottom: 5px;
}

.price-amount {
  font-size: 2rem;
  font-weight: 700;
  display: block;
}

.price-discount {
  text-align: center;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.discount-label {
  font-size: 0.875rem;
  opacity: 0.9;
  margin-right: 8px;
}

.discount-amount {
  font-weight: 600;
  font-size: 1.1rem;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 15px;
  margin-top: auto;
}

.btn-lg {
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  flex: 1;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #dc3545;
  border: 2px solid #dc3545;
  color: white;
}

.btn-primary:hover {
  background: #c82333;
  border-color: #c82333;
  transform: translateY(-2px);
}

.btn-outline-primary {
  background: transparent;
  border: 2px solid #dc3545;
  color: #dc3545;
}

.btn-outline-primary:hover {
  background: #dc3545;
  color: white;
  transform: translateY(-2px);
}

/* Disclaimer */
.disclaimer {
  color: #6c757d;
  font-size: 0.875rem;
  margin: 0;
}

/* Additional Polish */
.container {
  position: relative;
  z-index: 1;
}

.vehicle-card {
  border: 1px solid rgba(0,0,0,0.05);
}

.vehicle-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #dc3545 0%, #fd7e14 50%, #dc3545 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.vehicle-card:hover::before {
  opacity: 1;
}

/* Smooth animations */
* {
  transition: all 0.3s ease;
}

/* Better typography */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.hero-title {
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.02em;
}

.model-name {
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.01em;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .vehicle-image-container {
    height: 200px;
  }
  
  .vehicle-image {
    max-width: 90%;
    max-height: 90%;
  }
  
  .vehicle-info {
    padding: 20px;
  }
  
  .model-name {
    font-size: 1.5rem;
  }
  
  .specs-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 15px;
  }
  
  .action-buttons {
    flex-direction: column;
  }
  
  .price-amount {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .offers-hero {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .vehicle-image-container {
    height: 180px;
  }
  
  .vehicle-image {
    max-width: 85%;
    max-height: 85%;
  }
  
  .vehicle-info {
    padding: 15px;
  }
}
