/* Custom styles to enhance Tailwind */

/* Hide scrollbar for cleaner look */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #F9F8F6;
}
::-webkit-scrollbar-thumb {
    background: #D4AF37;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #1C1C1C;
}

html {
    scroll-behavior: smooth;
}

/* Custom Selection */
::selection {
    background: #D4AF37;
    color: #fff;
}

/* Scene Tab Indicator Animation */
.scene-tab-btn {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}
.scene-tab-btn.active {
    color: #1C1C1C;
}
.scene-tab-btn.active .tab-indicator {
    transform: scaleX(1);
}

/* Custom Scroll Line Animation */
@keyframes scrollLine {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(200%);
    }
}
.animate-scroll-line {
    animation: scrollLine 2s cubic-bezier(0.7, 0, 0.3, 1) infinite;
}

/* Initial state for GSAP animations */
[data-animate="fade-up"],
[data-animate="fade-right"],
[data-animate="fade-left"],
[data-animate="fade-in"] {
    opacity: 0;
    visibility: hidden;
}

/* Optional noise overlay for texture */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    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");
}

/* Three.js canvas should take full height and width */
#three-container canvas {
    display: block;
    width: 100%;
    height: 100%;
    outline: none;
}
