/* Simplified Car Section with Zoomed Images */
.simple-car-section {
  padding: 80px 0;
background: linear-gradient(135deg, #eef6ee 0%, #ebedf1 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  display: block;
  color: var(--secondary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-size: 14px;
}

.section-title {
  font-size: 36px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.section-description {
  max-width: 600px;
  margin: 0 auto;
  color: var(--gray-text);
  font-size: 18px;
}

/* Cars Grid */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

@media (max-width: 768px) {
  .cars-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Car Card with Zoomed Image */
.car-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.car-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Car Image with Zoom Effect */
.car-image {
  position: relative;
  height: 250px;
  overflow: hidden;
  cursor: pointer;
}

.car-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.1);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.car-card:hover .car-image img {
  transform: scale(1.2);
}

.image-zoom-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.car-image:hover .image-zoom-overlay {
  opacity: 1;
}

.image-zoom-overlay i {
  color: white;
  font-size: 32px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.car-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--secondary-color);
  color: var(--primary-color);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

/* Car Content */
.car-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.car-content h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 22px;
  line-height: 1.2;
}

.car-specs {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.car-specs span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray-text);
  font-weight: 500;
  background: #f8f9fa;
  padding: 6px 12px;
  border-radius: 20px;
}

.car-specs i {
  color: var(--secondary-color);
  font-size: 12px;
}

.car-description {
  color: var(--gray-text);
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 14px;
  flex: 1;
}

.car-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  gap: 15px;
}

.price {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  white-space: nowrap;
}

.car-price .btn {
  padding: 10px 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

/* Section CTA */
.section-cta {
  text-align: center;
}

.btn-large {
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.cta-note {
  color: var(--gray-text);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0.8;
}

.cta-note i {
  color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .simple-car-section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .section-description {
    font-size: 16px;
  }
  
  .car-image {
    height: 220px;
  }
  
  .car-content {
    padding: 20px;
  }
  
  .car-content h3 {
    font-size: 20px;
  }
  
  .car-price {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  
  .price {
    text-align: center;
  }
  
  .car-price .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Image Modal */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: var(--primary-color);
  transform: rotate(90deg);
}

.modal-image {
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
  display: block;
}

.modal-info {
  padding: 30px;
  background: white;
}

.modal-info h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 24px;
}

.modal-info p {
  color: var(--gray-text);
  margin-bottom: 20px;
  line-height: 1.6;
}

.modal-info .btn {
  padding: 12px 30px;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.car-card {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.car-card:nth-child(1) { animation-delay: 0.1s; }
.car-card:nth-child(2) { animation-delay: 0.2s; }
.car-card:nth-child(3) { animation-delay: 0.3s; }

/* Zoom in animation for images */
@keyframes zoomIn {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1.2);
  }
}

.car-card:hover .car-image img {
  animation: zoomIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}