/* Kurangi jarak antar gallery */
#vehicle-gallery {
    margin-bottom: 10px !important;
}

#thumbnail-gallery {
    margin-top: 10px !important;
}

h1
{
    font-size: 24px;
}
a {
     text-decoration: none;
  color: inherit; /* mengikuti warna teks di sekitarnya */
}
        /* Topbar */
        .topbar {
            background: #1a1a1a;
            color: #fff;
           padding-top: 90px; /* Topbar (~40px) + Navbar (~50px) */
            font-size: 14px;
        }
        .topbar .list-inline-item {
            margin-right: 15px;
        }
        /* Navbar */
        .navbar-brand img {
            height: 40px;
        }
        .navbar {
            background: #fff;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        .dropdown-menu {
            min-width: 200px;
        }
/* Hero Carousel */
     .carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-item {
  height: 70vh;
  background-size: cover;
  background-position: center;
  position: relative;
  
}


.carousel-item.active {
  display: flex !important; /* Tampilkan hanya slide aktif */
  align-items: center;
}

/* Overlay */
.carousel-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 1;
}

/* Konten */
.carousel-item .container {
  position: relative;
  z-index: 2;
}

/* Mobil */
.car-image {
  max-width: 100%;
  height: auto;
}


        /* Search Section */
        .search-block {
            background: #fff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            margin-top: -100px;
            position: relative;
            z-index: 10;
        }
        /* Content Boxes */
        .content-box {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 8px;
            text-align: center;
            transition: all 0.3s;
        }
        .content-box:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        .content-box i {
            font-size: 2.5rem;
            color: #dc3545;
            margin-bottom: 10px;
        }





/* Feature Car */
     /* Background section */
    section.py-5 {
      background-color: #f8f9fa;
    }

    /* Card hover effect */
    .card {
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      cursor: pointer;
    }

    .card:hover {
      transform: translateY(-8px);
      box-shadow: 0 1rem 2rem rgba(0,0,0,0.15);
      z-index: 10;
    }

    /* Smaller, elegant badge */
    .badge-used {
      font-size: 0.75rem;
      padding: 0.35em 0.7em;
      font-weight: 600;
      opacity: 0.85;
      text-transform: uppercase;
    }

    /* Card img rounded top */
    .card-img-top {
      border-top-left-radius: 1rem;
      border-top-right-radius: 1rem;
      object-fit: cover;
      height: 200px; /* fix height to keep cards uniform */
      width: 100%;
    }

    /* Rating stars */
    .rating i {
      font-size: 1.1rem;
      line-height: 1;
    }

    /* Button styling */
    .btn-danger {
      padding: 0.375rem 1.25rem;
      font-weight: 600;
    }       


        /* Footer */
        /* Footer Styles */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    color: #ffffff;
    padding: 60px 0 40px;
    font-family: 'Arial', sans-serif;
  
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer .img-fluid {
    max-width: 150px;
    transition: transform 0.3s ease;
}

.footer .img-fluid:hover {
    transform: scale(1.1);
}

.footer .list-inline-item a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer .list-inline-item a:hover {
    color: #ff4d4d;
}

.footer .social a {
    color: #ffffff;
    font-size: 24px;
    margin: 0 10px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer .social a:hover {
    color: #ff4d4d;
    transform: translateY(-3px);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 30px 0;
}

.footer h6 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ff4d4d;
}

.footer p {
    font-size: 14px;
    line-height: 1.6;
    color: #cccccc;
}

.footer .list-unstyled li a {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    line-height: 2;
    transition: color 0.3s ease;
}

.footer .list-unstyled li a:hover {
    color: #ff4d4d;
}

.footer .list-unstyled li i {
    margin-right: 8px;
    color: #ff4d4d;
}

.footer .mt-4 {
    margin-top: 30px;
}

.footer .mt-4 p,
.footer .mt-4 .list-inline-item a {
    font-size: 14px;
    color: #cccccc;
}

.footer .mt-4 .list-inline-item a:hover {
    color: #ff4d4d;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .footer .col-lg-3,
    .footer .col-lg-5,
    .footer .col-lg-4,
    .footer .col-lg-6,
    .footer .col-lg-7 {
        text-align: center !important;
        margin-bottom: 30px;
    }

    .footer .list-inline-item {
        margin: 10px 15px;
    }

    .footer .social {
        margin-top: 20px;
    }

    .footer .col-sm-4 {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .footer .list-inline-item a {
        font-size: 14px;
        margin: 0 10px;
    }

    .footer .social a {
        font-size: 20px;
        margin: 0 8px;
    }

    .footer h6 {
        font-size: 16px;
    }

    .footer p,
    .footer .list-unstyled li a,
    .footer .mt-4 .list-inline-item a {
        font-size: 13px;
    }
}
        /* Back to Top */
        .car-top {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: #dc3545;
            color: #fff;
            padding: 10px;
            border-radius: 20%;
            cursor: pointer;
            display: none;
        }
        .car-top.show {
            display: block;
        }
   /* Thumbnail Gallery */
.thumbnail {
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail:hover {
    transform: scale(1.05);
    opacity: 0.9;
    border-color: #dc3545; /* Matches --primary or .btn-danger */
}

.thumbnail.active {
    border-color: #dc3545;
    opacity: 1;
}

/* Main Image */
.main-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 400px; /* Consistent with previous card-img-top height */
}

 /* Newsletter */
        .newsletter {
            background: url('https://via.placeholder.com/1920x200') no-repeat center center;
            background-size: cover;
            color: #fff;
            padding: 40px 0;
            position: relative;
        }
        .newsletter::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.7);
        }