/* RESET */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    color: #222;
    overflow-x: hidden;
}

/* HEADER */
header{
    width: 100%;
    padding: 12px 50px;
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.logo-container{
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-container img{
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.logo-container h1{
    font-family: "Times New Roman", Times, serif;
    font-size: 24px;
    line-height: 1.1;
}

nav ul{
    display: flex;
    list-style: none;
    gap: 10px;
}

nav ul li a{
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 10px 18px;
    border-radius: 30px;
    transition: 0.3s ease;
}

nav ul li a.active,
nav ul li a:hover{
    background: #c40000;
    color: white;
}

/* HERO */
.hero{
    min-height: 90vh;
    padding: 120px 50px;
    display: flex;
    align-items: center;
    background:
    linear-gradient(rgba(180,0,0,0.72), rgba(120,0,0,0.72)),
    url("/images/foto_slide1.jpeg");
    background-size: cover;
    background-position: center;
}

.hero-content{
    max-width: 720px;
    color: white;
}

.hero-badge{
    display: inline-block;
    padding: 10px 22px;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 30px;
    font-weight: bold;
}

.hero-content h2{
    font-size: 58px;
    line-height: 1.1;
    margin-bottom: 22px;
}

.hero-content p{
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 35px;
}

.hero-button{
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary{
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
}

.btn-primary{
    background: white;
    color: #c40000;
}

.btn-secondary{
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-primary:hover,
.btn-secondary:hover{
    transform: translateY(-3px);
}

.btn-secondary:hover{
    background: white;
    color: #c40000;
}

/* SIDEBAR */
.sidebar-contact{
    position: fixed;
    right: 15px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.sidebar-contact a{
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 24px;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    transition: 0.3s ease;
}

.sidebar-contact a:hover{
    transform: scale(1.08);
}

.whatsapp{
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.maps{
    background: #ff3d00;
}

.tiktok{
    background: linear-gradient(135deg, #111, #000);
}

.instagram{
    background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7);
}

/* TENTANG */
.tentang{
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 90px 50px;
    background: white;
}

.tentang-text{
    flex: 1;
}

.tentang-text h2{
    font-size: 40px;
    color: #c40000;
    margin-bottom: 20px;
}

.tentang-text p{
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
}

.tentang-image{
    flex: 1;
}

.slider{
    width: 100%;
    height: 360px;
    overflow: hidden;
    border-radius: 22px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.slides{
    display: flex;
    height: 100%;
    transition: transform 1s ease;
}

.slide{
    min-width: 100%;
    height: 100%;
    object-fit: cover;
}

.prev,
.next{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    color: white;
    font-size: 22px;
    cursor: pointer;
}

.prev{
    left: 15px;
}

.next{
    right: 15px;
}

/* PRODUK KATEGORI */
.produk{
    padding: 90px 50px;
    background: linear-gradient(180deg, #fff5f5, #ffffff);
    text-align: center;
}

.produk h2{
    font-size: 40px;
    color: #c40000;
    margin-bottom: 10px;
}

.produk-subtitle{
    color: #666;
    margin-bottom: 45px;
}

.kategori-container{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.kategori-card{
    background: white;
    border-radius: 22px;
    overflow: hidden;
    text-decoration: none;
    color: #222;
    box-shadow: 0 10px 30px rgba(0,0,0,0.10);
    transition: 0.3s ease;
}

.kategori-card:hover{
    transform: translateY(-10px);
}

.kategori-card img{
    width: 100%;
    height: 230px;
    object-fit: contain;
    padding: 15px;
    background: white;
}

.kategori-card-content{
    padding: 25px;
}

.kategori-card h3{
    font-size: 24px;
    color: #c40000;
    margin-bottom: 10px;
}

.kategori-card p{
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.kategori-card span{
    display: inline-block;
    padding: 10px 22px;
    background: #c40000;
    color: white;
    border-radius: 30px;
    font-weight: bold;
}

/* INFO KAMI */
.info-kami{
    padding: 100px 60px;
    background: linear-gradient(135deg, #fff5f5, #ffffff);
    text-align: center;
}

.info-kami h2{
    font-size: 44px;
    color: #c40000;
    margin-bottom: 12px;
}

.info-subtitle{
    font-size: 17px;
    color: #666;
    margin-bottom: 45px;
}

.maps-container{
    max-width: 1100px;
    margin: 0 auto 45px;
    padding: 12px;
    background: white;
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(196,0,0,0.18);
}

.maps-container iframe{
    width: 100%;
    height: 430px;
    border: none;
    border-radius: 20px;
    display: block;
}

.info-card-container{
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.info-card{
    background: white;
    padding: 28px 18px;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.10);
    transition: 0.3s ease;
}

.info-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(196,0,0,0.18);
}

.info-card i{
    width: 58px;
    height: 58px;
    background: #c40000;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 18px;
    font-size: 24px;
}

.info-card h3{
    font-size: 20px;
    color: #c40000;
    margin-bottom: 10px;
}

.info-card p,
.info-card a{
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    text-decoration: none;
}

.info-card a:hover{
    color: #c40000;
    font-weight: bold;
}

/* HALAMAN DETAIL PRODUK */
.produk-page-header{
    padding: 90px 50px;
    text-align: center;
    background: linear-gradient(135deg, #c40000, #7a0000);
    color: white;
}

.produk-page-header h1{
    font-size: 46px;
    margin-bottom: 15px;
}

.produk-page-header p{
    font-size: 18px;
    margin-bottom: 30px;
}

.btn-kembali{
    display: inline-block;
    padding: 12px 28px;
    background: white;
    color: #c40000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: 0.3s;
}

.btn-kembali:hover{
    background: #f1f1f1;
    transform: translateY(-3px);
}

/* KATALOG PRODUK */
.produk-list{
    padding: 80px 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    background: linear-gradient(180deg, #fff5f5, #ffffff);
}

.produk-detail-card{
    background: white;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border: 1px solid #ffe0e0;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: 0.3s ease;
}

.produk-detail-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(196,0,0,0.20);
}

.produk-detail-card img{
    width: 100%;
    height: 270px;
    object-fit: contain;
    background: linear-gradient(180deg, #ffffff, #fff7f7);
    padding: 18px;
    display: block;
    cursor: zoom-in;
}

.produk-detail-content{
    padding: 24px;
    flex: 1;
    border-top: 1px solid #f3f3f3;
}

.kode-produk{
    display: inline-block;
    background: #c40000;
    color: white;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
}

.produk-detail-content h3{
    font-size: 22px;
    color: #c40000;
    line-height: 1.4;
    margin-bottom: 10px;
    min-height: 62px;
}

.produk-detail-content p{
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 12px;
}

.produk-info{
    list-style: none;
    padding-left: 0;
    margin-top: 12px;
}

.produk-info li{
    margin-bottom: 7px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 14px;
    color: #555;
}

.produk-info b{
    color: #c40000;
}

.empty-produk{
    grid-column: 1 / -1;
    background: white;
    padding: 35px 20px;
    border-radius: 22px;
    text-align: center;
    color: #555;
    box-shadow: 0 10px 30px rgba(0,0,0,0.10);
}

/* MODAL GAMBAR PRODUK */
.modal-gambar{
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-gambar img{
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    background: white;
    padding: 15px;
    border-radius: 15px;
}

.tutup-modal{
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 45px;
    cursor: pointer;
    font-weight: bold;
}

/* FOOTER */
footer{
    padding: 25px 20px;
    background: #1f1f1f;
    color: white;
    text-align: center;
}

/* TABLET */
@media(max-width: 900px){

    header{
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }

    nav ul{
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero{
        padding: 90px 25px;
    }

    .hero-content h2{
        font-size: 44px;
    }

    .tentang{
        flex-direction: column;
    }

    .kategori-container{
        grid-template-columns: repeat(2, 1fr);
    }

    .produk-list{
        grid-template-columns: repeat(2, 1fr);
        padding: 60px 25px;
    }

    .info-card-container{
        grid-template-columns: repeat(2, 1fr);
    }

    .maps-container iframe{
        height: 360px;
    }
}

/* HP */
@media(max-width: 600px){

    header{
        padding: 12px 10px;
        flex-direction: column;
        gap: 10px;
    }

    .logo-container{
        width: 100%;
        justify-content: center;
        flex-wrap: nowrap;
    }

    .logo-container img{
        width: 48px;
        height: 48px;
    }

    .logo-container h1{
        font-size: 15px;
        white-space: nowrap;
    }

    nav{
        width: 100%;
        overflow-x: auto;
    }

    nav ul{
        width: max-content;
        min-width: 100%;
        display: flex;
        justify-content: center;
        gap: 8px;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }

    nav ul li{
        flex: 0 0 auto;
    }

    nav ul li a{
        display: block;
        font-size: 12px;
        padding: 7px 12px;
        border-radius: 20px;
        white-space: nowrap;
        background: #f3f3f3;
        color: #333;
    }

    nav ul li a.active,
    nav ul li a:hover{
        background: #c40000;
        color: white;
    }

    .hero{
        min-height: 70vh;
        padding: 80px 20px;
        text-align: center;
        justify-content: center;
    }

    .hero-content h2{
        font-size: 36px;
    }

    .hero-content p{
        font-size: 15px;
    }

    .hero-button{
        justify-content: center;
    }

    .btn-primary,
    .btn-secondary{
        padding: 12px 18px;
        font-size: 13px;
    }

    .tentang{
        display: block;
        padding: 60px 20px;
    }

    .tentang-text{
        margin-bottom: 30px;
        text-align: center;
    }

    .tentang-text h2{
        font-size: 30px;
    }

    .tentang-text p{
        font-size: 15px;
        text-align: justify;
    }

    .slider{
        height: 240px;
    }

    .produk{
        padding: 60px 15px;
    }

    .kategori-container{
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .kategori-card img{
        height: 95px;
        padding: 8px;
    }

    .kategori-card-content{
        padding: 10px;
    }

    .kategori-card h3{
        font-size: 12px;
    }

    .kategori-card p{
        display: none;
    }

    .kategori-card span{
        font-size: 10px;
        padding: 6px 8px;
    }

    .info-kami{
        padding: 60px 15px;
    }

    .info-kami h2{
        font-size: 32px;
    }

    .info-subtitle{
        font-size: 14px;
        margin-bottom: 28px;
    }

    .maps-container{
        padding: 8px;
        border-radius: 20px;
        margin-bottom: 30px;
    }

    .maps-container iframe{
        height: 280px;
        border-radius: 15px;
    }

    .info-card-container{
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .info-card{
        padding: 22px 15px;
    }

    .info-card i{
        width: 50px;
        height: 50px;
        font-size: 21px;
    }

    .info-card h3{
        font-size: 18px;
    }

    .info-card p,
    .info-card a{
        font-size: 14px;
    }

    .sidebar-contact{
        right: 10px;
        bottom: 15px;
    }

    .sidebar-contact a{
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .produk-page-header{
        padding: 55px 18px;
    }

    .produk-page-header h1{
        font-size: 30px;
    }

    .produk-page-header p{
        font-size: 14px;
        line-height: 1.6;
    }

    .produk-list{
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 35px 18px;
    }

    .produk-detail-card{
        border-radius: 22px;
    }

    .produk-detail-card img{
        height: 230px;
        object-fit: contain;
        padding: 16px;
    }

    .produk-detail-content{
        padding: 18px;
        text-align: left;
    }

    .kode-produk{
        font-size: 12px;
        padding: 5px 10px;
    }

    .produk-detail-content h3{
        font-size: 18px;
        min-height: auto;
    }

    .produk-detail-content p{
        font-size: 14px;
    }

    .produk-info li{
        font-size: 13px;
        padding: 8px 10px;
    }

    .modal-gambar img{
        max-width: 96%;
        max-height: 88%;
        padding: 10px;
    }

    .tutup-modal{
        top: 15px;
        right: 22px;
        font-size: 38px;
    }

    footer{
        font-size: 12px;
    }
}

/* FILTER KATALOG LARAVEL */
.catalog-filter{
    max-width: 1100px;
    margin: 0 auto 35px;
    background: white;
    padding: 18px;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.10);
    display: grid;
    grid-template-columns: 1fr 230px 140px;
    gap: 12px;
}

.catalog-filter input,
.catalog-filter select{
    padding: 13px;
    border: 1px solid #ddd;
    border-radius: 12px;
    outline: none;
    font-size: 14px;
}

.catalog-filter button{
    background: #c40000;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
}

.catalog-filter button:hover{
    background: #9f0000;
}

.btn-detail-produk{
    display: inline-block;
    margin-top: 14px;
    padding: 10px 20px;
    background: #c40000;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-detail-produk:hover{
    background: #9f0000;
    transform: translateY(-2px);
}

.customer-detail-wrapper{
    padding: 80px 50px;
    background: linear-gradient(180deg, #fff5f5, #ffffff);
}

.customer-detail-card{
    max-width: 1150px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    display: grid;
    grid-template-columns: 430px 1fr;
    gap: 36px;
    padding: 32px;
    border: 1px solid #ffe0e0;
}

.customer-detail-image{
    width: 100%;
    height: 430px;
    object-fit: contain;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #fff7f7);
    border: 1px solid #f0f0f0;
    padding: 18px;
    cursor: zoom-in;
}

.customer-detail-content{
    text-align: left;
}

.customer-detail-content h2{
    font-size: 36px;
    color: #c40000;
    line-height: 1.25;
    margin-bottom: 12px;
}

.customer-detail-code{
    display: inline-block;
    background: #c40000;
    color: white;
    border-radius: 30px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 14px;
}

.customer-detail-category{
    display: inline-block;
    background: #fff0f0;
    color: #c40000;
    border-radius: 30px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: bold;
    margin-left: 8px;
}

.customer-section-title{
    color: #c40000;
    font-size: 18px;
    margin: 22px 0 8px;
}

.customer-detail-content p{
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

.customer-detail-info{
    background: #fff5f5;
    border-left: 5px solid #c40000;
    padding: 14px 16px;
    border-radius: 14px;
    color: #555;
    margin-top: 20px;
}

.customer-detail-actions{
    display: flex;
    gap: 12px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.btn-wa-detail{
    display: inline-block;
    padding: 13px 24px;
    background: #25D366;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
}

.btn-back-detail{
    display: inline-block;
    padding: 13px 24px;
    background: #1f1f1f;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
}

@media(max-width: 900px){
    .customer-detail-card{
        grid-template-columns: 1fr;
    }

    .customer-detail-image{
        height: 330px;
    }
}

@media(max-width: 600px){
    .catalog-filter{
        grid-template-columns: 1fr;
        padding: 14px;
        margin-bottom: 25px;
    }

    .catalog-filter input,
    .catalog-filter select,
    .catalog-filter button{
        width: 100%;
        font-size: 13px;
        padding: 11px;
    }

    .customer-detail-wrapper{
        padding: 35px 18px;
    }

    .customer-detail-card{
        padding: 18px;
        border-radius: 20px;
    }

    .customer-detail-image{
        height: 260px;
        padding: 12px;
    }

    .customer-detail-content h2{
        font-size: 24px;
    }

    .customer-detail-content p{
        font-size: 14px;
    }
}

.footer-admin{
    display: inline-block;
    margin-top: 8px;
    color: #aaa;
    font-size: 12px;
    text-decoration: none;
}

.footer-admin:hover{
    color: white;
}