/* =========================================
   NexusBytes — Custom CSS
   (Supplements Tailwind CSS)
   ========================================= */

/* --- Hero Background Waves --- */
.hero-bg-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-wave {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(240, 240, 240, 0.6), rgba(230, 230, 230, 0.2));
}

.hero-wave-1 {
    width: 900px;
    height: 900px;
    top: -300px;
    right: -200px;
    animation: waveFloat1 20s ease-in-out infinite;
}

.hero-wave-2 {
    width: 700px;
    height: 700px;
    bottom: -200px;
    left: -150px;
    background: linear-gradient(135deg, rgba(245, 245, 245, 0.5), rgba(235, 235, 235, 0.15));
    animation: waveFloat2 25s ease-in-out infinite;
}

@keyframes waveFloat1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-40px, 30px) rotate(5deg); }
}

@keyframes waveFloat2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, -20px) rotate(-3deg); }
}


/* --- Logo Placeholders --- */
.logo-placeholder {
    position: relative;
    overflow: hidden;
}

.logo-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px dashed rgba(255,255,255,0.3);
    border-radius: inherit;
    pointer-events: none;
}


/* --- Scroll Indicator Animations --- */
.scroll-line {
    animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-dot {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(6px); opacity: 1; }
}


/* --- Reveal Animation --- */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- Navbar scroll state --- */
.navbar-scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}


/* --- Smooth scrolling --- */
html {
    scroll-behavior: smooth;
}


/* --- Active nav link underline --- */
.nav-active {
    border-bottom: 2px solid #1a1a1a;
    padding-bottom: 4px;
}
