html{
    scroll-behavior: smooth;
}
body{font-family:Arial,sans-serif;margin:0;padding:0;box-sizing:border-box}
header{background-color:#333;color:white;padding:10px 0;display:flex;justify-content:space-between;align-items:center}
nav ul{list-style:none;display:flex;gap:20px;padding-right:20px}
nav ul li{display:inline}
nav ul li a{color:white;text-decoration:none}
.logo{padding-left:20px}.hero{background-image:url('forklift-hero.jpg');background-size:cover;color:white;text-align:center;padding:100px 20px}.hero h1{font-size:2.5em}.cta-button{background-color:#ff5722;color:white;border:none;padding:10px 20px;cursor:pointer;font-size:1.2em}.products{text-align:center;padding:50px 20px}.product-list{display:flex;justify-content:space-around;flex-wrap:wrap}.product{text-align:center;margin:20px;flex-basis:300px}.product img{width:100%;height:auto}.testimonials{background-color:#f4f4f4;padding:30px;text-align:center}footer{background-color:#333;color:white;text-align:center;padding:20px 0}@media(max-width:768px){.hero h1{font-size:2em}.product-list{flex-direction:column;align-items:center}}@media(max-width:480px){nav ul{flex-direction:column;padding-left:20px}.hero h1{font-size:1.5em}.cta-button{font-size:1em;padding:8px 15px}}
.contact {
    text-align: center;
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.contact label {
    margin-bottom: 10px;
    font-weight: bold;
}

.contact input, .contact textarea {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact button {
    padding: 10px;
    background-color: #ff5722;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}
/* Animasi untuk tombol dan gambar */
.cta-button {
    background-color: #ff5722;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease; /* Animasi halus */
}

.cta-button:hover {
    background-color: #e64a19;
    transform: scale(1.05); /* Membuat tombol sedikit membesar saat di-hover */
}

.product img {
    width: 275px;
    height: 183px;
    object-fit: cover; /* Memastikan gambar terisi penuh tanpa merusak proporsi */
    display: block;
    margin: 0 auto;
}

.product img:hover {
    transform: scale(1.1); /* Zoom in saat gambar di-hover */
}

/* Tambahan animasi untuk fade-in */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero, .products, .testimonials, .contact {
    animation: fadeIn 1s ease; /* Elemen muncul perlahan */
}
/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    top:50%;
    background-color: #25d366;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
    z-index: 1000;
}

.whatsapp-button img {
    width: 100px;
    height: 100px;
}

/* Animation for WhatsApp Button */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}
/* Container untuk brand forklift */
.brand-container {
    margin: 20px auto;
    width: 100%;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.1); /* Kotak transparan */
    padding: 10px 0;
    display: flex;
    justify-content: center;
}

.brand-slider {
    display: flex;
    animation: slide 20s linear infinite;
}

.brand-slider div {
    min-width: 150px;
    margin: 0 20px;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
}

/* Animasi sliding text */
@keyframes slide {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}
/* Container untuk produk forklift */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

/* Kotak individual produk */
.product-item {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    transition: transform 0.3s ease;
}

.product-item:hover {
    transform: translateY(-10px);
}

/* Gambar produk */
/* Ukuran gambar produk yang seragam */
.product-item img {
    width: 275px;
    height: 183px;
    object-fit: cover; /* Memastikan gambar terisi penuh tanpa merusak proporsi */
    display: block;
    margin: 0 auto;
}


/* Deskripsi produk */
.product-info {
    padding: 15px;
    text-align: center;
}

.product-info h3 {
    font-size: 1.3em;
    margin: 10px 0;
}

.product-info p {
    font-size: 1.1em;
    color: #666;
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}
/* Styling untuk tombol WhatsApp di setiap produk */
.product-item .wa-button {
    display: inline-block;
    background-color: #25d366;
    color: white;
    padding: 10px 20px;
    margin-top: 10px;
    border-radius: 5px;
    font-size: 1em;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.product-item .wa-button:hover {
    background-color: #128c7e;
}

/* Styling untuk judul "Forklift Unggulan" */
.forklift-unggulan {
    font-size: 3em;
    font-weight: bold;
    text-align: center;
    background: linear-gradient(90deg, #ff7e5f, #feb47b);
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    margin-bottom: 20px;
    animation: glow 1.5s ease-in-out infinite alternate;
}

/* Animasi glow */
@keyframes glow {
    from {
        text-shadow: 2px 2px 10px rgba(255, 126, 95, 0.6), 0 0 10px rgba(254, 180, 123, 0.6);
    }
    to {
        text-shadow: 2px 2px 20px rgba(255, 126, 95, 0.8), 0 0 20px rgba(254, 180, 123, 0.8);
    }
}
/* Styling untuk logo PT JKR di pojok kanan atas dengan efek bulat */
.logo-jkr {
    position: absolute;
    top: 0px;
    right: 20px;
    width: 100px;
    height: 100px;
    border-radius: 50%; /* Membuat logo menjadi bulat */
    object-fit: cover;  /* Agar gambar tetap proporsional di dalam lingkaran */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Memberikan bayangan lembut */
    z-index: 100; /* Memastikan logo di atas elemen lain */
}

@media (max-width: 600px) {
    .logo-jkr {
        width: 80px;
        height: 80px;
        top: 10px;
        right: 10px;
    }
}
/* Styling untuk bagian peta */
.map-section {
    padding: 20px 0;
    text-align: center;
    background-color: #f8f8f8;
}

.map-section h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #333;
}

.map-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Styling untuk navigasi header */
.navbar {
    background-color: #333;
    padding: 10px 0;
    text-align: center;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block;
}

.nav-list li {
    display: inline;
    margin: 0 15px;
}

.nav-list a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    transition: color 0.3s;
}

.nav-list a:hover {
    color: #ff7e5f; /* Warna hover untuk menambah efek interaktif */
}
/* Tombol kembali ke atas */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Transparansi */
    color: rgb(15, 3, 3);
    padding: 5px 15px;
    font-size: 2em;
    border-radius: 50%;
    text-align: center;
    text-decoration: none;
    display: none; /* Tombol tidak terlihat sampai pengguna scroll ke bawah */
    z-index: 100;
    transition: opacity 0.3s ease;
}

.back-to-top:hover {
    background-color: rgba(19, 20, 17, 0.7); /* Hover effect */
}

/* Animasi muncul saat scroll ke bawah */
.show {
    display: block;
    opacity: 1;
}
.tooltip-text {
    visibility: hidden;
    width: 220px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    right: 50px; /* Mengatur jarak tooltip dari tombol */
    top: 50%;
    transform: translateY(-50%);
    z-index: 101;
    opacity: 0;
    transition: opacity 0.3s ease;
}
whatsapp-button:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}
/* Container untuk testimoni */
.testimonials-container {
    position: relative;
    width: 100%;
    overflow: hidden; /* Hanya menampilkan bagian komentar yang masuk dalam area container */
    background-color: rgba(255, 255, 255, 0.1); /* Transparansi untuk latar belakang */
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Wrapper untuk testimoni yang bergerak */
.testimonials {
    display: flex;
    width: max-content;
    animation: scroll 20s linear infinite;
}
.testimonials-section {
    text-align: center;
    padding: 20px;
}

.testimonials-section h2 {
    color: #ff8c00;
    font-size: 2em;
    margin-bottom: 10px;
}

.testimonials-section p {
    color: #555;
    font-size: 1.2em;
    margin-bottom: 30px;
}

.testimonials-slider {
    display: flex;
    overflow: hidden;
    position: relative;
    justify-content: space-between;
}

.testimonial-card {
    flex: 0 0 30%;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 20px;
    margin: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: scale(1.05);
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.slider-controls {
    margin-top: 20px;
}

.slider-controls button {
    background-color: #ff8c00;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5em;
}

.slider-controls button:hover {
    background-color: #e67e00;
}
.dot-navigation {
    text-align: center;
    margin-top: 10px;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.6s ease;
}

.active {
    background-color: #717171;
}
/* Styling for the Gallery Section */
.gallery-section {
    text-align: center;
    padding: 50px 0;
    background-color: #f8f8f8;
}

.gallery-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
}

.gallery-section p {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #666;
}

.gallery-slider-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Large Image Styling */
.gallery-large {
    width: 60%;
    position: relative;
}

.gallery-large img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Thumbnails Styling */
.gallery-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.gallery-thumbnails img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.gallery-thumbnails img:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-large {
        width: 70%;
    }

    .gallery-thumbnails img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .gallery-large {
        width: 100%;
    }

    .gallery-thumbnails img {
        width: 40px;
        height: 40px;
    }
}
