@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:wght@400;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

/* Reset and base styles */
* {
  margin:0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #0d0d0d;
  color: #ffffff;
  line-height: 1.6;
}

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

/* Header and Navigation */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #111;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #d4af37;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  text-decoration:underline;
  color: #d4af37;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
              url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?w=1920&h=1080&fit=crop') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-btn {
  display: inline-block;
  background-color: #d4af37;
  color: #000;
  padding: 1rem 2rem;
  text-decoration: none;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.cta-btn:hover {
  background-color: #b8941f;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Main Content */
main {
  padding-top: 80px; /* Account for fixed header */
}

section {
  padding: 4rem 0;
}

/* Section Titles */
h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #d4af37;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: #111;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h3 {
  font-family: 'Playfair Display', serif;
  color: #d4af37;
  margin-bottom: 1rem;
}

/* Vehicles Section */
.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.car-card {
  background-color: #111;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.car-card:hover {
  transform: translateY(-5px);
}

.car-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.car-info {
  padding: 1.5rem;
}

.car-name {
  font-family: 'Playfair Display', serif;
  color: #d4af37;
  margin-bottom: 0.5rem;
}

.car-details {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.car-price {
  font-size: 1.2rem;
  font-weight: 600;
  color: #d4af37;
  margin-bottom: 1rem;
}

.car-description {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.whatsapp-btn {
  display: inline-block;
  background-color: #25d366;
  color: #ffffff;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: background-color 0.3s ease;
  text-align: center;
}

.whatsapp-btn:hover {
  background-color: #128c7e;
}

.instagram-btn {
  display: inline-block;
  background-color: #E1306C;
  color: #ffffff;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: background-color 0.3s ease;
  text-align: center;
}

.instagram-btn:hover {
  background-color: #c81d5a;
}

/* Contact Section */
.contact-info-center {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem;
  background-color: #111;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.contact-info-center h3 {
  font-family: 'Playfair Display', serif;
  color: #d4af37;
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.contact-info-center p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.contact-info-center .whatsapp-btn {
  display: inline-block;
  margin-top: 1.5rem;
}

/* Footer */
footer {
  background-color: #111;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section h3 {
  font-family: 'Playfair Display', serif;
  color: #d4af37;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: #ffffff;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #d4af37;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #333;
  margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    padding: 1rem;
  }

  .nav-links {
    margin-top: 1rem;
  }

  .nav-links li {
    margin-left: 1rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .nav-links li {
    margin-left: 0.5rem;
  }
}

/* Sold Vehicles Section */
.sold-vehicles-section {
  background-color: #0a0a0a;
  padding: 4rem 0;
}

.sold-vehicles-section h2 {
  color: #d4af37;
  margin-bottom: 3rem;
}

.sold-vehicles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.sold-vehicle-card {
  background-color: #111;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  position: relative;
}

.sold-vehicle-card:hover {
  transform: translateY(-5px);
}

.sold-vehicle-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.sold-vehicle-info {
  padding: 1.5rem;
  text-align: center;
}

.sold-vehicle-info h3 {
  color: #d4af37;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.sold-vehicle-info .mileage {
  color: #bbb;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.sold-vehicle-info .status {
  color: #27ae60;
  font-weight: 600;
  font-size: 0.95rem;
}
