@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Georgia, serif;
    scroll-behavior: smooth;
}

.hero {
    position: relative;
    height: 70vh;
    overflow: hidden;
}
.carousel-hero{
height: 100vh;
}
.carousel-hero-item {
    height: 100vh;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    transition: opacity 0.5s ease;
}

.hero-overlay h1 {
    margin: 0;
    animation: fadeInUp 0.5s;
}

.hero-overlay p {
    margin: 10px 0;
    animation: fadeInUp 0.7s;
}

.hero-overlay .btn {
    display: block;
    margin-top: 20px;
    animation: fadeInUp 0.9s;
}

/* Styling untuk navbar */
.navbar-custom {
color: #000;
font-weight: bold;
background-color: rgba(255, 255, 255, 0.2); /* Background putih transparan */
transition: background-color 0.3s ease, color 0.3s ease; /* Transisi untuk perubahan background dan warna teks saat scroll */
}

/* Navbar Logo */
.navbar-custom .navbar-brand img {
    height: 35px; /* Ukuran logo Toyota */
}

/* Navbar Links */
.navbar-custom .navbar-nav .nav-link {
    color: #000; /* Warna teks navbar default */
    font-weight: bold;
    padding-left: 15px;
    padding-right: 15px;
}

.navbar-custom .navbar-nav .nav-link:hover {
}

/* Dropdown */
.navbar-custom .navbar-nav .dropdown-menu {
    background-color: white; /* Warna background dropdown default */
    
    border: none;
}

.navbar-custom .navbar-nav .dropdown-item {
    color: black;
    font-weight: 400;
}

.navbar-custom .navbar-nav .dropdown-item:hover {
    background-color: #303030; /* Warna latar saat item hover */
    color: #ffffff; /* Warna teks saat item hover */
}

/* Navbar Toggler */
.navbar-toggler-icon {
    background-color: #000; /* Warna icon toggler */
}

/* Styling untuk menu yang terpusat */
.navbar-nav {
    width: 100%;
    text-align: center;
    justify-content: center; /* Memastikan menu berada di tengah */
}

/* Navbar saat scroll ke bawah */
.navbar-scrolled {
    background-color: #000 !important; /* Background hitam saat scroll */
}

/* Navbar Links berubah menjadi putih */
.navbar-scrolled .navbar-nav .nav-link {
    color: #fff !important; /* Warna teks putih saat scroll */
}

/* Dropdown menu saat scroll */
.navbar-scrolled .navbar-nav .dropdown-menu {
    background-color: #fff !important; /* Background putih pada dropdown */
}

.navbar-scrolled .navbar-nav .dropdown-item {
    color: #000 !important; /* Warna teks dropdown putih */
}

.navbar-custom .container-fluid {
    display: flex;
    justify-content: space-between; /* Membuat logo di kiri dan menu di tengah */
    align-items: center;
}

/* Styling untuk kanan navbar */
.navbar-right-icons {
    display: flex;
    align-items: center;
    position: relative;
text-align: center;
}

.navbar-right-icons .nav-link {
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
}

/* Styling ikon */
.navbar-right-icons .nav-link i {
    font-size: 20px;

}
.navIcon-scrolled{
    color: white;
}
  /* Styling hamburger yang kustom */
  .navbar-toggler {
    border: none;
    position: fixed;
    right: 0;
    top: 5px;
}

.navbar-toggler-icon {
    background: transparent url('../img/icons/hamburger.png') center no-repeat;
    background-size: 100%;
  
  
}
.navbar-toggler-icon-scrolled {
    background: transparent url('../img/icons/hamburger.png') center no-repeat;
    background-size: 100%;
    filter: invert(100%) sepia(100%) saturate(100%) hue-rotate(0deg);
}

/* 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 */
    }
    /* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float img {
    width: 50%;
    height: 50%;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2);
}
    /* 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 */
    }

    @media screen and (max-width:1370px) {
        .navbar-custom .navbar-brand img {
            height: 20px; /* Ukuran logo Toyota */
        }
    }    
    @media screen and (max-width:768px) {
        .navbar-custom .navbar-brand img {
            height: 20px; /* Ukuran logo Toyota */
        }
        .whatsapp-float {
            width: 50px;
            height: 50px;
        }
    
        .whatsapp-float img {
            width: 40%;
            height: 40%;
        }
    }    