.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-style: italic;
    color: white !important;
    white-space: nowrap;
    margin-left: 0 !important;
    padding-left: 0 !important;
    font-size: 1.2rem;
    gap: 0 !important;
    line-height: 1;
}

.nav-link {
    color: white !important;
    font-size: 1rem;
    white-space: nowrap;
}

.navbar.bg-dark.neumorph-index {
    transition: background-color 1s ease, box-shadow 1s ease;
}

.navbar.red-navbar {
    background-color: red !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.9), 0 6px 20px rgba(0, 0, 0, 0.6) !important;
}

.hero {
    background: url('/images/bg.jpeg') center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    margin-top: 40px;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.btn-custom {
    padding: 10px 20px;
    font-size: 1.1rem;
    border-radius: 8px;
}

.btn-custum-2:hover {
    background-color: sandybrown;
    color: black;
}

.navbar-brand img {
    height: 34px;
    margin-right: -8px !important;
    padding: 0 !important;
    display: inline-block;
    vertical-align: middle;
}

.navbar-header-flex {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.navbar-toggler {
    align-items: end;
}

@media (max-width: 576px) {
    .navbar-header-flex {
        justify-content: space-between !important;
    }
    .navbar-brand {
        margin-left: -22px !important;
    }
    .navbar-brand img {
        margin-left: 0 !important;
    }
    .navbar-nav li:first-child,
    .navbar-nav li:nth-child(2) {
        margin-top: 6px !important;
    }
}

@media (min-width: 577px) {
    .navbar-nav li:first-child,
    .navbar-nav li:nth-child(2) {
        margin-left: 8px;
    }
    .navbar-brand {
        margin-left: -20px !important;
    }
}


/* --- Atur panah tetap kiri & kanan di semua ukuran layar --- */

.controls {
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* Dots tetap di tengah */

.controls .dots {
    margin-bottom: 10px;
}


/* Grup panah tetap horizontal */

.arrow-group {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
}


/* Tombol panah */

.btn-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* --- MODE HP (agar tidak turun ke bawah lagi) --- */

@media (max-width: 576px) {
    .controls {
        flex-direction: column;
    }
    .arrow-group {
        flex-direction: row;
        gap: 20px;
    }
    #prev {
        order: 1;
    }
    #next {
        order: 2;
    }
}


/* Tablet & Laptop tetap normal */

@media (min-width: 577px) {
    .controls {
        flex-direction: column;
    }
    .arrow-group {
        flex-direction: row;
        gap: 20px;
    }
}


/* CSS beeranda */

.beranda {
    font-family: "Poppins", sans-serif;
    background-color: #f8f9fa;
    margin-top: 40px;
    margin-bottom: 0px !important;
}

.mt-section {
    margin-top: 50px;
}

.btn-primary {
    background-color: #b30000;
    border: none;
}

.feature-icon {
    font-size: 2rem;
    color: #b30000;
}

.testimonial {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

section.container.text-center.my-3 {
    padding-top: 20px;
}


/* CSS Produk */

section.noscroll {
    margin-top: 0px;
    padding-top: 0px;
}

.noscroll {
    overflow-x: hidden;
}

 :root {
    --bg: #ffffff;
    --accent: #ff8a00;
    --card-w: 320px;
    --card-h: 420px;
    --gap: 28px;
}

* {
    box-sizing: border-box;
}

.noscroll {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    background: var(--bg);
    color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    flex-direction: column;
    padding: 40px 20px;
}

.slider-wrap {
    width: 100%;
    max-width: 1100px;
    margin-top: 70px;
    position: relative;
}

.carousel {
    overflow: visible;
    padding: 40px 0 20px 0;
}

.track {
    display: flex;
    align-items: center;
    gap: var(--gap);
    will-change: transform;
    transition: transform 500ms cubic-bezier(.22, .9, .32, 1);
    padding: 0 calc(50% - (var(--card-w) / 2));
}

.card {
    width: var(--card-w);
    height: var(--card-h);
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    flex: 0 0 auto;
    transform-origin: center center;
    transition: transform 350ms ease, box-shadow 350ms ease;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.10);
    background: transparent;
}

.card .img {
    width: 100%;
    height: 86%;
    background-size: cover;
    background-position: center;
    display: block;
}

.price-badge {
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 5;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 12px;
    font-size: 14px;
}

.card .title {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    color: white;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    padding: 10px 0;
    margin: 0;
    z-index: 5;
    text-shadow: none;
}

.card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 48%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) 100%);
    pointer-events: none;
    z-index: 3;
}

.card.active {
    transform: translateY(-12px) scale(1.14);
    box-shadow: 0 26px 40px rgba(0, 0, 0, 0.28);
    z-index: 10;
}

.card.near {
    transform: scale(1.03);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.14);
    z-index: 8;
}

.controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 18px;
}

.btn-circle {
    border: 0;
    background: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 20px;
}

.dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d9d9d9;
    cursor: pointer;
    transition: transform 200ms, background 200ms;
}

.dot.active {
    background: var(--accent);
    transform: scale(1.25);
}

@media (max-width:900px) {
     :root {
        --card-w: 260px;
        --card-h: 360px;
    }
}

@media (max-width:520px) {
     :root {
        --card-w: 220px;
        --card-h: 300px;
        --gap: 20px;
    }
    body {
        padding: 24px 0px;
    }
}

.order-section button {
    font-size: 16px;
    border-radius: 8px;
}

section.text-center h2 {
    font-size: 2rem;
    color: #dc3545;
    margin-top: -70px;
}

section.text-center p {
    font-size: 1rem;
    color: #6c757d;
}


/* CSS Tentamg Kami */

.tentang {
    font-family: "Poppins", sans-serif;
    background-color: #f8f9fa;
    scroll-behavior: smooth;
    margin-top: 40px;
}

.tentanghero {
    background: linear-gradient(rgba(179, 0, 0, 0.7), rgba(179, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1500937386664-56d1dfef3854?auto=format&fit=crop&w=1400&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    text-align: center;
}

.tentanghero h1 {
    font-size: 2.8rem;
    font-weight: 700;
}

.tentanghero p {
    font-size: 1.1rem;
    margin-top: 15px;
}

.about-section {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    padding: 50px;
}

.about-section img {
    border-radius: 15px;
}

.vision-mission {
    background-color: #b30000;
    color: white;
    padding: 60px 0;
}

.vision-mission h3 {
    font-weight: 700;
}

.team img {
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.team h6 {
    margin-top: 10px;
    font-weight: 600;
}

.team p {
    color: gray;
    font-size: 0.9rem;
}

.cycle {
    font-size: 2rem;
}


/* CSS Hubungi Kami */

.hubungi {
    font-family: "Poppins", sans-serif;
    background-color: #f8f9fa;
    padding-top: 5px;
}

.btn-primary {
    background-color: #b30000;
    border: none;
}

.btn-primary:hover {
    background-color: #8c0000;
}

.form-section,
.contact-info {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.contact-info i {
    color: #b30000;
    font-size: 1.2rem;
    margin-right: 10px;
}

footer {
    background-color: #b30000;
    color: white;
    padding: 20px 0;
}

.tahu {
    color: aqua;
}

.tempe,
.tempe2 {
    display: inline-block;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
    width: fit-content;
}

.tempe.active-tempe,
.tempe2.active-tempe2 {
    border-bottom: 2px solid white;
}

.tempe2:hover {
    background-color: aqua;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.tempe:hover {
    background-color: aqua !important;
    border-radius: 20px !important;
    color: black !important;
    -webkit-border-radius: 20px !important;
    -moz-border-radius: 20px !important;
    -ms-border-radius: 20px !important;
    -o-border-radius: 20px !important;
}

.neumorph-index {
    box-shadow: 7px 7px 15px white, -7px -7px 15px white;
}

.neumorph-menu {
    box-shadow: 7px 7px 15px black, -7px -7px 15px black !important;
}

.icon-btn {
    color: white !important;
    font-size: 1.4rem;
    text-decoration: none;
}

@media (max-width: 576px) {
    /* Atur kontainer menu (collapse) */
    .navbar-collapse {
        text-align: left !important;
        /* isi rata kiri */
    }
    /* Atur posisi daftar menu */
    .navbar-nav {
        align-items: flex-start !important;
        /* item ke kiri */
    }
}
/* ================= STOCK BADGE ================= */
.stock-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.stock-ok {
    background: rgba(25, 135, 84, 0.9);
}

.stock-low {
    background: rgba(255, 193, 7, 0.95);
    color: #000;
}

.stock-out {
    background: rgba(220, 53, 69, 0.95);
}

