.top-banner { background-color: #0d6efd; color: white; padding: 8px 0; } .section-navbar{ position: sticky; top: 0; z-index: 1030; /* Ensures it stays above other content */ transition: top 0.3s; } .navbar-brand { display: flex; align-items: center; gap: 10px; } .search-form { max-width: 600px; width: 100%; right: -30px; } .search-form .form-control { border-radius: 20px; padding-right: 40px; } .search-icon { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: #6c757d; } .category-nav { border-top: 1px solid #dee2e6; padding: 10px 0; } .category-nav .nav-link { color: #010508; padding: 10px 30px; } .category-nav .nav-link:hover { color: #5160ea; } /* New CSS for centering */ .category-nav .container { display: flex; justify-content: center; } .category-nav { border-top: 1px solid #dee2e6; padding: 10px 0; background-color: #fcfdff; position: relative; } .category-nav .nav-link { color: #010508; padding: 10px 30px; font-weight: bold; /* Membuat teks tebal */ } .category-nav .nav-link:hover { color: #5160ea; } .burger-menu { border: none; background: none; font-size: 24px; padding: 5px 15px; display: flex; align-items: center; color: #010508; position: fixed; /* atau bisa menggunakan absolute tergantung kebutuhan */ top: 10px; /* Menempatkan burger menu sedikit di bawah tepi atas */ left: 10px; /* Menempatkan burger menu di pojok kiri */ } .burger-menu:focus { outline: none; } /* Responsive Styles */ @media (max-width: 991.98px) { .burger-menu-pro{ position: absolute; top: 100px; right: 0; z-index: 1000; /* Pastikan memiliki z-index lebih tinggi dari elemen lain */ } .burger-menu { position: absolute; top: -60px; right: 0; z-index: 1000; /* Pastikan memiliki z-index lebih tinggi dari elemen lain */ } .section-navbar{ position: static; top: 0; z-index: 1030; /* Ensures it stays above other content */ } .navbar-brand { display: flex; margin-left: 120px; } .ico-brand .account-btn { display: none; } #categoryMenu { position: absolute; top: -30px; left: -250px; /* Start position off-screen */ width: 250px; height: 100vh; background: white; z-index:1001; box-shadow: 2px 0 5px rgba(0,0,0,0.1); transition: left 0.3s ease-in-out; padding: 60px 0 20px 0; /* Added top padding for burger menu */ margin-top: 40px; /* Space for burger button */ } #categoryMenu.show { left: 0; /* End position on-screen */ } .category-nav .nav-link { padding: 8px 20px; } .nav-item { border-bottom: 1px solid #eee; } .nav-item:last-child { border-bottom: none; } } /* Carousel Styling */ .carousel-item { height: 500px; } .carousel-image { width: 100%; height: 400px; object-fit: cover; } .carousel-caption { background: rgba(0, 0, 0, 0.5); padding: 20px; border-radius: 10px; max-width: 600px; margin: 0 auto; bottom: 17%; /* Mengangkat caption ke atas */ } .carousel-control-prev, .carousel-control-next { width: 5%; } .carousel-indicators { margin-bottom: 5rem; } /* endcarosel */ .kategori-section{ margin-top: 20px; } .product-slider { position: relative; padding: 2rem 0; } .product-container { overflow: hidden; padding: 20px; } .product-wrapper { display: flex; transition: transform 0.3s ease-in-out; gap: 1rem; } .product-card { min-width: 100px; border: 1px solid #eee; border-radius: 8px; padding: 1rem; } .product-image { width: 100%; height: 200px; object-fit: contain; margin-bottom: 1rem; } .nav-button { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: #007bff; color: white; border: none; cursor: pointer; z-index: 10; } .prev-button { left: 0; } .next-button { right: 0; } .product-slider { position: relative; padding: 2rem 0; max-width: 1200px; margin: 0 auto; } .product-container { overflow: hidden; padding: 1rem 0; } .product-wrapper { display: flex; transition: transform 0.3s ease-in-out; gap: 1rem; } .product-card { flex: 0 0 auto; width:calc(25% - 1rem); /* Desktop default */ border: 1px solid #eee; border-radius: 8px; padding: 0.5rem; background: white; } .product-image { width: 100%; height: 150px; object-fit: contain; margin-bottom: 0.5rem; } .nav-button { position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: #007bff; color: white; border: none; cursor: pointer; z-index: 10; font-size: 14px; } .prev-button { left: -25px; width: 40px; height: 40px; } .next-button { right: -25px; width: 40px; height: 40px; } .product-title { font-size: 0.9rem; margin: 0.5rem 0; text-align: center; height: 2.7em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .price { font-weight: bold; color: #333; text-align: center; font-size: 0.9rem; margin-bottom: 0.25rem; } .original-price { text-decoration: line-through; color: #999; font-size: 0.8rem; } .discount { color: #dc3545; margin-left: 0.5rem; font-size: 0.8rem; } .pagination { display: flex; justify-content: center; gap: 1rem; margin-top: 0.5rem; } .pagination-dot { width: 6px; height: 6px; border-radius: 20%; background: #ccc; cursor: pointer; } .pagination-dot.active { background: #007bff; } .custom-img { width: 500px; height: 250px; margin-left: 20px; } /* Tablet Styles */ @media screen and (max-width: 991px) { .product-card { width: calc(50% - 1rem); /* 2 cards on tablet */ } .product-image { height: 130px; } .nav-button { width: 28px; height: 28px; font-size: 12px; } } /* Mobile Styles */ @media screen and (max-width: 576px) { .custom-img { width: 500px; height: 250px; margin-left: 0px; } .product-card { width: calc(100% - 3rem); /* 1 card on mobile */ margin: 0 1rem; } .product-image { height: 120px; } .nav-button { width: 24px; height: 24px; font-size: 10px; } .prev-button { left: -16px; width: 40px; height: 40px; } .next-button { right: -16px; width: 40px; height: 40px; } } /* new produk */ .new-products { padding: 20px; background-color:white; } .new-products h2 { margin-bottom: 20px; } .product-list { display: flex; gap: 15px; overflow-x: auto; /* Memungkinkan scroll horizontal */ scroll-snap-type: x mandatory; /* Membuat elemen berhenti pada posisi produk */ padding-bottom: 10px; } .product-item { flex: 0 0 auto; /* Membuat item tidak mengecil */ width: 200px; /* Atur lebar item */ background-color: #fff; padding: 15px; border: 1px solid #ddd; border-radius: 8px; text-align: center; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); scroll-snap-align: start; /* Produk berhenti di awal elemen */ margin-left: auto; } .price { display: block; margin-top: 10px; font-weight: bold; color: #27ae60; } .blinking-text { animation: blink 1s infinite; /* Durasi 1 detik dan berulang tanpa batas */ } @keyframes blink { 0%, 100% { color: red; } 50% { color: blue; } } /* end new produk */ .garis-hr { border: black; height: 2px; background-color: #080808; /* Pastikan garis utama tetap hitam */ margin: 20px 0; position: relative; overflow: hidden; } .garis-hr::before { content: ''; position: absolute; top: 0; left: -100%; /* Memulai animasi di luar layar */ width: 100%; height: 100%; background-color: #1f84f0; /* Warna biru */ animation: slide 2s linear infinite; /* Animasi bergerak */ } @keyframes slide { 0% { left: -100%; /* Memulai dari luar layar */ } 100% { left: 100%; /* Bergerak melintasi elemen ke kanan */ } } /* client */ #clients { background-color: #f8f9fa; } .marquee-container { overflow: hidden; position: relative; } .marquee { display: flex; animation: marquee 20s linear infinite; } .client-logo { width: 120px; /* Ukuran logo */ height: auto; } @keyframes marquee { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } } /* end client */ /* event */ .event-section { padding: 60px 0; background-color: white; } .section-title { text-align: center; margin-bottom: 50px; } .section-title h2 { font-size: 2.5rem; color: #333; margin-bottom: 15px; } .section-title p { color: #666; font-size: 1.1rem; } .event-nav { display: flex; justify-content: center; margin-bottom: 40px; } .event-nav .nav-link { padding: 10px 25px; margin: 0 10px; border-radius: 25px; color: #666; font-weight: 500; transition: all 0.3s ease; } .event-nav .nav-link.active { background-color: #0d6efd; color: white; } .event-card { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); margin-bottom: 30px; transition: transform 0.3s ease; } .event-card:hover { transform: translateY(-10px); } .event-image { position: relative; height: 200px; overflow: hidden; } .event-image img { width: 100%; height: 100%; object-fit: cover; } .event-status { position: absolute; top: 15px; right: 15px; padding: 5px 15px; border-radius: 20px; color: white; font-size: 0.9rem; font-weight: 500; } .status-ongoing { background-color: #28a745; } .status-upcoming { background-color: #ffc107; } .status-past { background-color: #6c757d; } .event-content { padding: 20px; } .event-date { color: #0d6efd; font-size: 0.9rem; margin-bottom: 10px; } .event-title { font-size: 1.25rem; color: #333; margin-bottom: 10px; } .event-location { color: #666; font-size: 0.9rem; margin-bottom: 15px; } .event-description { color: #666; font-size: 0.95rem; margin-bottom: 20px; line-height: 1.6; } .event-footer { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; background-color: #f8f9fa; } .booth-info { color: #666; font-size: 0.9rem; } .event-action .btn { padding: 8px 20px; border-radius: 20px; font-size: 0.9rem; } .live-indicator { display: inline-flex; align-items: center; color: #28a745; font-size: 0.9rem; margin-right: 15px; } .live-indicator .dot { width: 8px; height: 8px; background-color: #28a745; border-radius: 50%; margin-right: 5px; animation: pulse 1.5s infinite; } @keyframes pulse { 0% { transform: scale(0.95); opacity: 0.5; } 50% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(0.95); opacity: 0.5; } } .countdown-timer { display: flex; justify-content: center; margin: 15px 0; gap: 15px; } .time-block { text-align: center; background: #f8f9fa; padding: 8px 12px; border-radius: 8px; } .time-number { font-size: 1.2rem; font-weight: bold; color: #333; } .time-label { font-size: 0.8rem; color: #666; } /* endevent */ /* contacts */ #contact{ background: #ebedef; } /* endcontact */ /* pages produk */ #product-header .container { z-index: 1; } #product-header::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; } .text-white { color: #fff; } .sidebar { margin-top: 30px; background-color: white; border: 2px solid rgb(0, 5, 9); padding: 20px; border-radius: 8px; /* Menambahkan lengkungan pada sudut */ } .sidebar.open { left: 0; /* Sidebar terlihat saat terbuka */ } .burger-menu-pro { border: none; background: none; font-size: 24px; padding: 5px 15px; display: flex; align-items: center; color: #010508; position: absolute; /* atau bisa menggunakan absolute tergantung kebutuhan */ top: 290px; /* Menempatkan burger menu sedikit di bawah tepi atas */ left: 10px; /* Menempatkan burger menu di pojok kiri */ z-index: 1000; } .category-item { color: #666; padding: 8px 0; cursor: pointer; transition: color 0.3s; } .category-item:hover { color: #0d6efd; } .product-cardpages { border: 1px solid #eee; padding: 15px; margin-bottom: 20px; text-align: center; transition: transform 0.3s; } .product-cardpages:hover { transform: translateY(-5px); box-shadow: 0 4px 15px rgba(0,0,0,0.1); } .product-images { max-width: 100%; height: auto; margin-bottom: 15px; } .breadcrumb { margin: 20px 0; background-color: transparent; } .product-title { color: #333; font-size: 1rem; margin: 10px 0; } .product-model { color: #666; font-size: 0.9rem; } .category-header { font-size: 1.2rem; margin-bottom: 15px; color: #333; } .industry-section { margin-top: 30px; } .sorting-section { margin-top: 30px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; } .showing-info { color: #666; } /* endpagesproduk */