/* ============================================
   LUXEDRIVE — Premium Car Rental
   Dark Luxury Theme
   ============================================ */

/* ---- RESET & BASE ---- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0b0b0b;
  --bg-card: #111111;
  --bg-card-hover: #1a1a1a;
  --bg-surface: #161616;
  --bg-input: #1c1c1c;
  --text: #ffffff;
  --text-secondary: #9a9a9a;
  --text-muted: #666666;
  --accent: #f5d223;
  --accent-hover: #e0bd10;
  --accent-light: rgba(245, 166, 35, 0.1);
  --accent-glow: rgba(245, 166, 35, 0.3);
  --border: #222222;
  --border-light: #2a2a2a;
  --danger: #e74c3c;
  --success: #2ecc71;
  --info: #3498db;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 60px rgba(0, 0, 0, 0.7);
  --shadow-accent: 0 4px 30px rgba(245, 166, 35, 0.2);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background-color: var(--bg, #0b0b0b);
  color: var(--text, #ffffff);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}

button {
  cursor: pointer;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ---- UTILITY ---- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-lg {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  color: var(--text, #ffffff);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-label::before,
.section-label::after {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.text-accent {
  color: var(--accent, #f5d223);
}

.text-muted {
  color: var(--text-muted, #666666);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: #000;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.btn-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #000;
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--text-secondary);
  padding: 14px 20px;
}

.btn-ghost:hover {
  color: var(--accent);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 18px 44px;
  font-size: 1rem;
  letter-spacing: 1px;
}

.btn-block {
  width: 100%;
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}

.btn-danger:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* ---- FORM ELEMENTS ---- */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-select {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.95rem;
  transition: var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239A9A9A' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.form-select:focus {
  border-color: var(--accent);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

/* ---- BADGE ---- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
  letter-spacing: 0.5px;
}

.badge-accent {
  background: var(--accent-light);
  color: var(--accent);
}

.badge-success {
  background: rgba(46, 204, 113, 0.1);
  color: var(--success);
}

.badge-danger {
  background: rgba(231, 76, 60, 0.1);
  color: var(--danger);
}

.badge-info {
  background: rgba(52, 152, 219, 0.1);
  color: var(--info);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(11, 11, 11, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.navbar-brand .brand-icon {
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 800;
  font-size: 1.1rem;
  background-color: rgba(43, 43, 43, 0.85);
  border: 2px solid transparent;
}

.brand-icon img {
  height: 100%;
  width: auto;
  border-radius: var(--radius-sm);
}

.brand-icon:hover {
  border: 2px solid var(--accent);
  transform: scale(1.05);
  box-shadow: var(--accent-hover);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.navbar-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  letter-spacing: 0.3px;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--text);
}

.navbar-nav a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.navbar-nav a:hover::after,
.navbar-nav a.active::after {
  width: 100%;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.navbar-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

.navbar-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 70% 50%,
    rgba(245, 166, 35, 0.08) 0%,
    transparent 60%
  );
  z-index: 1;
}

.hero-bg::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg), transparent);
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--accent-light);
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title .highlight {
  color: var(--accent);
  position: relative;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 48px;
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.hero-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-car img {
  width: 100%;
  max-width: 650px;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
  animation: heroFloat 6s ease-in-out infinite;
  mask-image: linear-gradient(to right, transparent, black 30%);
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  filter: blur(60px);
}

/* ---- SEARCH BOX ---- */
.search-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: -60px;
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-lg);
}

.search-box-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 16px;
  align-items: end;
}

.search-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.search-field input,
.search-field select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
}

.search-field input:focus,
.search-field select:focus {
  border-color: var(--accent);
}

/* ============================================
   FEATURED CARS
   ============================================ */
.featured-cars .cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

/* ---- CAR CARD ---- */
.car-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.car-card:hover {
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: var(--shadow-accent);
}

.car-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a, #111);
  display: flex;
  align-items: center;
  justify-content: center;
}

.car-card-image img {
  width: 85%;
  height: auto;
  object-fit: contain;
  transition: var(--transition);
}

.car-card:hover .car-card-image img {
  transform: scale(1.05);
}

.car-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
}

.car-card-favorite {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  color: var(--text-secondary);
  font-size: 1rem;
}

.car-card-favorite:hover,
.car-card-favorite.active {
  background: var(--accent);
  color: #000;
}

.car-card-body {
  padding: 24px;
}

.car-card-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.car-card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
}

.car-card-rating .stars {
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 2px;
}

.car-card-rating .rating-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-left: 4px;
}

.car-card-specs {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.car-card-spec {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.car-card-spec svg {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.car-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.car-card-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}

.car-card-price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-secondary);
}

/* ============================================
   BEST CARS - ELITE COLLECTION
   ============================================ */
.best-cars {
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
  position: relative;
  overflow: hidden;
}

.best-cars::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 80%,
      rgba(245, 166, 35, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(245, 166, 35, 0.08) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.best-cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

.best-car-card {
  background: linear-gradient(145deg, #1a1a1a, #111111);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.best-car-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #ff6b35, var(--accent));
  opacity: 0;
  transition: var(--transition);
}

.best-car-card:hover {
  border-color: var(--accent);
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 60px rgba(245, 166, 35, 0.25);
}

.best-car-card:hover::before {
  opacity: 1;
}

.best-car-image {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a, #111);
  display: flex;
  align-items: center;
  justify-content: center;
}

.best-car-image img {
  width: 90%;
  height: auto;
  object-fit: contain;
  transition: var(--transition);
  filter: brightness(0.9);
}

.best-car-card:hover .best-car-image img {
  transform: scale(1.08);
  filter: brightness(1.1);
}

.best-car-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(245, 166, 35, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: var(--transition);
}

.best-car-card:hover .best-car-overlay {
  opacity: 1;
}

.best-car-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, var(--accent), #ff6b35);
  color: #000;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3);
}

.best-car-content {
  padding: 32px;
  background: linear-gradient(145deg, #111111, #0f0f0f);
}

.best-car-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.best-car-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.best-car-features {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.best-car-features span {
  background: rgba(245, 166, 35, 0.1);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(245, 166, 35, 0.2);
}

.best-car-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 20px;
}

.best-car-price .price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.best-car-price .per-day {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
  background: var(--bg-surface);
}

/* HOW IT WORKS */

.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.how-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 25px;
  border-radius: 12px;
  background: #1f1f1f;
  transition: all 0.3s ease;
}

.how-step:hover {
  transform: translateY(-5px);
  background: #262626;
}

.how-number {
  min-width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e6b400;
  color: black;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.how-content h3 {
  margin: 0 0 6px 0;
  font-size: 18px;
}

.how-content p {
  margin: 0;
  font-size: 14px;
  color: #bcbcbc;
  line-height: 1.6;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
/* WHY CHOOSE LUXDRIVE */

.choose-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.choose-card {
  background: #1f1f1f;
  padding: 35px 30px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

.choose-card:hover {
  transform: translateY(-6px);
  background: #262626;
}

.choose-icon {
  font-size: 34px;
  margin-bottom: 15px;
}

.choose-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.choose-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #bdbdbd;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
/* TESTIMONIALS */

.reviews-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.review-card {
  background: #1f1f1f;
  padding: 30px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-6px);
  background: #262626;
}

.review-stars {
  font-size: 18px;
  margin-bottom: 15px;
}

.review-text {
  font-size: 15px;
  line-height: 1.7;
  color: #bdbdbd;
  margin-bottom: 18px;
}

.review-author {
  font-weight: 600;
  font-size: 14px;
  color: #ffffff;
}

/* ============================================
   CTA SECTION
   ============================================ */
/* CTA SECTION */

.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: auto;
}

.cta-content h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 18px;
  color: #bdbdbd;
  margin-bottom: 35px;
  line-height: 1.6;
}

/* button improvement */

.cta-section .btn {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.cta-section .btn:hover {
  transform: translateY(-3px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .navbar-brand {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

.footer-column h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
}

.footer-column h4::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--accent);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.footer-column a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-column a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* ============================================
   PAGE HEADER (inner pages)
   ============================================ */
.page-header {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
  background: var(--bg-surface, #161616);
  border-bottom: 1px solid var(--border, #222222);
  color: var(--text, #ffffff);
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
  filter: blur(80px);
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  position: relative;
  margin-bottom: 12px;
  color: var(--text, #ffffff);
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary, #9a9a9a);
  position: relative;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb .separator {
  color: var(--text-muted);
}

/* ============================================
   CAR LISTING PAGE
   ============================================ */
.listing-section {
  padding: 60px 0;
}

.listing-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
}

/* Filters Sidebar */
.filters-sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.filter-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}

.filter-block h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-block h3 button {
  font-size: 0.75rem;
  color: var(--accent);
  cursor: pointer;
}

.price-range {
  padding: 8px 0;
}

.price-range input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  outline: none;
}

.price-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: 3px solid var(--bg);
}

.price-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.checkbox-item input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-light);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.checkbox-item input:checked + .checkmark {
  background: var(--accent);
  border-color: var(--accent);
}

.checkbox-item input:checked + .checkmark::after {
  content: "✓";
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
}

.checkbox-item:hover .checkmark {
  border-color: var(--accent);
}

/* Car Grid */
.car-grid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.car-grid-header p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.sort-select {
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.85rem;
  cursor: pointer;
}

.cars-grid-listing {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.pagination button {
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination button:hover,
.pagination button.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

/* ============================================
   CAR DETAILS PAGE
   ============================================ */
.car-details-section {
  padding: 40px 0 80px;
}

.car-details-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  margin-top: 40px;
}

/* Gallery */
.car-gallery {
  align-self: start;
}

.gallery-main {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.gallery-main img {
  width: 90%;
  height: auto;
  object-fit: contain;
}

.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-thumb {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
}

.gallery-thumb:hover,
.gallery-thumb.active {
  border-color: var(--accent);
}

.gallery-thumb img {
  width: 80%;
  height: auto;
  object-fit: contain;
}

/* Car Info */
.car-info {
  padding-top: 20px;
}

.car-info-header {
  margin-bottom: 24px;
}

.car-info-header h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.car-info-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.car-info-meta .rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.car-info-meta .rating .stars {
  color: var(--accent);
}

/* Specs */
.car-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.spec-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.spec-item-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}

.spec-item-text label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.spec-item-text span {
  font-size: 0.9rem;
  font-weight: 600;
}

/* Price Box */
.price-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 28px;
}

.price-box .price-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 20px;
}

.price-box .price-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
}

.price-box .price-period {
  font-size: 1rem;
  color: var(--text-secondary);
}

.booking-form-inline .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.total-line {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  margin-top: 16px;
  font-size: 1.1rem;
  font-weight: 600;
}

.total-line .total-amount {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.3rem;
}

/* Description */
.car-description {
  margin-top: 40px;
  grid-column: 1 / -1;
}

.car-description h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.car-description p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.car-features-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.car-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.car-features-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
}

/* ============================================
   BOOKING PAGE
   ============================================ */
.booking-section {
  padding: 40px 0 80px;
}

.booking-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  margin-top: 40px;
}

.booking-form-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.booking-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.booking-card h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.booking-card h2 .card-number {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #000;
  font-family: var(--font);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Order Summary */
.order-summary {
  position: sticky;
  top: 100px;
  align-self: start;
}

.summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.summary-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 24px;
}

.summary-car {
  display: flex;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.summary-car-img {
  width: 120px;
  height: 80px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.summary-car-img img {
  width: 90%;
}

.summary-car-info h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.summary-car-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.summary-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.summary-line.total {
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.summary-line.total span:last-child {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.4rem;
}

/* ============================================
   AUTH PAGES (Login/Register)
   ============================================ */
.auth-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 60px;
}

.auth-container {
  width: 100%;
  max-width: 440px;
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
}

.auth-header {
  text-align: center;
  margin-bottom: 36px;
}

.auth-header .navbar-brand {
  justify-content: center;
  margin-bottom: 24px;
}

.auth-header h1 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.auth-header p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.auth-footer a {
  color: var(--accent);
  font-weight: 600;
}

.auth-footer a:hover {
  text-decoration: underline;
}

.social-login {
  display: flex;
  gap: 12px;
}

.social-btn {
  flex: 1;
  padding: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.social-btn:hover {
  border-color: var(--accent);
}

/* ============================================
   USER DASHBOARD
   ============================================ */
.dashboard-section {
  padding: 40px 0 80px;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  margin-top: 40px;
}

/* Dashboard Sidebar */
.dashboard-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.dashboard-user {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  margin-bottom: 20px;
}

.dashboard-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #000;
  margin: 0 auto 16px;
}

.dashboard-user h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.dashboard-user p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.dashboard-nav {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.dashboard-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-left: 3px solid transparent;
  transition: var(--transition);
}

.dashboard-nav a:hover {
  background: var(--bg-surface);
  color: var(--text);
}

.dashboard-nav a.active {
  background: var(--accent-light);
  color: var(--accent);
  border-left-color: var(--accent);
}

.dashboard-nav a + a {
  border-top: 1px solid var(--border);
}

/* Dashboard Content */
.dashboard-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.stat-card-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.stat-card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.stat-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.stat-card {
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}

.stat-card:hover .stat-card-icon {
  transform: scale(1.1);
  background: var(--accent);
  color: white;
}

.stat-card:hover h3 {
  color: var(--accent);
}

.stat-card-hover {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--accent);
  color: white;
  padding: 8px 16px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.stat-card:hover .stat-card-hover {
  transform: translateY(0);
}

/* ============================================
   IMAGE UPLOAD
   ============================================ */
.image-upload-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.image-upload-slot {
  aspect-ratio: 16/9;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--bg);
}

.image-upload-slot:hover {
  border-color: var(--accent);
  background: rgba(245, 166, 35, 0.05);
}

.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
}

.upload-placeholder span {
  font-size: 2rem;
  font-weight: 300;
  color: var(--accent);
}

.upload-placeholder p {
  font-size: 0.85rem;
  margin: 0;
}

/* Form validation */
.form-input.error {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.1);
}

.form-group.error .form-label::after {
  content: " *";
  color: #e74c3c;
}

.image-upload-area.error {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.1);
}

/* Car Management Menu */
.car-management-menu {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 120px;
}

.car-management-menu button {
  display: block;
  width: 100%;
  padding: 8px 12px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  border-radius: var(--radius-xs);
  font-size: 0.9rem;
  transition: background-color 0.2s;
}

.car-management-menu button:hover {
  background: var(--bg-hover);
}

.car-management-menu button.delete-btn {
  color: #e74c3c;
}

.car-management-menu button.delete-btn:hover {
  background: rgba(231, 76, 60, 0.1);
}

/* Booking List */
.booking-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.booking-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 20px;
  align-items: center;
  transition: var(--transition);
}

.booking-item:hover {
  border-color: var(--border-light);
}

.booking-item-img {
  width: 120px;
  height: 70px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.booking-item-img img {
  width: 90%;
}

.booking-item-info h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.booking-item-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.booking-item-price {
  text-align: right;
}

.booking-item-price .amount {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
}

.booking-item-price .duration {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-image {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--text-muted);
  position: relative;
  overflow: hidden;
}

.about-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-light), transparent);
}

.about-counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.counter-item {
  text-align: center;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.counter-item h3 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.counter-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.team-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
  margin: 0 auto 16px;
  overflow: hidden;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.team-card p {
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 8px;
}

.team-description {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* About Content */
.about-content {
  margin-top: 40px;
}

.about-main-text {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}

.about-main-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--text);
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
}

.value-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text);
}

.value-card p {
  color: var(--text-muted);
  line-height: 1.5;
}

.value-card ul {
  text-align: left;
  margin-top: 12px;
}

.value-card li {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

/* GRID */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 40px;
}

/* SECTION LABEL */

.section-label {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(245, 210, 35, 0.08);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}

/* TITLES */

.contact-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--text);
}

.contact-description {
  margin-bottom: 32px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* INFO CARDS */

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;

  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);

  transition: var(--transition);
}

.contact-info-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.contact-info-icon {
  width: 50px;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: var(--radius-sm);

  background: var(--accent-light);
  color: var(--accent);
  font-size: 1.2rem;
}

.contact-info-card h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* MAP */

.contact-map {
  margin-top: 24px;
  height: 200px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);

  color: var(--text-muted);
  font-size: 0.9rem;
}

/* FORM CARD */

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);

  padding: 36px;
  color: var(--text);

  box-shadow: var(--shadow);
}

/* FORM TITLES */

.contact-form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.contact-form-desc {
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* FORM */

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.form-input,
.form-select {
  width: 100%;
  padding: 14px 18px;

  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);

  color: var(--text);
  font-size: 0.95rem;

  transition: var(--transition);
}

textarea.form-input {
  resize: vertical;
}

/* INPUT FOCUS */

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-light);
}

/* BUTTON */

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 16px;
  font-size: 1rem;
}

/* BUTTON PRIMARY (if not defined already) */

.btn-primary {
  background: var(--accent);
  color: black;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;

  cursor: pointer;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.contact-map {
  margin-top: 24px;
  height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form-card {
    padding: 28px;
  }
}

/* ============================================
   ADMIN PANEL
   ============================================ */
.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  padding: 24px 0;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 260px;
  overflow-y: auto;
  z-index: 100;
}

.admin-sidebar-brand {
  padding: 0 24px 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.admin-sidebar-nav {
  display: flex;
  flex-direction: column;
  padding: 0 12px;
}

.admin-nav-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 16px 12px 8px;
}

.admin-sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  margin-bottom: 2px;
}

.admin-sidebar-nav a:hover {
  background: var(--bg-surface);
  color: var(--text);
}

.admin-sidebar-nav a.active {
  background: var(--accent-light);
  color: var(--accent);
}

.admin-main {
  margin-left: 260px;
  padding: 32px;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.admin-header h1 {
  font-family: var(--font-display);
  font-size: 1.8rem;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.admin-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-stat-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.admin-stat-icon.cars {
  background: rgba(245, 166, 35, 0.1);
  color: var(--accent);
}

.admin-stat-icon.bookings {
  background: rgba(52, 152, 219, 0.1);
  color: var(--info);
}

.admin-stat-icon.users {
  background: rgba(46, 204, 113, 0.1);
  color: var(--success);
}

.admin-stat-icon.revenue {
  background: rgba(155, 89, 182, 0.1);
  color: #9b59b6;
}

.admin-stat-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.admin-stat-info p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Admin Table */
.admin-table-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.admin-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.admin-table-header h2 {
  font-size: 1.1rem;
  font-weight: 600;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  text-align: left;
  padding: 14px 24px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}

.admin-table td {
  padding: 16px 24px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.table-car-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.table-car-img {
  width: 60px;
  height: 40px;
  background: var(--bg);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.table-car-img img {
  width: 90%;
}

.table-actions {
  display: flex;
  gap: 8px;
}

.table-action-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}

.table-action-btn.edit {
  background: rgba(52, 152, 219, 0.1);
  color: var(--info);
  border: 1px solid rgba(52, 152, 219, 0.2);
}

.table-action-btn.delete {
  background: rgba(231, 76, 60, 0.1);
  color: var(--danger);
  border: 1px solid rgba(231, 76, 60, 0.2);
}

.table-action-btn:hover {
  transform: scale(1.1);
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
}

.modal-header h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.modal-close {
  width: 36px;
  height: 36px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.2rem;
  color: var(--text-secondary);
}

.modal-close:hover {
  background: var(--danger);
  color: #fff;
}

.modal-body {
  padding: 28px;
}

.modal-footer {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding: 20px 28px;
  border-top: 1px solid var(--border);
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  min-width: 320px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  transform: translateX(120%);
  transition: var(--transition);
}

.toast.show {
  transform: translateX(0);
}

.toast-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.toast.success .toast-icon {
  background: rgba(46, 204, 113, 0.1);
  color: var(--success);
}

.toast.error .toast-icon {
  background: rgba(231, 76, 60, 0.1);
  color: var(--danger);
}

.toast.info .toast-icon {
  background: rgba(52, 152, 219, 0.1);
  color: var(--info);
}

.toast-content h4 {
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.toast-content p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.toast-close {
  margin-left: auto;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1rem;
  padding: 4px;
}

/* ============================================
   LOADING / SKELETON
   ============================================ */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--bg-card) 25%,
    var(--bg-surface) 50%,
    var(--bg-card) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-description {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image {
    display: none;
  }

  .search-box-inner {
    grid-template-columns: 1fr 1fr;
  }

  .listing-layout {
    grid-template-columns: 1fr;
  }

  .filters-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
  }

  .filter-block {
    margin-bottom: 0;
  }

  .car-details-grid {
    grid-template-columns: 1fr;
  }

  .car-gallery {
    position: static;
  }

  .booking-layout {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-intro {
    grid-template-columns: 1fr;
  }

  .about-counters {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: static;
  }

  .dashboard-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 11, 11, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 999;
  }

  .navbar-nav.active {
    display: flex;
  }

  .navbar-nav a {
    font-size: 1.4rem;
    font-family: var(--font-display);
  }

  .navbar-toggle {
    display: flex;
    z-index: 1000;
  }

  .search-box-inner {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid::before {
    display: none;
  }

  .cars-grid-listing {
    grid-template-columns: 1fr;
  }

  .featured-cars .cars-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .hero-stat {
    text-align: center;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .booking-form-inline .form-row {
    grid-template-columns: 1fr;
  }

  .car-specs-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .booking-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .about-counters {
    grid-template-columns: 1fr 1fr;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    display: none;
  }

  .admin-main {
    margin-left: 0;
  }

  .admin-stats {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .auth-card {
    padding: 32px 24px;
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
  }

  .gallery-thumbnails {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery-main {
    height: 280px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 60px 0;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .gallery-thumbnails {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger-children .fade-in:nth-child(1) {
  transition-delay: 0.1s;
}
.stagger-children .fade-in:nth-child(2) {
  transition-delay: 0.2s;
}
.stagger-children .fade-in:nth-child(3) {
  transition-delay: 0.3s;
}
.stagger-children .fade-in:nth-child(4) {
  transition-delay: 0.4s;
}
.stagger-children .fade-in:nth-child(5) {
  transition-delay: 0.5s;
}
.stagger-children .fade-in:nth-child(6) {
  transition-delay: 0.6s;
}

/* I have no idea what the f is that above this */

/* CAR GRID */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

/* CARD */
.car-card {
  background: #2e2e2e;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.car-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* IMAGE */
.car-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #232323;
  position: relative;
}

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

.user-car-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* CONTENT */
.car-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.car-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}

/* SPECS */
.car-content p {
  font-size: 14px;
  color: #a5a5a5;
}

/* PRICE */
.car-content h4 {
  font-size: 20px;
  margin-top: 10px;
  font-weight: 700;
  color: #a2a2a2;
}

/* BUTTON */
.car-content .btn {
  margin-top: 10px;
  width: 100%;
  text-align: center;
}

/* CARS */

.cars-grid-listing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.car-specs {
  display: flex;
  gap: 14px;
  font-size: 14px;
  color: #777;
}

.car-bottom {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.car-price {
  font-size: 20px;
  font-weight: 700;
}

.car-price span {
  font-size: 14px;
  color: #888;
}

.pagination {
  margin-top: 40px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.page-btn {
  padding: 8px 14px;
  border: none;
  background: #eee;
  border-radius: 6px;
  cursor: pointer;
}

.page-btn.active {
  background: #111;
  color: white;
}

/* ============================================
   USER DROPDOWN
   ============================================ */
.user-dropdown {
  position: relative;
  display: inline-block;
}

.user-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 6px 12px 6px 6px;
  border-radius: 100px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.user-dropdown-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-light);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.user-name {
  max-width: 100px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 240px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}

.user-dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-header {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dropdown-header strong {
  font-size: 0.95rem;
  color: var(--text);
}

.dropdown-header span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.dropdown-divider {
  border: 0;
  height: 1px;
  background: var(--border);
  margin: 0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--text);
  transition: var(--transition);
  text-align: left;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--accent);
}

.dropdown-item.text-danger {
  color: var(--danger);
}

.dropdown-item.text-danger:hover {
  background: rgba(231, 76, 60, 0.05);
  color: var(--danger);
}

/* ============================================
   MESSAGES BUTTON
   ============================================ */
.messages-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  transition: var(--transition);
  cursor: pointer;
}

.messages-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-light);
  color: var(--accent);
}

.messages-btn svg {
  width: 20px;
  height: 20px;
}

.messages-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: #e74c3c;
  border-radius: 50%;
  border: 2px solid var(--bg);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  right: -260px;
  width: 260px;
  height: 100vh;
  background: #111;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: right 0.3s ease;
  z-index: 1001;
}

.sidebar a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

.sidebar.open {
  right: 0;
}

/* Overlay */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.overlay.show {
  opacity: 1;
  pointer-events: all;
}

/* Hamburger cursor */
.navbar-toggle {
  cursor: pointer;
}

/* ============================================
   MESSAGES DROPDOWN
   ============================================ */
.messages-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.messages-dropdown-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  transition: var(--transition);
  cursor: pointer;
}

.messages-dropdown-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-light);
  color: var(--accent);
}

.messages-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--danger);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg);
  box-shadow: 0 0 10px rgba(231, 76, 60, 0.5);
}

.messages-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 320px;
  max-height: 450px;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.messages-dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.messages-list {
  display: flex;
  flex-direction: column;
}

.message-item {
  cursor: default;
}

.message-item:hover {
  background: rgba(255, 255, 255, 0.02) !important;
}

/* Scrollbar for message list */
.messages-dropdown-menu::-webkit-scrollbar {
  width: 4px;
}

.messages-dropdown-menu::-webkit-scrollbar-track {
  background: transparent;
}

.messages-dropdown-menu::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 2px;
}

/* ============================================
   RESPONSIVE DESIGN & MOBILE MENU
   ============================================ */
@media (max-width: 900px) {
  /* Navbar */
  .navbar-nav,
  .navbar-actions {
    display: none;
  }
  
  .navbar-toggle {
    display: flex;
  }

  /* Sidebar */
  .sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100vh;
    background: var(--bg-card);
    border-left: 1px solid var(--border);
    z-index: 1050;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    padding: 80px 20px 20px;
  }
  
  .sidebar.active {
    transform: translateX(0);
  }
  
  .sidebar a {
    padding: 15px 0;
    font-size: 1.1rem;
    color: var(--text);
    border-bottom: 1px solid var(--border-light);
    display: block;
    text-align: left;
  }
  
  .sidebar a:hover {
    color: var(--accent);
  }

  /* Overlay */
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
  }
  
  .overlay.active {
    opacity: 1;
    pointer-events: auto;
  }
  
  /* Hero Overrides */
  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }
  .hero-badge {
    margin: 0 auto 28px;
  }
  .hero-description {
    margin: 0 auto 40px;
  }
  .hero-car img {
    max-width: 100%;
  }

  /* Forms & Grid Overrides */
  .search-box-inner {
    grid-template-columns: 1fr;
  }
  .footer-grid,
  .how-steps,
  .choose-grid,
  .best-cars-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Cars.html specifics */
  .listing-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .filters-sidebar {
    position: relative;
    max-height: none;
    overflow-y: visible;
    border-bottom: 1px solid var(--border);
    padding-bottom: 24px;
  }
  .car-grid-header {
    flex-wrap: wrap;
    gap: 16px;
  }
  .car-grid-header p, .car-grid-header select {
    width: 100%;
  }
  .cars-grid-listing {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }
}

/* ============================================================
   AI CHATBOT STYLES
   ============================================================ */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    font-family: 'Inter', sans-serif;
}

.chatbot-bubble {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chatbot-bubble:hover {
    transform: scale(1.1);
}

.chatbot-bubble i {
    width: 28px;
    height: 28px;
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 550px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform-origin: bottom right;
    transform: scale(0);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.chatbot-window.active {
    transform: scale(1);
    opacity: 1;
    pointer-events: all;
}

.chatbot-header {
    background: #000;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

.chatbot-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.chatbot-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.chatbot-close {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.chatbot-close:hover {
    opacity: 1;
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #111;
}

.chat-msg {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    animation: slideUp 0.3s ease-out;
}

.chat-msg::before {
    content: attr(data-author);
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chat-msg.bot {
    background: #222;
    color: #eee;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    border: 1px solid #333;
}

.chat-msg.bot::before {
    color: var(--accent);
}

.chat-msg.user {
    background: var(--accent);
    color: #000;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-msg.user::before {
    color: rgba(0,0,0,0.6);
}

.chatbot-input-area {
    padding: 15px 20px;
    border-top: 1px solid #333;
    display: flex;
    gap: 10px;
    background: #1a1a1a;
}

.chatbot-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.95rem;
    font-family: inherit;
    color: white;
    background: transparent;
}

.chatbot-input::placeholder {
    color: #666;
}

.chatbot-send {
    background: transparent;
    border: none;
    color: var(--accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    transition: transform 0.2s;
}

.chatbot-send:hover {
    transform: scale(1.1);
}

.chatbot-send:disabled {
    color: #444;
    cursor: not-allowed;
}

@keyframes slideUp {
    from { transform: translateY(10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: #f3f4f6;
    border-radius: 12px;
    width: fit-content;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: #9ca3af;
    border-radius: 50%;
    animation: typing 1s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@media (max-width: 480px) {
    .chatbot-window {
        width: calc(100vw - 40px);
        height: 450px;
        right: -10px;
    }
}


