:root {
  --accent: #1fbf3d;
  --accent-dark: #16972f;
  --dark: #101214;
  --dark-2: #1b1f22;
  --light-bg: #f5f7f5;
}

body {
  font-family: 'Sarabun', sans-serif;
  color: #2b2f36;
}

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

/* Navbar */
#mainNav {
  background: rgba(16, 18, 20, 0.95);
  backdrop-filter: blur(6px);
  padding-top: .6rem;
  padding-bottom: .6rem;
  transition: background .3s ease;
}
.navbar-brand {
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff !important;
}
.logo-img { height: 44px; width: auto; border-radius: 50%; }
.nav-link {
  color: #e7e9ee !important;
  font-weight: 500;
}
.nav-link:hover { color: var(--accent) !important; }

.btn-accent {
  background: var(--accent);
  border: none;
  color: #06120a;
  font-weight: 700;
}
.btn-accent:hover {
  background: var(--accent-dark);
  color: #06120a;
}

/* Hero */
.hero {
  min-height: 92vh;
  background: linear-gradient(150deg, #000000 0%, var(--dark-2) 55%, #0d2c14 130%);
  padding-top: 90px;
}
.hero-sub { color: #d7dbe4; max-width: 560px; }
.badge-open {
  background: rgba(31,191,61,.15);
  border: 1px solid rgba(31,191,61,.4);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 50px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .9rem;
}
.hero-carousel {
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,.45);
  overflow: hidden;
}
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item img {
  height: 360px;
  object-fit: cover;
}
.hero-carousel .carousel-indicators [data-bs-target] { background-color: var(--accent); }
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next { width: 8%; }

@media (max-width: 991px) {
  .hero-carousel .carousel-item img { height: 260px; }
}

/* Sections */
.section-py { padding: 5rem 0; }
.bg-light-section { background: var(--light-bg); }
.bg-dark-section { background: var(--dark); }
.eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .85rem;
  margin-bottom: .5rem;
}
.section-title { font-weight: 800; color: var(--dark); }

.feature-chip {
  background: #fff;
  border: 1px solid #e5e8e6;
  border-radius: 12px;
  padding: .8rem 1rem;
  font-weight: 600;
  color: var(--dark);
  height: 100%;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.feature-chip i { color: var(--accent); font-size: 1.1rem; }

.about-logo { max-width: 340px; width: 100%; filter: drop-shadow(0 15px 25px rgba(0,0,0,.25)); }

/* Service cards */
.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 6px 20px rgba(20,30,50,.06);
  transition: transform .2s ease, box-shadow .2s ease;
  border: 1px solid #eef0f3;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 28px rgba(20,30,50,.12); }
.service-card i { font-size: 2rem; color: var(--accent); margin-bottom: 1rem; }
.service-card h5 { font-weight: 700; color: var(--dark); margin-bottom: .5rem; font-size: 1.05rem; }
.service-card p { color: #6b7280; margin-bottom: 0; font-size: .9rem; }

/* Vehicle cards */
.vehicle-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #eef0f3;
  height: 100%;
  text-align: center;
  box-shadow: 0 6px 20px rgba(20,30,50,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.vehicle-card:hover { transform: translateY(-6px); box-shadow: 0 12px 28px rgba(20,30,50,.14); }
.vehicle-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center 60%;
  display: block;
  transition: transform .35s ease;
}
.vehicle-card:hover .vehicle-img { transform: scale(1.08); }
.vehicle-img-cok { object-position: center 30%; }
.vehicle-img-4wheel { object-position: 35% center; }
.vehicle-img-hiab { object-position: 30% center; }
.vehicle-card h6, .vehicle-card p { padding: 0 1.2rem; }
.vehicle-card h6 { font-weight: 700; color: var(--dark); margin-top: 1.2rem; }
.vehicle-card p { padding-bottom: 1.2rem; }

/* Why us */
.why-item i { font-size: 2.2rem; color: var(--accent); margin-bottom: .8rem; display: inline-block; }
.why-item h6 { font-weight: 700; color: #fff; margin-bottom: .4rem; }

/* Gallery */
.gallery-img { height: 160px; width: 100%; object-fit: cover; }

/* Contact */
.contact-info li { margin-bottom: 1rem; font-size: 1rem; }
.contact-info i { color: var(--accent); width: 24px; }
.contact-info a { color: #2b2f36; text-decoration: none; }
.contact-info a:hover { color: var(--accent); }

.social-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background .2s ease;
}
.social-btn:hover { background: var(--accent); color: #06120a; }

.contact-form {
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 6px 20px rgba(20,30,50,.06);
}

/* Footer */
.footer {
  background: var(--dark);
  padding: 3.5rem 0 2rem;
}
.footer-links li { margin-bottom: .6rem; }
.footer-links a, .footer-links li { color: #c8ccd6; text-decoration: none; font-size: .95rem; }
.footer-links a:hover { color: var(--accent); }

/* Floating messenger widget */
.fab-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .7rem;
}
.fab-toggle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #06120a;
  font-size: 1.5rem;
  box-shadow: 0 8px 20px rgba(31,191,61,.45);
  animation: pulse 2s infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fab-toggle:hover { background: var(--accent-dark); }

.fab-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
}
.fab-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }

.fab-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: #fff;
  color: var(--dark);
  border-radius: 50px;
  padding: .5rem .6rem .5rem 1rem;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  white-space: nowrap;
}
.fab-item:hover { color: var(--dark); background: #f1f3f1; }
.fab-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.fab-phone .fab-icon { background: var(--accent); }
.fab-line .fab-icon { background: #06c755; }
.fab-fb .fab-icon { background: #1877f2; }

@media (max-width: 575px) {
  .fab-item .fab-label { display: none; }
  .fab-item { padding: .5rem; }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(31,191,61,.5); }
  70% { box-shadow: 0 0 0 14px rgba(31,191,61,0); }
  100% { box-shadow: 0 0 0 0 rgba(31,191,61,0); }
}

@media (max-width: 991px) {
  .hero { min-height: auto; padding-bottom: 3rem; }
  .section-py { padding: 3.5rem 0; }
}
