:root {
  --light-bg: #f8f9fa;
  --card-bg: #ffffff;
  --accent: #e94d1c;
  --accent-hover: #d44318;
  --text-muted: #6c757d;
  --border-light: #dee2e6;
}
html { scroll-behavior: smooth; }
body {
  background: var(--light-bg);
  color: #212529;
  font-family: 'Segoe UI', system-ui, sans-serif;
}
/* ========== NAVBAR ========== */
.navbar {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(12px);
  padding: 0.5rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  border-bottom: 2px solid transparent;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.navbar.scrolled { border-bottom-color: var(--accent); }
.navbar .container { max-width: 1140px; }
.navbar-brand {
  font-weight: 800;
  font-size: 1.6rem;
  color: #212529 !important;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.navbar-brand i { color: var(--accent); font-size: 1.4rem; }
.nav-link {
  color: #495057 !important;
  font-weight: 600;
  margin: 0 0.15rem;
  padding: 0.5rem 0.75rem !important;
  border-radius: 8px;
  position: relative;
  font-size: 0.95rem;
  transition: color 0.2s, background 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s, left 0.3s;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100% !important; left: 0 !important; }
.nav-link:hover { color: var(--accent) !important; background: rgba(233, 77, 28, 0.06); }
.nav-link.active { color: var(--accent) !important; font-weight: 700; }
.btn-rentaly {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #fff;
  border: none;
  padding: 0.6rem 1.5rem;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(233, 77, 28, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-rentaly:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, #b83a12 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 77, 28, 0.45);
}

/* Hero */
.hero-slide {
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f0f2f5 0%, #e8eaee 50%, #f0f2f5 100%);
  position: relative;
  overflow: hidden;
}
.hero-slide::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?w=1920') center/cover;
  opacity: 0.25;
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; }
.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #212529;
}
.hero-sub { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 1.5rem; }
.carousel-indicators [data-bs-target] {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(0,0,0,0.3);
  border: none;
}
.carousel-indicators .active { background: var(--accent); }
.carousel-control-prev-icon, .carousel-control-next-icon { filter: invert(1); }

/* Page hero (inner pages) */
.page-hero {
  padding: 7rem 0 3rem;
  background: linear-gradient(135deg, #f0f2f5 0%, #e8eaee 100%);
  border-bottom: 1px solid var(--border-light);
}
.page-hero .section-title { margin-bottom: 0.25rem; }
.page-hero .breadcrumb { background: transparent; padding: 0; }
.page-hero .breadcrumb-item a { color: var(--accent); text-decoration: none; }
.page-hero .breadcrumb-item.active { color: var(--text-muted); }

/* Sections */
section { padding: 4rem 0; }
.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #212529;
}
.section-subtitle { color: var(--text-muted); margin-bottom: 3rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* Vehicle cards - enhanced */
.vehicle-card {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.3s;
  position: relative;
}
.vehicle-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12), 0 0 0 1px rgba(233, 77, 28, 0.1);
  border-color: rgba(233, 77, 28, 0.2);
}
.vehicle-card .img-wrap {
  height: 240px;
  background: linear-gradient(145deg, #e9ecef 0%, #dee2e6 100%);
  position: relative;
  overflow: hidden;
}
.vehicle-card .img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1;
}
.vehicle-card:hover .img-wrap::before { opacity: 1; }
.vehicle-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.vehicle-card:hover .img-wrap img { transform: scale(1.08); }
.vehicle-card .carousel-control-prev,
.vehicle-card .carousel-control-next {
  width: 40px; height: 40px;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  z-index: 2;
}
.vehicle-card .carousel-control-prev-icon,
.vehicle-card .carousel-control-next-icon { filter: none; }
.vehicle-card .carousel-control-prev-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e"); }
.vehicle-card .carousel-control-next-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); }
.vehicle-card:hover .carousel-control-prev,
.vehicle-card:hover .carousel-control-next { opacity: 1; }
.vehicle-card .carousel-control-prev { left: 12px; }
.vehicle-card .carousel-control-next { right: 12px; }
.vehicle-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #fff;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50px;
  z-index: 2;
  box-shadow: 0 2px 10px rgba(233, 77, 28, 0.4);
}
.vehicle-card .vehicle-rating {
  position: absolute;
  top: 1rem; right: 1rem;
  background: rgba(255,255,255,0.95);
  color: #f59e0b;
  padding: 0.25rem 0.5rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.vehicle-body {
  padding: 1.5rem 1.5rem 1.75rem;
  border-top: 1px solid rgba(0,0,0,0.04);
}
.vehicle-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #212529;
  letter-spacing: -0.3px;
}
.vehicle-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.vehicle-meta i { color: var(--accent); margin-right: 0.3rem; }
.vehicle-type {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.vehicle-rate {
  font-weight: 800;
  font-size: 1.35rem;
  color: #212529;
  margin-bottom: 1rem;
}
.vehicle-rate span { color: var(--text-muted); font-weight: 500; font-size: 0.9rem; }
.vehicle-card .btn-rentaly {
  border-radius: 50px;
  padding: 0.65rem 1.25rem;
  font-weight: 700;
}
.vehicle-card .btn-view-detail {
  background: transparent;
  color: #212529;
  border: 2px solid var(--border-light);
  border-radius: 50px;
  padding: 0.65rem 1.25rem;
  font-weight: 700;
  transition: all 0.3s;
}
.vehicle-card .btn-view-detail:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(233, 77, 28, 0.06);
}

/* Stats */
.stats-section {
  background: linear-gradient(180deg, #fff 0%, var(--light-bg) 100%);
  padding: 4rem 0;
  border-top: 1px solid var(--border-light);
}
.stat-item { text-align: center; padding: 1rem; }
.stat-num { font-size: 2.5rem; font-weight: 800; color: var(--accent); margin-bottom: 0.25rem; }
.stat-label { color: var(--text-muted); font-size: 0.95rem; }

/* Features */
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.feature-card:hover { border-color: var(--accent); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.feature-icon {
  width: 56px; height: 56px;
  background: rgba(233, 77, 28, 0.12);
  color: var(--accent);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.feature-card h5 { font-weight: 700; margin-bottom: 0.5rem; color: #212529; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* Booking form */
.booking-section { background: #fff; border: 1px solid var(--border-light); border-radius: 12px; padding: 2rem; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.booking-section .form-label { font-weight: 600; color: #495057; }

/* About */
.about-text { color: var(--text-muted); line-height: 1.8; }

/* Testimonials */
.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.testimonial-card blockquote {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1rem;
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
}
.testimonial-author { font-weight: 600; color: #212529; }

/* News */
.news-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); }
.news-card .img-wrap {
  height: 200px;
  background: #e9ecef;
  overflow: hidden;
  position: relative;
}
.news-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.news-date {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--accent);
  color: #fff;
  width: 50px; height: 50px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.1;
  z-index: 1;
}
.news-date span { font-size: 0.7rem; font-weight: 500; }
.news-body { padding: 1.5rem; }
.news-body h5 { font-weight: 700; margin-bottom: 0.5rem; color: #212529; }
.news-body p { color: var(--text-muted); font-size: 0.9rem; }

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, #c43d14 100%);
  padding: 4rem 0;
}
.cta-section .section-title { color: #fff; }
.cta-section .section-subtitle { color: rgba(255,255,255,0.9); }
.cta-feature { color: #fff; padding: 1rem; }
.cta-feature h5 { font-weight: 700; margin-bottom: 0.25rem; }
.cta-feature p { margin: 0; opacity: 0.9; font-size: 0.95rem; }

/* FAQ */
.accordion-item {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  margin-bottom: 0.75rem;
  border-radius: 8px !important;
  overflow: hidden;
}
.accordion-button {
  background: var(--card-bg) !important;
  color: #212529 !important;
  font-weight: 600;
  border: none !important;
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) { color: var(--accent) !important; }
.accordion-body { color: var(--text-muted); background: var(--card-bg); border-top: 1px solid var(--border-light); }

/* Contact */
.contact-info-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
}
.contact-info-card h5 { font-weight: 700; color: #212529; margin-bottom: 0.5rem; }
.contact-info-card p { color: var(--text-muted); margin: 0; }

/* ========== FOOTER ========== */
footer {
  background: linear-gradient(180deg, #1a1d21 0%, #0f1114 100%);
  padding: 4rem 0 0;
  border-top: 3px solid var(--accent);
  color: #adb5bd;
}
.footer-top {
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
footer h6 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
footer .footer-about p {
  color: #adb5bd;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}
footer .footer-links a {
  color: #adb5bd;
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 0.6rem;
  transition: color 0.2s, padding-left 0.2s;
}
footer .footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}
footer .footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #adb5bd;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
footer .footer-contact-item i {
  color: var(--accent);
  font-size: 1.1rem;
  margin-top: 2px;
}
.footer-newsletter .form-control {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 50px;
  padding: 0.65rem 1.25rem;
}
.footer-newsletter .form-control::placeholder { color: #6c757d; }
.footer-newsletter .btn-rentaly {
  border-radius: 50px;
  padding: 0.65rem 1.25rem;
  margin-top: 0.5rem;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-radius: 50%;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  transition: all 0.3s;
}
.footer-social a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}
.footer-bottom {
  padding: 1.5rem 0;
  color: #6c757d;
  font-size: 0.85rem;
}
.footer-bottom a { color: var(--accent); }

/* ========== CAR DETAIL PAGE ========== */
.car-detail-gallery {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
.car-detail-gallery .main-img-wrap {
  height: 420px;
  background: #e9ecef;
  position: relative;
  overflow: hidden;
}
.car-detail-gallery .main-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.car-detail-thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  background: #f8f9fa;
  overflow-x: auto;
}
.car-detail-thumbs .thumb {
  flex: 0 0 90px;
  height: 70px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: border-color 0.2s, opacity 0.2s;
}
.car-detail-thumbs .thumb:hover,
.car-detail-thumbs .thumb.active {
  border-color: var(--accent);
  opacity: 1;
}
.car-detail-thumbs .thumb img { width: 100%; height: 100%; object-fit: cover; }
.car-detail-specs {
  background: var(--card-bg);
  border-radius: 16px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.car-detail-specs .spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
}
.car-detail-specs .spec-row:last-child { border-bottom: none; }
.car-detail-specs .spec-row i { color: var(--accent); margin-right: 0.5rem; }
.car-detail-price-box {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
}
.car-detail-price-box .price { font-size: 2rem; font-weight: 800; }
.car-detail-price-box .price-label { font-size: 0.85rem; opacity: 0.95; }
