/* === BASE FONT === */
body {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 0;
}

/* === HEADING & TEKO FONT === */
h1, h2, h3, h4, h5, h6,
.navbar .nav-link,
.navbar .navbar-brand,
.offcanvas-title,
#why-us h2,
#why-us h5,
.carousel-text h1,
.carousel-text h2 {
  font-family: 'Teko', sans-serif;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  
}

/* === NAVBAR === */
.navbar {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

.navbar-nav {
  margin-left: auto;
}

.navbar-nav .nav-item {
  padding: 0 10px;
  animation: fadeIn 0.5s ease forwards;
}

.navbar-nav .nav-item:nth-child(1) { animation-delay: 0.1s; }
.navbar-nav .nav-item:nth-child(2) { animation-delay: 0.2s; }
.navbar-nav .nav-item:nth-child(3) { animation-delay: 0.3s; }
.navbar-nav .nav-item:nth-child(4) { animation-delay: 0.4s; }

.nav-link {
  position: relative;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 10px 0;
}

.nav-link:hover {
  color: #dc3545;
  transform: scale(1.1);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #dc3545;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.navbar-toggler {
  transition: transform 0.3s ease;
}
.navbar-toggler.collapsed {
  transform: rotate(180deg);
}

.navbar-brand span {
  color: #dc3545;
}

/* === HERO / CAROUSEL === */
.carousel-slide {
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding-left: 10%;
}

.carousel-text {
  color: #000;
  max-width: 600px;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.6);
}

.carousel-text h1,
.carousel-text h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0;
}

/* === BUTTON: HERO & RENT === */
.btn-hero {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 30px;
  font-family: 'Segoe UI', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  background-color: #dc3545;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-hero:hover {
  background-color: rgba(0,0,0,0.6);
  color: white;
}

.rent-button {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 30px;
  background-color: #dc3545;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.rent-button:hover {
  background-color: #b02a37;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

#tentang h2 {
  font-size: 2.8rem;
  font-weight: 700;
}

/* === SECTION WHY US === */
#why-us h2 {
  font-size: 2.8rem;
  font-weight: 700;
}

#why-us .lead {
  font-size: 1.1rem;
}

#why-us img {
  filter: brightness(0) invert(0.2);
}

#why-us p {
  color: #555;
  font-size: 0.95rem;
}

@media (max-width: 767px) {
  #why-us .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* === CARD MOBIL === */
#daftar h2 {
  font-size: 2.8rem;
  font-weight: 700;
}

.card {
  text-align: center;
  background: #fff;
  padding: 30px;
  max-width: 500px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 12px;
}

.car-image {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.card-body {
  display: flex;
  flex-direction: column;
}

.mt-auto {
  margin-top: auto !important;
}

.car-name {
  font-size: 28px;
  margin-bottom: 25px;
}

#faq h2 {
  font-size: 2.8rem;
  font-weight: 700;
}

.accordion-body {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}


/* === ANIMATIONS === */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-title {
  font-size: 2.5rem;
  position: relative;
}

.section-underline {
  width: 80px;
  height: 4px;
  background-color: #dc3545;
  border-radius: 2px;
}

.footer {
  background-color: #f8f9fa; /* Senada dengan bg-light section */
  border-top: 1px solid #e0e0e0;
  font-family: 'Roboto', sans-serif;
}

.footer .social-icons a {
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

.footer .social-icons a:hover {
  color: #dc3545;
}

:root {
  --scroll-offset: 60px;
}
html {
  scroll-padding-top: var(--scroll-offset);
  scroll-behavior: smooth;
}

/* Floating WhatsApp Icon - Perfect Circle */
.wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  text-decoration: none;
}

.wa-float:hover {
  transform: scale(1.1);
  background-color: #1ebe57;
}

.wa-icon {
  color: white;
}

.text-justify {
  text-align: justify;
}
