html, body {
    margin: 0;
    padding: 0 !important;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100vw !important;
    scrollbar-width: none; /* Firefox */
}

body::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

body.no-scroll {
    overflow: hidden !important;
    height: 100vh;
}

.navbar-custom {
    background-color: rgba(255, 255, 255);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: top 0.8s ease; /* Slow motion here */
    z-index: 1500;
    transition-delay: 0.2s;
}

.navbar-bottom {
    position: fixed;
    bottom: 0;
    width: 100%;
}

.navbar-top {
    position: fixed;
    top: 0;
    width: 100%;
}

.content-wrapper-for-full {
    position: relative;
    /* top: 100vh; */
    transition: top 0.8s ease;
    z-index: 1;
    background-color: #f8f9fa;
    padding: 0rem 2rem;
    min-height: 100vh;
    /* width: 100% !important;
    max-width: 100% !important; */
    overflow-x: hidden;
    width: 100vw;
    max-width: 100vw;
}

.content-wrapper {
    position: relative;
    top: 100vh;
    transition: top 0.8s ease;
    z-index: 1;
    background-color: #f8f9fa;
    padding: 5rem 2rem;
    min-height: 100vh;
    /* width: 100% !important;
    max-width: 100% !important; */
    overflow-x: hidden;
    width: 100vw;
    max-width: 100vw;
}

.content-wrapper.hidden-on-load {
    top: 100vh;
    transition: none !important;
    /* display: none !important; */
}

.content-wrapper.content-visible {
    top: 0;
}

.content-wrapper.reveal {
    top: 0;
}

.logo-title {
    font-weight: bold;
    font-size: 1.2rem;
}

.grid-toggle {
    cursor: pointer;
    font-size: 1.5rem;
}

.navbar .nav-link {
    color: #333;
    font-weight: 500;
}

.object-fit-cover {
    object-fit: cover;
}

.image-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.image-card img {
    height: 100px; /* atur sesuai kebutuhan */
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-card:hover {
    transform: translateY(-5px);
}

.image-card:hover img {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.image-caption {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    color: #555;
}

/* Responsive Navbar Custom Layout */
@media (max-width: 768px) {
    /* .navbar-custom .container-fluid { */
    .container-fluid {
        position: relative;
    }

    .navbar-custom {
        will-change: transform !important;
        transform: translateZ(0) !important; /* hack untuk stabilkan GPU layer */
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1500;
        background-color: rgb(255, 255, 255);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        transition: none !important; /* hilangkan transisi agar tidak slide */
    }
    

    .navbar-left,
    .navbar-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    }

    .navbar-left {
    justify-content: flex-start;
    }

    .navbar-right {
    justify-content: flex-end;
    }

    .navbar-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    }

    .collapse.navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    z-index: 1000;
    padding: 1rem;
    }
}

@media (max-width: 768px) {
    .navbar-collapse.fullscreen-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        height: 100vh;
        background-color: white;
        z-index: 9999;
        transition: top 0.5s ease;
        padding-top: 4rem;
        text-align: center;
    }

    .navbar-collapse.fullscreen-menu.show {
    top: 0;
    }

    .navbar-collapse.fullscreen-menu .nav-item {
    margin: 1rem 0;
    }

    #mainMenuMobile {
        position: fixed;
        top: 100vh;
        left: 0;
        width: 100%;
        height: calc(100vh - 56px);
        background-color: rgb(255, 255, 255);
        transition: top 0.5s ease;
        z-index: 999;
        padding: 2rem 1rem;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    #mainMenuMobile.show {
        top: 0;
    }
    
}

/* misalnya tinggi navbar 56px */
/* .navbar-bottom {
    top: calc(100vh - 56px);
    position: fixed;
    width: 100%;
} */

.navbar-top {
    top: 0;
    position: fixed;
    width: 100%;
}

/* .navbar-custom {
    transition: top 0.8s ease !important; 
} */

body {
    overflow-x: hidden;
}
html {
    box-sizing: border-box;
}
*, *::before, *::after {
    box-sizing: inherit;
}

.center-ges {
    justify-content: center !important;  /* Horizontal center */
    align-items: center !important;      /* Vertical center */
}

.extra-panel {
    position: fixed;
    bottom: 0; /* supaya tidak menutupi navbar bawah */
    left: 0;
    width: 100%;
    /* full screen tapi tidak menutupi navbar */
    height: calc(100vh - 56px);
    /* height: 100vh; */
    background-color: white;
    z-index: 990;
    transition: transform 0.6s ease;
    transform: translateY(100%);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
}

.extra-panel.show {
    transform: translateY(0%);
    bottom: 56px !important;
}