@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Bebas Neue', sans-serif;
}

h1{
    font-size: 50px;
    line-height: 64px;
    color: #222;
}

h2{
    font-size: 46px;
    line-height: 54px;
    color: #222;
}

h4{
    font-size: 20px;
    color: #222;
}

h6{
    font-weight: 700;
    font-size: 12px;
}

p{
    font-size: 16px;
    color: #465b52;
    margin: 15px 0 20px 0;
}

.section-p1{
    padding: 40px 80px;
}

.section-m1{
    margin: 40px 0;
}

button.normal{
    font-size: 14px;
    font-weight: 600;
    padding: 15px 30px;
    color: #000;
    background-color: #ffffff;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: 0.3s;
}

button.white{
    font-size: 13px;
    font-weight: 600;
    padding: 11px 18px;
    color: #fff;
    background-color: transparent;
    cursor: pointer;
    border: 1px solid;
    outline: none;
    transition: 0.3s;
}

@keyframes enterence{
    from{
        margin-left: -100%;
    }
    to{
        margin-left: 0;
    }
}

@keyframes hero-zoom {
    from {
        background-size: 100%;
    }
    to {
        background-size: 110%;
    }
}

body{
    width: 100%;
    background-color: #000;
}

.logo img{
    padding-top: 20px;
    width: 150px;
    height: auto;
}


/* index.html */
#header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 80px;
    background:rgb(0, 0, 0);
    box-shadow: 0 5px 15px rgb(251, 251, 251, 0.05);
    z-index: 999;
    position: sticky;
    top: 0;
    right: 0;
}

#navbar{
    display: flex;
    justify-content: center;
    align-items: center;
}

#navbar li {
  list-style: none;
  padding: 0 20px;
  position: relative;
}

#navbar li a {
  text-decoration: none;
  font-size: 26px;
  font-weight: 500;
  color: #fff;
  transition: color 0.3s ease; /* biar warna teks juga halus */
  position: relative; /* penting buat pseudo-element */
}

/* Garis awal: belum kelihatan */
#navbar li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #b90000;
  transition: width 0.5s cubic-bezier(0.25, 1, 0.5, 1); /* animasi smooth */
}

/* Saat hover atau aktif */
#navbar li a:hover::after,
#navbar li a.active::after {
  width: 100%;
}

#hero{
    background-image: url("assets/mainhero.jpg");
    height: 90vh;
    width: 100%;
    background-size: 100%;
    background-position: center;
    animation-name: hero-zoom;
    animation-timing-function: ease-in-out; /* Biar alus */
    padding: 0 200px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

#hero h4, #hero h2, #hero h1, #hero p, #hero button{
    animation: enterence 1.5s ease;
}

#hero button{
    animation: enterence 1.7s ease;
}


#hero h4{
    color: #b90000;
    font-size: 34px;
}

#hero h2{
    color: #fff;
    padding: 10px 0;
    font-size: 72px;
}

#hero h1, #hero p{
    color: #fff;
}

#hero h1{
    font-size: 80px;
}

#hero .bhero {
    font-size: 30px;
    font-weight: 700;
    cursor: pointer;
    background-color: transparent;
    color: #fff;
    border: 2px solid #b90000;
    padding: 10px 15px;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
}

#hero .bhero span {
    color: #b90000;
    transition: all 0.3s ease-in-out;
}

#hero .bhero:hover {
    background-color: #b90000; 
    color: #fff;
    border-color: #b90000; 
}

#hero .bhero:hover span {
    color: #fff;
}

#product1{
    text-align: center;
    background-color: #000;
}

#product1 h2, #product1 p{
    color: #fff;
}

#product1 .pro-container{
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    flex-wrap: wrap;
}

#product1 .pro{
    width: 23%;
    min-width: 250px;
    padding: 10px 12px;
    border: 1px solid #cce7d0;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 20px 20px 30px rgb(255, 255, 255, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    margin: 15px 0;
}

#product1 .pro:hover{
    box-shadow: 20px 20px 30px rgb(0, 0, 0, 0.08);
    transform: scale(1.03);

}

#product1 .pro img{
    width: 100%;
    border-radius: 20px;
}

#product1 .pro .des{
    text-align: start;
    padding: 10px 0;
}

#product1 .pro .des h5{
    color: #b90000;
    font-size: 16px;
    font-weight: 600;
    padding-top: 7px;
}

#product1 .pro .des h4{
    color: #fff;
    padding-top: 7px;
}

#product1 .pro .cart{
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50px;
    background-color: #fff;
    font-weight: 500;
    color: #e10000;
    border: 1px solid #fff;
    position: absolute; 
    bottom: 20px;       
    right: 10px;        
}

#banner{
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    background: url("assets/banner1.jpg");
    width: 100%;
    height: 40vh;
    background-size: cover;
    background-position: center;
}

#banner h4{
    color: #b90000;
    font-size: 16px;
}

#banner h2{
    color: #ffffff;
    font-size: 30px;
    padding: 10px;
}

#banner h2 span{
    color: red;
} 

#banner button{
    font-size: 18px;
    font-weight: 400;
    background-color: #000000;
    color: #c00101;
}

#banner button:hover{
    background-color: #c00101;
    color: #ffffff;
}

#sm-banner{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#sm-banner .banner-box{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 30px;
    background: url("assets/bannerimage3.png");
    min-width: 48%;
    height: 50vh;
    background-size: cover;
    background-position: center;
}

#sm-banner h4{
    color: #fff;
    font-size: 20px;
    font-weight: 300;
}

#sm-banner h2{
    color: #fff;
    font-size: 28px;
    font-weight: 800;
}

#sm-banner span{
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding-bottom: 15px;
}

#sm-banner button:hover{
    background: #e10000;
    border: 1px solid;
}

#sm-banner .banner-box2{
    background: url("assets/bannerimage5.png");
}

#banner3{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 80px;
}

#banner3 .banner-box{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    min-width: 30%;
    height: 30vh;
    background-size: cover;
    background-position: center;
    padding: 20px;
    margin-bottom: 20px;
}

#banner3 .banner-box3{
    background-image: url("assets/butut1.jpg");
}

#banner3 .banner-box4{
    background-image: url("assets/butut2.jpg");
}

#banner3 .banner-box5{
    background-image: url("assets/butut3.jpg");
}

#banner3 h2{
    color: #fff;
    font-weight: 900;
    font-size: 22px;
}

#banner3 h4{
    color: #ac0000;
    font-weight: 800;
    font-size: 15px;
}

#newsletter{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    background-image: url("assets/banner.jpg");
    background-size: cover;
    background-position: center;
}

#newsletter .form{
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

#newsletter h4{
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

#newsletter .form{
    display: flex;
    width: 40%;
}

#newsletter a{
    list-style: none;
    color: #fff;
    text-decoration: none;
}

#newsletter p{
    font-size: 14px;
    font-weight: 600;
    color: #fff; 
    margin: 0; 
}

#newsletter p span{
    color: #e10000;
}

#newsletter input{
    height: 3.125rem;
    padding: 0 1.25rem;
    font-size: 14px;
    width: 100%;
    border: 1px solid transparent;
    border-radius: 4px;
    outline: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    font-family: 'Spartan', sans-serif;
    text-transform: none;
}

 #newsletter button{
    background-color: #e10000;
    color: #fff;
    white-space: nowrap;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

footer{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

footer .col{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 20px;
}

footer .logo{
    margin-bottom: 30px;
    width: 150px;
    height: auto;
}

footer h4{
    color: #fff;
    font-size: 14px;
    padding-bottom: 30px;
}

footer p{
    color: #fff;
    font-size: 13px;
    margin: 0 0 8px 0;
}

footer a{
    font-size: 13px;
    text-decoration: none;
    margin: 0 0 8px 0;
    color: #fff;
    margin-bottom: 10px;
}

footer .follow{
    margin-top: 20px;
}

footer .follow i{
    color: #fff;
    padding-right: 4px;
    cursor: pointer;
}

footer .install .row img{
    border:  1px solid #fff;
    border-radius: 6px;
}

footer .install img{
    margin: 10px 0 15px 0;
}

footer .follow i:hover,
footer a:hover{
    color: #e10000;
}

footer .copyright{
    width: 100%;
    text-align: center;
}

footer .copyright p{
    font-size: 22px;
}


/* shop.html */

#page-header{
    background-image: url("assets/banner1.jpg");
    width: 100%;
    height: 40vh;
    background-size: cover;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    padding: 7px;
}

#page-header h2, #page-header p{
    color: #fff;
}

#pagination{
    text-align: center;
}

#pagination a{
    text-decoration: none;
    color: #fff;
    background-color:#c00101;
    padding: 15px 20px;
    border-radius: 4px;
    font-weight: 600;
}

/* about.html */


/* ABOUT PAGE */
.about-header {
    text-align: center;
    padding: 80px 20px;
    background: #0d0d0d;
}

.about-header h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.about-header{
    color: #fff;
}

.about-header p {
    font-size: 18px;
    opacity: 0.8;
}

/* CONTENT */
.about-section {
    padding: 80px 10%;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 12px;
    border: 2px solid #ffffff;
}

.about-content h2 {
    font-size: 34px;
    margin-bottom: 15px;
    color: #ffffff;
}

.about-content p {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.7;
    color: #fff;
}

.about-content span{
    color: #c00101;
}

/* VALUES */
.values-section {
    padding: 80px 10%;
    text-align: center;
    background: #000;
}

.values-section h2 {
    color: #fff;
    font-size: 36px;
    margin-bottom: 40px;
}

.values-container {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.value-card {
    width: 320px;
    padding: 25px;
    background: #111;
    border-radius: 12px;
    border: 1px solid #ffffff;
    transition: 0.3s;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 20px #44d62c55;
}

.value-card h3 {
    color: #c50000;
    font-size: 22px;
    margin-bottom: 10px;
}

.value-card p {
    color: #fff;
    opacity: 0.8;
}

/* contact.html */

/* (Ini Bikin Banner Header Halaman Kontak jadi beda gambar) */
#page-header.contact-header {
     background-image: url("assets/contact.jpg"); /* <-- GANTI GAMBAR BANNER BARU */
}

/* -- Bagian Detail & Peta -- */
#contact-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#contact-details .details {
    width: 40%;
}

/* Teks abu-abu kecil "GET IN TOUCH" */
#contact-details .details span,
#form-details form span {
    font-size: 12px;
    color: #999; 
    font-family: 'Spartan', sans-serif;
    text-transform: none;
}

#contact-details .details h2,
#form-details form h2 {
    font-size: 32px;
    line-height: 1.2;
    padding: 20px 0;
    color: #fff; /* Teks putih */
}

#contact-details .details h3 {
    font-size: 20px;
    padding-bottom: 15px;
    color: #fff; /* Teks putih */
}

#contact-details .details li {
    list-style: none;
    display: flex;
    padding: 10px 0;
    align-items: flex-start;
}

#contact-details .details li i {
    font-size: 16px;
    padding-right: 22px;
    color: #fff; /* Ikon putih */
    margin-top: 4px;
}

#contact-details .details li p {
    margin: 0;
    font-size: 16px;
    font-family: 'Spartan', sans-serif; 
    text-transform: none;
    color: #ccc; /* Teks abu-abu */
}

#contact-details .map {
    width: 55%;
    height: 400px;
}

#contact-details .map iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px; 
    /* EFEK PETA DARK MODE (Biar nyatu sama tema) */
    filter: grayscale(1) invert(0.9) contrast(0.8); 
}

/* -- Bagian Form & Staf -- */
#form-details {
    display: flex;
    justify-content: space-between;
    margin: 30px 0; /* Hapus margin kiri/kanan, udah di section-p1 */
    padding: 80px;
    border: 1px solid #333; /* Border abu-abu tua */
    background-color: #1a1a1a; /* Latar form sedikit beda */
    border-radius: 15px;
}

#form-details form {
    width: 65%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#form-details form input,
#form-details form textarea {
    width: 100%;
    padding: 12px 15px;
    outline: none;
    margin-bottom: 20px;
    border: 1px solid #333;
    background-color: #222; /* Input field gelap */
    color: #fff; /* Teks input putih */
    font-family: 'Spartan', sans-serif; /* Font non-kapital */
    text-transform: none; /* Matikan Bebas Neue */
    font-size: 14px;
    border-radius: 4px;
}

#form-details form input:focus,
#form-details form textarea:focus {
    border-color: #b90000; /* Border merah saat aktif */
}

/* Style tombol "Kirim" */
#form-details form button.normal {
    background-color: #b90000;
    color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 16px;
}

#form-details form button.normal:hover {
    background-color: #e10000;
}

/* -- Bagian Staf (Kanan) -- */
#form-details .people {
    width: 30%;
}

#form-details .people div {
    padding-bottom: 25px;
    display: flex;
    align-items: flex-start;
}

#form-details .people div img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 50%; /* Bikin bulat */
    margin-right: 15px;
}

#form-details .people div p {
    margin: 0;
    font-family: 'Spartan', sans-serif;
    font-size: 13px;
    line-height: 25px;
    color: #ccc;
    text-transform: none;
}

#form-details .people div p span {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    font-family: 'Bebas Neue', sans-serif; /* Nama staf pakai Bebas Neue */
    text-transform: uppercase;
}

/* cart.html */

/* ======================== */
/* 12. CART PAGE (STATIK)   */
/* ======================== */

/* Ganti banner atas */
#page-header.cart-header {
    background-image: url("assets/banner1.jpg"); /* <-- GANTI GAMBAR BANNER BARU */
}

/* Bikin tabel bisa di-scroll di HP */
#cart {
    overflow-x: auto;
}

#cart table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    white-space: nowrap;
}

#cart table img {
    width: 70px; /* Ukuran gambar produk di tabel */
}

/* Style umum sel tabel */
#cart table td {
    border: 1px solid #333; /* Border abu tua */
    padding: 15px;
    color: #fff;
    font-family: 'Spartan', sans-serif;
    font-size: 14px;
    text-transform: none;
    text-align: center; /* Rata tengah */
}
/* Bikin kolom Produk rata kiri */
#cart table td:nth-child(3) {
    text-align: left;
}

/* Style header tabel (Judul kolom) */
#cart table thead {
    border: 1px solid #333;
    border-left: none;
    border-right: none;
}

#cart table thead td {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    padding: 18px 10px;
    color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
}

#cart table tbody tr:first-child td {
    padding-top: 25px;
}

/* Style tombol Hapus (X) */
#cart table tbody .cart-remove {
    color: #b90000;
    font-size: 18px;
    text-decoration: none;
    font-family: 'Spartan', sans-serif; /* Pastikan ikonnya ke-load */
}

/* Style input jumlah */
#cart table tbody input {
    width: 70px;
    padding: 10px 5px 10px 15px;
    background: #222;
    border: 1px solid #333;
    color: #fff;
    font-family: 'Spartan', sans-serif;
    text-transform: none;
}

/* -- Bagian Kupon & Total -- */
#cart-add {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Kotak Kiri (Kupon) & Kanan (Subtotal) */
#coupon, #subtotal {
    width: 48%;
    margin-bottom: 30px;
    border: 1px solid #333;
    padding: 30px;
    background-color: #1a1a1a;
    border-radius: 10px;
}

#coupon h3, #subtotal h3 {
    padding-bottom: 15px;
    color: #fff;
}

#coupon input {
    padding: 10px 20px;
    outline: none;
    width: 60%;
    margin-right: 10px;
    border: 1px solid #333;
    background: #222;
    color: #fff;
    font-family: 'Spartan', sans-serif;
    text-transform: none;
}

/* Tombol */
#coupon button,
#subtotal button {
    background-color: #b90000;
    color: #fff;
    padding: 12px 20px;
}

#subtotal table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 20px;
}

#subtotal table td {
    border: 1px solid #333;
    width: 50%;
    padding: 10px;
    font-size: 14px;
    font-family: 'Spartan', sans-serif;
    color: #ccc;
    text-transform: none;
}
#subtotal table td:last-child {
    text-align: right;
}
#subtotal table tr:last-child td {
    color: #fff;
    font-weight: 700;
}

/* Responsive */

#navbar {
    transition: 0.3s ease; 
}

#mobile {
    display: none;
    align-items: center;
}

#close {
    display: none;
}

@media (max-width: 477px) {
    .section-p1 {
        padding: 20px; 
    }

    #header {
        padding: 10px 30px;
    }

    h1 {
        font-size: 38px;
    }

    h2 {
        font-size: 32px;
    }

    /* --- CSS untuk Hamburger Menu (Mengaktifkan di HP) --- */
    #navbar {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        position: fixed;
        top: 0;
        right: -300px; /* Sembunyikan di luar layar */
        height: 100vh;
        width: 300px;
        background-color: #000; /* Ini warna sidebar dari video */
        box-shadow: 0 40px 60px rgba(0, 0, 0, 0.1);
        padding: 80px 0 0 10px;
    }

    #navbar #close {
    position: absolute;
    top: 20px;
    right: 20px;    
    }

    #navbar #close i {
        font-size: 28px;
        color: #fff;
        cursor: pointer;
    }

    /* Ini class yg ditambahkan JS untuk memunculkan menu */
    #navbar.active {
        right: 0px;
    }

    #navbar li {
        margin-bottom: 25px;
    }

    #navbar li a{
        color: #fff;
    }

    #mobile {
        display: flex; /* Munculkan hamburger di HP */
    }

    #mobile i {
        color: #fff;
        font-size: 24px;
        padding-left: 20px;
    }

    #close {
        display: initial; /* Tampilkan tombol close di menu sidebar */
        position: absolute;
        top: 30px;
        left: 30px;
        color: #fff;
        font-size: 24px;
    }

    #lg-bag {
        display: none; /* Sembunyikan tas di navbar desktop */
    }
    /* --- Akhir CSS Hamburger --- */


    #hero {
        padding: 20px;
        text-align: left;
        background-position: center;
    }

    #hero h1 {
        font-size: 42px;
    }

    #hero h2 {
        font-size: 32px;
    }

    #product1 .pro-container {
        justify-content: center;
    }

    #product1 .pro {
        width: 100%; /* Produk jadi full width */
        margin: 15px;
    }

    #banner {
        height: 40vh;
    }

    #sm-banner .banner-box {
        min-width: 100%; /* Banner jadi full width */
        height: 40vh;
    }

    #sm-banner .banner-box2 {
        margin-top: 20px; /* Beri jarak antar banner */
    }

    #banner3 {
        padding: 0 20px;
    }

    #banner3 .banner-box {
        width: 100%; /* Banner 3 kolom jadi full width */
    }

    #newsletter {
        padding: 40px 20px;
    }

    #newsletter .form {
        width: 100%;
        margin-top: 10px;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .values-container {
        flex-direction: column;
        align-items: center;
    }
}