/* Custom Animations and Styles */
html {
    scroll-behavior: smooth;
    cursor: none;
}

/* Fallback for touch/coarse pointer devices */
@media (pointer: coarse) {
    html {
        cursor: auto;
    }
    #fluid-container {
        display: none !important;
    }
}

body {
    background-color: #fff7ed;
}

/* ========================================= */
/* Smokey Fluid Cursor Overlay Effect        */
/* ========================================= */
#fluid-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 40; /* Sits above sections (z-10) but below fixed navbar (z-50) */
    pointer-events: none; /* Ensures all links, buttons, and iframes remain clickable */
}

#fluid {
    width: 100vw;
    height: 100vh;
    display: block;
}

.content-wrapper {
    position: relative;
    z-index: 10;
}

/* SEO Hidden Header */
#hd h1 {
    position: absolute;
    top: -99999px;
    left: -99999px;
}

/* Background Panning Animation */
@keyframes pan {
    0% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.05) translate(-1%, -1%); }
    100% { transform: scale(1) translate(0, 0); }
}
.animate-pan {
    animation: pan 20s ease-in-out infinite;
}

/* Fade in up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

/* Floating animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* Slow bounce */
@keyframes bounceSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
.animate-bounce-slow {
    animation: bounceSlow 5s ease-in-out infinite;
}

/* Scroll reveal classes */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* Continuous Horizontal Scroll */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.animate-scroll {
    animation: scroll 25s linear infinite;
}
.animate-scroll:hover {
    animation-play-state: paused;
}

/* Active Nav Link */
.nav-link.active {
    color: #f97316;
    font-weight: 600;
}

/* ========================================= */
/* Static Gradient Text Classes for h3 Tags  */
/* ========================================= */
.gradient-title {
    background: linear-gradient(to right, #7953cd 20%, #00affa 30%, #0190cd 70%, #764ada 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

.gradient-title-green {
    background: linear-gradient(to right, #fcaf1c 20%, #d4fa00 30%, #01cd0d 70%, #11eda0 80%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    display: inline-block !important;
}

/* ========================================= */
/* Subtle Top Snowfall Effect                */
/* ========================================= */
#snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 39;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -15px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.9), 0 0 2px rgba(2, 128, 144, 0.3);
    animation: snowfall linear infinite;
}

@keyframes snowfall {
    0% {
        transform: translateY(-10px) translateX(0px);
    }
    50% {
        transform: translateY(50vh) translateX(15px);
    }
    100% {
        transform: translateY(105vh) translateX(-10px);
    }
}