* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
  }
  
  body {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.7)),
      url('IMAGES/background.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  header {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .navbar {
    position: relative;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  
  .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    font-weight: bold;
    font-size: 16px;
    line-height: 1.2;
  }
  
  .logo img {
    width: 60px;
    height: auto;
  }
  
  nav {
    display: flex;
    gap: 30px;
    position: relative;
    z-index: 10;
  }
  
  nav a {
    color: #f5f5f5;
    text-decoration: none;
    font-size: 22px;
    font-weight: 500;
    transition: color 0.3s, transform 0.2s ease-in-out;
  }
  
  nav a:hover {
    color: #a259ff;
    transform: scale(1.1);
  }
  
  nav a:active {
    color: #a259ff;
    transform: scale(1);
  }
  
  nav a:focus {
    outline: none;
  }
  
  .auth-buttons {
    display: flex;
    gap: 15px;
  }
  
  .auth-buttons button {
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
  }
  
  .auth-buttons .login {
    background: transparent;
    color: #f5f5f5;
    border: 1px solid #a259ff;
  }
  
  .auth-buttons .signup {
    background: #a259ff;
    color: #f5f5f5;
    border: 1px solid #a259ff;
  }
  
  .auth-buttons .logout {
    background: #a259ff;
    color: #f5f5f5;
    border: 1px solid #a259ff;
  }
  
  .auth-buttons button:hover {
    background: #a259ff;
    color: #f5f5f5;
  }
  
  main {
    flex-grow: 1;
    display: flex;
    padding: 40px;
    align-items: center;
  }
  
  .main-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .content-left {
    flex: 1;
    padding-right: 50px;
    max-width: 50%;
  }
  
  .content-left h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #a259ff;
  }
  
  .content-left p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #f5f5f5;
  }
  
  .cta-buttons {
    display: flex;
    gap: 20px;
  }
  
  .cta-buttons button {
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
  }
  
  .book-now {
    background: #a259ff;
    color: white;
    border: none;
  }
  
  .explore {
    background: transparent;
    color: white;
    border: 1px solid #a259ff;
  }
  
  .cta-buttons button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }
  
  .content-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }
  
  .car-image {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
    width: 550px;
    height: auto;
  }
  
  .car-image img {
    width: 100%;
    max-width: 550px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(255, 255, 255, 0.15));
  }
  
  .container {
    position: relative;
    width: 800px;
    background: #212121;
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .left-box {
    background-color: #2a2a2a;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  
  .left-box img {
    max-width: 140%;
    height: auto;
    margin-right: 65px;
  }
  
  .left-signup {
    background-color: #2a2a2a;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  
  .left-signup img {
    max-width: 125%;
    height: auto;
    margin-left: -20px;
  }
  
  .right-box {
    flex: 1.2;
    padding: 40px;
    color: #f5f5f5;
  }
  
  .right-box h2 {
    font-size: 21.5px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    line-height: 1.4;
  }
  
  .right-box p {
    font-size: 14px;
    text-align: center;
    color: #e0e0e0;
    margin-bottom: 25px;
  }
  
  .right-box input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    font-size: 14px;
    border: 1px solid #3a3a3a;
    border-radius: 4px;
    background-color: #2a2a2a;
    color: #f5f5f5;
  }
  
  .right-box button {
    width: 100%;
    padding: 12px;
    background: #a259ff;
    color: #f5f5f5;
    border: none;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    margin-bottom: 15px;
  }
  
  .options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 10px;
    color: #e0e0e0;
  }
  
  .options .remember {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  
  .options .remember input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: #a259ff;
    cursor: pointer;
    margin: 0;
  }
  
  .options .remember label {
    cursor: pointer;
    display: flex;
    align-items: center;
    margin: 0;
    color: #e0e0e0;
  }
  
  .signup {
    font-size: 13px;
    text-align: center;
  }
  
  .signup a {
    color: #a259ff;
    text-decoration: none;
  }
  
  #reviews {
    padding: 80px 20px;
    background: transparent;
    text-align: center;
  }
  
  #reviews h2 {
    font-size: 40px;
    color: #a259ff;
    margin-bottom: 20px;
  }
  
  .review {
    background-color: #212121;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 8px;
  }
  
  .review p {
    font-size: 18px;
    color: #e0e0e0;
    line-height: 1.6;
  }
  
  .review strong {
    font-size: 18px;
    color: #f5f5f5;
    display: block;
    margin-top: 10px;
  }
  
  #contact {
    padding: 100px 20px;
    color: #f5f5f5;
    text-align: center;
    font-size: 20px;
    background: transparent;
  }
  
  #contact h2 {
    font-size: 27px;
    margin-bottom: 20px;
    color: #a259ff;
  }
  
  .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #a259ff;
    text-decoration: none;
    line-height: 1;
  }
  
  .close-btn:hover {
    color: #8c45e0;
  }
  
  .login-header {
    text-align: center;
  }
  
  .login-header h1 {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #f5f5f5;
  }
  
  .login-header .welcome-text {
    font-size: 16px;
    color: #e0e0e0;
    margin: 0 auto;
    max-width: 500px;
    line-height: 1.4;
  }
  
  table {
    width: 100%;
    background-color: #2a2a2a;
    color: #f5f5f5;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
  }
  
  th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #3a3a3a;
  }
  
  th {
    background-color: #333;
    color: #a259ff;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }
  
  tr:hover {
    background-color: #303030;
  }
  
  .dashboard-container {
    width: 95%;
    margin: 80px auto;
  }
  
  .action-buttons {
    margin: 15px 0;
    display: flex;
    gap: 10px;
  }
  
  .action-buttons button {
    padding: 10px 20px;
    border: none;
    background-color: #a259ff;
    color: #f5f5f5;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
  }
  
  .action-buttons button:hover {
    background-color: #8c45e0;
  }
  
  .search-container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
  }
  
  .search-container input {
    padding: 8px;
    margin-right: 10px;
    width: 200px;
    background-color: #2a2a2a;
    color: #f5f5f5;
    border: 1px solid #3a3a3a;
  }
  
  .search-container button {
    padding: 8px 16px;
    background-color: #a259ff;
    color: #f5f5f5;
    border: none;
    border-radius: 5px;
  }
  
  .car-image.animated {
    animation: slideInAndFloat 3s ease-out forwards, bobbing 4s 3s infinite ease-in-out;
    transform: translateX(100vw); /* Start from off-screen right */
  }
  
  @keyframes slideInAndFloat {
    0% {
      transform: translateX(100vw) rotate(0deg); /* Start from off-screen right */
      opacity: 0;
    }
    60% {
      transform: translateX(-30px) rotate(-2deg); /* Slight overshoot */
      opacity: 1;
    }
    80% {
      transform: translateX(15px) rotate(1deg); /* Bounce back */
    }
    100% {
      transform: translateX(0) rotate(0deg); /* Final position */
    }
  }
  
  @keyframes bobbing {
    0% {
      transform: translateY(-5px) rotate(-1deg);
    }
    50% {
      transform: translateY(5px) rotate(1deg);
    }
    100% {
      transform: translateY(-5px) rotate(-1deg);
    }
  }

/* Admin theme colors for vehicle.php */
body.vehicle-page {
  background-color: #1f1f1f;
  color: #f5f5f5;
  font-family: 'Poppins', sans-serif;
}

.vehicle-page .navbar {
  background: #212121;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.vehicle-page .navbar nav a {
  color: #f5f5f5;
}

.vehicle-page .navbar nav a:hover {
  color: #a259ff;
}

.vehicle-page .logout {
  background-color: #a259ff;
  color: white;
}

.vehicle-page .logout:hover {
  background-color: #8c45e0;
  color: white;
}

.vehicle-page .container {
  background-color: #212121;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.vehicle-page .search-filter input[type="text"] {
  background-color: #2a2a2a;
  color: white;
  border: none;
}

.vehicle-page .search-filter button {
  background: #a259ff;
  color: white;
}

.vehicle-page .search-filter button:hover {
  background: #8c45e0;
}

.vehicle-page .vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.vehicle-page .vehicle-card {
  background-color: #2a2a2a;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.vehicle-page .vehicle-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.3);
}

.vehicle-page .vehicle-card h3 {
  color: #f5f5f5;
}

.vehicle-page .vehicle-card .price {
  color: #a259ff;
}

.vehicle-page .vehicle-card .desc {
  color: #aaa;
}

.vehicle-page .vehicle-card .book-btn {
  background-color: #a259ff;
  color: white;
}

.vehicle-page .vehicle-card .book-btn:hover {
  background-color: #8c45e0;
}

/* Dark theme styling for homepage.php and homepage2.php */
body.dark-theme {
  background-color: #1f1f1f;
  color: #f5f5f5;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
}

.dark-theme .navbar {
  background: #212121;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  padding: 15px 40px;
}

.dark-theme .navbar nav a {
  color: #f5f5f5;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.dark-theme .navbar nav a:hover {
  color: #a259ff;
}

.dark-theme .auth-buttons .login,
.dark-theme .auth-buttons .signup,
.dark-theme .auth-buttons .logout {
  background-color: #a259ff;
  color: white;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 10px 25px;
  border-radius: 4px;
}

.dark-theme .auth-buttons .login:hover,
.dark-theme .auth-buttons .signup:hover,
.dark-theme .auth-buttons .logout:hover {
  background-color: #8c45e0;
  color: white;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.dark-theme .logo span {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.dark-theme h1 {
  color: #a259ff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.dark-theme .content-left p {
  color: #e0e0e0;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  line-height: 1.6;
}

.dark-theme #reviews, 
.dark-theme #contact {
  background-color: #212121;
  margin: 30px 40px;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.dark-theme #reviews h2, 
.dark-theme #contact h2 {
  color: #a259ff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.dark-theme .review {
  background-color: #2a2a2a;
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 15px;
}

.dark-theme .review p {
  color: #e0e0e0;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
}

.dark-theme .review strong {
  color: #f5f5f5;
  font-weight: 500;
}

.dark-theme #contact p {
  color: #e0e0e0;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  line-height: 1.6;
}
