/* ==========================================================================
   MOORBLIN - MAIN CSS (PRELOADER HORIZONTAL)
   ========================================================================== */

/* 1. BASE & RESET */
html {
    scroll-behavior: auto;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #061309;
    overflow-x: hidden;
    cursor: auto;
}

.font-title {
    font-family: 'Syncopate', sans-serif;
}

/* 2. NAVIGATION GLASS EFFECT */
#navbar {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    padding-top: 2rem;
    padding-bottom: 2rem;
    top: 0;
    left: 0;
    z-index: 50;
}

#navbar.nav-scrolled {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background: rgba(10, 13, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}



/* 4. PREMIUM SPOTLIGHT (NEUTRAL & SHARP) */
.reveal-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #061309;
}

[data-page="home"] .reveal-container {
    cursor: none !important;
}

.img-bw,
.img-color {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.img-bw {
    filter: grayscale(1);
    opacity: 1;
}

.img-color {
    opacity: 0;
    -webkit-mask-image: radial-gradient(circle 220px at var(--mouse-x, 0) var(--mouse-y, 0), black 92%, transparent 100%);
    mask-image: radial-gradient(circle 220px at var(--mouse-x, 0) var(--mouse-y, 0), black 92%, transparent 100%);
    transition: opacity 0.3s ease;
}

.reveal-container:hover .img-color {
    opacity: 1;
}


#spotlight {
    position: fixed;
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#spotlight::after {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #7ED957;
    border-radius: 50%;
    box-shadow: 0 0 18px #7ED957;
}

/* 5. TEXT & HOVER */
.stroke-text {
    -webkit-text-stroke: 1.5px rgba(242, 242, 200, 0.6);
    color: transparent;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    will-change: transform;
}

/* Hero Text Effects */
.hero-text {
    will-change: transform, opacity;
    opacity: 0;
}

.hero-sub {
    opacity: 0;
}

.animate-float {
    will-change: transform;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.push-button-3d {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    background-color: #7ED957;
    box-shadow: 4px 6px 0px #0e2e18;
    border: none;
    color: #0d0f0d;
    cursor: pointer;
}

.push-button-3d:hover {
    transform: translate(2px, 2px) scale(1.15);
    box-shadow: 2px 3px 0px #0e2e18;
    z-index: 10;
}

.push-button-3d:active {
    transform: translate(4px, 6px) scale(0.95);
    box-shadow: 0px 0px 0px #0e2e18;
}

.btn-active {
    background-color: #8E3DBF !important;
    transform: translate(2px, 3px) scale(1.3) !important;
    box-shadow: 1px 2px 0px #4a1d64 !important;
    color: white !important;
    z-index: 20;
}

::selection {
    background-color: #7ED957;
    color: #0e2e15;
}

/* 6. SCROLL INDICATOR */
#scroll-indicator {
    opacity: 0;
    animation: scroll-fade-in 1s ease forwards 2.2s;
    transition: opacity 0.5s ease;
}

#scroll-indicator.hidden-indicator {
    opacity: 0 !important;
    pointer-events: none;
}

@keyframes scroll-fade-in {
    to { opacity: 1; }
}

.scroll-arrow {
    animation: arrow-bounce 1.4s ease-in-out infinite;
    display: block;
}

@keyframes arrow-bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(7px); }
}

/* 7. FOOTER STYLES */
.footer-email-hover {
    background: linear-gradient(110deg, #f2f2c8, #f2f2c8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: background 0.4s ease;
}

.footer-email-hover:hover {
    background: linear-gradient(110deg, #7ed957, #cd68eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-social-link {
    transition: color 0.3s ease;
}

.footer-social-link:nth-child(1):hover { color: #cd68eb; }
.footer-social-link:nth-child(2):hover { color: #7ed957; }
.footer-social-link:nth-child(3):hover { color: #8e3dbf; }