* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: white;
  background: linear-gradient(to right, #0f0f0f, #1c1c1c);
  transition: background 1s ease;
  
}

header {
  /* background: rgba(0, 0, 0, 0.85); */
  padding: 1rem 2rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

h1, h2, h3 {
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.5px;
}


.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 40px;
  height: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #f0f0f0;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #00f6ff;
  
}

main {
  padding-top: 100px;
}

section {
  padding: 5rem 2rem;
  text-align: center;
}

.hero {
  height: 100vh;
  background: url('https://bmw.scene7.com/is/image/BMW/DI21_000048047_3000_3000?wid=3000&hei=3000') center/cover no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: -100px; 
  padding-top: 100px;  
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.362);
  z-index: 1;
}

.hero h1, .hero p {
  z-index: 2;
  position: relative;
}


.models {
  background: linear-gradient(135deg, #1a1a1d, #2d2d30);
  background:url('https://bmw.scene7.com/is/image/BMW/x3-mobile-banner-image-1?wid=3000&hei=3000') center/cover no-repeat;
}

.models h2 {
  margin-bottom: 2rem;
}

.model-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.model-card {
  background: #111;
  border-radius: 10px;
  overflow: hidden;
  width: 320px;
  box-shadow: 0 0 10px #00f6ff33;
}

.model-card img {
  width: 100%;
  display: block;
}

.model-card h3 {
  margin: 1rem 0;
}

.about, .services, .contact {
  background: linear-gradient(135deg, #101010, #1e1e1e);
}

/* Service Cards Layout */
.services ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 0;
  margin-top: 2rem;
}

.services li {
  list-style: none;
  background: #111;
  padding: 2rem 1.5rem;
  border-radius: 10px;
  width: 260px;
  font-size: 1rem;
  box-shadow: 0 0 10px #00f6ff22;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services li:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 0 15px #00f6ff66;
}


/* service Section Styling */

.services {
  background: linear-gradient(135deg, #101010, #1e1e1e);
  padding: 5rem 2rem;
  text-align: center;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.service-card {
  background: #111;
  border-radius: 10px;
  padding: 2rem 1.5rem;
  text-align: center;
  width: 260px;
  box-shadow: 0 0 10px #00f6ff33;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.service-card i {
  color: #00f6ff;
  margin-bottom: 1rem;
}

.service-card h3 {
  color: #f0f0f0;
  margin-top: 1rem;
  font-size: 1.1rem;
}

.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #00f6ff66;
  filter: brightness(1.05);
}



/* Service Section End here */



@media (max-width: 768px) {
  .model-gallery {
    flex-direction: column;
    align-items: center;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
  }

  .logo span {
    display: none;
  }
}



.model-card {
  background: #111;
  border-radius: 10px;
  overflow: hidden;
  width: 320px;
  box-shadow: 0 0 10px #00f6ff22;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.model-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px #00f6ff66;
  filter: brightness(1.05);
}

/* Smooth gradient background with section distinction */
section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(15,15,15,0.85), rgba(28,28,28,0.85));
  z-index: 0;
}

section > * {
  position: relative;
  z-index: 1;
}

/* Specific background images for sections */
#about {
  background:url('https://www.pixelstalk.net/wp-content/uploads/images6/BMW-HD-Wallpaper-4K-Free-download.jpg') center/cover no-repeat;
  color: #f0f0f0;
  
}

/* contact section */

.contact {
  background: linear-gradient(135deg, #101010, #1e1e1e);
  padding: 4rem 2rem;
  text-align: center;
}

.contact h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
  color: #00f6ff;
}

.contact p {
  color: #ccc;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.social-icons .icon {
  width: 50px;
  height: 50px;
  background: #222;
  color: #00f6ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.25rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.social-icons .icon:hover {
  transform: scale(1.1);
  background: #00f6ff;
  color: #000;
}


/* contact section ends here */

