* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #f8f9fa;
}

.top-navbar {
  background: rgba(0, 0, 0, 0.95);
  padding: 15px 0;
  transition: all 0.3s ease;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.top-navbar.scrolled {
  padding: 10px 0;
  background: rgba(0, 0, 0, 0.98);
}

.top-navbar .navbar-brand {
  font-size: 28px;
  font-weight: bold;
  color: #ffc107 !important;
  letter-spacing: 2px;
}

.sidebar {
  position: fixed;
  left: -280px;
  top: 0;
  bottom: 0;
  width: 280px;
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
  transition: 0.3s ease-in-out;
  z-index: 1001;
  padding-top: 80px;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar.show {
  left: 0;
}

.sidebar-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.sidebar-header h4 {
  color: #ffc107;
  margin: 0;
}

.sidebar-header p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  margin: 5px 0 0;
}

.sidebar .nav-item {
  margin: 5px 0;
}

.sidebar .nav-link {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 12px 20px;
  transition: all 0.3s;
  font-weight: 500;
  border-radius: 8px;
  margin: 0 10px;
}

.sidebar .nav-link i {
  width: 25px;
  margin-right: 15px;
  font-size: 18px;
}

.sidebar .nav-link:hover {
  background: #ffc107;
  color: #000;
  transform: translateX(5px);
}

.sidebar .nav-link:hover i {
  color: #000;
}

.sidebar .logout-btn {
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.sidebar .logout-btn .nav-link {
  color: #ff6b6b;
}

.sidebar .logout-btn .nav-link:hover {
  background: #ff6b6b;
  color: white;
}

.sidebar-toggle {
  position: fixed;
  left: 20px;
  top: 80px;
  z-index: 1002;
  background: #ffc107;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.sidebar-toggle:hover {
  background: #ffca2c;
  transform: scale(1.05);
}

.sidebar-toggle i {
  font-size: 20px;
  color: #000;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: none;
}

.overlay.show {
  display: block;
}

main {
  margin-left: 0;
  transition: 0.3s;
  padding-top: 80px;
}

.nav-link-top {
  color: white !important;
  font-weight: 500;
  margin: 0 10px;
  transition: all 0.3s;
}

.nav-link-top:hover {
  color: #ffc107 !important;
}

.search-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: 8px 20px;
  color: white;
  width: 250px;
  transition: all 0.3s;
}

.search-box:focus {
  background: rgba(255, 255, 255, 0.2);
  outline: none;
  width: 300px;
}

.hero {
  min-height: 90vh;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?w=1920")
    center/cover;
  opacity: 0.15;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.badge-new {
  background: #ffc107;
  color: #000;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 68px;
  font-weight: 800;
  color: white;
}

.hero h1 span {
  color: #ffc107;
}

.hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.btn-custom {
  background: #ffc107;
  color: #000;
  padding: 12px 35px;
  border-radius: 40px;
  font-weight: 600;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-custom:hover {
  background: #ffca2c;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 40px;
  }
  .search-box {
    width: 180px;
  }
  .sidebar-toggle {
    top: 70px;
    left: 10px;
    width: 40px;
    height: 40px;
  }
}

@media (min-width: 992px) {
  main {
    margin-left: 0;
  }
}

.car-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  margin-bottom: 30px;
}

.car-card:hover {
  transform: translateY(-10px);
}

.car-image {
  height: 250px;
  overflow: hidden;
}

.car-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

footer {
  background: #1a1a2e;
  color: white;
  padding: 50px 0 20px;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
