/* ============================================
   LP MOTORS - Main Stylesheet (Black & White)
   ============================================ */

:root {
  --bw: #000000;
  --bw-dark: #1a1a1a;
  --bw-gray: #6c757d;
  --bw-light: #f8f9fa;
  --bw-white: #ffffff;
  --dark: #1a1a1a;
  --darker: #000000;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  font-family: var(--font-sans);
  padding-top: 76px;
  background-color: #f8f9fa;
  color: #212529;
}

/* === NAVBAR === */
.navbar {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.navbar-brand {
  font-size: 0;
  letter-spacing: 0;
}

.navbar-brand img {
  height: 50px;
  width: auto;
}

/* === COLORS (Black & White) === */
.text-gold { color: #000000 !important; }
.bg-gold { background-color: #000000 !important; }
.border-gold { border-color: #000000 !important; }

.btn-gold {
  background-color: #000000;
  color: #ffffff;
  border-color: #000000;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-gold:hover, .btn-gold:focus, .btn-gold:active {
  background-color: #333333;
  border-color: #333333;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-outline-gold {
  color: #000000;
  border-color: #000000;
  background: transparent;
}
.btn-outline-gold:hover {
  background-color: #000000;
  color: #ffffff;
}

/* === HERO SECTION === */
.hero-section {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #222222 100%);
  min-height: 70vh;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="90" font-size="80" opacity="0.03" fill="white">LP</text></svg>') repeat;
  background-size: 200px;
}
.hero-section h1 {
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* === VEHICLE CARDS === */
.vehicle-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  overflow: hidden;
}
.vehicle-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}
.vehicle-card .card-img-top {
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.vehicle-card:hover .card-img-top {
  transform: scale(1.05);
}

/* === PAGE HEADER === */
.page-header {
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffffff, transparent);
}

/* === SIDEBAR === */
.sidebar {
  width: 260px;
  min-height: 100vh;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.sidebar .nav-link {
  border-radius: 6px;
  margin: 2px 0;
  padding: 10px 12px;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}
.sidebar .nav-link:hover {
  background: rgba(255,255,255,0.1);
}
.sidebar .nav-link.active {
  font-weight: 600;
}

/* === FLASH MESSAGES === */
.alert {
  border-radius: 8px;
  border: none;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    min-height: auto;
    height: auto;
    position: relative;
  }
  .hero-section {
    min-height: 50vh;
  }
  .hero-section h1 {
    font-size: 2rem;
  }
}

@media (max-width: 992px) {
  .sidebar {
    width: 100%;
    min-height: auto;
    position: relative;
    height: auto;
  }
}

/* === FORMS === */
.form-control:focus, .form-select:focus {
  border-color: #000000;
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.25);
}

/* === BADGES === */
.badge {
  font-weight: 500;
  padding: 5px 10px;
}

/* === CARDS === */
.card {
  border-radius: 10px;
  border: none;
}
.card-header {
  border-radius: 10px 10px 0 0 !important;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* === PAGINATION === */
.page-item.active .page-link {
  background-color: #000000;
  border-color: #000000;
  color: #ffffff;
}
.page-link {
  color: var(--dark);
}

/* === LOGO IN DARK BG === */
/* === SOCIAL LINKS === */
.social-links a:hover {
  color: #ffffff !important;
  opacity: 0.8;
}
