/* Navbar Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
  }
  
  /* Navbar Styling */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: #212529;
    color: #fff;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 50px; /* Increase gap between nav items */
    margin: 0 auto; /* Centers the links */
    padding: 0;
  }
  
  .nav-links li {
    display: inline-block;
  }
  
  .nav-links a {
    text-decoration: none;
    color: white;
    font-size: 18px;
  }
  
  .logo-container {
    flex: 1;
  }
  
  .contact-btn {
    padding: 10px 20px;
    background: #551a1a;
    border-radius: 20px;
    color: white;
    text-align: center;
    font-size: 16px;
    margin-left: 40px;
  }
  
  @media (max-width: 768px) {
    .nav-links {
      flex-direction: column;
      display: none;
    }
  
    .menu-toggle {
      display: block;
    }
  }
  
  .dropdown-menu {
    display: none;
    position: absolute;
    background: black;
    padding: 10px;
    list-style: none;
  }
  
  .dropdown:hover .dropdown-menu {
    display: block;
  }
  
  .menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: white;
  }
  
  @media (max-width: 768px) {
    .nav-links {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 60px;
      background: black;
      width: 100%;
    }
  
    .menu-toggle {
      display: block;
    }
  }
  
  /* Logo */
  .logo {
    font-size: 18px;
    font-weight: bold;
  }
  
  /* Navbar Links */
  .nav-links {
    list-style: none;
    display: flex;
  }
  
  .nav-links li {
    margin: 0 15px;
  }
  
  .nav-links a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    transition: 0.3s;
  }
  
  .nav-links a:hover {
    color: #72676f;
  }
  
  .contact-btn {
    background: #412227;
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    transition: 0.3s;
  }
  
  .contact-btn:hover {
    background: #391e22;
  }
  .bebas-neue-regular h1 {
    font-family: "Bebas Neue", serif;
    font-weight: 500;
    font-style: normal;
  }
  
  .glass-box {
    width: 90%;
    max-width: 1200px;
    height: auto;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    padding: 20px;
  }
  
  #H1S {
    text-align: left;
    margin-left: 50px; /* Ensure text stays aligned properly */
    max-width: 60%; /* Prevent text from spanning the full width */
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Ensures text stays left, image right */
    flex-wrap: wrap;
    position: relative;
    padding: 20px;
}

#model {
    position: absolute;
    right: 5px; /* Adjust position to hover on the right */
    bottom: 50px;
    width: 35%; /* Resize image to fit well */
    animation: float 3s infinite ease-in-out;
    }
    @keyframes float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-10px); }
    }
  main {
    padding: 20px;
  }
  
  .hero {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 15px;
  }
  
  .logo {
    width: 10%;
  }
  
  .hero-content h1 {
    font-size: 3em;
    line-height: 1.2;
  }
  
  .content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 20px;
  }
  
  .content-item {
    display: flex;
    align-items: center;
    margin: 20px;
    max-width: 500px;
  }
  
  .content-image img {
    max-width: 150px;
    height: auto;
    margin-right: 20px;
  }
  
  #social {
    display: flex;
    justify-content: center;
    margin-left: 430px;
    margin-right: 100px;
    gap: 20px;
    padding: 20px;
  }
  
  #social a img {
    border-radius: 100%;
    width: 40px;
    height: 40px;
  }
  
  footer {
    text-align: center;
    padding: 20px;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .hero {
      flex-direction: column;
      text-align: center;
    }
  
    .hero-content {
      flex-direction: column;
      text-align: center;
    }
  
    .content {
      flex-direction: column;
      align-items: center;
    }
  }
  .text-container {
    text-align: left;
    padding: 20px;
    margin-right: 100px; /* Adjust as needed */
}

.car-image {
    position: absolute;
    right: 20px; /* Adjust to place it in the margin */
    bottom: 10px;
    width: 100px; /* Resize if necessary */
}

body {
  opacity: 0;
  animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}