/* Custom Styling for Carriage Javanese Theme - Maroon & Coklat Palette */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #1a0509;
    color: #3d231e;
    overflow-x: hidden;
}

/* Mobile Container Frame Simulation */
.mobile-container {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background-color: #ffffff;
    position: relative;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.6);
    overflow-x: hidden;
}

/* Video Background styling without dimming filters */
.video-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.video-bg-wrapper video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(0.92) contrast(0.95) blur(0.5px) !important;
}

/* Javanese Frame Ornament Border */
.javanese-border {
    border: 2px solid #a55b32;
    outline: 1px solid #a55b32;
    outline-offset: 4px;
}

/* Glassmorphism Overlay */
.glass-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.glass-card-dark {
    background: rgba(42, 10, 16, 0.82);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 155, 106, 0.25);
}

/* Hide Scrollbar for Gallery Slider */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Animations */
@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.animate-spin-slow {
    animation: spinSlow 12s linear infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}
.animate-pulse-glow {
    animation: pulseGlow 3s ease-in-out infinite;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 4px;
}
::-webkit-scrollbar-thumb {
    background: #7a1c2c;
    border-radius: 4px;
}
::-webkit-scrollbar-track {
    background: #f2ece4;
}

/* Scroll Animation Classes */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.scroll-animate.show {
    opacity: 1;
    transform: translateY(0);
}
