/* Chipola Classics Automotive Dealership */

:root {
  --primary-dark: #0a0a0a;
  --gold: #d4af37;
  --gold-dark: #b8941f;
  --text-light: #f5f5f5;
  --text-gray: #999;
}

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

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: var(--primary-dark);
  color: var(--text-light);
  line-height: 1.6;
}

.header {
  background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
  padding: 60px 20px;
  text-align: center;
  border-bottom: 3px solid var(--gold);
}

.brand-logo {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.tagline {
  font-size: 1.2rem;
  color: var(--text-gray);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.divider {
  height: 2px;
  width: 100px;
  background: var(--gold);
  margin: 20px auto;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.listing-card {
  background: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #333;
}

.listing-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
  border-color: var(--gold);
}

.image-container {
  position: relative;
  height: 320px;
  background: #000;
  overflow: hidden;
}

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

.listing-card:hover .listing-image {
  transform: scale(1.1);
}

.year-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gold);
  color: var(--primary-dark);
  padding: 8px 16px;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 4px;
}

.status-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(212, 175, 55, 0.9);
  color: var(--primary-dark);
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
}

.listing-content {
  padding: 30px;
}

.listing-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 15px;
}

.listing-description {
  color: var(--text-gray);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #333;
}

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

.spec-label {
  font-size: 0.75rem;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.spec-value {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 500;
}

.price-section {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
  padding: 20px;
  border-radius: 6px;
  text-align: center;
}

.price {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.footer {
  background: #000;
  padding: 40px 20px;
  text-align: center;
  border-top: 2px solid var(--gold);
  margin-top: 60px;
}

.contact-info {
  color: var(--text-gray);
  font-size: 1.1rem;
}

.contact-link {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--gold-dark);
}

@media (max-width: 1024px) {
  .listings-grid {
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  }
}

@media (max-width: 768px) {
  .listings-grid {
    grid-template-columns: 1fr;
  }
  
  .brand-logo {
    font-size: 2.5rem;
  }
}
