

/* car inventory */
.text-center {
margin: 0px;
display: flex;
justify-content:space-around;
}
.btn{
outline: none;
border: none;
box-shadow: none;
}

.category-btn {
font-weight: 600; /* Bold text */
background-color: transparent;
border-radius: 0;
padding-bottom: 0px;
width: 100%;

}
.btn-active {
border-bottom: solid 1.5px rgb(247, 4, 4);
}

.category-btn:focus,
.category-btn:active {
outline: none;
border: none;
border-bottom: solid 1.5px rgb(247, 4, 4);
box-shadow: 0 4px 0px rgba(0, 0, 0, 0.2);
}




.vehicle-card {
margin-bottom: 20px; /* Space between cards */
transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for card */
border-radius: 10px; /* Rounded corners */
overflow: hidden; /* Hide overflow */
/* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
position: relative; /* Positioning for absolute children */
}

.vehicle-card:hover {
transform: translateY(-10px); /* Lift card on hover */
/* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);  */
}
.vehicle-card:hover .card{
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
transition: 0.5s ease;
}
.card{
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.vehicle-card img {
transition: transform 0.3s ease; /* Smooth transition for image */
}

.vehicle-card:hover img {
transform: translateX(20px) scale(1.3); /* Move and scale image on 
hover */

}

.card-title {
font-weight: 600; /* Bold title */
color: #333; /* Dark color for title */
}

.card-text {
font-size: 1.1em; /* Slightly larger text */
color: #666; /* Lighter color for text */
}

.btn-primary {
background-color: #e63946; /* Primary button color */
border: none; /* Remove border */
transition: background-color 0.3s ease; /* Smooth background transition */
}

.btn-primary:hover {
background-color: #d62839; /* Darker shade on hover */
}

.text-center {
margin-bottom: 40px; /* Space below the button section */
}

/* element 1 */
#homepageMenuContainer a {
text-decoration: none;
color: #000;
transition: transform 0.3s;
display: inline-block; /* Memastikan area klik mencakup seluruh elemen */
}

#homepageMenuContainer a:hover .toyota-icon {
transform: scale(1.2); /* Ikon akan membesar saat hover */
transition: 0.5s ease;
}

.toyota-icon {
width: 50px; /* Atur ukuran ikon sesuai kebutuhan */
height: auto;
transition: filter 0.3s ease; /* Transisi filter untuk perubahan warna */
}

.toyota-icon.icon-default {
filter: brightness(0); /* Mengatur ikon default menjadi hitam */
}

#homepageMenuContainer a:hover .toyota-icon.icon-default {
filter: brightness(0) saturate(1000%) invert(1) sepia(1) hue-rotate(0deg) brightness(0) saturate(1000%); /* Mengubah ikon menjadi merah saat hover */
}

/* Floating Icon */
.floating-icon {
position: fixed; /* Fixed position */
top: 50%; /* Center vertically */
right: 0px; /* Position from right */
transform: translateY(-50%); /* Center the icon vertically */
border-radius: 50%; /* Circular shape */
width: 100px; /* Width */
height: 100px; /* Height */
display: flex; /* Flexbox for centering */
justify-content: center; /* Center horizontally */
align-items: center; /* Center vertically */
cursor: pointer; /* Pointer cursor */
transition: transform 0.3s; /* Animation effect */
z-index: 100;
}

.floating-icon:hover {
scale: 1.1;
transition: 0.5s ease;
}

/* Service Information Section */
.service-info {
position: fixed; /* Fixed position */
top: 0; /* Align to the top */
right: -300px; /* Start hidden off-screen */
width: 300px; /* Width of the menu */
height: 100%; /* Full height */
background-color: white; /* Background color */
color: #333; /* Text color */
border-radius: 10px; /* Rounded corners */
padding: 20px; /* Padding */
box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5); /* Shadow effect */
display: none; /* Hidden by default */
z-index: 2000; /* Above other elements */
animation: slideIn 0.3s ease forwards; /* Slide-in animation */
}

.service-info.open {
display: block; /* Show the service info */
right: 0; /* Slide into view */
}

/* Service Item Box */
.service-box {
border: 1px solid #e63946; /* Border color */
border-radius: 10px; /* Rounded corners */
padding: 15px; /* Padding inside the box */
margin-top: 15px; /* Space between boxes */
display: block; /* Flexbox for icon and text */
align-items: center; /* Center vertically */
text-align: center;
transition: transform 0.2s; /* Animation effect */
}

.service-box:hover {
transform: scale(1.02); /* Scale effect on hover */
}

.service-box i {
font-size: 2em; /* Icon size */
color: #e63946; /* Icon color */
margin-right: 10px; /* Space between icon and text */
}

.service-box h3 {
margin: 0; /* Remove default margin */
font-size: 1.2em; /* Title font size */
color: #333; /* Title color */
}

.service-box p {
margin-top: 5px; /* Space above description */
color: #666; /* Description color */
}

/* Close Button */
.close-btn {
background: none; /* No background */
border: none; /* No border */
color: #e63946; /* Close button color */
font-size: 1.5em; /* Font size for close button */
cursor: pointer; /* Pointer cursor */
position: absolute; /* Position absolute for close button */
top: 10px; /* Position from top */
right: 10px; /* Position from right */
}


.card:hover {
transform: translateY(-10px);
transition: transform 0.3s ease-in-out;
}

.carousel-hero-item img {
object-fit: cover;
height: 200px;
}

.carousel-control-prev,
.carousel-control-next {
    top: 50%; /* Posisikan tombol di tengah secara vertikal */
    transform: translateY(-50%); /* Sesuaikan agar benar-benar di tengah */
    height: 100%; /* Tambahkan jika tombol terlalu kecil */
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5); /* Tambahkan latar belakang agar lebih jelas */
    border-radius: 50%; /* Membuat bentuk bulat */
}


.kontak h2 {
    font-size: 24px;
color: #333;
border-bottom: 2px solid #187cfd;  /* Garis bawah */
}

.contact-section {
    padding: 60px 0;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-bottom: 30px;
}

.contact-info .contact-details {
    flex: 1;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-info .contact-details .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.contact-info .contact-details .contact-item i {
    font-size: 1.7rem;
    color: #007bff;
    margin-right: 15px;
}

.contact-info .contact-details .contact-item p {
    margin: 0;
    font-weight: 500;
}

.contact-info .contact-img {
    flex: 1;
    max-width: 400px;
}

.contact-info .contact-img img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.contact-img-responsive {
    display: none;
}
.map-container {
    height: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.contact-info .contact-details .social-media a {
    font-size: 1.6rem;
    color: #007bff;
    margin: 0 12px;
    text-decoration: none;
}

.contact-info .contact-details .social-media a:hover {
    color: #0056b3;
}
@media screen and (max-width:768px) {
    .navbar-custom .navbar-brand img {
        height: 20px; /* Ukuran logo Toyota */
    }
    .carousel-hero{
        height: 50vh;
    }
    .car-list {
    width: 100%;
    justify-content:center;

    }
    .car-list button {
        padding:0px 0.1rem;
        font-size: 12px;
    }
    
    .contact-img {
        display: none;
    }
    .contact-img-responsive{
        display: flex;
        align-items: center;
        position: relative;
        border-bottom: solid 1px blue;
        
    
    }
    .contact-img-responsive img {
        padding: 3px;
        height: 300px;
        position: relative;
        margin: auto;
    }
}
/* animasi */

@keyframes slideIn {
from {
right: -300px; /* Start off-screen */
}
to {
right: 0; /* End on-screen */
}
}