/* Custom Styles */
body {
    background-color: #1a1915;
    color: #d4c5a3;
}

/* Hero / Slider: full width, auto height (aspect ratio), no stretch/zoom */
.hero-auto {
    width: 100%;
    aspect-ratio: 4 / 5;
    position: relative;
    overflow: hidden;
    background-color: #1a1915;
}
.hero-auto #slider-container {
    position: absolute;
    inset: 0;
}
.hero-auto .slide {
    position: absolute;
    inset: 0;
}
.hero-auto .slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Animasi Fade untuk Slider */
.fade-enter {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.fade-enter-active {
    opacity: 1;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1a1915;
}
::-webkit-scrollbar-thumb {
    background: #2e2c26;
}

/* Grain overlay */
.bg-grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Loader */
#loader {
    position: fixed;
    inset: 0;
    background: #1a1915;
    z-index: 50;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}
