#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff; /* Warna latar belakang splash screen */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Pastikan berada di atas konten lain */
}

.splash-content {
    text-align: center;
}

@font-face {
    font-family: "HelveticaNeue";
    src: url("../font/Helvetica.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "HelveticaNeue";
    src: url("../font/Helvetica-Bold.woff") format("woff");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

.logo {
    font-size: 2em;
    margin-bottom: 15px;
}

.loading {
    font-size: 1.5em;
    color: #000000; /* Warna teks loading */
    margin-top: 10px;
    display: flex;
    gap: 0.3em; /* Jarak antar titik */
}

.loading span {
    animation: blink 1.5s infinite alternate; /* Animasi kedip */
}

.loading span:nth-child(2) {
    animation-delay: 0.5s; /* Penundaan untuk titik kedua */
}

.loading span:nth-child(3) {
    animation-delay: 1s; /* Penundaan untuk titik ketiga */
}

@keyframes blink {
    0% {
        opacity: 0.2;
    }
    100% {
        opacity: 1;
    }
}

#responsive-logo {
    max-width: 100%; /* Pastikan logo tidak melebihi lebar kontainer */
    height: auto; /* Pertahankan proporsi logo */
    display: block;
    margin: 0 auto; /* Pusatkan logo */
}

.container {
    display: block; /* Pastikan elemen di dalam kontainer ditampilkan secara vertikal */
    justify-content: center; /* Pusatkan secara horizontal */
    align-items: center; /* Pusatkan secara vertikal */
    text-align: center;
}

h2 {
    margin-bottom: 1rem; /* Tambahkan jarak antara judul dan konten di bawahnya */
    text-align: center; /* Pastikan judul tetap di tengah */
}

#personalGrid h2,
#comissionGrid h2 {
    background-color: black;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    display: inline-block;
}

#personalGrid h2,
#comissionGrid h2 {
    background-color: black;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    display: inline-block;
}

.carousel-inner img {
    margin: 0 auto; /* Pusatkan gambar di dalam carousel */
}

.svg-icon {
    width: 100%; /* Pastikan SVG menyesuaikan dengan lebar kolom */
    height: auto; /* Pertahankan proporsi SVG */
    display: block;
    margin: 0 auto; /* Pusatkan SVG secara horizontal */
}

@media (max-width: 768px) {
    #responsive-logo {
        max-width: 300px; /* Ukuran maksimum logo pada layar kecil */
    }
}

@media (max-width: 576px) {
    .modal-lg {
        max-width: 90%; /* Sesuaikan ukuran modal untuk layar kecil */
    }

    #responsive-logo {
        max-width: 80%; /* Sesuaikan ukuran logo untuk layar kecil */
    }

    .jumbotron h1 {
        font-size: 2.5rem; /* Ukuran font lebih kecil untuk mobile */
    }

    .svg-icon {
        width: 100%; /* Perbesar ukuran SVG untuk mobile */
    }

    /* Remove vertical margin on jumbotron containers holding the images */
    .jumbotron.mt-5.container {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Remove bottom margin on columns containing the images */
    .jumbotron.mt-5.container .row > div {
        margin-bottom: 10px !important;
        padding-bottom: 0 !important;
    }
}

body {
    padding-top: 56px; /* Sesuaikan dengan tinggi navbar */
    scroll-padding-top: 56px; /* Sesuaikan dengan tinggi navbar */
    font-family: "HelveticaNeue", sans-serif; /* Gunakan font yang telah didefinisikan */
    font-weight: normal;
    font-style: normal;
    background-color: white;
    background-image: linear-gradient(to right, black 1px, transparent 1px),
        linear-gradient(to bottom, black 1px, transparent 1px);
    background-size: 65px 65px; /* size of each grid square */
    background-position: 90px 90px; /* Shift grid to remove top and left lines */
    overflow-x: hidden; /* Prevent horizontal scrolling */
    position: relative;
    width: 100vw;
    touch-action: pan-y; /* Allow vertical scrolling only, disable horizontal */
    @media (minscreen-width: 992px) {
        scroll-padding-top: 80px; /* Ukuran font untuk layar besar */
    }
}

@media (max-width: 768px) {
    body {
        background-size: 65px 65px; /* updated grid square size on smaller screens */
    }
}

@media (max-width: 480px) {
    body {
        background-size: 65px 65px; /* updated grid square size on very small screens */
    }
}

h1,
h2,
h4,
h5,
h6 {
    font-family: "HelveticaNeue", sans-serif; /* Gunakan font yang telah didefinisikan */
    font-weight: normal;
    font-size: 1em;
}

h3 {
    font-family: "HelveticaNeue", sans-serif; /* Gunakan font yang telah didefinisikan */
    font-weight: bold; /* Tebalkan teks */
}

.navbar {
    position: fixed;
    display: none; /* Sembunyikan navbar secara default */
    justify-content: center;
    background-color: transparent !important;
    box-shadow: none !important;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar-blur {
    -webkit-backdrop-filter: blur(90px);
    backdrop-filter: blur(30px);
    background-color: rgba(255, 255, 255, 0.7) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-transparent {
    background-color: transparent !important;
    box-shadow: none !important;
    transition: background-color 0.3s ease;
}

.navbar-blur {
    -webkit-backdrop-filter: blur(90px);
    backdrop-filter: blur(30px);
    background-color: rgba(255, 255, 255, 0.7) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar.show {
    display: flex; /* Tampilkan navbar setelah splash screen selesai */
}

.navbar .pill-bg {
    position: absolute;
    top: 50%;
    left: 0;
    width: 0;
    height: 25px;
    background-color: #000000; /* Warna latar belakang navbar */
    border-radius: 20px; /* Bentuk kapsul */
    transform: translateY(-50%);
    z-index: -1; /* Pastikan berada di belakang elemen lain */
    padding: 0.5em 1em; /* Padding untuk kapsul */
}

.navbar .container {
    overflow: hidden; /* Agar pill bg tidak keluar container saat animasi */
}

.navbar .nav-link {
    position: relative;
    z-index: 1; /* Pastikan berada di atas kapsul */
    padding: 0.5rem 1rem; /* Padding untuk link */
    transition: color 0.3s ease; /* Transisi warna saat hover */
    font-size: 1rem; /* Ukuran font */
    font-family: "HelveticaNeue", sans-serif;
    font-weight: bold; /* Tebalkan teks */
    text-transform: uppercase; /* Ubah teks menjadi huruf kapital */
}

.nav-link.active {
    color: white; /* Warna teks aktif */
}

.navbar .col-4 {
    display: flex;
    align-items: center; /* Pusatkan secara vertikal */
    justify-content: center; /* Pastikan elemen berada di tengah */
}

.navbar .text-start {
    justify-content: flex-start; /* HOME di kiri */
}

.navbar .text-end {
    justify-content: flex-end; /* Pastikan INFO berada di kanan */
    padding-left: -20rem; /* Sesuaikan jarak dengan tepi kanan */
}

/* style.css atau di dalam tag <style> */
@media (max-width: 767.98px) {
    /* Ukuran breakpoint untuk layar kecil (mobile) */
    .navbar .container {
        justify-content: center !important; /* Gunakan !important jika perlu menimpa gaya Bootstrap */
    }

    .navbar .row {
        justify-content: center !important;
    }

    /* Anda juga bisa menargetkan elemen menu secara lebih spesifik di sini */
    .navbar .nav-item {
        margin-right: 0 !important;
        margin-bottom: 10px !important; /* Contoh: membuat item menu bertumpuk dengan margin bawah */
    }

    .navbar .nav-link {
        text-align: center !important; /* Memusatkan teks link */
    }

    /* Center all content on responsive */
    #home,
    #works,
    #content-informasi {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        padding-left: 10px;
        padding-right: 10px;
    }

    /* Reduce vertical space between logo and personal works on mobile */
    #works {
        margin-top: 200px;
        padding-top: 200px;
    }
}

#home,
#works,
#content-informasi {
    padding-top: 56px;
    margin-top: 56px;
}

.jumbotron {
    background-color: transparent; /* Warna latar belakang */
    padding: 2rem 0; /* Padding atas dan bawah */
}

#logo .jumbotron,
#content-informasi.jumbotron {
    background-color: transparent !important;
}

#logo > .jumbotron {
    background-color: transparent !important;
}

#logo .jumbotron > .row > div {
    background-color: transparent !important;
}

.jumbotron.mt-5.container {
    background-color: transparent !important;
}

.jumbotron h1 {
    font-size: 3rem; /* Ukuran font besar */
    text-align: center; /* Teks berada di tengah */
}

@media (min-width: 992px) {
    /* Atur margin untuk desktop mode */
    .jumbotron .row > div:nth-child(1) {
        margin-top: 0; /* YOUR tetap di tempatnya */
    }

    .jumbotron .row > div:nth-child(2) {
        margin-top: -2rem; /* POSTER turun sedikit */
    }

    .jumbotron .row > div:nth-child(3) {
        margin-top: -4rem; /* MAKER turun lebih jauh */
    }
}

.footer-logo {
    max-width: 100%; /* Make logo responsive */
    height: 100%; /* Maintain aspect ratio */
    margin-left: auto;
    margin-right: auto; /* Center the logo */
}

footer,
.section-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 5rem;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}

section {
    padding-top: 5rem 0; /* Padding atas dan bawah */
}

/* Custom modal backdrop for semi-transparent dark background */
.modal-backdrop.show {
    background-color: rgba(0, 0, 0, 0.7) !important;
}

/* New styles for transparent modal body and centered preview on responsive */
.modal-content,
.modal-body {
    background-color: transparent !important;
    box-shadow: none !important;
}

@media (max-width: 768px) {
    .modal-dialog {
        display: flex !important;
        align-items: center;
        justify-content: center;
        min-height: 85vh;
        margin: 0;
    }

    /* Center personals and comission works single view images */
    .container.text-center {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        height: 85vh !important;
        flex-direction: column !important;
    }
}

/* Modal arrow buttons */
.modal-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: transparent;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    padding: 0 10px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    transition: background-color 0.3s ease;
    z-index: 1055; /* Above modal content */
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-arrow:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-arrow-prev {
    left: 5px;
    cursor: url('data:image/svg+xml;utf8,<svg fill="white" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/></svg>')
            10 10,
        pointer;
}

.modal-arrow-next {
    right: 5px;
    cursor: url('data:image/svg+xml;utf8,<svg fill="white" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6z"/></svg>')
            10 10,
        pointer;
}

.center-poster {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
