/* * {
            outline: 1px solid red;
        } */

html {
    scroll-behavior: smooth;
    background: #ffffff;
}

html,
body {
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* 🔥 FLEX CHILD BOLEH MENGECIL */
.nav-left,
.nav-box,
.feature-grid,
.product-card {
    min-width: 0;
}

body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    background: #ffffff;
    /* overflow-x: hidden; */
    /* 🔥 anti geser kanan */
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;

    background: url("{{ asset('assets/img/cover1.jpeg') }}") center top / cover
        no-repeat;

    pointer-events: none;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: auto;
    /* overflow: hidden;
            🔥 tambahan penting */
}

/* ===== LINK HOVER SMOOTH ===== */
.footer-col a,
.nav-menu a {
    position: relative;
}

.footer-col a::after,
.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: #f7931e;
    transition: width 0.25s ease;
}

.footer-col a:hover::after,
.nav-menu a:hover::after {
    width: 100%;
}

.btn-whatsapp {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    background: #25d366;

    color: white;

    padding: 12px 22px;

    border-radius: 999px;

    font-weight: 600;

    text-decoration: none;

    transition: 0.25s;

    box-shadow: 0 8px 18px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp svg {
    width: 20px;

    height: 20px;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);

    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.45);
}

/* slider css untuk produk hunian dan stainless di home page */

.produk-hero {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    border-radius: 20px;
}

.produk-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.produk-slide.active {
    opacity: 1;
}

.produk-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* caption */
.produk-caption {
    position: absolute;
    bottom: 0px;
    left: 20px;
    color: black;
}

/* tombol */
/* .produk-nav {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
} */

.produk-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;

    transform: translateY(-50%);

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 10px;
    z-index: 5;
}

.produk-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);

    transition: all 0.25s ease;
}

/* kiri */
.produk-btn.prev {
    background: rgba(255, 255, 255, 0.9);
}

/* kanan */
.produk-btn.next {
    /* background: rgba(247, 147, 30, 0.95); */
    background: rgba(255, 255, 255, 0.9);
    /* color: white; */
}

/* hover */
.produk-btn:hover {
    transform: scale(1.1);
}
