@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap");

body {
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: "Montserrat", sans-serif;
  background-color: #111;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.bg-img {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url("images/home-bg.png") center center/cover no-repeat;
  transform: scale(1.2);
  animation: zoomOut 1.5s ease-out forwards;
}

.section {
  min-height: 100vh;
  padding: 100px 50px;
  background-color: #f4f4f4;
}

@keyframes zoomOut {
  0% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 80px;
  background-color: transparent;
  transition: background-color 0.3s ease;
  z-index: 1;
}


.logo-container {
  margin-left: 10%;
  display: flex;
  align-items: center;
}

.m-logo {
  height: 50px;
}

.navbar1 {
  position: relative;
  color: #111;
  text-decoration: none;
  font-family: "Share Tech", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 150%;
  margin-right: 80px;
}

.navbar1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: #111;
  transition: width 0.3s ease;
}

.navbar1:hover::after {
  width: 100%;
}

.background {
  position: relative;
  text-align: center;
  width: 100%;
}

.pop-text {
  color: white;
  font-size: 7rem;
  font-weight: 700;
  animation: popUp 1s ease-out forwards;
  opacity: 0;
  position: absolute;
  margin-left: 416px;
  margin-top: -273px;
  transform: scale(0.5);
}

.pop-text-sub {
  color: rgb(0, 0, 0);
  position: absolute;
  font-size: 1.3rem;
  font-weight: 700;
  animation: popUp 1s ease-out forwards;
  opacity: 0;
  margin-top: -300px;
  transform: scale(0.5);
  margin-left: 797px;
}

@keyframes popUp {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.car-container {
  position: absolute;
  width: 1000px;
  height: 500px;
  margin-top: -30px;
  z-index: 1;
}

.car-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  margin-top: 43px;
  transform: scale(0.9);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.car-image.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.sections {
  display: flex;
  position: absolute;
  gap: 20px;
  margin-top: 570px;
  z-index: 2;
  font-weight: bold;
}

.section-number {
  font-size: 20px;
  color: white;
  cursor: pointer;
  transition: color 0.3s ease;
}

.section-number.active {
  color: black;
}

.home__button {
  z-index: 1;
  display: flex;
  position: absolute;
  color: aliceblue;
  border: 2px solid hsl(158, 89%, 30%);
  width: 70px;
  text-decoration: none;
  height: 70px;
  border-radius: 50%;
  align-items: center;
  animation: popUp 1s ease-out forwards;
  justify-content: center;
  justify-self: center;
  cursor: pointer;
  font-size: 18px;
  margin-top: 430px;
  font-weight: bold;
  top: 40%;
  transition: box-shadow 0.3s ease;
}

.home__button::before {
  content: "";
  border: 2px solid hsl(158, 98%, 43%);
  width: 90px;
  height: 90px;
  position: absolute;
  border-radius: 50%;
  transition: 0.3s;
  animation: button 3s infinite;
}

.home__button:hover {
  box-shadow: 0 0 15px hsl(158, 98%, 43%), 0 0 30px hsl(158, 98%, 43%),
    0 0 45px hsl(158, 98%, 43%), 0 0 60px hsl(158, 98%, 43%),
    0 0 75px hsl(158, 98%, 43%);
}

#home,
#models,
#info,
#contact {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
}

#about {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  padding: 50px;
  background: #d97d38;
  opacity: 0;
  animation: popOut 1s ease-out forwards;
}

.about-text {
  padding: 20px;
  text-align: center;
}

.about-text h2 {
  font-size: 48px;
  font-weight: bold;
  color: #FFFFFF;
}

.about-text h2 span {
  color: #000000;
  padding: 5px;
}

.about-text p {
  font-size: 25px;
  color: #FFFFFF;
  max-width: 600px;
  margin: 0 auto;
}


.video {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.about-video video {
  width: 800px;
  right: 400px;
  border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

@keyframes popOut {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}


    .footer2 {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background-color: #333;
      color: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 20px;
      box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.3);
      z-index: 999999;
    }

    .footer2 button {
      padding: 8px 16px;
      background-color: #4CAF50;
      border: none;
      border-radius: 4px;
      color: white;
      cursor: pointer;
      margin-right: 3%;
    }

    .footer2 button:hover {
      background-color: #45a049;
    }
