* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  display: flex;
  background-color: #0a0a0a;
  color: #eee;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Sidebar */
.sidebar {
  width: 240px;
  background: #111;
  padding: 20px;
  position: fixed;
  height: 100vh;
  transition: all 0.4s ease;
}
.sidebar h2 {
  text-align: center;
  color: #00b4ff;
  margin-bottom: 30px;
}
.sidebar ul {
  list-style: none;
}
.sidebar ul li {
  margin: 20px 0;
}
.sidebar ul li a {
  color: #aaa;
  text-decoration: none;
  font-size: 18px;
  display: block;
  padding: 10px;
  border-radius: 8px;
  transition: 0.3s;
}
.sidebar ul li a:hover,
.sidebar ul li a.active {
  background: #00b4ff;
  color: #000;
  box-shadow: 0 0 10px #00b4ff;
}

/* Main Section */
.main {
  margin-left: 260px;
  padding: 40px;
  flex: 1;
  transition: 0.3s;
}
.main.collapsed {
  margin-left: 80px;
}

/* Header */
header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}
header h1 {
  color: #00b4ff;
  font-size: 36px;
}
header p {
  color: #bbb;
}
.menu-btn {
  position: absolute;
  left: 0;
  background: none;
  border: none;
  color: #00b4ff;
  font-size: 24px;
  cursor: pointer;
}

/* Sections */
section {
  margin-bottom: 40px;
  animation: fadeIn 1.2s ease;
}
section h2 {
  color: #00b4ff;
  margin-bottom: 15px;
}
section p, ul {
  color: #bbb;
  line-height: 1.6;
}
section ul {
  margin-top: 10px;
}

/* Configurator */
.controls label {
  font-weight: bold;
  margin-right: 10px;
}
select {
  background: #111;
  color: #fff;
  border: 1px solid #00b4ff;
  padding: 6px;
  margin-right: 15px;
  border-radius: 5px;
}
.car-preview {
  margin-top: 20px;
  width: 300px;
  height: 150px;
  background: #007bff;
  border-radius: 10px;
  position: relative;
  transition: 0.5s;
  box-shadow: 0 0 20px #00b4ff44;
}
.wheels::before,
.wheels::after {
  content: "";
  position: absolute;
  bottom: -20px;
  width: 40px;
  height: 40px;
  background: #555;
  border-radius: 50%;
  animation: spin 4s linear infinite;
}
.wheels::before {
  left: 40px;
}
.wheels::after {
  right: 40px;
}

/* Contact Form */
form {
  display: flex;
  flex-direction: column;
  max-width: 400px;
}
input, textarea {
  background: #111;
  color: #fff;
  border: 1px solid #00b4ff;
  margin: 10px 0;
  padding: 10px;
  border-radius: 5px;
}
button {
  background: #00b4ff;
  color: #000;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}
button:hover {
  background: #008ed6;
}

/* Animations */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Footer */
footer {
  text-align: center;
  color: #777;
  font-size: 14px;
  margin-top: 60px;
}
