/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: #0a0a0a;
  color: #fff;
  scroll-behavior: smooth;
}

/* RESPONSIVE CONTAINER */
.container {
  width: 100%;
  max-width: 1400px;     /* Recommended wide desktop max */
  margin: 0 auto;
  padding: 0 20px;
}

/* NAVBAR */
.navbar {
  position: fixed;
  width: 100%;
  background: rgba(0,0,0,0.8);
  padding: 1rem 0;
  z-index: 100;
  display: flex;
  justify-content: center;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  color: #fff;
  font-weight: bold;
}
.logo span {
  color: #e10600;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}
.nav-links a {
  text-decoration: none;
  color: #fff;
  transition: 0.3s;
}
.nav-links a:hover {
  color: #e10600;
}

/* TOP RIGHT BUTTON STYLE (unchanged) */
.team-btn, 
.left-btn {
  background-color: #ff0000;
  color: white;
  padding: 10px 18px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}
.team-btn:hover,
.left-btn:hover {
  background-color: #c70000;
  transform: scale(1.05);
}

/* HERO SECTION */
.hero {
  position: relative;
  overflow: hidden;
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
}
.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
}
.hero h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero p {
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

/* BUTTON */
.btn {
  background: #e10600;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}
.btn:hover {
  background: #fff;
  color: #e10600;
}

/* SECTION STYLE */
section {
  padding: 5rem 1rem;
  text-align: center;
}

/* DRIVERS GRID */
.driver-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.driver-card {
  background: #111;
  border-radius: 10px;
  padding: 1rem;
  width: 250px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.driver-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(225,6,0,0.4);
}
.driver-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* EXPLORE BUTTON SECTION */
.explore {
  background: radial-gradient(circle at top left, #e10600, #000);
  color: #fff;
  padding: 6rem 1rem;
}

/* CONTACT SECTION */
#contact {
  padding: 80px 1rem;
  background: #111;
  display: flex;
  justify-content: center;
  align-items: center;
}

#contact .container {
  max-width: 600px;
  width: 100%;
}

#contact form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#contact input,
#contact textarea {
  padding: 12px;
  border-radius: 10px;
  border: none;
}

/* FOOTER */
.footer {
  background: #000;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* =============================
    RESPONSIVE MEDIA QUERIES
   ============================= */

/* TABLETS */
@media (max-width: 992px) {
  .nav-links {
    gap: 1rem;
  }

  .hero h2 {
    font-size: 2.4rem;
  }

  .driver-card {
    width: 230px;
  }

  .container {
    padding: 0 15px;
  }
}

/* PHONES */
@media (max-width: 768px) {

  /* Navbar becomes stacked */
  .navbar .container {
    flex-direction: column;
    gap: 10px;
  }

  /* nav links wrap */
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    height: 80vh;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .driver-grid {
    gap: 1.3rem;
  }
}

/* SMALL PHONES */
@media (max-width: 480px) {
  .hero h2 {
    font-size: 1.7rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .nav-links {
    gap: 0.6rem;
  }
  .team-btn {
    padding: 7px 12px;
    font-size: 0.9rem;
  }
}
